Skip to content

Commit f341a65

Browse files
committed
Generated 2022-12-30 for marketplaceIntl.
1 parent 0b153cf commit f341a65

21 files changed

+1505
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2107
1+
1.36.2108

marketplaceintl/CMakeLists.txt

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
#
2+
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
18+
19+
set(marketplaceintl_public_header
20+
include/alibabacloud/marketplaceintl/MarketplaceIntlClient.h
21+
include/alibabacloud/marketplaceintl/MarketplaceIntlExport.h )
22+
23+
set(marketplaceintl_public_header_model
24+
include/alibabacloud/marketplaceintl/model/DescribePushMeteringDataRequest.h
25+
include/alibabacloud/marketplaceintl/model/DescribePushMeteringDataResult.h
26+
include/alibabacloud/marketplaceintl/model/DescribeSellerInstancesRequest.h
27+
include/alibabacloud/marketplaceintl/model/DescribeSellerInstancesResult.h
28+
include/alibabacloud/marketplaceintl/model/NoticeInstanceUserRequest.h
29+
include/alibabacloud/marketplaceintl/model/NoticeInstanceUserResult.h
30+
include/alibabacloud/marketplaceintl/model/PushMeteringDataRequest.h
31+
include/alibabacloud/marketplaceintl/model/PushMeteringDataResult.h )
32+
33+
set(marketplaceintl_src
34+
src/MarketplaceIntlClient.cc
35+
src/model/DescribePushMeteringDataRequest.cc
36+
src/model/DescribePushMeteringDataResult.cc
37+
src/model/DescribeSellerInstancesRequest.cc
38+
src/model/DescribeSellerInstancesResult.cc
39+
src/model/NoticeInstanceUserRequest.cc
40+
src/model/NoticeInstanceUserResult.cc
41+
src/model/PushMeteringDataRequest.cc
42+
src/model/PushMeteringDataResult.cc )
43+
44+
add_library(marketplaceintl ${LIB_TYPE}
45+
${marketplaceintl_public_header}
46+
${marketplaceintl_public_header_model}
47+
${marketplaceintl_src})
48+
49+
set_target_properties(marketplaceintl
50+
PROPERTIES
51+
LINKER_LANGUAGE CXX
52+
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
53+
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
54+
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
55+
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}marketplaceintl
56+
)
57+
58+
if(${LIB_TYPE} STREQUAL "SHARED")
59+
set_target_properties(marketplaceintl
60+
PROPERTIES
61+
DEFINE_SYMBOL ALIBABACLOUD_MARKETPLACEINTL_LIBRARY)
62+
endif()
63+
64+
target_include_directories(marketplaceintl
65+
PRIVATE include
66+
${CMAKE_SOURCE_DIR}/core/include
67+
)
68+
target_link_libraries(marketplaceintl
69+
core)
70+
71+
if(CMAKE_HOST_WIN32)
72+
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
73+
set(jsoncpp_install_dir ${INSTALL_DIR})
74+
add_dependencies(marketplaceintl
75+
jsoncpp)
76+
target_include_directories(marketplaceintl
77+
PRIVATE ${jsoncpp_install_dir}/include)
78+
target_link_libraries(marketplaceintl
79+
${jsoncpp_install_dir}/lib/jsoncpp.lib)
80+
set_target_properties(marketplaceintl
81+
PROPERTIES
82+
COMPILE_OPTIONS "/bigobj")
83+
else()
84+
target_include_directories(marketplaceintl
85+
PRIVATE /usr/include/jsoncpp)
86+
target_link_libraries(marketplaceintl
87+
jsoncpp)
88+
endif()
89+
90+
install(FILES ${marketplaceintl_public_header}
91+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/marketplaceintl)
92+
install(FILES ${marketplaceintl_public_header_model}
93+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/marketplaceintl/model)
94+
install(TARGETS marketplaceintl
95+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
96+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
97+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
98+
)
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_MARKETPLACEINTL_MARKETPLACEINTLCLIENT_H_
18+
#define ALIBABACLOUD_MARKETPLACEINTL_MARKETPLACEINTLCLIENT_H_
19+
20+
#include <future>
21+
#include <alibabacloud/core/AsyncCallerContext.h>
22+
#include <alibabacloud/core/EndpointProvider.h>
23+
#include <alibabacloud/core/RpcServiceClient.h>
24+
#include "MarketplaceIntlExport.h"
25+
#include "model/DescribePushMeteringDataRequest.h"
26+
#include "model/DescribePushMeteringDataResult.h"
27+
#include "model/DescribeSellerInstancesRequest.h"
28+
#include "model/DescribeSellerInstancesResult.h"
29+
#include "model/NoticeInstanceUserRequest.h"
30+
#include "model/NoticeInstanceUserResult.h"
31+
#include "model/PushMeteringDataRequest.h"
32+
#include "model/PushMeteringDataResult.h"
33+
34+
35+
namespace AlibabaCloud
36+
{
37+
namespace MarketplaceIntl
38+
{
39+
class ALIBABACLOUD_MARKETPLACEINTL_EXPORT MarketplaceIntlClient : public RpcServiceClient
40+
{
41+
public:
42+
typedef Outcome<Error, Model::DescribePushMeteringDataResult> DescribePushMeteringDataOutcome;
43+
typedef std::future<DescribePushMeteringDataOutcome> DescribePushMeteringDataOutcomeCallable;
44+
typedef std::function<void(const MarketplaceIntlClient*, const Model::DescribePushMeteringDataRequest&, const DescribePushMeteringDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePushMeteringDataAsyncHandler;
45+
typedef Outcome<Error, Model::DescribeSellerInstancesResult> DescribeSellerInstancesOutcome;
46+
typedef std::future<DescribeSellerInstancesOutcome> DescribeSellerInstancesOutcomeCallable;
47+
typedef std::function<void(const MarketplaceIntlClient*, const Model::DescribeSellerInstancesRequest&, const DescribeSellerInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSellerInstancesAsyncHandler;
48+
typedef Outcome<Error, Model::NoticeInstanceUserResult> NoticeInstanceUserOutcome;
49+
typedef std::future<NoticeInstanceUserOutcome> NoticeInstanceUserOutcomeCallable;
50+
typedef std::function<void(const MarketplaceIntlClient*, const Model::NoticeInstanceUserRequest&, const NoticeInstanceUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NoticeInstanceUserAsyncHandler;
51+
typedef Outcome<Error, Model::PushMeteringDataResult> PushMeteringDataOutcome;
52+
typedef std::future<PushMeteringDataOutcome> PushMeteringDataOutcomeCallable;
53+
typedef std::function<void(const MarketplaceIntlClient*, const Model::PushMeteringDataRequest&, const PushMeteringDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushMeteringDataAsyncHandler;
54+
55+
MarketplaceIntlClient(const Credentials &credentials, const ClientConfiguration &configuration);
56+
MarketplaceIntlClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
57+
MarketplaceIntlClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
58+
~MarketplaceIntlClient();
59+
DescribePushMeteringDataOutcome describePushMeteringData(const Model::DescribePushMeteringDataRequest &request)const;
60+
void describePushMeteringDataAsync(const Model::DescribePushMeteringDataRequest& request, const DescribePushMeteringDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
61+
DescribePushMeteringDataOutcomeCallable describePushMeteringDataCallable(const Model::DescribePushMeteringDataRequest& request) const;
62+
DescribeSellerInstancesOutcome describeSellerInstances(const Model::DescribeSellerInstancesRequest &request)const;
63+
void describeSellerInstancesAsync(const Model::DescribeSellerInstancesRequest& request, const DescribeSellerInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
64+
DescribeSellerInstancesOutcomeCallable describeSellerInstancesCallable(const Model::DescribeSellerInstancesRequest& request) const;
65+
NoticeInstanceUserOutcome noticeInstanceUser(const Model::NoticeInstanceUserRequest &request)const;
66+
void noticeInstanceUserAsync(const Model::NoticeInstanceUserRequest& request, const NoticeInstanceUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
67+
NoticeInstanceUserOutcomeCallable noticeInstanceUserCallable(const Model::NoticeInstanceUserRequest& request) const;
68+
PushMeteringDataOutcome pushMeteringData(const Model::PushMeteringDataRequest &request)const;
69+
void pushMeteringDataAsync(const Model::PushMeteringDataRequest& request, const PushMeteringDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
70+
PushMeteringDataOutcomeCallable pushMeteringDataCallable(const Model::PushMeteringDataRequest& request) const;
71+
72+
private:
73+
std::shared_ptr<EndpointProvider> endpointProvider_;
74+
};
75+
}
76+
}
77+
78+
#endif // !ALIBABACLOUD_MARKETPLACEINTL_MARKETPLACEINTLCLIENT_H_
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_MARKETPLACEINTL_MARKETPLACEINTLEXPORT_H_
18+
#define ALIBABACLOUD_MARKETPLACEINTL_MARKETPLACEINTLEXPORT_H_
19+
20+
#include <alibabacloud/core/Global.h>
21+
22+
#if defined(ALIBABACLOUD_SHARED)
23+
# if defined(ALIBABACLOUD_MARKETPLACEINTL_LIBRARY)
24+
# define ALIBABACLOUD_MARKETPLACEINTL_EXPORT ALIBABACLOUD_DECL_EXPORT
25+
# else
26+
# define ALIBABACLOUD_MARKETPLACEINTL_EXPORT ALIBABACLOUD_DECL_IMPORT
27+
# endif
28+
#else
29+
# define ALIBABACLOUD_MARKETPLACEINTL_EXPORT
30+
#endif
31+
32+
#endif // !ALIBABACLOUD_MARKETPLACEINTL_MARKETPLACEINTLEXPORT_H_
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBEPUSHMETERINGDATAREQUEST_H_
18+
#define ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBEPUSHMETERINGDATAREQUEST_H_
19+
20+
#include <alibabacloud/marketplaceintl/MarketplaceIntlExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace MarketplaceIntl {
28+
namespace Model {
29+
class ALIBABACLOUD_MARKETPLACEINTL_EXPORT DescribePushMeteringDataRequest : public RpcServiceRequest {
30+
public:
31+
DescribePushMeteringDataRequest();
32+
~DescribePushMeteringDataRequest();
33+
std::string getPushOrderBizId() const;
34+
void setPushOrderBizId(const std::string &pushOrderBizId);
35+
36+
private:
37+
std::string pushOrderBizId_;
38+
};
39+
} // namespace Model
40+
} // namespace MarketplaceIntl
41+
} // namespace AlibabaCloud
42+
#endif // !ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBEPUSHMETERINGDATAREQUEST_H_
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBEPUSHMETERINGDATARESULT_H_
18+
#define ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBEPUSHMETERINGDATARESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/marketplaceintl/MarketplaceIntlExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace MarketplaceIntl
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_MARKETPLACEINTL_EXPORT DescribePushMeteringDataResult : public ServiceResult
33+
{
34+
public:
35+
struct Result
36+
{
37+
bool isPushBilling;
38+
std::string meteringEntity;
39+
long endTime;
40+
std::string instanceId;
41+
long startTime;
42+
std::string pushOrderBizId;
43+
std::string meteringAssist;
44+
};
45+
46+
47+
DescribePushMeteringDataResult();
48+
explicit DescribePushMeteringDataResult(const std::string &payload);
49+
~DescribePushMeteringDataResult();
50+
std::string getMessage()const;
51+
bool getForceFatal()const;
52+
std::string getDynamicMessage()const;
53+
std::string getCode()const;
54+
bool getSuccess()const;
55+
Result getResult()const;
56+
57+
protected:
58+
void parse(const std::string &payload);
59+
private:
60+
std::string message_;
61+
bool forceFatal_;
62+
std::string dynamicMessage_;
63+
std::string code_;
64+
bool success_;
65+
Result result_;
66+
67+
};
68+
}
69+
}
70+
}
71+
#endif // !ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBEPUSHMETERINGDATARESULT_H_
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBESELLERINSTANCESREQUEST_H_
18+
#define ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBESELLERINSTANCESREQUEST_H_
19+
20+
#include <alibabacloud/marketplaceintl/MarketplaceIntlExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace MarketplaceIntl {
28+
namespace Model {
29+
class ALIBABACLOUD_MARKETPLACEINTL_EXPORT DescribeSellerInstancesRequest : public RpcServiceRequest {
30+
public:
31+
DescribeSellerInstancesRequest();
32+
~DescribeSellerInstancesRequest();
33+
std::string getInstanceStatus() const;
34+
void setInstanceStatus(const std::string &instanceStatus);
35+
long getUserId() const;
36+
void setUserId(long userId);
37+
long getInstanceId() const;
38+
void setInstanceId(long instanceId);
39+
long getPageSize() const;
40+
void setPageSize(long pageSize);
41+
int getPageIndex() const;
42+
void setPageIndex(int pageIndex);
43+
44+
private:
45+
std::string instanceStatus_;
46+
long userId_;
47+
long instanceId_;
48+
long pageSize_;
49+
int pageIndex_;
50+
};
51+
} // namespace Model
52+
} // namespace MarketplaceIntl
53+
} // namespace AlibabaCloud
54+
#endif // !ALIBABACLOUD_MARKETPLACEINTL_MODEL_DESCRIBESELLERINSTANCESREQUEST_H_

0 commit comments

Comments
 (0)