Compare commits
30 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04a4ca109f | ||
|
|
c50eec40c2 | ||
|
|
6f9991c09c | ||
|
|
98ee2fb7f9 | ||
|
|
b24f4a88d4 | ||
|
|
5817ec77ab | ||
|
|
44bbd797e7 | ||
|
|
04cde44618 | ||
|
|
69e482b761 | ||
|
|
eee0e638e8 | ||
|
|
bc3bb187a2 | ||
|
|
1b553992aa | ||
|
|
8b48258e4e | ||
|
|
8f03f1dba5 | ||
|
|
1deafa95da | ||
|
|
6c7e427683 | ||
|
|
ea79682ddf | ||
|
|
695aa4ad06 | ||
|
|
586250dbe5 | ||
|
|
51b76b4599 | ||
|
|
ff63a49df8 | ||
|
|
51589f4643 | ||
|
|
955ec5dc2d | ||
|
|
fcfbd8becc | ||
|
|
ed89d6f242 | ||
|
|
e498e9b8b4 | ||
|
|
6876310a85 | ||
|
|
48eb3c101f | ||
|
|
92ca679477 | ||
|
|
2244282621 |
104
CHANGELOG
104
CHANGELOG
@@ -1,3 +1,107 @@
|
||||
2019-09-12 Version 1.36.119
|
||||
- Fixed CMakeLists file.
|
||||
|
||||
2019-09-12 Version 1.36.118
|
||||
- Fixed CMakeLists file.
|
||||
|
||||
2019-09-12 Version 1.36.117
|
||||
- Fixed CMakeLists file.
|
||||
|
||||
2019-09-09 Version 1.36.116
|
||||
- CreateInstance add toen.
|
||||
- UpdateInstance add toen.
|
||||
|
||||
2019-09-06 Version 1.36.115
|
||||
- Update endpoint data.
|
||||
|
||||
2019-09-06 Version 1.36.114
|
||||
- Generated 2016-04-28 for `Vpc`.
|
||||
|
||||
2019-09-05 Version 1.36.113
|
||||
- Supported for setEndpoint method.
|
||||
|
||||
2019-09-05 Version 1.36.112
|
||||
- Generated 2014-05-15 for `Slb`.
|
||||
|
||||
2019-09-05 Version 1.36.111
|
||||
- Generated 2017-07-05 for `CCC`.
|
||||
|
||||
2019-09-05 Version 1.36.110
|
||||
- Generated 2018-11-11 for `foas`.
|
||||
|
||||
2019-09-05 Version 1.36.109
|
||||
- Generated 2019-05-24 for `cusanalytic_sc_online`.
|
||||
|
||||
2019-09-05 Version 1.36.108
|
||||
- Generated 2015-11-01 for `Market`.
|
||||
|
||||
2019-09-05 Version 1.36.107
|
||||
- Generated 2016-07-14 for `CloudAPI`.
|
||||
|
||||
2019-09-05 Version 1.36.106
|
||||
- Generated 2017-08-01 for `polardb`.
|
||||
|
||||
2019-09-05 Version 1.36.105
|
||||
- Generated 2017-12-14 for `BssOpenApi`.
|
||||
|
||||
2019-09-03 Version 1.36.104
|
||||
- Generated 2014-08-15 for `Rds`.
|
||||
|
||||
2019-08-30 Version 1.36.103
|
||||
- Revert to 2015-09-01.
|
||||
|
||||
2019-08-30 Version 1.36.102
|
||||
- Release Apis of Version 2019-09-10.
|
||||
|
||||
2019-08-30 Version 1.36.101
|
||||
- Supported Meida complex for IMM.
|
||||
|
||||
2019-08-30 Version 1.36.100
|
||||
- Add api for getTrace and searchTracelist.
|
||||
|
||||
2019-08-29 Version 1.36.99
|
||||
- Move StopExecution params to body.
|
||||
|
||||
2019-08-29 Version 1.36.98
|
||||
- For publish.
|
||||
|
||||
2019-08-28 Version 1.36.97
|
||||
- Add DBS API UpgradeBackupPlan.
|
||||
- Add DBS API DescribePreCheckProgressList.
|
||||
|
||||
2019-08-26 Version 1.36.96
|
||||
- QueryInstanceBillResponse change ownerId type from Long to String.
|
||||
- QueryInstanceBillResponse change usage type from float to String.
|
||||
- QueryInstanceBillResponse change listPrice type from float to String.
|
||||
- QueryInstanceBillResponse change deductedByResourcePackage type from float to String.
|
||||
|
||||
2019-08-22 Version 1.36.95
|
||||
- Support API RecognizeImageColor.
|
||||
- Support API DetectImageElements.
|
||||
- Support API RecolorImage.
|
||||
- Support API SegmentImage.
|
||||
- Support API ChangeImageSize.
|
||||
- Support API ExtendImageStyle.
|
||||
- Support API RecognizeImageStyle.
|
||||
- Support API MakeSuperResolutionImage.
|
||||
|
||||
2019-08-22 Version 1.36.94
|
||||
- Api release 2019-08-08 public sdk 2-5-2 sdk release 20190822 shichun-fsc.
|
||||
|
||||
2019-08-21 Version 1.36.93
|
||||
- Move StartExecution params to body.
|
||||
|
||||
2019-08-21 Version 1.36.92
|
||||
- Return backup job id when create backup.
|
||||
- Return backup set size when describe backups.
|
||||
|
||||
2019-08-20 Version 1.36.91
|
||||
- API TaobaoFilmGetSchedules retrun col add hallId.
|
||||
|
||||
2019-08-15 Version 1.36.90
|
||||
- FnF public version.
|
||||
- Add Report task api.
|
||||
|
||||
2019-08-15 Version 1.36.89
|
||||
- Add API BatchStartCdnDomain, BatchStopCdnDomain, DescribeTagResources, DescribeUserTags, TagResources, UntagResources.
|
||||
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICECLIENT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICECLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AppMallsServiceExport.h"
|
||||
#include "model/TaobaoFilmGetRegionListRequest.h"
|
||||
#include "model/TaobaoFilmGetRegionListResult.h"
|
||||
#include "model/RemoveMessagesRequest.h"
|
||||
#include "model/RemoveMessagesResult.h"
|
||||
#include "model/TaobaoFilmIssueOrderRequest.h"
|
||||
#include "model/TaobaoFilmIssueOrderResult.h"
|
||||
#include "model/TaobaoFilmGetSchedulesRequest.h"
|
||||
#include "model/TaobaoFilmGetSchedulesResult.h"
|
||||
#include "model/TaobaoFilmGetHotShowsRequest.h"
|
||||
#include "model/TaobaoFilmGetHotShowsResult.h"
|
||||
#include "model/TaobaoFilmGetSeatsRequest.h"
|
||||
#include "model/TaobaoFilmGetSeatsResult.h"
|
||||
#include "model/GetMessagesRequest.h"
|
||||
#include "model/GetMessagesResult.h"
|
||||
#include "model/TaobaoFilmUnLockSeatRequest.h"
|
||||
#include "model/TaobaoFilmUnLockSeatResult.h"
|
||||
#include "model/TaobaoFilmLockSeatRequest.h"
|
||||
#include "model/TaobaoFilmLockSeatResult.h"
|
||||
#include "model/TaobaoFilmGetSoonShowsRequest.h"
|
||||
#include "model/TaobaoFilmGetSoonShowsResult.h"
|
||||
#include "model/TaobaoFilmGetCinemasRequest.h"
|
||||
#include "model/TaobaoFilmGetCinemasResult.h"
|
||||
#include "model/TaobaoFilmGetShowCommentsRequest.h"
|
||||
#include "model/TaobaoFilmGetShowCommentsResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT AppMallsServiceClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::TaobaoFilmGetRegionListResult> TaobaoFilmGetRegionListOutcome;
|
||||
typedef std::future<TaobaoFilmGetRegionListOutcome> TaobaoFilmGetRegionListOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetRegionListRequest&, const TaobaoFilmGetRegionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetRegionListAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveMessagesResult> RemoveMessagesOutcome;
|
||||
typedef std::future<RemoveMessagesOutcome> RemoveMessagesOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::RemoveMessagesRequest&, const RemoveMessagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveMessagesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmIssueOrderResult> TaobaoFilmIssueOrderOutcome;
|
||||
typedef std::future<TaobaoFilmIssueOrderOutcome> TaobaoFilmIssueOrderOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmIssueOrderRequest&, const TaobaoFilmIssueOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmIssueOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmGetSchedulesResult> TaobaoFilmGetSchedulesOutcome;
|
||||
typedef std::future<TaobaoFilmGetSchedulesOutcome> TaobaoFilmGetSchedulesOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetSchedulesRequest&, const TaobaoFilmGetSchedulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetSchedulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmGetHotShowsResult> TaobaoFilmGetHotShowsOutcome;
|
||||
typedef std::future<TaobaoFilmGetHotShowsOutcome> TaobaoFilmGetHotShowsOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetHotShowsRequest&, const TaobaoFilmGetHotShowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetHotShowsAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmGetSeatsResult> TaobaoFilmGetSeatsOutcome;
|
||||
typedef std::future<TaobaoFilmGetSeatsOutcome> TaobaoFilmGetSeatsOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetSeatsRequest&, const TaobaoFilmGetSeatsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetSeatsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMessagesResult> GetMessagesOutcome;
|
||||
typedef std::future<GetMessagesOutcome> GetMessagesOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::GetMessagesRequest&, const GetMessagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMessagesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmUnLockSeatResult> TaobaoFilmUnLockSeatOutcome;
|
||||
typedef std::future<TaobaoFilmUnLockSeatOutcome> TaobaoFilmUnLockSeatOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmUnLockSeatRequest&, const TaobaoFilmUnLockSeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmUnLockSeatAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmLockSeatResult> TaobaoFilmLockSeatOutcome;
|
||||
typedef std::future<TaobaoFilmLockSeatOutcome> TaobaoFilmLockSeatOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmLockSeatRequest&, const TaobaoFilmLockSeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmLockSeatAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmGetSoonShowsResult> TaobaoFilmGetSoonShowsOutcome;
|
||||
typedef std::future<TaobaoFilmGetSoonShowsOutcome> TaobaoFilmGetSoonShowsOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetSoonShowsRequest&, const TaobaoFilmGetSoonShowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetSoonShowsAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmGetCinemasResult> TaobaoFilmGetCinemasOutcome;
|
||||
typedef std::future<TaobaoFilmGetCinemasOutcome> TaobaoFilmGetCinemasOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetCinemasRequest&, const TaobaoFilmGetCinemasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetCinemasAsyncHandler;
|
||||
typedef Outcome<Error, Model::TaobaoFilmGetShowCommentsResult> TaobaoFilmGetShowCommentsOutcome;
|
||||
typedef std::future<TaobaoFilmGetShowCommentsOutcome> TaobaoFilmGetShowCommentsOutcomeCallable;
|
||||
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetShowCommentsRequest&, const TaobaoFilmGetShowCommentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetShowCommentsAsyncHandler;
|
||||
|
||||
AppMallsServiceClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AppMallsServiceClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AppMallsServiceClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AppMallsServiceClient();
|
||||
TaobaoFilmGetRegionListOutcome taobaoFilmGetRegionList(const Model::TaobaoFilmGetRegionListRequest &request)const;
|
||||
void taobaoFilmGetRegionListAsync(const Model::TaobaoFilmGetRegionListRequest& request, const TaobaoFilmGetRegionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmGetRegionListOutcomeCallable taobaoFilmGetRegionListCallable(const Model::TaobaoFilmGetRegionListRequest& request) const;
|
||||
RemoveMessagesOutcome removeMessages(const Model::RemoveMessagesRequest &request)const;
|
||||
void removeMessagesAsync(const Model::RemoveMessagesRequest& request, const RemoveMessagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveMessagesOutcomeCallable removeMessagesCallable(const Model::RemoveMessagesRequest& request) const;
|
||||
TaobaoFilmIssueOrderOutcome taobaoFilmIssueOrder(const Model::TaobaoFilmIssueOrderRequest &request)const;
|
||||
void taobaoFilmIssueOrderAsync(const Model::TaobaoFilmIssueOrderRequest& request, const TaobaoFilmIssueOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmIssueOrderOutcomeCallable taobaoFilmIssueOrderCallable(const Model::TaobaoFilmIssueOrderRequest& request) const;
|
||||
TaobaoFilmGetSchedulesOutcome taobaoFilmGetSchedules(const Model::TaobaoFilmGetSchedulesRequest &request)const;
|
||||
void taobaoFilmGetSchedulesAsync(const Model::TaobaoFilmGetSchedulesRequest& request, const TaobaoFilmGetSchedulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmGetSchedulesOutcomeCallable taobaoFilmGetSchedulesCallable(const Model::TaobaoFilmGetSchedulesRequest& request) const;
|
||||
TaobaoFilmGetHotShowsOutcome taobaoFilmGetHotShows(const Model::TaobaoFilmGetHotShowsRequest &request)const;
|
||||
void taobaoFilmGetHotShowsAsync(const Model::TaobaoFilmGetHotShowsRequest& request, const TaobaoFilmGetHotShowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmGetHotShowsOutcomeCallable taobaoFilmGetHotShowsCallable(const Model::TaobaoFilmGetHotShowsRequest& request) const;
|
||||
TaobaoFilmGetSeatsOutcome taobaoFilmGetSeats(const Model::TaobaoFilmGetSeatsRequest &request)const;
|
||||
void taobaoFilmGetSeatsAsync(const Model::TaobaoFilmGetSeatsRequest& request, const TaobaoFilmGetSeatsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmGetSeatsOutcomeCallable taobaoFilmGetSeatsCallable(const Model::TaobaoFilmGetSeatsRequest& request) const;
|
||||
GetMessagesOutcome getMessages(const Model::GetMessagesRequest &request)const;
|
||||
void getMessagesAsync(const Model::GetMessagesRequest& request, const GetMessagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMessagesOutcomeCallable getMessagesCallable(const Model::GetMessagesRequest& request) const;
|
||||
TaobaoFilmUnLockSeatOutcome taobaoFilmUnLockSeat(const Model::TaobaoFilmUnLockSeatRequest &request)const;
|
||||
void taobaoFilmUnLockSeatAsync(const Model::TaobaoFilmUnLockSeatRequest& request, const TaobaoFilmUnLockSeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmUnLockSeatOutcomeCallable taobaoFilmUnLockSeatCallable(const Model::TaobaoFilmUnLockSeatRequest& request) const;
|
||||
TaobaoFilmLockSeatOutcome taobaoFilmLockSeat(const Model::TaobaoFilmLockSeatRequest &request)const;
|
||||
void taobaoFilmLockSeatAsync(const Model::TaobaoFilmLockSeatRequest& request, const TaobaoFilmLockSeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmLockSeatOutcomeCallable taobaoFilmLockSeatCallable(const Model::TaobaoFilmLockSeatRequest& request) const;
|
||||
TaobaoFilmGetSoonShowsOutcome taobaoFilmGetSoonShows(const Model::TaobaoFilmGetSoonShowsRequest &request)const;
|
||||
void taobaoFilmGetSoonShowsAsync(const Model::TaobaoFilmGetSoonShowsRequest& request, const TaobaoFilmGetSoonShowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmGetSoonShowsOutcomeCallable taobaoFilmGetSoonShowsCallable(const Model::TaobaoFilmGetSoonShowsRequest& request) const;
|
||||
TaobaoFilmGetCinemasOutcome taobaoFilmGetCinemas(const Model::TaobaoFilmGetCinemasRequest &request)const;
|
||||
void taobaoFilmGetCinemasAsync(const Model::TaobaoFilmGetCinemasRequest& request, const TaobaoFilmGetCinemasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmGetCinemasOutcomeCallable taobaoFilmGetCinemasCallable(const Model::TaobaoFilmGetCinemasRequest& request) const;
|
||||
TaobaoFilmGetShowCommentsOutcome taobaoFilmGetShowComments(const Model::TaobaoFilmGetShowCommentsRequest &request)const;
|
||||
void taobaoFilmGetShowCommentsAsync(const Model::TaobaoFilmGetShowCommentsRequest& request, const TaobaoFilmGetShowCommentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaobaoFilmGetShowCommentsOutcomeCallable taobaoFilmGetShowCommentsCallable(const Model::TaobaoFilmGetShowCommentsRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICECLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICEEXPORT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICEEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_APPMALLSSERVICE_LIBRARY)
|
||||
# define ALIBABACLOUD_APPMALLSSERVICE_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_APPMALLSSERVICE_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_APPMALLSSERVICE_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICEEXPORT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT GetMessagesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMessagesRequest();
|
||||
~GetMessagesRequest();
|
||||
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
std::string topic_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT GetMessagesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct BizMessagesItem
|
||||
{
|
||||
long dataId;
|
||||
std::string contentMapJson;
|
||||
std::string pubTime;
|
||||
std::string topic;
|
||||
};
|
||||
|
||||
|
||||
GetMessagesResult();
|
||||
explicit GetMessagesResult(const std::string &payload);
|
||||
~GetMessagesResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
std::vector<BizMessagesItem> getBizMessages()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::string logsId_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
std::vector<BizMessagesItem> bizMessages_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESRESULT_H_
|
||||
@@ -14,41 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVALIABLEQUOTAREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVALIABLEQUOTAREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAvaliableQuotaRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT RemoveMessagesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryAvaliableQuotaRequest();
|
||||
~QueryAvaliableQuotaRequest();
|
||||
RemoveMessagesRequest();
|
||||
~RemoveMessagesRequest();
|
||||
|
||||
long getUid()const;
|
||||
void setUid(long uid);
|
||||
std::string getItemCodes()const;
|
||||
void setItemCodes(const std::string& itemCodes);
|
||||
std::string getBid()const;
|
||||
void setBid(const std::string& bid);
|
||||
std::string getMsgIds()const;
|
||||
void setMsgIds(const std::string& msgIds);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
long uid_;
|
||||
std::string itemCodes_;
|
||||
std::string bid_;
|
||||
std::string msgIds_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYAVALIABLEQUOTAREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT RemoveMessagesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveMessagesResult();
|
||||
explicit RemoveMessagesResult(const std::string &payload);
|
||||
~RemoveMessagesResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getReturnCode()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getReturnMessage()const;
|
||||
std::string getReturnValue()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::string returnCode_;
|
||||
std::string logsId_;
|
||||
std::string returnMessage_;
|
||||
std::string returnValue_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetCinemasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmGetCinemasRequest();
|
||||
~TaobaoFilmGetCinemasRequest();
|
||||
|
||||
long getPageIndex()const;
|
||||
void setPageIndex(long pageIndex);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
long pageIndex_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetCinemasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CinemasItem
|
||||
{
|
||||
std::string cinemaName;
|
||||
std::string address;
|
||||
long cityId;
|
||||
std::string regionName;
|
||||
std::string phone;
|
||||
std::string latitude;
|
||||
std::string standardId;
|
||||
long id;
|
||||
std::string longitude;
|
||||
long scheduleCloseTime;
|
||||
};
|
||||
|
||||
|
||||
TaobaoFilmGetCinemasResult();
|
||||
explicit TaobaoFilmGetCinemasResult(const std::string &payload);
|
||||
~TaobaoFilmGetCinemasResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
long getTotalCount()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
std::vector<CinemasItem> getCinemas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
long totalCount_;
|
||||
std::string logsId_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
std::vector<CinemasItem> cinemas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetHotShowsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmGetHotShowsRequest();
|
||||
~TaobaoFilmGetHotShowsRequest();
|
||||
|
||||
long getCityCode()const;
|
||||
void setCityCode(long cityCode);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
long cityCode_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSREQUEST_H_
|
||||
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetHotShowsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ShowsItem
|
||||
{
|
||||
std::vector<std::string> showVersionList;
|
||||
std::string backgroundPicture;
|
||||
std::string description;
|
||||
std::string highlight;
|
||||
std::string leadingRole;
|
||||
std::string director;
|
||||
long duration;
|
||||
std::string showName;
|
||||
std::string showMark;
|
||||
std::string remark;
|
||||
std::string openTime;
|
||||
std::string type;
|
||||
std::string language;
|
||||
std::string poster;
|
||||
std::string country;
|
||||
std::string showNameEn;
|
||||
long id;
|
||||
std::vector<std::string> trailerList;
|
||||
std::string openDay;
|
||||
};
|
||||
|
||||
|
||||
TaobaoFilmGetHotShowsResult();
|
||||
explicit TaobaoFilmGetHotShowsResult(const std::string &payload);
|
||||
~TaobaoFilmGetHotShowsResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::vector<ShowsItem> getShows()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::vector<ShowsItem> shows_;
|
||||
std::string logsId_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetRegionListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmGetRegionListRequest();
|
||||
~TaobaoFilmGetRegionListRequest();
|
||||
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetRegionListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RegionsItem
|
||||
{
|
||||
long cityCode;
|
||||
long parentId;
|
||||
std::string regionName;
|
||||
std::string pinYin;
|
||||
long id;
|
||||
};
|
||||
|
||||
|
||||
TaobaoFilmGetRegionListResult();
|
||||
explicit TaobaoFilmGetRegionListResult(const std::string &payload);
|
||||
~TaobaoFilmGetRegionListResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getLogsId()const;
|
||||
std::vector<RegionsItem> getRegions()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::string logsId_;
|
||||
std::vector<RegionsItem> regions_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSchedulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmGetSchedulesRequest();
|
||||
~TaobaoFilmGetSchedulesRequest();
|
||||
|
||||
long getCinemaId()const;
|
||||
void setCinemaId(long cinemaId);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
long cinemaId_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESREQUEST_H_
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSchedulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SchedulesItem
|
||||
{
|
||||
bool isExpired;
|
||||
std::string showTime;
|
||||
long showId;
|
||||
long maxCanBuy;
|
||||
std::string showDate;
|
||||
std::string scheduleArea;
|
||||
long serviceFee;
|
||||
std::string hallId;
|
||||
std::string closeTime;
|
||||
long price;
|
||||
std::string hallName;
|
||||
long cinemaId;
|
||||
std::string showVersion;
|
||||
long id;
|
||||
std::string sectionId;
|
||||
};
|
||||
|
||||
|
||||
TaobaoFilmGetSchedulesResult();
|
||||
explicit TaobaoFilmGetSchedulesResult(const std::string &payload);
|
||||
~TaobaoFilmGetSchedulesResult();
|
||||
std::string getMsg()const;
|
||||
std::vector<SchedulesItem> getSchedules()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::vector<SchedulesItem> schedules_;
|
||||
std::string subMsg_;
|
||||
std::string logsId_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSeatsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmGetSeatsRequest();
|
||||
~TaobaoFilmGetSeatsRequest();
|
||||
|
||||
long getScheduleId()const;
|
||||
void setScheduleId(long scheduleId);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
long scheduleId_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSREQUEST_H_
|
||||
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSeatsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SeatMap
|
||||
{
|
||||
struct SeatsItem
|
||||
{
|
||||
long leftPx;
|
||||
long status;
|
||||
std::string area;
|
||||
long column;
|
||||
std::string extId;
|
||||
long row;
|
||||
long flag;
|
||||
long topPx;
|
||||
std::string name;
|
||||
std::string rowName;
|
||||
};
|
||||
long maxRow;
|
||||
bool regular;
|
||||
long soldCount;
|
||||
long minRow;
|
||||
long maxTopPx;
|
||||
long minColumn;
|
||||
long maxCanBuy;
|
||||
long maxColumn;
|
||||
long minLeftPx;
|
||||
std::vector<SeatsItem> seats;
|
||||
long maxLeftPx;
|
||||
long seatCount;
|
||||
std::string notice;
|
||||
long minTopPx;
|
||||
std::string tipMessage;
|
||||
};
|
||||
|
||||
|
||||
TaobaoFilmGetSeatsResult();
|
||||
explicit TaobaoFilmGetSeatsResult(const std::string &payload);
|
||||
~TaobaoFilmGetSeatsResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getErrorCode()const;
|
||||
SeatMap getSeatMap()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::string logsId_;
|
||||
std::string errorCode_;
|
||||
SeatMap seatMap_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetShowCommentsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmGetShowCommentsRequest();
|
||||
~TaobaoFilmGetShowCommentsRequest();
|
||||
|
||||
long getShowId()const;
|
||||
void setShowId(long showId);
|
||||
long getPageIndex()const;
|
||||
void setPageIndex(long pageIndex);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
long showId_;
|
||||
long pageIndex_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetShowCommentsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CommentListItem
|
||||
{
|
||||
std::string content;
|
||||
std::string commentTime;
|
||||
long showId;
|
||||
long id;
|
||||
std::string nickName;
|
||||
std::string subject;
|
||||
long favorCount;
|
||||
long remark;
|
||||
};
|
||||
|
||||
|
||||
TaobaoFilmGetShowCommentsResult();
|
||||
explicit TaobaoFilmGetShowCommentsResult(const std::string &payload);
|
||||
~TaobaoFilmGetShowCommentsResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getLogsId()const;
|
||||
std::vector<CommentListItem> getCommentList()const;
|
||||
std::string getErrorCode()const;
|
||||
long getCount()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::string logsId_;
|
||||
std::vector<CommentListItem> commentList_;
|
||||
std::string errorCode_;
|
||||
long count_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSoonShowsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmGetSoonShowsRequest();
|
||||
~TaobaoFilmGetSoonShowsRequest();
|
||||
|
||||
long getCityCode()const;
|
||||
void setCityCode(long cityCode);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
long cityCode_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSREQUEST_H_
|
||||
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSoonShowsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ShowsItem
|
||||
{
|
||||
std::vector<std::string> showVersionList;
|
||||
std::string backgroundPicture;
|
||||
std::string description;
|
||||
std::string highlight;
|
||||
std::string leadingRole;
|
||||
std::string director;
|
||||
long duration;
|
||||
std::string showName;
|
||||
std::string showMark;
|
||||
std::string remark;
|
||||
std::string openTime;
|
||||
std::string type;
|
||||
std::string language;
|
||||
std::string poster;
|
||||
std::string country;
|
||||
std::string showNameEn;
|
||||
long id;
|
||||
std::vector<std::string> trailerList;
|
||||
std::string openDay;
|
||||
};
|
||||
|
||||
|
||||
TaobaoFilmGetSoonShowsResult();
|
||||
explicit TaobaoFilmGetSoonShowsResult(const std::string &payload);
|
||||
~TaobaoFilmGetSoonShowsResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::vector<ShowsItem> getShows()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::vector<ShowsItem> shows_;
|
||||
std::string logsId_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmIssueOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmIssueOrderRequest();
|
||||
~TaobaoFilmIssueOrderRequest();
|
||||
|
||||
std::string getLockSeatApplyKey()const;
|
||||
void setLockSeatApplyKey(const std::string& lockSeatApplyKey);
|
||||
std::string getExtUserId()const;
|
||||
void setExtUserId(const std::string& extUserId);
|
||||
std::string getExtOrderId()const;
|
||||
void setExtOrderId(const std::string& extOrderId);
|
||||
long getTotalPrice()const;
|
||||
void setTotalPrice(long totalPrice);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
std::string lockSeatApplyKey_;
|
||||
std::string extUserId_;
|
||||
std::string extOrderId_;
|
||||
long totalPrice_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmIssueOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TaobaoFilmIssueOrderResult();
|
||||
explicit TaobaoFilmIssueOrderResult(const std::string &payload);
|
||||
~TaobaoFilmIssueOrderResult();
|
||||
std::string getMsg()const;
|
||||
std::string getStatus()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getMessage()const;
|
||||
std::string getTicketContents()const;
|
||||
std::string getTbOrderId()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string status_;
|
||||
std::string subMsg_;
|
||||
std::string message_;
|
||||
std::string ticketContents_;
|
||||
std::string tbOrderId_;
|
||||
std::string logsId_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmLockSeatRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmLockSeatRequest();
|
||||
~TaobaoFilmLockSeatRequest();
|
||||
|
||||
long getScheduleId()const;
|
||||
void setScheduleId(long scheduleId);
|
||||
std::string getSeatIds()const;
|
||||
void setSeatIds(const std::string& seatIds);
|
||||
std::string getSeatNames()const;
|
||||
void setSeatNames(const std::string& seatNames);
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getExtUserId()const;
|
||||
void setExtUserId(const std::string& extUserId);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
long scheduleId_;
|
||||
std::string seatIds_;
|
||||
std::string seatNames_;
|
||||
std::string mobile_;
|
||||
std::string extUserId_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmLockSeatResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SeatLocked
|
||||
{
|
||||
long lockTime;
|
||||
std::string status;
|
||||
std::string applyKey;
|
||||
long defaultLockSecond;
|
||||
};
|
||||
|
||||
|
||||
TaobaoFilmLockSeatResult();
|
||||
explicit TaobaoFilmLockSeatResult(const std::string &payload);
|
||||
~TaobaoFilmLockSeatResult();
|
||||
SeatLocked getSeatLocked()const;
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
SeatLocked seatLocked_;
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::string logsId_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATREQUEST_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmUnLockSeatRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TaobaoFilmUnLockSeatRequest();
|
||||
~TaobaoFilmUnLockSeatRequest();
|
||||
|
||||
std::string getLockSeatApplyKey()const;
|
||||
void setLockSeatApplyKey(const std::string& lockSeatApplyKey);
|
||||
std::string getExtUserId()const;
|
||||
void setExtUserId(const std::string& extUserId);
|
||||
std::string getParamsJson()const;
|
||||
void setParamsJson(const std::string& paramsJson);
|
||||
|
||||
private:
|
||||
std::string lockSeatApplyKey_;
|
||||
std::string extUserId_;
|
||||
std::string paramsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATRESULT_H_
|
||||
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AppMallsService
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmUnLockSeatResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TaobaoFilmUnLockSeatResult();
|
||||
explicit TaobaoFilmUnLockSeatResult(const std::string &payload);
|
||||
~TaobaoFilmUnLockSeatResult();
|
||||
std::string getMsg()const;
|
||||
std::string getSubMsg()const;
|
||||
std::string getReturnCode()const;
|
||||
std::string getLogsId()const;
|
||||
std::string getReturnMessage()const;
|
||||
bool getReturnValue()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getSubCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
std::string subMsg_;
|
||||
std::string returnCode_;
|
||||
std::string logsId_;
|
||||
std::string returnMessage_;
|
||||
bool returnValue_;
|
||||
std::string errorCode_;
|
||||
std::string subCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATRESULT_H_
|
||||
485
appmallsservice/src/AppMallsServiceClient.cc
Normal file
485
appmallsservice/src/AppMallsServiceClient.cc
Normal file
@@ -0,0 +1,485 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/AppMallsServiceClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "AppMallsService";
|
||||
}
|
||||
|
||||
AppMallsServiceClient::AppMallsServiceClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
AppMallsServiceClient::AppMallsServiceClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
AppMallsServiceClient::AppMallsServiceClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
AppMallsServiceClient::~AppMallsServiceClient()
|
||||
{}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetRegionListOutcome AppMallsServiceClient::taobaoFilmGetRegionList(const TaobaoFilmGetRegionListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmGetRegionListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmGetRegionListOutcome(TaobaoFilmGetRegionListResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmGetRegionListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmGetRegionListAsync(const TaobaoFilmGetRegionListRequest& request, const TaobaoFilmGetRegionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmGetRegionList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetRegionListOutcomeCallable AppMallsServiceClient::taobaoFilmGetRegionListCallable(const TaobaoFilmGetRegionListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetRegionListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmGetRegionList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::RemoveMessagesOutcome AppMallsServiceClient::removeMessages(const RemoveMessagesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveMessagesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveMessagesOutcome(RemoveMessagesResult(outcome.result()));
|
||||
else
|
||||
return RemoveMessagesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::removeMessagesAsync(const RemoveMessagesRequest& request, const RemoveMessagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeMessages(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::RemoveMessagesOutcomeCallable AppMallsServiceClient::removeMessagesCallable(const RemoveMessagesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveMessagesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeMessages(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmIssueOrderOutcome AppMallsServiceClient::taobaoFilmIssueOrder(const TaobaoFilmIssueOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmIssueOrderOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmIssueOrderOutcome(TaobaoFilmIssueOrderResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmIssueOrderOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmIssueOrderAsync(const TaobaoFilmIssueOrderRequest& request, const TaobaoFilmIssueOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmIssueOrder(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmIssueOrderOutcomeCallable AppMallsServiceClient::taobaoFilmIssueOrderCallable(const TaobaoFilmIssueOrderRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmIssueOrderOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmIssueOrder(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetSchedulesOutcome AppMallsServiceClient::taobaoFilmGetSchedules(const TaobaoFilmGetSchedulesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmGetSchedulesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmGetSchedulesOutcome(TaobaoFilmGetSchedulesResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmGetSchedulesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmGetSchedulesAsync(const TaobaoFilmGetSchedulesRequest& request, const TaobaoFilmGetSchedulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmGetSchedules(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetSchedulesOutcomeCallable AppMallsServiceClient::taobaoFilmGetSchedulesCallable(const TaobaoFilmGetSchedulesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetSchedulesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmGetSchedules(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetHotShowsOutcome AppMallsServiceClient::taobaoFilmGetHotShows(const TaobaoFilmGetHotShowsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmGetHotShowsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmGetHotShowsOutcome(TaobaoFilmGetHotShowsResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmGetHotShowsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmGetHotShowsAsync(const TaobaoFilmGetHotShowsRequest& request, const TaobaoFilmGetHotShowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmGetHotShows(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetHotShowsOutcomeCallable AppMallsServiceClient::taobaoFilmGetHotShowsCallable(const TaobaoFilmGetHotShowsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetHotShowsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmGetHotShows(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetSeatsOutcome AppMallsServiceClient::taobaoFilmGetSeats(const TaobaoFilmGetSeatsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmGetSeatsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmGetSeatsOutcome(TaobaoFilmGetSeatsResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmGetSeatsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmGetSeatsAsync(const TaobaoFilmGetSeatsRequest& request, const TaobaoFilmGetSeatsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmGetSeats(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetSeatsOutcomeCallable AppMallsServiceClient::taobaoFilmGetSeatsCallable(const TaobaoFilmGetSeatsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetSeatsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmGetSeats(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::GetMessagesOutcome AppMallsServiceClient::getMessages(const GetMessagesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMessagesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMessagesOutcome(GetMessagesResult(outcome.result()));
|
||||
else
|
||||
return GetMessagesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::getMessagesAsync(const GetMessagesRequest& request, const GetMessagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMessages(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::GetMessagesOutcomeCallable AppMallsServiceClient::getMessagesCallable(const GetMessagesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMessagesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMessages(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmUnLockSeatOutcome AppMallsServiceClient::taobaoFilmUnLockSeat(const TaobaoFilmUnLockSeatRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmUnLockSeatOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmUnLockSeatOutcome(TaobaoFilmUnLockSeatResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmUnLockSeatOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmUnLockSeatAsync(const TaobaoFilmUnLockSeatRequest& request, const TaobaoFilmUnLockSeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmUnLockSeat(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmUnLockSeatOutcomeCallable AppMallsServiceClient::taobaoFilmUnLockSeatCallable(const TaobaoFilmUnLockSeatRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmUnLockSeatOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmUnLockSeat(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmLockSeatOutcome AppMallsServiceClient::taobaoFilmLockSeat(const TaobaoFilmLockSeatRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmLockSeatOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmLockSeatOutcome(TaobaoFilmLockSeatResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmLockSeatOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmLockSeatAsync(const TaobaoFilmLockSeatRequest& request, const TaobaoFilmLockSeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmLockSeat(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmLockSeatOutcomeCallable AppMallsServiceClient::taobaoFilmLockSeatCallable(const TaobaoFilmLockSeatRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmLockSeatOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmLockSeat(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetSoonShowsOutcome AppMallsServiceClient::taobaoFilmGetSoonShows(const TaobaoFilmGetSoonShowsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmGetSoonShowsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmGetSoonShowsOutcome(TaobaoFilmGetSoonShowsResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmGetSoonShowsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmGetSoonShowsAsync(const TaobaoFilmGetSoonShowsRequest& request, const TaobaoFilmGetSoonShowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmGetSoonShows(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetSoonShowsOutcomeCallable AppMallsServiceClient::taobaoFilmGetSoonShowsCallable(const TaobaoFilmGetSoonShowsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetSoonShowsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmGetSoonShows(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetCinemasOutcome AppMallsServiceClient::taobaoFilmGetCinemas(const TaobaoFilmGetCinemasRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmGetCinemasOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmGetCinemasOutcome(TaobaoFilmGetCinemasResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmGetCinemasOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmGetCinemasAsync(const TaobaoFilmGetCinemasRequest& request, const TaobaoFilmGetCinemasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmGetCinemas(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetCinemasOutcomeCallable AppMallsServiceClient::taobaoFilmGetCinemasCallable(const TaobaoFilmGetCinemasRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetCinemasOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmGetCinemas(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetShowCommentsOutcome AppMallsServiceClient::taobaoFilmGetShowComments(const TaobaoFilmGetShowCommentsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TaobaoFilmGetShowCommentsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TaobaoFilmGetShowCommentsOutcome(TaobaoFilmGetShowCommentsResult(outcome.result()));
|
||||
else
|
||||
return TaobaoFilmGetShowCommentsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AppMallsServiceClient::taobaoFilmGetShowCommentsAsync(const TaobaoFilmGetShowCommentsRequest& request, const TaobaoFilmGetShowCommentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, taobaoFilmGetShowComments(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AppMallsServiceClient::TaobaoFilmGetShowCommentsOutcomeCallable AppMallsServiceClient::taobaoFilmGetShowCommentsCallable(const TaobaoFilmGetShowCommentsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetShowCommentsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->taobaoFilmGetShowComments(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
49
appmallsservice/src/model/GetMessagesRequest.cc
Normal file
49
appmallsservice/src/model/GetMessagesRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/GetMessagesRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::GetMessagesRequest;
|
||||
|
||||
GetMessagesRequest::GetMessagesRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "GetMessages")
|
||||
{}
|
||||
|
||||
GetMessagesRequest::~GetMessagesRequest()
|
||||
{}
|
||||
|
||||
std::string GetMessagesRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void GetMessagesRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setCoreParameter("Topic", topic);
|
||||
}
|
||||
|
||||
std::string GetMessagesRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void GetMessagesRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
102
appmallsservice/src/model/GetMessagesResult.cc
Normal file
102
appmallsservice/src/model/GetMessagesResult.cc
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/GetMessagesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
GetMessagesResult::GetMessagesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMessagesResult::GetMessagesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMessagesResult::~GetMessagesResult()
|
||||
{}
|
||||
|
||||
void GetMessagesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBizMessages = value["BizMessages"]["BizMessagesItem"];
|
||||
for (auto value : allBizMessages)
|
||||
{
|
||||
BizMessagesItem bizMessagesObject;
|
||||
if(!value["PubTime"].isNull())
|
||||
bizMessagesObject.pubTime = value["PubTime"].asString();
|
||||
if(!value["Topic"].isNull())
|
||||
bizMessagesObject.topic = value["Topic"].asString();
|
||||
if(!value["DataId"].isNull())
|
||||
bizMessagesObject.dataId = std::stol(value["DataId"].asString());
|
||||
if(!value["ContentMapJson"].isNull())
|
||||
bizMessagesObject.contentMapJson = value["ContentMapJson"].asString();
|
||||
bizMessages_.push_back(bizMessagesObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetMessagesResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string GetMessagesResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string GetMessagesResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string GetMessagesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetMessagesResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
std::vector<GetMessagesResult::BizMessagesItem> GetMessagesResult::getBizMessages()const
|
||||
{
|
||||
return bizMessages_;
|
||||
}
|
||||
|
||||
49
appmallsservice/src/model/RemoveMessagesRequest.cc
Normal file
49
appmallsservice/src/model/RemoveMessagesRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/RemoveMessagesRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::RemoveMessagesRequest;
|
||||
|
||||
RemoveMessagesRequest::RemoveMessagesRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "RemoveMessages")
|
||||
{}
|
||||
|
||||
RemoveMessagesRequest::~RemoveMessagesRequest()
|
||||
{}
|
||||
|
||||
std::string RemoveMessagesRequest::getMsgIds()const
|
||||
{
|
||||
return msgIds_;
|
||||
}
|
||||
|
||||
void RemoveMessagesRequest::setMsgIds(const std::string& msgIds)
|
||||
{
|
||||
msgIds_ = msgIds;
|
||||
setCoreParameter("MsgIds", msgIds);
|
||||
}
|
||||
|
||||
std::string RemoveMessagesRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void RemoveMessagesRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
104
appmallsservice/src/model/RemoveMessagesResult.cc
Normal file
104
appmallsservice/src/model/RemoveMessagesResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/RemoveMessagesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
RemoveMessagesResult::RemoveMessagesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RemoveMessagesResult::RemoveMessagesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RemoveMessagesResult::~RemoveMessagesResult()
|
||||
{}
|
||||
|
||||
void RemoveMessagesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
if(!value["ReturnCode"].isNull())
|
||||
returnCode_ = value["ReturnCode"].asString();
|
||||
if(!value["ReturnMessage"].isNull())
|
||||
returnMessage_ = value["ReturnMessage"].asString();
|
||||
if(!value["ReturnValue"].isNull())
|
||||
returnValue_ = value["ReturnValue"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string RemoveMessagesResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string RemoveMessagesResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string RemoveMessagesResult::getReturnCode()const
|
||||
{
|
||||
return returnCode_;
|
||||
}
|
||||
|
||||
std::string RemoveMessagesResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string RemoveMessagesResult::getReturnMessage()const
|
||||
{
|
||||
return returnMessage_;
|
||||
}
|
||||
|
||||
std::string RemoveMessagesResult::getReturnValue()const
|
||||
{
|
||||
return returnValue_;
|
||||
}
|
||||
|
||||
std::string RemoveMessagesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string RemoveMessagesResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
49
appmallsservice/src/model/TaobaoFilmGetCinemasRequest.cc
Normal file
49
appmallsservice/src/model/TaobaoFilmGetCinemasRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetCinemasRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetCinemasRequest;
|
||||
|
||||
TaobaoFilmGetCinemasRequest::TaobaoFilmGetCinemasRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetCinemas")
|
||||
{}
|
||||
|
||||
TaobaoFilmGetCinemasRequest::~TaobaoFilmGetCinemasRequest()
|
||||
{}
|
||||
|
||||
long TaobaoFilmGetCinemasRequest::getPageIndex()const
|
||||
{
|
||||
return pageIndex_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetCinemasRequest::setPageIndex(long pageIndex)
|
||||
{
|
||||
pageIndex_ = pageIndex;
|
||||
setCoreParameter("PageIndex", std::to_string(pageIndex));
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetCinemasRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetCinemasRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
121
appmallsservice/src/model/TaobaoFilmGetCinemasResult.cc
Normal file
121
appmallsservice/src/model/TaobaoFilmGetCinemasResult.cc
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetCinemasResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmGetCinemasResult::TaobaoFilmGetCinemasResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmGetCinemasResult::TaobaoFilmGetCinemasResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmGetCinemasResult::~TaobaoFilmGetCinemasResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmGetCinemasResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCinemas = value["Cinemas"]["CinemasItem"];
|
||||
for (auto value : allCinemas)
|
||||
{
|
||||
CinemasItem cinemasObject;
|
||||
if(!value["Address"].isNull())
|
||||
cinemasObject.address = value["Address"].asString();
|
||||
if(!value["CinemaName"].isNull())
|
||||
cinemasObject.cinemaName = value["CinemaName"].asString();
|
||||
if(!value["CityId"].isNull())
|
||||
cinemasObject.cityId = std::stol(value["CityId"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
cinemasObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["Latitude"].isNull())
|
||||
cinemasObject.latitude = value["Latitude"].asString();
|
||||
if(!value["Longitude"].isNull())
|
||||
cinemasObject.longitude = value["Longitude"].asString();
|
||||
if(!value["Phone"].isNull())
|
||||
cinemasObject.phone = value["Phone"].asString();
|
||||
if(!value["RegionName"].isNull())
|
||||
cinemasObject.regionName = value["RegionName"].asString();
|
||||
if(!value["ScheduleCloseTime"].isNull())
|
||||
cinemasObject.scheduleCloseTime = std::stol(value["ScheduleCloseTime"].asString());
|
||||
if(!value["StandardId"].isNull())
|
||||
cinemasObject.standardId = value["StandardId"].asString();
|
||||
cinemas_.push_back(cinemasObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetCinemasResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetCinemasResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
long TaobaoFilmGetCinemasResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetCinemasResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetCinemasResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetCinemasResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
std::vector<TaobaoFilmGetCinemasResult::CinemasItem> TaobaoFilmGetCinemasResult::getCinemas()const
|
||||
{
|
||||
return cinemas_;
|
||||
}
|
||||
|
||||
49
appmallsservice/src/model/TaobaoFilmGetHotShowsRequest.cc
Normal file
49
appmallsservice/src/model/TaobaoFilmGetHotShowsRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetHotShowsRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetHotShowsRequest;
|
||||
|
||||
TaobaoFilmGetHotShowsRequest::TaobaoFilmGetHotShowsRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetHotShows")
|
||||
{}
|
||||
|
||||
TaobaoFilmGetHotShowsRequest::~TaobaoFilmGetHotShowsRequest()
|
||||
{}
|
||||
|
||||
long TaobaoFilmGetHotShowsRequest::getCityCode()const
|
||||
{
|
||||
return cityCode_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetHotShowsRequest::setCityCode(long cityCode)
|
||||
{
|
||||
cityCode_ = cityCode;
|
||||
setCoreParameter("CityCode", std::to_string(cityCode));
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetHotShowsRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetHotShowsRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
134
appmallsservice/src/model/TaobaoFilmGetHotShowsResult.cc
Normal file
134
appmallsservice/src/model/TaobaoFilmGetHotShowsResult.cc
Normal file
@@ -0,0 +1,134 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetHotShowsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmGetHotShowsResult::TaobaoFilmGetHotShowsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmGetHotShowsResult::TaobaoFilmGetHotShowsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmGetHotShowsResult::~TaobaoFilmGetHotShowsResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmGetHotShowsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allShows = value["Shows"]["ShowsItem"];
|
||||
for (auto value : allShows)
|
||||
{
|
||||
ShowsItem showsObject;
|
||||
if(!value["BackgroundPicture"].isNull())
|
||||
showsObject.backgroundPicture = value["BackgroundPicture"].asString();
|
||||
if(!value["Country"].isNull())
|
||||
showsObject.country = value["Country"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
showsObject.description = value["Description"].asString();
|
||||
if(!value["Director"].isNull())
|
||||
showsObject.director = value["Director"].asString();
|
||||
if(!value["Duration"].isNull())
|
||||
showsObject.duration = std::stol(value["Duration"].asString());
|
||||
if(!value["Highlight"].isNull())
|
||||
showsObject.highlight = value["Highlight"].asString();
|
||||
if(!value["Id"].isNull())
|
||||
showsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["Language"].isNull())
|
||||
showsObject.language = value["Language"].asString();
|
||||
if(!value["LeadingRole"].isNull())
|
||||
showsObject.leadingRole = value["LeadingRole"].asString();
|
||||
if(!value["OpenDay"].isNull())
|
||||
showsObject.openDay = value["OpenDay"].asString();
|
||||
if(!value["OpenTime"].isNull())
|
||||
showsObject.openTime = value["OpenTime"].asString();
|
||||
if(!value["Poster"].isNull())
|
||||
showsObject.poster = value["Poster"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
showsObject.remark = value["Remark"].asString();
|
||||
if(!value["ShowMark"].isNull())
|
||||
showsObject.showMark = value["ShowMark"].asString();
|
||||
if(!value["ShowName"].isNull())
|
||||
showsObject.showName = value["ShowName"].asString();
|
||||
if(!value["ShowNameEn"].isNull())
|
||||
showsObject.showNameEn = value["ShowNameEn"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
showsObject.type = value["Type"].asString();
|
||||
auto allShowVersionList = value["ShowVersionList"]["ShowVersionList"];
|
||||
for (auto value : allShowVersionList)
|
||||
showsObject.showVersionList.push_back(value.asString());
|
||||
auto allTrailerList = value["TrailerList"]["TrailerList"];
|
||||
for (auto value : allTrailerList)
|
||||
showsObject.trailerList.push_back(value.asString());
|
||||
shows_.push_back(showsObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetHotShowsResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetHotShowsResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::vector<TaobaoFilmGetHotShowsResult::ShowsItem> TaobaoFilmGetHotShowsResult::getShows()const
|
||||
{
|
||||
return shows_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetHotShowsResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetHotShowsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetHotShowsResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
38
appmallsservice/src/model/TaobaoFilmGetRegionListRequest.cc
Normal file
38
appmallsservice/src/model/TaobaoFilmGetRegionListRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetRegionListRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetRegionListRequest;
|
||||
|
||||
TaobaoFilmGetRegionListRequest::TaobaoFilmGetRegionListRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetRegionList")
|
||||
{}
|
||||
|
||||
TaobaoFilmGetRegionListRequest::~TaobaoFilmGetRegionListRequest()
|
||||
{}
|
||||
|
||||
std::string TaobaoFilmGetRegionListRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetRegionListRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
104
appmallsservice/src/model/TaobaoFilmGetRegionListResult.cc
Normal file
104
appmallsservice/src/model/TaobaoFilmGetRegionListResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetRegionListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmGetRegionListResult::TaobaoFilmGetRegionListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmGetRegionListResult::TaobaoFilmGetRegionListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmGetRegionListResult::~TaobaoFilmGetRegionListResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmGetRegionListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRegions = value["Regions"]["RegionsItem"];
|
||||
for (auto value : allRegions)
|
||||
{
|
||||
RegionsItem regionsObject;
|
||||
if(!value["CityCode"].isNull())
|
||||
regionsObject.cityCode = std::stol(value["CityCode"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
regionsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["ParentId"].isNull())
|
||||
regionsObject.parentId = std::stol(value["ParentId"].asString());
|
||||
if(!value["PinYin"].isNull())
|
||||
regionsObject.pinYin = value["PinYin"].asString();
|
||||
if(!value["RegionName"].isNull())
|
||||
regionsObject.regionName = value["RegionName"].asString();
|
||||
regions_.push_back(regionsObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetRegionListResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetRegionListResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetRegionListResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::vector<TaobaoFilmGetRegionListResult::RegionsItem> TaobaoFilmGetRegionListResult::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetRegionListResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetRegionListResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
49
appmallsservice/src/model/TaobaoFilmGetSchedulesRequest.cc
Normal file
49
appmallsservice/src/model/TaobaoFilmGetSchedulesRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSchedulesRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetSchedulesRequest;
|
||||
|
||||
TaobaoFilmGetSchedulesRequest::TaobaoFilmGetSchedulesRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetSchedules")
|
||||
{}
|
||||
|
||||
TaobaoFilmGetSchedulesRequest::~TaobaoFilmGetSchedulesRequest()
|
||||
{}
|
||||
|
||||
long TaobaoFilmGetSchedulesRequest::getCinemaId()const
|
||||
{
|
||||
return cinemaId_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetSchedulesRequest::setCinemaId(long cinemaId)
|
||||
{
|
||||
cinemaId_ = cinemaId;
|
||||
setCoreParameter("CinemaId", std::to_string(cinemaId));
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSchedulesRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetSchedulesRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
124
appmallsservice/src/model/TaobaoFilmGetSchedulesResult.cc
Normal file
124
appmallsservice/src/model/TaobaoFilmGetSchedulesResult.cc
Normal file
@@ -0,0 +1,124 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSchedulesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmGetSchedulesResult::TaobaoFilmGetSchedulesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmGetSchedulesResult::TaobaoFilmGetSchedulesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmGetSchedulesResult::~TaobaoFilmGetSchedulesResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmGetSchedulesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSchedules = value["Schedules"]["SchedulesItem"];
|
||||
for (auto value : allSchedules)
|
||||
{
|
||||
SchedulesItem schedulesObject;
|
||||
if(!value["CinemaId"].isNull())
|
||||
schedulesObject.cinemaId = std::stol(value["CinemaId"].asString());
|
||||
if(!value["CloseTime"].isNull())
|
||||
schedulesObject.closeTime = value["CloseTime"].asString();
|
||||
if(!value["HallName"].isNull())
|
||||
schedulesObject.hallName = value["HallName"].asString();
|
||||
if(!value["Id"].isNull())
|
||||
schedulesObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IsExpired"].isNull())
|
||||
schedulesObject.isExpired = value["IsExpired"].asString() == "true";
|
||||
if(!value["MaxCanBuy"].isNull())
|
||||
schedulesObject.maxCanBuy = std::stol(value["MaxCanBuy"].asString());
|
||||
if(!value["Price"].isNull())
|
||||
schedulesObject.price = std::stol(value["Price"].asString());
|
||||
if(!value["ScheduleArea"].isNull())
|
||||
schedulesObject.scheduleArea = value["ScheduleArea"].asString();
|
||||
if(!value["SectionId"].isNull())
|
||||
schedulesObject.sectionId = value["SectionId"].asString();
|
||||
if(!value["ServiceFee"].isNull())
|
||||
schedulesObject.serviceFee = std::stol(value["ServiceFee"].asString());
|
||||
if(!value["ShowDate"].isNull())
|
||||
schedulesObject.showDate = value["ShowDate"].asString();
|
||||
if(!value["ShowId"].isNull())
|
||||
schedulesObject.showId = std::stol(value["ShowId"].asString());
|
||||
if(!value["ShowTime"].isNull())
|
||||
schedulesObject.showTime = value["ShowTime"].asString();
|
||||
if(!value["ShowVersion"].isNull())
|
||||
schedulesObject.showVersion = value["ShowVersion"].asString();
|
||||
if(!value["HallId"].isNull())
|
||||
schedulesObject.hallId = value["HallId"].asString();
|
||||
schedules_.push_back(schedulesObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSchedulesResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::vector<TaobaoFilmGetSchedulesResult::SchedulesItem> TaobaoFilmGetSchedulesResult::getSchedules()const
|
||||
{
|
||||
return schedules_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSchedulesResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSchedulesResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSchedulesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSchedulesResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
49
appmallsservice/src/model/TaobaoFilmGetSeatsRequest.cc
Normal file
49
appmallsservice/src/model/TaobaoFilmGetSeatsRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSeatsRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetSeatsRequest;
|
||||
|
||||
TaobaoFilmGetSeatsRequest::TaobaoFilmGetSeatsRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetSeats")
|
||||
{}
|
||||
|
||||
TaobaoFilmGetSeatsRequest::~TaobaoFilmGetSeatsRequest()
|
||||
{}
|
||||
|
||||
long TaobaoFilmGetSeatsRequest::getScheduleId()const
|
||||
{
|
||||
return scheduleId_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetSeatsRequest::setScheduleId(long scheduleId)
|
||||
{
|
||||
scheduleId_ = scheduleId;
|
||||
setCoreParameter("ScheduleId", std::to_string(scheduleId));
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSeatsRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetSeatsRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
143
appmallsservice/src/model/TaobaoFilmGetSeatsResult.cc
Normal file
143
appmallsservice/src/model/TaobaoFilmGetSeatsResult.cc
Normal file
@@ -0,0 +1,143 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSeatsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmGetSeatsResult::TaobaoFilmGetSeatsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmGetSeatsResult::TaobaoFilmGetSeatsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmGetSeatsResult::~TaobaoFilmGetSeatsResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmGetSeatsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto seatMapNode = value["SeatMap"];
|
||||
if(!seatMapNode["MaxCanBuy"].isNull())
|
||||
seatMap_.maxCanBuy = std::stol(seatMapNode["MaxCanBuy"].asString());
|
||||
if(!seatMapNode["MaxColumn"].isNull())
|
||||
seatMap_.maxColumn = std::stol(seatMapNode["MaxColumn"].asString());
|
||||
if(!seatMapNode["MaxLeftPx"].isNull())
|
||||
seatMap_.maxLeftPx = std::stol(seatMapNode["MaxLeftPx"].asString());
|
||||
if(!seatMapNode["MaxRow"].isNull())
|
||||
seatMap_.maxRow = std::stol(seatMapNode["MaxRow"].asString());
|
||||
if(!seatMapNode["MaxTopPx"].isNull())
|
||||
seatMap_.maxTopPx = std::stol(seatMapNode["MaxTopPx"].asString());
|
||||
if(!seatMapNode["MinColumn"].isNull())
|
||||
seatMap_.minColumn = std::stol(seatMapNode["MinColumn"].asString());
|
||||
if(!seatMapNode["MinLeftPx"].isNull())
|
||||
seatMap_.minLeftPx = std::stol(seatMapNode["MinLeftPx"].asString());
|
||||
if(!seatMapNode["MinRow"].isNull())
|
||||
seatMap_.minRow = std::stol(seatMapNode["MinRow"].asString());
|
||||
if(!seatMapNode["MinTopPx"].isNull())
|
||||
seatMap_.minTopPx = std::stol(seatMapNode["MinTopPx"].asString());
|
||||
if(!seatMapNode["Notice"].isNull())
|
||||
seatMap_.notice = seatMapNode["Notice"].asString();
|
||||
if(!seatMapNode["Regular"].isNull())
|
||||
seatMap_.regular = seatMapNode["Regular"].asString() == "true";
|
||||
if(!seatMapNode["SeatCount"].isNull())
|
||||
seatMap_.seatCount = std::stol(seatMapNode["SeatCount"].asString());
|
||||
if(!seatMapNode["SoldCount"].isNull())
|
||||
seatMap_.soldCount = std::stol(seatMapNode["SoldCount"].asString());
|
||||
if(!seatMapNode["TipMessage"].isNull())
|
||||
seatMap_.tipMessage = seatMapNode["TipMessage"].asString();
|
||||
auto allSeats = value["Seats"]["SeatsItem"];
|
||||
for (auto value : allSeats)
|
||||
{
|
||||
SeatMap::SeatsItem seatsItemObject;
|
||||
if(!value["Area"].isNull())
|
||||
seatsItemObject.area = value["Area"].asString();
|
||||
if(!value["Column"].isNull())
|
||||
seatsItemObject.column = std::stol(value["Column"].asString());
|
||||
if(!value["ExtId"].isNull())
|
||||
seatsItemObject.extId = value["ExtId"].asString();
|
||||
if(!value["Flag"].isNull())
|
||||
seatsItemObject.flag = std::stol(value["Flag"].asString());
|
||||
if(!value["LeftPx"].isNull())
|
||||
seatsItemObject.leftPx = std::stol(value["LeftPx"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
seatsItemObject.name = value["Name"].asString();
|
||||
if(!value["Row"].isNull())
|
||||
seatsItemObject.row = std::stol(value["Row"].asString());
|
||||
if(!value["RowName"].isNull())
|
||||
seatsItemObject.rowName = value["RowName"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
seatsItemObject.status = std::stol(value["Status"].asString());
|
||||
if(!value["TopPx"].isNull())
|
||||
seatsItemObject.topPx = std::stol(value["TopPx"].asString());
|
||||
seatMap_.seats.push_back(seatsItemObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSeatsResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSeatsResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSeatsResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSeatsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
TaobaoFilmGetSeatsResult::SeatMap TaobaoFilmGetSeatsResult::getSeatMap()const
|
||||
{
|
||||
return seatMap_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSeatsResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetShowCommentsRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetShowCommentsRequest;
|
||||
|
||||
TaobaoFilmGetShowCommentsRequest::TaobaoFilmGetShowCommentsRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetShowComments")
|
||||
{}
|
||||
|
||||
TaobaoFilmGetShowCommentsRequest::~TaobaoFilmGetShowCommentsRequest()
|
||||
{}
|
||||
|
||||
long TaobaoFilmGetShowCommentsRequest::getShowId()const
|
||||
{
|
||||
return showId_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetShowCommentsRequest::setShowId(long showId)
|
||||
{
|
||||
showId_ = showId;
|
||||
setCoreParameter("ShowId", std::to_string(showId));
|
||||
}
|
||||
|
||||
long TaobaoFilmGetShowCommentsRequest::getPageIndex()const
|
||||
{
|
||||
return pageIndex_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetShowCommentsRequest::setPageIndex(long pageIndex)
|
||||
{
|
||||
pageIndex_ = pageIndex;
|
||||
setCoreParameter("PageIndex", std::to_string(pageIndex));
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetShowCommentsRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetShowCommentsRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
117
appmallsservice/src/model/TaobaoFilmGetShowCommentsResult.cc
Normal file
117
appmallsservice/src/model/TaobaoFilmGetShowCommentsResult.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetShowCommentsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmGetShowCommentsResult::TaobaoFilmGetShowCommentsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmGetShowCommentsResult::TaobaoFilmGetShowCommentsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmGetShowCommentsResult::~TaobaoFilmGetShowCommentsResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmGetShowCommentsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCommentList = value["CommentList"]["CommentListItem"];
|
||||
for (auto value : allCommentList)
|
||||
{
|
||||
CommentListItem commentListObject;
|
||||
if(!value["CommentTime"].isNull())
|
||||
commentListObject.commentTime = value["CommentTime"].asString();
|
||||
if(!value["Content"].isNull())
|
||||
commentListObject.content = value["Content"].asString();
|
||||
if(!value["FavorCount"].isNull())
|
||||
commentListObject.favorCount = std::stol(value["FavorCount"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
commentListObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["NickName"].isNull())
|
||||
commentListObject.nickName = value["NickName"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
commentListObject.remark = std::stol(value["Remark"].asString());
|
||||
if(!value["ShowId"].isNull())
|
||||
commentListObject.showId = std::stol(value["ShowId"].asString());
|
||||
if(!value["Subject"].isNull())
|
||||
commentListObject.subject = value["Subject"].asString();
|
||||
commentList_.push_back(commentListObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["Count"].isNull())
|
||||
count_ = std::stol(value["Count"].asString());
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetShowCommentsResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetShowCommentsResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetShowCommentsResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::vector<TaobaoFilmGetShowCommentsResult::CommentListItem> TaobaoFilmGetShowCommentsResult::getCommentList()const
|
||||
{
|
||||
return commentList_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetShowCommentsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
long TaobaoFilmGetShowCommentsResult::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetShowCommentsResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
49
appmallsservice/src/model/TaobaoFilmGetSoonShowsRequest.cc
Normal file
49
appmallsservice/src/model/TaobaoFilmGetSoonShowsRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSoonShowsRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetSoonShowsRequest;
|
||||
|
||||
TaobaoFilmGetSoonShowsRequest::TaobaoFilmGetSoonShowsRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetSoonShows")
|
||||
{}
|
||||
|
||||
TaobaoFilmGetSoonShowsRequest::~TaobaoFilmGetSoonShowsRequest()
|
||||
{}
|
||||
|
||||
long TaobaoFilmGetSoonShowsRequest::getCityCode()const
|
||||
{
|
||||
return cityCode_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetSoonShowsRequest::setCityCode(long cityCode)
|
||||
{
|
||||
cityCode_ = cityCode;
|
||||
setCoreParameter("CityCode", std::to_string(cityCode));
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSoonShowsRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmGetSoonShowsRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
134
appmallsservice/src/model/TaobaoFilmGetSoonShowsResult.cc
Normal file
134
appmallsservice/src/model/TaobaoFilmGetSoonShowsResult.cc
Normal file
@@ -0,0 +1,134 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSoonShowsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmGetSoonShowsResult::TaobaoFilmGetSoonShowsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmGetSoonShowsResult::TaobaoFilmGetSoonShowsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmGetSoonShowsResult::~TaobaoFilmGetSoonShowsResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmGetSoonShowsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allShows = value["Shows"]["ShowsItem"];
|
||||
for (auto value : allShows)
|
||||
{
|
||||
ShowsItem showsObject;
|
||||
if(!value["BackgroundPicture"].isNull())
|
||||
showsObject.backgroundPicture = value["BackgroundPicture"].asString();
|
||||
if(!value["Country"].isNull())
|
||||
showsObject.country = value["Country"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
showsObject.description = value["Description"].asString();
|
||||
if(!value["Director"].isNull())
|
||||
showsObject.director = value["Director"].asString();
|
||||
if(!value["Duration"].isNull())
|
||||
showsObject.duration = std::stol(value["Duration"].asString());
|
||||
if(!value["Highlight"].isNull())
|
||||
showsObject.highlight = value["Highlight"].asString();
|
||||
if(!value["Id"].isNull())
|
||||
showsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["Language"].isNull())
|
||||
showsObject.language = value["Language"].asString();
|
||||
if(!value["LeadingRole"].isNull())
|
||||
showsObject.leadingRole = value["LeadingRole"].asString();
|
||||
if(!value["OpenDay"].isNull())
|
||||
showsObject.openDay = value["OpenDay"].asString();
|
||||
if(!value["OpenTime"].isNull())
|
||||
showsObject.openTime = value["OpenTime"].asString();
|
||||
if(!value["Poster"].isNull())
|
||||
showsObject.poster = value["Poster"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
showsObject.remark = value["Remark"].asString();
|
||||
if(!value["ShowMark"].isNull())
|
||||
showsObject.showMark = value["ShowMark"].asString();
|
||||
if(!value["ShowName"].isNull())
|
||||
showsObject.showName = value["ShowName"].asString();
|
||||
if(!value["ShowNameEn"].isNull())
|
||||
showsObject.showNameEn = value["ShowNameEn"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
showsObject.type = value["Type"].asString();
|
||||
auto allShowVersionList = value["ShowVersionList"]["ShowVersionList"];
|
||||
for (auto value : allShowVersionList)
|
||||
showsObject.showVersionList.push_back(value.asString());
|
||||
auto allTrailerList = value["TrailerList"]["TrailerList"];
|
||||
for (auto value : allTrailerList)
|
||||
showsObject.trailerList.push_back(value.asString());
|
||||
shows_.push_back(showsObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSoonShowsResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSoonShowsResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::vector<TaobaoFilmGetSoonShowsResult::ShowsItem> TaobaoFilmGetSoonShowsResult::getShows()const
|
||||
{
|
||||
return shows_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSoonShowsResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSoonShowsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmGetSoonShowsResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
82
appmallsservice/src/model/TaobaoFilmIssueOrderRequest.cc
Normal file
82
appmallsservice/src/model/TaobaoFilmIssueOrderRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmIssueOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmIssueOrderRequest;
|
||||
|
||||
TaobaoFilmIssueOrderRequest::TaobaoFilmIssueOrderRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmIssueOrder")
|
||||
{}
|
||||
|
||||
TaobaoFilmIssueOrderRequest::~TaobaoFilmIssueOrderRequest()
|
||||
{}
|
||||
|
||||
std::string TaobaoFilmIssueOrderRequest::getLockSeatApplyKey()const
|
||||
{
|
||||
return lockSeatApplyKey_;
|
||||
}
|
||||
|
||||
void TaobaoFilmIssueOrderRequest::setLockSeatApplyKey(const std::string& lockSeatApplyKey)
|
||||
{
|
||||
lockSeatApplyKey_ = lockSeatApplyKey;
|
||||
setCoreParameter("LockSeatApplyKey", lockSeatApplyKey);
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderRequest::getExtUserId()const
|
||||
{
|
||||
return extUserId_;
|
||||
}
|
||||
|
||||
void TaobaoFilmIssueOrderRequest::setExtUserId(const std::string& extUserId)
|
||||
{
|
||||
extUserId_ = extUserId;
|
||||
setCoreParameter("ExtUserId", extUserId);
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderRequest::getExtOrderId()const
|
||||
{
|
||||
return extOrderId_;
|
||||
}
|
||||
|
||||
void TaobaoFilmIssueOrderRequest::setExtOrderId(const std::string& extOrderId)
|
||||
{
|
||||
extOrderId_ = extOrderId;
|
||||
setCoreParameter("ExtOrderId", extOrderId);
|
||||
}
|
||||
|
||||
long TaobaoFilmIssueOrderRequest::getTotalPrice()const
|
||||
{
|
||||
return totalPrice_;
|
||||
}
|
||||
|
||||
void TaobaoFilmIssueOrderRequest::setTotalPrice(long totalPrice)
|
||||
{
|
||||
totalPrice_ = totalPrice;
|
||||
setCoreParameter("TotalPrice", std::to_string(totalPrice));
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmIssueOrderRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
111
appmallsservice/src/model/TaobaoFilmIssueOrderResult.cc
Normal file
111
appmallsservice/src/model/TaobaoFilmIssueOrderResult.cc
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmIssueOrderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmIssueOrderResult::TaobaoFilmIssueOrderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmIssueOrderResult::TaobaoFilmIssueOrderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmIssueOrderResult::~TaobaoFilmIssueOrderResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmIssueOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["TbOrderId"].isNull())
|
||||
tbOrderId_ = value["TbOrderId"].asString();
|
||||
if(!value["TicketContents"].isNull())
|
||||
ticketContents_ = value["TicketContents"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getTicketContents()const
|
||||
{
|
||||
return ticketContents_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getTbOrderId()const
|
||||
{
|
||||
return tbOrderId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmIssueOrderResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
93
appmallsservice/src/model/TaobaoFilmLockSeatRequest.cc
Normal file
93
appmallsservice/src/model/TaobaoFilmLockSeatRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmLockSeatRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmLockSeatRequest;
|
||||
|
||||
TaobaoFilmLockSeatRequest::TaobaoFilmLockSeatRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmLockSeat")
|
||||
{}
|
||||
|
||||
TaobaoFilmLockSeatRequest::~TaobaoFilmLockSeatRequest()
|
||||
{}
|
||||
|
||||
long TaobaoFilmLockSeatRequest::getScheduleId()const
|
||||
{
|
||||
return scheduleId_;
|
||||
}
|
||||
|
||||
void TaobaoFilmLockSeatRequest::setScheduleId(long scheduleId)
|
||||
{
|
||||
scheduleId_ = scheduleId;
|
||||
setCoreParameter("ScheduleId", std::to_string(scheduleId));
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatRequest::getSeatIds()const
|
||||
{
|
||||
return seatIds_;
|
||||
}
|
||||
|
||||
void TaobaoFilmLockSeatRequest::setSeatIds(const std::string& seatIds)
|
||||
{
|
||||
seatIds_ = seatIds;
|
||||
setCoreParameter("SeatIds", seatIds);
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatRequest::getSeatNames()const
|
||||
{
|
||||
return seatNames_;
|
||||
}
|
||||
|
||||
void TaobaoFilmLockSeatRequest::setSeatNames(const std::string& seatNames)
|
||||
{
|
||||
seatNames_ = seatNames;
|
||||
setCoreParameter("SeatNames", seatNames);
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatRequest::getMobile()const
|
||||
{
|
||||
return mobile_;
|
||||
}
|
||||
|
||||
void TaobaoFilmLockSeatRequest::setMobile(const std::string& mobile)
|
||||
{
|
||||
mobile_ = mobile;
|
||||
setCoreParameter("Mobile", mobile);
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatRequest::getExtUserId()const
|
||||
{
|
||||
return extUserId_;
|
||||
}
|
||||
|
||||
void TaobaoFilmLockSeatRequest::setExtUserId(const std::string& extUserId)
|
||||
{
|
||||
extUserId_ = extUserId;
|
||||
setCoreParameter("ExtUserId", extUserId);
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmLockSeatRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
97
appmallsservice/src/model/TaobaoFilmLockSeatResult.cc
Normal file
97
appmallsservice/src/model/TaobaoFilmLockSeatResult.cc
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmLockSeatResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmLockSeatResult::TaobaoFilmLockSeatResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmLockSeatResult::TaobaoFilmLockSeatResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmLockSeatResult::~TaobaoFilmLockSeatResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmLockSeatResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto seatLockedNode = value["SeatLocked"];
|
||||
if(!seatLockedNode["ApplyKey"].isNull())
|
||||
seatLocked_.applyKey = seatLockedNode["ApplyKey"].asString();
|
||||
if(!seatLockedNode["DefaultLockSecond"].isNull())
|
||||
seatLocked_.defaultLockSecond = std::stol(seatLockedNode["DefaultLockSecond"].asString());
|
||||
if(!seatLockedNode["LockTime"].isNull())
|
||||
seatLocked_.lockTime = std::stol(seatLockedNode["LockTime"].asString());
|
||||
if(!seatLockedNode["Status"].isNull())
|
||||
seatLocked_.status = seatLockedNode["Status"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
TaobaoFilmLockSeatResult::SeatLocked TaobaoFilmLockSeatResult::getSeatLocked()const
|
||||
{
|
||||
return seatLocked_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmLockSeatResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
60
appmallsservice/src/model/TaobaoFilmUnLockSeatRequest.cc
Normal file
60
appmallsservice/src/model/TaobaoFilmUnLockSeatRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmUnLockSeatRequest.h>
|
||||
|
||||
using AlibabaCloud::AppMallsService::Model::TaobaoFilmUnLockSeatRequest;
|
||||
|
||||
TaobaoFilmUnLockSeatRequest::TaobaoFilmUnLockSeatRequest() :
|
||||
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmUnLockSeat")
|
||||
{}
|
||||
|
||||
TaobaoFilmUnLockSeatRequest::~TaobaoFilmUnLockSeatRequest()
|
||||
{}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatRequest::getLockSeatApplyKey()const
|
||||
{
|
||||
return lockSeatApplyKey_;
|
||||
}
|
||||
|
||||
void TaobaoFilmUnLockSeatRequest::setLockSeatApplyKey(const std::string& lockSeatApplyKey)
|
||||
{
|
||||
lockSeatApplyKey_ = lockSeatApplyKey;
|
||||
setCoreParameter("LockSeatApplyKey", lockSeatApplyKey);
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatRequest::getExtUserId()const
|
||||
{
|
||||
return extUserId_;
|
||||
}
|
||||
|
||||
void TaobaoFilmUnLockSeatRequest::setExtUserId(const std::string& extUserId)
|
||||
{
|
||||
extUserId_ = extUserId;
|
||||
setCoreParameter("ExtUserId", extUserId);
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatRequest::getParamsJson()const
|
||||
{
|
||||
return paramsJson_;
|
||||
}
|
||||
|
||||
void TaobaoFilmUnLockSeatRequest::setParamsJson(const std::string& paramsJson)
|
||||
{
|
||||
paramsJson_ = paramsJson;
|
||||
setCoreParameter("ParamsJson", paramsJson);
|
||||
}
|
||||
|
||||
104
appmallsservice/src/model/TaobaoFilmUnLockSeatResult.cc
Normal file
104
appmallsservice/src/model/TaobaoFilmUnLockSeatResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/appmallsservice/model/TaobaoFilmUnLockSeatResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AppMallsService;
|
||||
using namespace AlibabaCloud::AppMallsService::Model;
|
||||
|
||||
TaobaoFilmUnLockSeatResult::TaobaoFilmUnLockSeatResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TaobaoFilmUnLockSeatResult::TaobaoFilmUnLockSeatResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TaobaoFilmUnLockSeatResult::~TaobaoFilmUnLockSeatResult()
|
||||
{}
|
||||
|
||||
void TaobaoFilmUnLockSeatResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["SubCode"].isNull())
|
||||
subCode_ = value["SubCode"].asString();
|
||||
if(!value["SubMsg"].isNull())
|
||||
subMsg_ = value["SubMsg"].asString();
|
||||
if(!value["ReturnCode"].isNull())
|
||||
returnCode_ = value["ReturnCode"].asString();
|
||||
if(!value["ReturnMessage"].isNull())
|
||||
returnMessage_ = value["ReturnMessage"].asString();
|
||||
if(!value["ReturnValue"].isNull())
|
||||
returnValue_ = value["ReturnValue"].asString() == "true";
|
||||
if(!value["LogsId"].isNull())
|
||||
logsId_ = value["LogsId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatResult::getSubMsg()const
|
||||
{
|
||||
return subMsg_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatResult::getReturnCode()const
|
||||
{
|
||||
return returnCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatResult::getLogsId()const
|
||||
{
|
||||
return logsId_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatResult::getReturnMessage()const
|
||||
{
|
||||
return returnMessage_;
|
||||
}
|
||||
|
||||
bool TaobaoFilmUnLockSeatResult::getReturnValue()const
|
||||
{
|
||||
return returnValue_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string TaobaoFilmUnLockSeatResult::getSubCode()const
|
||||
{
|
||||
return subCode_;
|
||||
}
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
#include "ARMSExport.h"
|
||||
#include "model/SearchAlertContactRequest.h"
|
||||
#include "model/SearchAlertContactResult.h"
|
||||
#include "model/GetTraceRequest.h"
|
||||
#include "model/GetTraceResult.h"
|
||||
#include "model/ListTraceAppsRequest.h"
|
||||
#include "model/ListTraceAppsResult.h"
|
||||
#include "model/DeleteRetcodeAppRequest.h"
|
||||
@@ -38,36 +36,20 @@
|
||||
#include "model/CreateAlertContactGroupResult.h"
|
||||
#include "model/QueryDatasetRequest.h"
|
||||
#include "model/QueryDatasetResult.h"
|
||||
#include "model/SearchTraceAppByNameRequest.h"
|
||||
#include "model/SearchTraceAppByNameResult.h"
|
||||
#include "model/SearchRetcodeAppByPageRequest.h"
|
||||
#include "model/SearchRetcodeAppByPageResult.h"
|
||||
#include "model/SearchTraceAppByNameRequest.h"
|
||||
#include "model/SearchTraceAppByNameResult.h"
|
||||
#include "model/ListRetcodeAppsRequest.h"
|
||||
#include "model/ListRetcodeAppsResult.h"
|
||||
#include "model/GetSpanNamesRequest.h"
|
||||
#include "model/GetSpanNamesResult.h"
|
||||
#include "model/GetServicesRequest.h"
|
||||
#include "model/GetServicesResult.h"
|
||||
#include "model/MetricQueryRequest.h"
|
||||
#include "model/MetricQueryResult.h"
|
||||
#include "model/SearchTracesRequest.h"
|
||||
#include "model/SearchTracesResult.h"
|
||||
#include "model/SearchAlertContactGroupRequest.h"
|
||||
#include "model/SearchAlertContactGroupResult.h"
|
||||
#include "model/CreateAlertContactRequest.h"
|
||||
#include "model/CreateAlertContactResult.h"
|
||||
#include "model/QueryMetricRequest.h"
|
||||
#include "model/QueryMetricResult.h"
|
||||
#include "model/SearchTraceCountRequest.h"
|
||||
#include "model/SearchTraceCountResult.h"
|
||||
#include "model/GetTagKeyRequest.h"
|
||||
#include "model/GetTagKeyResult.h"
|
||||
#include "model/ARMSQueryDataSetRequest.h"
|
||||
#include "model/ARMSQueryDataSetResult.h"
|
||||
#include "model/CreateRetcodeAppRequest.h"
|
||||
#include "model/CreateRetcodeAppResult.h"
|
||||
#include "model/GetTagValRequest.h"
|
||||
#include "model/GetTagValResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -80,9 +62,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SearchAlertContactResult> SearchAlertContactOutcome;
|
||||
typedef std::future<SearchAlertContactOutcome> SearchAlertContactOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactRequest&, const SearchAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTraceResult> GetTraceOutcome;
|
||||
typedef std::future<GetTraceOutcome> GetTraceOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTraceRequest&, const GetTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTraceAppsResult> ListTraceAppsOutcome;
|
||||
typedef std::future<ListTraceAppsOutcome> ListTraceAppsOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListTraceAppsRequest&, const ListTraceAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTraceAppsAsyncHandler;
|
||||
@@ -101,27 +80,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryDatasetResult> QueryDatasetOutcome;
|
||||
typedef std::future<QueryDatasetOutcome> QueryDatasetOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::QueryDatasetRequest&, const QueryDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDatasetAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchTraceAppByNameResult> SearchTraceAppByNameOutcome;
|
||||
typedef std::future<SearchTraceAppByNameOutcome> SearchTraceAppByNameOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchTraceAppByNameRequest&, const SearchTraceAppByNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTraceAppByNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchRetcodeAppByPageResult> SearchRetcodeAppByPageOutcome;
|
||||
typedef std::future<SearchRetcodeAppByPageOutcome> SearchRetcodeAppByPageOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchRetcodeAppByPageRequest&, const SearchRetcodeAppByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchRetcodeAppByPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchTraceAppByNameResult> SearchTraceAppByNameOutcome;
|
||||
typedef std::future<SearchTraceAppByNameOutcome> SearchTraceAppByNameOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchTraceAppByNameRequest&, const SearchTraceAppByNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTraceAppByNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRetcodeAppsResult> ListRetcodeAppsOutcome;
|
||||
typedef std::future<ListRetcodeAppsOutcome> ListRetcodeAppsOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListRetcodeAppsRequest&, const ListRetcodeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRetcodeAppsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSpanNamesResult> GetSpanNamesOutcome;
|
||||
typedef std::future<GetSpanNamesOutcome> GetSpanNamesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetSpanNamesRequest&, const GetSpanNamesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSpanNamesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServicesResult> GetServicesOutcome;
|
||||
typedef std::future<GetServicesOutcome> GetServicesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetServicesRequest&, const GetServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::MetricQueryResult> MetricQueryOutcome;
|
||||
typedef std::future<MetricQueryOutcome> MetricQueryOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::MetricQueryRequest&, const MetricQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MetricQueryAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchTracesResult> SearchTracesOutcome;
|
||||
typedef std::future<SearchTracesOutcome> SearchTracesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchTracesRequest&, const SearchTracesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTracesAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchAlertContactGroupResult> SearchAlertContactGroupOutcome;
|
||||
typedef std::future<SearchAlertContactGroupOutcome> SearchAlertContactGroupOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactGroupRequest&, const SearchAlertContactGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactGroupAsyncHandler;
|
||||
@@ -131,21 +98,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryMetricResult> QueryMetricOutcome;
|
||||
typedef std::future<QueryMetricOutcome> QueryMetricOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::QueryMetricRequest&, const QueryMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchTraceCountResult> SearchTraceCountOutcome;
|
||||
typedef std::future<SearchTraceCountOutcome> SearchTraceCountOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchTraceCountRequest&, const SearchTraceCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTraceCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTagKeyResult> GetTagKeyOutcome;
|
||||
typedef std::future<GetTagKeyOutcome> GetTagKeyOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTagKeyRequest&, const GetTagKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ARMSQueryDataSetResult> ARMSQueryDataSetOutcome;
|
||||
typedef std::future<ARMSQueryDataSetOutcome> ARMSQueryDataSetOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ARMSQueryDataSetRequest&, const ARMSQueryDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ARMSQueryDataSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRetcodeAppResult> CreateRetcodeAppOutcome;
|
||||
typedef std::future<CreateRetcodeAppOutcome> CreateRetcodeAppOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateRetcodeAppRequest&, const CreateRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRetcodeAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTagValResult> GetTagValOutcome;
|
||||
typedef std::future<GetTagValOutcome> GetTagValOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTagValRequest&, const GetTagValOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagValAsyncHandler;
|
||||
|
||||
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -154,9 +109,6 @@ namespace AlibabaCloud
|
||||
SearchAlertContactOutcome searchAlertContact(const Model::SearchAlertContactRequest &request)const;
|
||||
void searchAlertContactAsync(const Model::SearchAlertContactRequest& request, const SearchAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchAlertContactOutcomeCallable searchAlertContactCallable(const Model::SearchAlertContactRequest& request) const;
|
||||
GetTraceOutcome getTrace(const Model::GetTraceRequest &request)const;
|
||||
void getTraceAsync(const Model::GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTraceOutcomeCallable getTraceCallable(const Model::GetTraceRequest& request) const;
|
||||
ListTraceAppsOutcome listTraceApps(const Model::ListTraceAppsRequest &request)const;
|
||||
void listTraceAppsAsync(const Model::ListTraceAppsRequest& request, const ListTraceAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTraceAppsOutcomeCallable listTraceAppsCallable(const Model::ListTraceAppsRequest& request) const;
|
||||
@@ -175,27 +127,15 @@ namespace AlibabaCloud
|
||||
QueryDatasetOutcome queryDataset(const Model::QueryDatasetRequest &request)const;
|
||||
void queryDatasetAsync(const Model::QueryDatasetRequest& request, const QueryDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDatasetOutcomeCallable queryDatasetCallable(const Model::QueryDatasetRequest& request) const;
|
||||
SearchTraceAppByNameOutcome searchTraceAppByName(const Model::SearchTraceAppByNameRequest &request)const;
|
||||
void searchTraceAppByNameAsync(const Model::SearchTraceAppByNameRequest& request, const SearchTraceAppByNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchTraceAppByNameOutcomeCallable searchTraceAppByNameCallable(const Model::SearchTraceAppByNameRequest& request) const;
|
||||
SearchRetcodeAppByPageOutcome searchRetcodeAppByPage(const Model::SearchRetcodeAppByPageRequest &request)const;
|
||||
void searchRetcodeAppByPageAsync(const Model::SearchRetcodeAppByPageRequest& request, const SearchRetcodeAppByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchRetcodeAppByPageOutcomeCallable searchRetcodeAppByPageCallable(const Model::SearchRetcodeAppByPageRequest& request) const;
|
||||
SearchTraceAppByNameOutcome searchTraceAppByName(const Model::SearchTraceAppByNameRequest &request)const;
|
||||
void searchTraceAppByNameAsync(const Model::SearchTraceAppByNameRequest& request, const SearchTraceAppByNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchTraceAppByNameOutcomeCallable searchTraceAppByNameCallable(const Model::SearchTraceAppByNameRequest& request) const;
|
||||
ListRetcodeAppsOutcome listRetcodeApps(const Model::ListRetcodeAppsRequest &request)const;
|
||||
void listRetcodeAppsAsync(const Model::ListRetcodeAppsRequest& request, const ListRetcodeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRetcodeAppsOutcomeCallable listRetcodeAppsCallable(const Model::ListRetcodeAppsRequest& request) const;
|
||||
GetSpanNamesOutcome getSpanNames(const Model::GetSpanNamesRequest &request)const;
|
||||
void getSpanNamesAsync(const Model::GetSpanNamesRequest& request, const GetSpanNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSpanNamesOutcomeCallable getSpanNamesCallable(const Model::GetSpanNamesRequest& request) const;
|
||||
GetServicesOutcome getServices(const Model::GetServicesRequest &request)const;
|
||||
void getServicesAsync(const Model::GetServicesRequest& request, const GetServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServicesOutcomeCallable getServicesCallable(const Model::GetServicesRequest& request) const;
|
||||
MetricQueryOutcome metricQuery(const Model::MetricQueryRequest &request)const;
|
||||
void metricQueryAsync(const Model::MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MetricQueryOutcomeCallable metricQueryCallable(const Model::MetricQueryRequest& request) const;
|
||||
SearchTracesOutcome searchTraces(const Model::SearchTracesRequest &request)const;
|
||||
void searchTracesAsync(const Model::SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchTracesOutcomeCallable searchTracesCallable(const Model::SearchTracesRequest& request) const;
|
||||
SearchAlertContactGroupOutcome searchAlertContactGroup(const Model::SearchAlertContactGroupRequest &request)const;
|
||||
void searchAlertContactGroupAsync(const Model::SearchAlertContactGroupRequest& request, const SearchAlertContactGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchAlertContactGroupOutcomeCallable searchAlertContactGroupCallable(const Model::SearchAlertContactGroupRequest& request) const;
|
||||
@@ -205,21 +145,9 @@ namespace AlibabaCloud
|
||||
QueryMetricOutcome queryMetric(const Model::QueryMetricRequest &request)const;
|
||||
void queryMetricAsync(const Model::QueryMetricRequest& request, const QueryMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMetricOutcomeCallable queryMetricCallable(const Model::QueryMetricRequest& request) const;
|
||||
SearchTraceCountOutcome searchTraceCount(const Model::SearchTraceCountRequest &request)const;
|
||||
void searchTraceCountAsync(const Model::SearchTraceCountRequest& request, const SearchTraceCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchTraceCountOutcomeCallable searchTraceCountCallable(const Model::SearchTraceCountRequest& request) const;
|
||||
GetTagKeyOutcome getTagKey(const Model::GetTagKeyRequest &request)const;
|
||||
void getTagKeyAsync(const Model::GetTagKeyRequest& request, const GetTagKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTagKeyOutcomeCallable getTagKeyCallable(const Model::GetTagKeyRequest& request) const;
|
||||
ARMSQueryDataSetOutcome aRMSQueryDataSet(const Model::ARMSQueryDataSetRequest &request)const;
|
||||
void aRMSQueryDataSetAsync(const Model::ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ARMSQueryDataSetOutcomeCallable aRMSQueryDataSetCallable(const Model::ARMSQueryDataSetRequest& request) const;
|
||||
CreateRetcodeAppOutcome createRetcodeApp(const Model::CreateRetcodeAppRequest &request)const;
|
||||
void createRetcodeAppAsync(const Model::CreateRetcodeAppRequest& request, const CreateRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRetcodeAppOutcomeCallable createRetcodeAppCallable(const Model::CreateRetcodeAppRequest& request) const;
|
||||
GetTagValOutcome getTagVal(const Model::GetTagValRequest &request)const;
|
||||
void getTagValAsync(const Model::GetTagValRequest& request, const GetTagValAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTagValOutcomeCallable getTagValCallable(const Model::GetTagValRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -1,114 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetRequest : public RpcServiceRequest
|
||||
{
|
||||
struct OptionalDims
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct RequiredDims
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Dimensions
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ARMSQueryDataSetRequest();
|
||||
~ARMSQueryDataSetRequest();
|
||||
|
||||
std::string getDateStr()const;
|
||||
void setDateStr(const std::string& dateStr);
|
||||
long getMinTime()const;
|
||||
void setMinTime(long minTime);
|
||||
bool getReduceTail()const;
|
||||
void setReduceTail(bool reduceTail);
|
||||
long getMaxTime()const;
|
||||
void setMaxTime(long maxTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::vector<OptionalDims> getOptionalDims()const;
|
||||
void setOptionalDims(const std::vector<OptionalDims>& optionalDims);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
int getIntervalInSec()const;
|
||||
void setIntervalInSec(int intervalInSec);
|
||||
bool getIsDrillDown()const;
|
||||
void setIsDrillDown(bool isDrillDown);
|
||||
bool getHungryMode()const;
|
||||
void setHungryMode(bool hungryMode);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getOrderByKey()const;
|
||||
void setOrderByKey(const std::string& orderByKey);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
std::vector<RequiredDims> getRequiredDims()const;
|
||||
void setRequiredDims(const std::vector<RequiredDims>& requiredDims);
|
||||
long getDatasetId()const;
|
||||
void setDatasetId(long datasetId);
|
||||
std::vector<Dimensions> getDimensions()const;
|
||||
void setDimensions(const std::vector<Dimensions>& dimensions);
|
||||
|
||||
private:
|
||||
std::string dateStr_;
|
||||
long minTime_;
|
||||
bool reduceTail_;
|
||||
long maxTime_;
|
||||
std::string accessKeyId_;
|
||||
std::vector<OptionalDims> optionalDims_;
|
||||
std::vector<std::string> measures_;
|
||||
int intervalInSec_;
|
||||
bool isDrillDown_;
|
||||
bool hungryMode_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string orderByKey_;
|
||||
int limit_;
|
||||
std::vector<RequiredDims> requiredDims_;
|
||||
long datasetId_;
|
||||
std::vector<Dimensions> dimensions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setContactGroupIds(const std::string& contactGroupIds);
|
||||
std::string getPids()const;
|
||||
void setPids(const std::string& pids);
|
||||
std::string getTemplageAlertConfig()const;
|
||||
void setTemplageAlertConfig(const std::string& templageAlertConfig);
|
||||
std::string getTemplateAlertId()const;
|
||||
void setTemplateAlertId(const std::string& templateAlertId);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string regionId_;
|
||||
std::string contactGroupIds_;
|
||||
std::string pids_;
|
||||
std::string templageAlertConfig_;
|
||||
std::string templateAlertId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT MetricQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Filters
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
MetricQueryRequest();
|
||||
~MetricQueryRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::vector<Filters> getFilters()const;
|
||||
void setFilters(const std::vector<Filters>& filters);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getIintervalInSec()const;
|
||||
void setIintervalInSec(int iintervalInSec);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
std::string getMetric()const;
|
||||
void setMetric(const std::string& metric);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
std::vector<std::string> getDimensions()const;
|
||||
void setDimensions(const std::vector<std::string>& dimensions);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
std::string orderBy_;
|
||||
std::vector<Filters> filters_;
|
||||
long startTime_;
|
||||
std::string accessKeyId_;
|
||||
int iintervalInSec_;
|
||||
std::vector<std::string> measures_;
|
||||
std::string metric_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int limit_;
|
||||
std::vector<std::string> dimensions_;
|
||||
std::string order_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
@@ -87,42 +87,6 @@ ARMSClient::SearchAlertContactOutcomeCallable ARMSClient::searchAlertContactCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetTraceOutcome ARMSClient::getTrace(const GetTraceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTraceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTraceOutcome(GetTraceResult(outcome.result()));
|
||||
else
|
||||
return GetTraceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getTraceAsync(const GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTrace(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetTraceOutcomeCallable ARMSClient::getTraceCallable(const GetTraceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTraceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTrace(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::ListTraceAppsOutcome ARMSClient::listTraceApps(const ListTraceAppsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,42 +303,6 @@ ARMSClient::QueryDatasetOutcomeCallable ARMSClient::queryDatasetCallable(const Q
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchTraceAppByNameOutcome ARMSClient::searchTraceAppByName(const SearchTraceAppByNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SearchTraceAppByNameOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SearchTraceAppByNameOutcome(SearchTraceAppByNameResult(outcome.result()));
|
||||
else
|
||||
return SearchTraceAppByNameOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::searchTraceAppByNameAsync(const SearchTraceAppByNameRequest& request, const SearchTraceAppByNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, searchTraceAppByName(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::SearchTraceAppByNameOutcomeCallable ARMSClient::searchTraceAppByNameCallable(const SearchTraceAppByNameRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SearchTraceAppByNameOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->searchTraceAppByName(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchRetcodeAppByPageOutcome ARMSClient::searchRetcodeAppByPage(const SearchRetcodeAppByPageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +339,42 @@ ARMSClient::SearchRetcodeAppByPageOutcomeCallable ARMSClient::searchRetcodeAppBy
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchTraceAppByNameOutcome ARMSClient::searchTraceAppByName(const SearchTraceAppByNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SearchTraceAppByNameOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SearchTraceAppByNameOutcome(SearchTraceAppByNameResult(outcome.result()));
|
||||
else
|
||||
return SearchTraceAppByNameOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::searchTraceAppByNameAsync(const SearchTraceAppByNameRequest& request, const SearchTraceAppByNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, searchTraceAppByName(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::SearchTraceAppByNameOutcomeCallable ARMSClient::searchTraceAppByNameCallable(const SearchTraceAppByNameRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SearchTraceAppByNameOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->searchTraceAppByName(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::ListRetcodeAppsOutcome ARMSClient::listRetcodeApps(const ListRetcodeAppsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -447,150 +411,6 @@ ARMSClient::ListRetcodeAppsOutcomeCallable ARMSClient::listRetcodeAppsCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetSpanNamesOutcome ARMSClient::getSpanNames(const GetSpanNamesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetSpanNamesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetSpanNamesOutcome(GetSpanNamesResult(outcome.result()));
|
||||
else
|
||||
return GetSpanNamesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getSpanNamesAsync(const GetSpanNamesRequest& request, const GetSpanNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getSpanNames(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetSpanNamesOutcomeCallable ARMSClient::getSpanNamesCallable(const GetSpanNamesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetSpanNamesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getSpanNames(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetServicesOutcome ARMSClient::getServices(const GetServicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetServicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetServicesOutcome(GetServicesResult(outcome.result()));
|
||||
else
|
||||
return GetServicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getServicesAsync(const GetServicesRequest& request, const GetServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getServices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetServicesOutcomeCallable ARMSClient::getServicesCallable(const GetServicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetServicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getServices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::MetricQueryOutcome ARMSClient::metricQuery(const MetricQueryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MetricQueryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MetricQueryOutcome(MetricQueryResult(outcome.result()));
|
||||
else
|
||||
return MetricQueryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::metricQueryAsync(const MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, metricQuery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::MetricQueryOutcomeCallable ARMSClient::metricQueryCallable(const MetricQueryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MetricQueryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->metricQuery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchTracesOutcome ARMSClient::searchTraces(const SearchTracesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SearchTracesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SearchTracesOutcome(SearchTracesResult(outcome.result()));
|
||||
else
|
||||
return SearchTracesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::searchTracesAsync(const SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, searchTraces(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::SearchTracesOutcomeCallable ARMSClient::searchTracesCallable(const SearchTracesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SearchTracesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->searchTraces(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchAlertContactGroupOutcome ARMSClient::searchAlertContactGroup(const SearchAlertContactGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,114 +519,6 @@ ARMSClient::QueryMetricOutcomeCallable ARMSClient::queryMetricCallable(const Que
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchTraceCountOutcome ARMSClient::searchTraceCount(const SearchTraceCountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SearchTraceCountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SearchTraceCountOutcome(SearchTraceCountResult(outcome.result()));
|
||||
else
|
||||
return SearchTraceCountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::searchTraceCountAsync(const SearchTraceCountRequest& request, const SearchTraceCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, searchTraceCount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::SearchTraceCountOutcomeCallable ARMSClient::searchTraceCountCallable(const SearchTraceCountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SearchTraceCountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->searchTraceCount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetTagKeyOutcome ARMSClient::getTagKey(const GetTagKeyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTagKeyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTagKeyOutcome(GetTagKeyResult(outcome.result()));
|
||||
else
|
||||
return GetTagKeyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getTagKeyAsync(const GetTagKeyRequest& request, const GetTagKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTagKey(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetTagKeyOutcomeCallable ARMSClient::getTagKeyCallable(const GetTagKeyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTagKeyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTagKey(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::ARMSQueryDataSetOutcome ARMSClient::aRMSQueryDataSet(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(ARMSQueryDataSetResult(outcome.result()));
|
||||
else
|
||||
return ARMSQueryDataSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::aRMSQueryDataSetAsync(const ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, aRMSQueryDataSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::ARMSQueryDataSetOutcomeCallable ARMSClient::aRMSQueryDataSetCallable(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ARMSQueryDataSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->aRMSQueryDataSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::CreateRetcodeAppOutcome ARMSClient::createRetcodeApp(const CreateRetcodeAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,39 +555,3 @@ ARMSClient::CreateRetcodeAppOutcomeCallable ARMSClient::createRetcodeAppCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetTagValOutcome ARMSClient::getTagVal(const GetTagValRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTagValOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTagValOutcome(GetTagValResult(outcome.result()));
|
||||
else
|
||||
return GetTagValOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getTagValAsync(const GetTagValRequest& request, const GetTagValAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTagVal(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetTagValOutcomeCallable ARMSClient::getTagValCallable(const GetTagValRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTagValOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTagVal(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,236 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/ARMSQueryDataSetRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::ARMSQueryDataSetRequest;
|
||||
|
||||
ARMSQueryDataSetRequest::ARMSQueryDataSetRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "ARMSQueryDataSet")
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetRequest::~ARMSQueryDataSetRequest()
|
||||
{}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getDateStr()const
|
||||
{
|
||||
return dateStr_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDateStr(const std::string& dateStr)
|
||||
{
|
||||
dateStr_ = dateStr;
|
||||
setCoreParameter("DateStr", dateStr);
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getMinTime()const
|
||||
{
|
||||
return minTime_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMinTime(long minTime)
|
||||
{
|
||||
minTime_ = minTime;
|
||||
setCoreParameter("MinTime", std::to_string(minTime));
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getReduceTail()const
|
||||
{
|
||||
return reduceTail_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setReduceTail(bool reduceTail)
|
||||
{
|
||||
reduceTail_ = reduceTail;
|
||||
setCoreParameter("ReduceTail", reduceTail ? "true" : "false");
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getMaxTime()const
|
||||
{
|
||||
return maxTime_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMaxTime(long maxTime)
|
||||
{
|
||||
maxTime_ = maxTime;
|
||||
setCoreParameter("MaxTime", std::to_string(maxTime));
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::OptionalDims> ARMSQueryDataSetRequest::getOptionalDims()const
|
||||
{
|
||||
return optionalDims_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setOptionalDims(const std::vector<OptionalDims>& optionalDims)
|
||||
{
|
||||
optionalDims_ = optionalDims;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= optionalDims.size(); i++) {
|
||||
auto obj = optionalDims.at(i);
|
||||
std::string str ="OptionalDims."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Type", obj.type);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ARMSQueryDataSetRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setCoreParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
|
||||
int ARMSQueryDataSetRequest::getIntervalInSec()const
|
||||
{
|
||||
return intervalInSec_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setIntervalInSec(int intervalInSec)
|
||||
{
|
||||
intervalInSec_ = intervalInSec;
|
||||
setCoreParameter("IntervalInSec", std::to_string(intervalInSec));
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getIsDrillDown()const
|
||||
{
|
||||
return isDrillDown_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setIsDrillDown(bool isDrillDown)
|
||||
{
|
||||
isDrillDown_ = isDrillDown;
|
||||
setCoreParameter("IsDrillDown", isDrillDown ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getHungryMode()const
|
||||
{
|
||||
return hungryMode_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setHungryMode(bool hungryMode)
|
||||
{
|
||||
hungryMode_ = hungryMode;
|
||||
setCoreParameter("HungryMode", hungryMode ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getOrderByKey()const
|
||||
{
|
||||
return orderByKey_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setOrderByKey(const std::string& orderByKey)
|
||||
{
|
||||
orderByKey_ = orderByKey;
|
||||
setCoreParameter("OrderByKey", orderByKey);
|
||||
}
|
||||
|
||||
int ARMSQueryDataSetRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setCoreParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::RequiredDims> ARMSQueryDataSetRequest::getRequiredDims()const
|
||||
{
|
||||
return requiredDims_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setRequiredDims(const std::vector<RequiredDims>& requiredDims)
|
||||
{
|
||||
requiredDims_ = requiredDims;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= requiredDims.size(); i++) {
|
||||
auto obj = requiredDims.at(i);
|
||||
std::string str ="RequiredDims."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Type", obj.type);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getDatasetId()const
|
||||
{
|
||||
return datasetId_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDatasetId(long datasetId)
|
||||
{
|
||||
datasetId_ = datasetId;
|
||||
setCoreParameter("DatasetId", std::to_string(datasetId));
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::Dimensions> ARMSQueryDataSetRequest::getDimensions()const
|
||||
{
|
||||
return dimensions_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDimensions(const std::vector<Dimensions>& dimensions)
|
||||
{
|
||||
dimensions_ = dimensions;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= dimensions.size(); i++) {
|
||||
auto obj = dimensions.at(i);
|
||||
std::string str ="Dimensions."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Type", obj.type);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetServicesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetServicesResult::GetServicesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetServicesResult::GetServicesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetServicesResult::~GetServicesResult()
|
||||
{}
|
||||
|
||||
void GetServicesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto allDetails = value["Details"]["DetailsItem"];
|
||||
for (auto value : allDetails)
|
||||
{
|
||||
Data::DetailsItem detailsItemObject;
|
||||
if(!value["ServiceName"].isNull())
|
||||
detailsItemObject.serviceName = value["ServiceName"].asString();
|
||||
if(!value["Pid"].isNull())
|
||||
detailsItemObject.pid = value["Pid"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
detailsItemObject.regionId = value["RegionId"].asString();
|
||||
data_.details.push_back(detailsItemObject);
|
||||
}
|
||||
auto allServices = dataNode["Services"]["Services"];
|
||||
for (auto value : allServices)
|
||||
data_.services.push_back(value.asString());
|
||||
|
||||
}
|
||||
|
||||
GetServicesResult::Data GetServicesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -69,6 +69,17 @@ void ImportAppAlertRulesRequest::setPids(const std::string& pids)
|
||||
setCoreParameter("Pids", pids);
|
||||
}
|
||||
|
||||
std::string ImportAppAlertRulesRequest::getTemplageAlertConfig()const
|
||||
{
|
||||
return templageAlertConfig_;
|
||||
}
|
||||
|
||||
void ImportAppAlertRulesRequest::setTemplageAlertConfig(const std::string& templageAlertConfig)
|
||||
{
|
||||
templageAlertConfig_ = templageAlertConfig;
|
||||
setCoreParameter("TemplageAlertConfig", templageAlertConfig);
|
||||
}
|
||||
|
||||
std::string ImportAppAlertRulesRequest::getTemplateAlertId()const
|
||||
{
|
||||
return templateAlertId_;
|
||||
|
||||
@@ -1,178 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/MetricQueryRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::MetricQueryRequest;
|
||||
|
||||
MetricQueryRequest::MetricQueryRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "MetricQuery")
|
||||
{}
|
||||
|
||||
MetricQueryRequest::~MetricQueryRequest()
|
||||
{}
|
||||
|
||||
long MetricQueryRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::vector<MetricQueryRequest::Filters> MetricQueryRequest::getFilters()const
|
||||
{
|
||||
return filters_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setFilters(const std::vector<Filters>& filters)
|
||||
{
|
||||
filters_ = filters;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= filters.size(); i++) {
|
||||
auto obj = filters.at(i);
|
||||
std::string str ="Filters."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long MetricQueryRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int MetricQueryRequest::getIintervalInSec()const
|
||||
{
|
||||
return iintervalInSec_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setIintervalInSec(int iintervalInSec)
|
||||
{
|
||||
iintervalInSec_ = iintervalInSec;
|
||||
setCoreParameter("IintervalInSec", std::to_string(iintervalInSec));
|
||||
}
|
||||
|
||||
std::vector<std::string> MetricQueryRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setCoreParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getMetric()const
|
||||
{
|
||||
return metric_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setMetric(const std::string& metric)
|
||||
{
|
||||
metric_ = metric;
|
||||
setCoreParameter("Metric", metric);
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int MetricQueryRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setCoreParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
std::vector<std::string> MetricQueryRequest::getDimensions()const
|
||||
{
|
||||
return dimensions_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setDimensions(const std::vector<std::string>& dimensions)
|
||||
{
|
||||
dimensions_ = dimensions;
|
||||
for(int i = 0; i!= dimensions.size(); i++)
|
||||
setCoreParameter("Dimensions."+ std::to_string(i), dimensions.at(i));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
}
|
||||
|
||||
@@ -1,132 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/SearchTraceCountRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::SearchTraceCountRequest;
|
||||
|
||||
SearchTraceCountRequest::SearchTraceCountRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "SearchTraceCount")
|
||||
{}
|
||||
|
||||
SearchTraceCountRequest::~SearchTraceCountRequest()
|
||||
{}
|
||||
|
||||
std::string SearchTraceCountRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string SearchTraceCountRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string SearchTraceCountRequest::getOperationName()const
|
||||
{
|
||||
return operationName_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setOperationName(const std::string& operationName)
|
||||
{
|
||||
operationName_ = operationName;
|
||||
setCoreParameter("OperationName", operationName);
|
||||
}
|
||||
|
||||
std::string SearchTraceCountRequest::getAppType()const
|
||||
{
|
||||
return appType_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setAppType(const std::string& appType)
|
||||
{
|
||||
appType_ = appType;
|
||||
setCoreParameter("AppType", appType);
|
||||
}
|
||||
|
||||
long SearchTraceCountRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string SearchTraceCountRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setCoreParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
long SearchTraceCountRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::vector<SearchTraceCountRequest::Tag> SearchTraceCountRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long SearchTraceCountRequest::getMinDuration()const
|
||||
{
|
||||
return minDuration_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setMinDuration(long minDuration)
|
||||
{
|
||||
minDuration_ = minDuration;
|
||||
setCoreParameter("MinDuration", std::to_string(minDuration));
|
||||
}
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/SearchTracesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
SearchTracesResult::SearchTracesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SearchTracesResult::SearchTracesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SearchTracesResult::~SearchTracesResult()
|
||||
{}
|
||||
|
||||
void SearchTracesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["TraceInfo"];
|
||||
for (auto value : allData)
|
||||
{
|
||||
TraceInfo dataObject;
|
||||
if(!value["TraceID"].isNull())
|
||||
dataObject.traceID = value["TraceID"].asString();
|
||||
if(!value["OperationName"].isNull())
|
||||
dataObject.operationName = value["OperationName"].asString();
|
||||
if(!value["Duration"].isNull())
|
||||
dataObject.duration = std::stoi(value["Duration"].asString());
|
||||
if(!value["ServiceName"].isNull())
|
||||
dataObject.serviceName = value["ServiceName"].asString();
|
||||
if(!value["ServiceIp"].isNull())
|
||||
dataObject.serviceIp = value["ServiceIp"].asString();
|
||||
if(!value["Timestamp"].isNull())
|
||||
dataObject.timestamp = std::stol(value["Timestamp"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<SearchTracesResult::TraceInfo> SearchTracesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -23,60 +23,32 @@ set(bssopenapi_public_header
|
||||
set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QueryMonthlyBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryMonthlyBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountTransactionsRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountTransactionsResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateUserQuotaRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CreateUserQuotaResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateInstanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CreateInstanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/CancelOrderRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CancelOrderResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryUserAlarmThresholdRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryUserAlarmThresholdResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserQuotaRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserQuotaResult.h
|
||||
include/alibabacloud/bssopenapi/model/SubscribeDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SubscribeDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/EnableBillGenerationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/EnableBillGenerationResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetEnduserStatusRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetEnduserStatusResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInvoicingCustomerListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInvoicingCustomerListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountBalanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountBalanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/RenewInstanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RenewInstanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateAgAccountRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CreateAgAccountResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceGaapCostRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceGaapCostResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryMonthlyInstanceConsumptionRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryMonthlyInstanceConsumptionResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountTransactionsRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountTransactionsResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPrepaidCardsRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPrepaidCardsResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAvailableInstancesRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAvailableInstancesResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEnduserStatusRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEnduserStatusResult.h
|
||||
include/alibabacloud/bssopenapi/model/RenewResourcePackageRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RenewResourcePackageResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateInstanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CreateInstanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetOrderDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/GetOrderDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyInstanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyInstanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetUserQuotaRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetUserQuotaResult.h
|
||||
include/alibabacloud/bssopenapi/model/UnsubscribeExportToOSSRequest.h
|
||||
include/alibabacloud/bssopenapi/model/UnsubscribeExportToOSSResult.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyInstanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyInstanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/CancelOrderRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CancelOrderResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPriceListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPriceListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRedeemRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRedeemResult.h
|
||||
include/alibabacloud/bssopenapi/model/SubscribeBillToOSSRequest.h
|
||||
@@ -85,121 +57,97 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/GetPayAsYouGoPriceResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetResourcePackagePriceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/GetResourcePackagePriceResult.h
|
||||
include/alibabacloud/bssopenapi/model/ChangeConsumeAmountRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ChangeConsumeAmountResult.h
|
||||
include/alibabacloud/bssopenapi/model/ApplyInvoiceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ApplyInvoiceResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryProductListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryProductListResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetCustomerListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/GetCustomerListResult.h
|
||||
include/alibabacloud/bssopenapi/model/ApplyInvoiceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ApplyInvoiceResult.h
|
||||
include/alibabacloud/bssopenapi/model/UnsubscribeBillToOSSRequest.h
|
||||
include/alibabacloud/bssopenapi/model/UnsubscribeBillToOSSResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetUserAlarmThresholdRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetUserAlarmThresholdResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetCustomerListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/GetCustomerListResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserQuotaRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserQuotaResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserStatusRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserStatusResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountBookListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountBookListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCashCouponsRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCashCouponsResult.h
|
||||
include/alibabacloud/bssopenapi/model/EnableBillGenerationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/EnableBillGenerationResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryOrdersRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryOrdersResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCashCouponsRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCashCouponsResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInvoicingCustomerListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInvoicingCustomerListResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribePricingModuleRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribePricingModuleResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountBalanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAccountBalanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductResult.h
|
||||
include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountResult.h
|
||||
include/alibabacloud/bssopenapi/model/RenewInstanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RenewInstanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/UpgradeResourcePackageRequest.h
|
||||
include/alibabacloud/bssopenapi/model/UpgradeResourcePackageResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateResourcePackageRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CreateResourcePackageResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoRequest.h
|
||||
include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/SubscribeExportToOSSRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SubscribeExportToOSSResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAvaliableQuotaRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryAvaliableQuotaResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPriceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPriceResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetRenewalRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetRenewalResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryBillOverviewRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryBillOverviewResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateAgAccountRequest.h
|
||||
include/alibabacloud/bssopenapi/model/CreateAgAccountResult.h
|
||||
include/alibabacloud/bssopenapi/model/ConvertChargeTypeRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ConvertChargeTypeResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryBillOverviewRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryBillOverviewResult.h
|
||||
include/alibabacloud/bssopenapi/model/QuerySettlementBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QuerySettlementBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryUserOmsDataRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryUserOmsDataResult.h )
|
||||
|
||||
set(bssopenapi_src
|
||||
src/BssOpenApiClient.cc
|
||||
src/com.aliyun.pop.sdk.domain.Product@2fc0cc3Client.cc
|
||||
src/model/QueryMonthlyBillRequest.cc
|
||||
src/model/QueryMonthlyBillResult.cc
|
||||
src/model/QueryAccountTransactionsRequest.cc
|
||||
src/model/QueryAccountTransactionsResult.cc
|
||||
src/model/CreateUserQuotaRequest.cc
|
||||
src/model/CreateUserQuotaResult.cc
|
||||
src/model/CreateInstanceRequest.cc
|
||||
src/model/CreateInstanceResult.cc
|
||||
src/model/CancelOrderRequest.cc
|
||||
src/model/CancelOrderResult.cc
|
||||
src/model/QueryResourcePackageInstancesRequest.cc
|
||||
src/model/QueryResourcePackageInstancesResult.cc
|
||||
src/model/QueryUserAlarmThresholdRequest.cc
|
||||
src/model/QueryUserAlarmThresholdResult.cc
|
||||
src/model/SetResellerUserQuotaRequest.cc
|
||||
src/model/SetResellerUserQuotaResult.cc
|
||||
src/model/SubscribeDetailRequest.cc
|
||||
src/model/SubscribeDetailResult.cc
|
||||
src/model/EnableBillGenerationRequest.cc
|
||||
src/model/EnableBillGenerationResult.cc
|
||||
src/model/SetEnduserStatusRequest.cc
|
||||
src/model/SetEnduserStatusResult.cc
|
||||
src/model/QueryInvoicingCustomerListRequest.cc
|
||||
src/model/QueryInvoicingCustomerListResult.cc
|
||||
src/model/QueryAccountBalanceRequest.cc
|
||||
src/model/QueryAccountBalanceResult.cc
|
||||
src/model/RenewInstanceRequest.cc
|
||||
src/model/RenewInstanceResult.cc
|
||||
src/model/SetResellerUserAlarmThresholdRequest.cc
|
||||
src/model/SetResellerUserAlarmThresholdResult.cc
|
||||
src/model/CreateAgAccountRequest.cc
|
||||
src/model/CreateAgAccountResult.cc
|
||||
src/model/QueryInstanceGaapCostRequest.cc
|
||||
src/model/QueryInstanceGaapCostResult.cc
|
||||
src/model/QueryMonthlyInstanceConsumptionRequest.cc
|
||||
src/model/QueryMonthlyInstanceConsumptionResult.cc
|
||||
src/model/QueryAccountTransactionsRequest.cc
|
||||
src/model/QueryAccountTransactionsResult.cc
|
||||
src/model/QueryPrepaidCardsRequest.cc
|
||||
src/model/QueryPrepaidCardsResult.cc
|
||||
src/model/QueryAvailableInstancesRequest.cc
|
||||
src/model/QueryAvailableInstancesResult.cc
|
||||
src/model/QueryEnduserStatusRequest.cc
|
||||
src/model/QueryEnduserStatusResult.cc
|
||||
src/model/RenewResourcePackageRequest.cc
|
||||
src/model/RenewResourcePackageResult.cc
|
||||
src/model/CreateInstanceRequest.cc
|
||||
src/model/CreateInstanceResult.cc
|
||||
src/model/GetOrderDetailRequest.cc
|
||||
src/model/GetOrderDetailResult.cc
|
||||
src/model/ModifyInstanceRequest.cc
|
||||
src/model/ModifyInstanceResult.cc
|
||||
src/model/QueryCustomerAddressListRequest.cc
|
||||
src/model/QueryCustomerAddressListResult.cc
|
||||
src/model/SetUserQuotaRequest.cc
|
||||
src/model/SetUserQuotaResult.cc
|
||||
src/model/UnsubscribeExportToOSSRequest.cc
|
||||
src/model/UnsubscribeExportToOSSResult.cc
|
||||
src/model/ModifyInstanceRequest.cc
|
||||
src/model/ModifyInstanceResult.cc
|
||||
src/model/CancelOrderRequest.cc
|
||||
src/model/CancelOrderResult.cc
|
||||
src/model/CreateResellerUserQuotaRequest.cc
|
||||
src/model/CreateResellerUserQuotaResult.cc
|
||||
src/model/QueryPriceListRequest.cc
|
||||
src/model/QueryPriceListResult.cc
|
||||
src/model/QueryResourcePackageInstancesRequest.cc
|
||||
src/model/QueryResourcePackageInstancesResult.cc
|
||||
src/model/QueryRedeemRequest.cc
|
||||
src/model/QueryRedeemResult.cc
|
||||
src/model/SubscribeBillToOSSRequest.cc
|
||||
@@ -208,58 +156,62 @@ set(bssopenapi_src
|
||||
src/model/GetPayAsYouGoPriceResult.cc
|
||||
src/model/GetResourcePackagePriceRequest.cc
|
||||
src/model/GetResourcePackagePriceResult.cc
|
||||
src/model/ChangeConsumeAmountRequest.cc
|
||||
src/model/ChangeConsumeAmountResult.cc
|
||||
src/model/ApplyInvoiceRequest.cc
|
||||
src/model/ApplyInvoiceResult.cc
|
||||
src/model/QueryProductListRequest.cc
|
||||
src/model/QueryProductListResult.cc
|
||||
src/model/GetCustomerListRequest.cc
|
||||
src/model/GetCustomerListResult.cc
|
||||
src/model/ApplyInvoiceRequest.cc
|
||||
src/model/ApplyInvoiceResult.cc
|
||||
src/model/UnsubscribeBillToOSSRequest.cc
|
||||
src/model/UnsubscribeBillToOSSResult.cc
|
||||
src/model/SetUserAlarmThresholdRequest.cc
|
||||
src/model/SetUserAlarmThresholdResult.cc
|
||||
src/model/GetCustomerListRequest.cc
|
||||
src/model/GetCustomerListResult.cc
|
||||
src/model/GetSubscriptionPriceRequest.cc
|
||||
src/model/GetSubscriptionPriceResult.cc
|
||||
src/model/QueryResellerAvailableQuotaRequest.cc
|
||||
src/model/QueryResellerAvailableQuotaResult.cc
|
||||
src/model/SetResellerUserQuotaRequest.cc
|
||||
src/model/SetResellerUserQuotaResult.cc
|
||||
src/model/SetResellerUserStatusRequest.cc
|
||||
src/model/SetResellerUserStatusResult.cc
|
||||
src/model/QueryAccountBookListRequest.cc
|
||||
src/model/QueryAccountBookListResult.cc
|
||||
src/model/QueryCashCouponsRequest.cc
|
||||
src/model/QueryCashCouponsResult.cc
|
||||
src/model/EnableBillGenerationRequest.cc
|
||||
src/model/EnableBillGenerationResult.cc
|
||||
src/model/QueryOrdersRequest.cc
|
||||
src/model/QueryOrdersResult.cc
|
||||
src/model/QueryEvaluateListRequest.cc
|
||||
src/model/QueryEvaluateListResult.cc
|
||||
src/model/QueryCashCouponsRequest.cc
|
||||
src/model/QueryCashCouponsResult.cc
|
||||
src/model/QueryInvoicingCustomerListRequest.cc
|
||||
src/model/QueryInvoicingCustomerListResult.cc
|
||||
src/model/DescribePricingModuleRequest.cc
|
||||
src/model/DescribePricingModuleResult.cc
|
||||
src/model/QueryEvaluateListRequest.cc
|
||||
src/model/QueryEvaluateListResult.cc
|
||||
src/model/QueryAccountBalanceRequest.cc
|
||||
src/model/QueryAccountBalanceResult.cc
|
||||
src/model/DescribeResourcePackageProductRequest.cc
|
||||
src/model/DescribeResourcePackageProductResult.cc
|
||||
src/model/ChangeResellerConsumeAmountRequest.cc
|
||||
src/model/ChangeResellerConsumeAmountResult.cc
|
||||
src/model/RenewInstanceRequest.cc
|
||||
src/model/RenewInstanceResult.cc
|
||||
src/model/UpgradeResourcePackageRequest.cc
|
||||
src/model/UpgradeResourcePackageResult.cc
|
||||
src/model/CreateResourcePackageRequest.cc
|
||||
src/model/CreateResourcePackageResult.cc
|
||||
src/model/GetCustomerAccountInfoRequest.cc
|
||||
src/model/GetCustomerAccountInfoResult.cc
|
||||
src/model/QueryInstanceBillRequest.cc
|
||||
src/model/QueryInstanceBillResult.cc
|
||||
src/model/SubscribeExportToOSSRequest.cc
|
||||
src/model/SubscribeExportToOSSResult.cc
|
||||
src/model/QueryAvaliableQuotaRequest.cc
|
||||
src/model/QueryAvaliableQuotaResult.cc
|
||||
src/model/QueryPriceRequest.cc
|
||||
src/model/QueryPriceResult.cc
|
||||
src/model/SetResellerUserAlarmThresholdRequest.cc
|
||||
src/model/SetResellerUserAlarmThresholdResult.cc
|
||||
src/model/QueryBillRequest.cc
|
||||
src/model/QueryBillResult.cc
|
||||
src/model/SetRenewalRequest.cc
|
||||
src/model/SetRenewalResult.cc
|
||||
src/model/QueryBillOverviewRequest.cc
|
||||
src/model/QueryBillOverviewResult.cc
|
||||
src/model/CreateAgAccountRequest.cc
|
||||
src/model/CreateAgAccountResult.cc
|
||||
src/model/ConvertChargeTypeRequest.cc
|
||||
src/model/ConvertChargeTypeResult.cc
|
||||
src/model/QueryBillOverviewRequest.cc
|
||||
src/model/QueryBillOverviewResult.cc
|
||||
src/model/QuerySettlementBillRequest.cc
|
||||
src/model/QuerySettlementBillResult.cc
|
||||
src/model/QueryUserOmsDataRequest.cc
|
||||
|
||||
@@ -24,60 +24,32 @@
|
||||
#include "BssOpenApiExport.h"
|
||||
#include "model/QueryMonthlyBillRequest.h"
|
||||
#include "model/QueryMonthlyBillResult.h"
|
||||
#include "model/QueryAccountTransactionsRequest.h"
|
||||
#include "model/QueryAccountTransactionsResult.h"
|
||||
#include "model/CreateUserQuotaRequest.h"
|
||||
#include "model/CreateUserQuotaResult.h"
|
||||
#include "model/CreateInstanceRequest.h"
|
||||
#include "model/CreateInstanceResult.h"
|
||||
#include "model/CancelOrderRequest.h"
|
||||
#include "model/CancelOrderResult.h"
|
||||
#include "model/QueryResourcePackageInstancesRequest.h"
|
||||
#include "model/QueryResourcePackageInstancesResult.h"
|
||||
#include "model/QueryUserAlarmThresholdRequest.h"
|
||||
#include "model/QueryUserAlarmThresholdResult.h"
|
||||
#include "model/SetResellerUserQuotaRequest.h"
|
||||
#include "model/SetResellerUserQuotaResult.h"
|
||||
#include "model/SubscribeDetailRequest.h"
|
||||
#include "model/SubscribeDetailResult.h"
|
||||
#include "model/EnableBillGenerationRequest.h"
|
||||
#include "model/EnableBillGenerationResult.h"
|
||||
#include "model/SetEnduserStatusRequest.h"
|
||||
#include "model/SetEnduserStatusResult.h"
|
||||
#include "model/QueryInvoicingCustomerListRequest.h"
|
||||
#include "model/QueryInvoicingCustomerListResult.h"
|
||||
#include "model/QueryAccountBalanceRequest.h"
|
||||
#include "model/QueryAccountBalanceResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/SetResellerUserAlarmThresholdRequest.h"
|
||||
#include "model/SetResellerUserAlarmThresholdResult.h"
|
||||
#include "model/CreateAgAccountRequest.h"
|
||||
#include "model/CreateAgAccountResult.h"
|
||||
#include "model/QueryInstanceGaapCostRequest.h"
|
||||
#include "model/QueryInstanceGaapCostResult.h"
|
||||
#include "model/QueryMonthlyInstanceConsumptionRequest.h"
|
||||
#include "model/QueryMonthlyInstanceConsumptionResult.h"
|
||||
#include "model/QueryAccountTransactionsRequest.h"
|
||||
#include "model/QueryAccountTransactionsResult.h"
|
||||
#include "model/QueryPrepaidCardsRequest.h"
|
||||
#include "model/QueryPrepaidCardsResult.h"
|
||||
#include "model/QueryAvailableInstancesRequest.h"
|
||||
#include "model/QueryAvailableInstancesResult.h"
|
||||
#include "model/QueryEnduserStatusRequest.h"
|
||||
#include "model/QueryEnduserStatusResult.h"
|
||||
#include "model/RenewResourcePackageRequest.h"
|
||||
#include "model/RenewResourcePackageResult.h"
|
||||
#include "model/CreateInstanceRequest.h"
|
||||
#include "model/CreateInstanceResult.h"
|
||||
#include "model/GetOrderDetailRequest.h"
|
||||
#include "model/GetOrderDetailResult.h"
|
||||
#include "model/ModifyInstanceRequest.h"
|
||||
#include "model/ModifyInstanceResult.h"
|
||||
#include "model/QueryCustomerAddressListRequest.h"
|
||||
#include "model/QueryCustomerAddressListResult.h"
|
||||
#include "model/SetUserQuotaRequest.h"
|
||||
#include "model/SetUserQuotaResult.h"
|
||||
#include "model/UnsubscribeExportToOSSRequest.h"
|
||||
#include "model/UnsubscribeExportToOSSResult.h"
|
||||
#include "model/ModifyInstanceRequest.h"
|
||||
#include "model/ModifyInstanceResult.h"
|
||||
#include "model/CancelOrderRequest.h"
|
||||
#include "model/CancelOrderResult.h"
|
||||
#include "model/CreateResellerUserQuotaRequest.h"
|
||||
#include "model/CreateResellerUserQuotaResult.h"
|
||||
#include "model/QueryPriceListRequest.h"
|
||||
#include "model/QueryPriceListResult.h"
|
||||
#include "model/QueryResourcePackageInstancesRequest.h"
|
||||
#include "model/QueryResourcePackageInstancesResult.h"
|
||||
#include "model/QueryRedeemRequest.h"
|
||||
#include "model/QueryRedeemResult.h"
|
||||
#include "model/SubscribeBillToOSSRequest.h"
|
||||
@@ -86,58 +58,62 @@
|
||||
#include "model/GetPayAsYouGoPriceResult.h"
|
||||
#include "model/GetResourcePackagePriceRequest.h"
|
||||
#include "model/GetResourcePackagePriceResult.h"
|
||||
#include "model/ChangeConsumeAmountRequest.h"
|
||||
#include "model/ChangeConsumeAmountResult.h"
|
||||
#include "model/ApplyInvoiceRequest.h"
|
||||
#include "model/ApplyInvoiceResult.h"
|
||||
#include "model/QueryProductListRequest.h"
|
||||
#include "model/QueryProductListResult.h"
|
||||
#include "model/GetCustomerListRequest.h"
|
||||
#include "model/GetCustomerListResult.h"
|
||||
#include "model/ApplyInvoiceRequest.h"
|
||||
#include "model/ApplyInvoiceResult.h"
|
||||
#include "model/UnsubscribeBillToOSSRequest.h"
|
||||
#include "model/UnsubscribeBillToOSSResult.h"
|
||||
#include "model/SetUserAlarmThresholdRequest.h"
|
||||
#include "model/SetUserAlarmThresholdResult.h"
|
||||
#include "model/GetCustomerListRequest.h"
|
||||
#include "model/GetCustomerListResult.h"
|
||||
#include "model/GetSubscriptionPriceRequest.h"
|
||||
#include "model/GetSubscriptionPriceResult.h"
|
||||
#include "model/QueryResellerAvailableQuotaRequest.h"
|
||||
#include "model/QueryResellerAvailableQuotaResult.h"
|
||||
#include "model/SetResellerUserQuotaRequest.h"
|
||||
#include "model/SetResellerUserQuotaResult.h"
|
||||
#include "model/SetResellerUserStatusRequest.h"
|
||||
#include "model/SetResellerUserStatusResult.h"
|
||||
#include "model/QueryAccountBookListRequest.h"
|
||||
#include "model/QueryAccountBookListResult.h"
|
||||
#include "model/QueryCashCouponsRequest.h"
|
||||
#include "model/QueryCashCouponsResult.h"
|
||||
#include "model/EnableBillGenerationRequest.h"
|
||||
#include "model/EnableBillGenerationResult.h"
|
||||
#include "model/QueryOrdersRequest.h"
|
||||
#include "model/QueryOrdersResult.h"
|
||||
#include "model/QueryEvaluateListRequest.h"
|
||||
#include "model/QueryEvaluateListResult.h"
|
||||
#include "model/QueryCashCouponsRequest.h"
|
||||
#include "model/QueryCashCouponsResult.h"
|
||||
#include "model/QueryInvoicingCustomerListRequest.h"
|
||||
#include "model/QueryInvoicingCustomerListResult.h"
|
||||
#include "model/DescribePricingModuleRequest.h"
|
||||
#include "model/DescribePricingModuleResult.h"
|
||||
#include "model/QueryEvaluateListRequest.h"
|
||||
#include "model/QueryEvaluateListResult.h"
|
||||
#include "model/QueryAccountBalanceRequest.h"
|
||||
#include "model/QueryAccountBalanceResult.h"
|
||||
#include "model/DescribeResourcePackageProductRequest.h"
|
||||
#include "model/DescribeResourcePackageProductResult.h"
|
||||
#include "model/ChangeResellerConsumeAmountRequest.h"
|
||||
#include "model/ChangeResellerConsumeAmountResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/UpgradeResourcePackageRequest.h"
|
||||
#include "model/UpgradeResourcePackageResult.h"
|
||||
#include "model/CreateResourcePackageRequest.h"
|
||||
#include "model/CreateResourcePackageResult.h"
|
||||
#include "model/GetCustomerAccountInfoRequest.h"
|
||||
#include "model/GetCustomerAccountInfoResult.h"
|
||||
#include "model/QueryInstanceBillRequest.h"
|
||||
#include "model/QueryInstanceBillResult.h"
|
||||
#include "model/SubscribeExportToOSSRequest.h"
|
||||
#include "model/SubscribeExportToOSSResult.h"
|
||||
#include "model/QueryAvaliableQuotaRequest.h"
|
||||
#include "model/QueryAvaliableQuotaResult.h"
|
||||
#include "model/QueryPriceRequest.h"
|
||||
#include "model/QueryPriceResult.h"
|
||||
#include "model/SetResellerUserAlarmThresholdRequest.h"
|
||||
#include "model/SetResellerUserAlarmThresholdResult.h"
|
||||
#include "model/QueryBillRequest.h"
|
||||
#include "model/QueryBillResult.h"
|
||||
#include "model/SetRenewalRequest.h"
|
||||
#include "model/SetRenewalResult.h"
|
||||
#include "model/QueryBillOverviewRequest.h"
|
||||
#include "model/QueryBillOverviewResult.h"
|
||||
#include "model/CreateAgAccountRequest.h"
|
||||
#include "model/CreateAgAccountResult.h"
|
||||
#include "model/ConvertChargeTypeRequest.h"
|
||||
#include "model/ConvertChargeTypeResult.h"
|
||||
#include "model/QueryBillOverviewRequest.h"
|
||||
#include "model/QueryBillOverviewResult.h"
|
||||
#include "model/QuerySettlementBillRequest.h"
|
||||
#include "model/QuerySettlementBillResult.h"
|
||||
#include "model/QueryUserOmsDataRequest.h"
|
||||
@@ -154,87 +130,45 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryMonthlyBillResult> QueryMonthlyBillOutcome;
|
||||
typedef std::future<QueryMonthlyBillOutcome> QueryMonthlyBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryMonthlyBillRequest&, const QueryMonthlyBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMonthlyBillAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccountTransactionsResult> QueryAccountTransactionsOutcome;
|
||||
typedef std::future<QueryAccountTransactionsOutcome> QueryAccountTransactionsOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAccountTransactionsRequest&, const QueryAccountTransactionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccountTransactionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserQuotaResult> CreateUserQuotaOutcome;
|
||||
typedef std::future<CreateUserQuotaOutcome> CreateUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CreateUserQuotaRequest&, const CreateUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
|
||||
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelOrderResult> CancelOrderOutcome;
|
||||
typedef std::future<CancelOrderOutcome> CancelOrderOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CancelOrderRequest&, const CancelOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryResourcePackageInstancesResult> QueryResourcePackageInstancesOutcome;
|
||||
typedef std::future<QueryResourcePackageInstancesOutcome> QueryResourcePackageInstancesOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResourcePackageInstancesRequest&, const QueryResourcePackageInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResourcePackageInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryUserAlarmThresholdResult> QueryUserAlarmThresholdOutcome;
|
||||
typedef std::future<QueryUserAlarmThresholdOutcome> QueryUserAlarmThresholdOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryUserAlarmThresholdRequest&, const QueryUserAlarmThresholdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserAlarmThresholdAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetResellerUserQuotaResult> SetResellerUserQuotaOutcome;
|
||||
typedef std::future<SetResellerUserQuotaOutcome> SetResellerUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetResellerUserQuotaRequest&, const SetResellerUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetResellerUserQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubscribeDetailResult> SubscribeDetailOutcome;
|
||||
typedef std::future<SubscribeDetailOutcome> SubscribeDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SubscribeDetailRequest&, const SubscribeDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubscribeDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableBillGenerationResult> EnableBillGenerationOutcome;
|
||||
typedef std::future<EnableBillGenerationOutcome> EnableBillGenerationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::EnableBillGenerationRequest&, const EnableBillGenerationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableBillGenerationAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetEnduserStatusResult> SetEnduserStatusOutcome;
|
||||
typedef std::future<SetEnduserStatusOutcome> SetEnduserStatusOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetEnduserStatusRequest&, const SetEnduserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetEnduserStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryInvoicingCustomerListResult> QueryInvoicingCustomerListOutcome;
|
||||
typedef std::future<QueryInvoicingCustomerListOutcome> QueryInvoicingCustomerListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInvoicingCustomerListRequest&, const QueryInvoicingCustomerListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInvoicingCustomerListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccountBalanceResult> QueryAccountBalanceOutcome;
|
||||
typedef std::future<QueryAccountBalanceOutcome> QueryAccountBalanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAccountBalanceRequest&, const QueryAccountBalanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccountBalanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetResellerUserAlarmThresholdResult> SetResellerUserAlarmThresholdOutcome;
|
||||
typedef std::future<SetResellerUserAlarmThresholdOutcome> SetResellerUserAlarmThresholdOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetResellerUserAlarmThresholdRequest&, const SetResellerUserAlarmThresholdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetResellerUserAlarmThresholdAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAgAccountResult> CreateAgAccountOutcome;
|
||||
typedef std::future<CreateAgAccountOutcome> CreateAgAccountOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CreateAgAccountRequest&, const CreateAgAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAgAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryInstanceGaapCostResult> QueryInstanceGaapCostOutcome;
|
||||
typedef std::future<QueryInstanceGaapCostOutcome> QueryInstanceGaapCostOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInstanceGaapCostRequest&, const QueryInstanceGaapCostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInstanceGaapCostAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMonthlyInstanceConsumptionResult> QueryMonthlyInstanceConsumptionOutcome;
|
||||
typedef std::future<QueryMonthlyInstanceConsumptionOutcome> QueryMonthlyInstanceConsumptionOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryMonthlyInstanceConsumptionRequest&, const QueryMonthlyInstanceConsumptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMonthlyInstanceConsumptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccountTransactionsResult> QueryAccountTransactionsOutcome;
|
||||
typedef std::future<QueryAccountTransactionsOutcome> QueryAccountTransactionsOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAccountTransactionsRequest&, const QueryAccountTransactionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccountTransactionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryPrepaidCardsResult> QueryPrepaidCardsOutcome;
|
||||
typedef std::future<QueryPrepaidCardsOutcome> QueryPrepaidCardsOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryPrepaidCardsRequest&, const QueryPrepaidCardsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPrepaidCardsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAvailableInstancesResult> QueryAvailableInstancesOutcome;
|
||||
typedef std::future<QueryAvailableInstancesOutcome> QueryAvailableInstancesOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAvailableInstancesRequest&, const QueryAvailableInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAvailableInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryEnduserStatusResult> QueryEnduserStatusOutcome;
|
||||
typedef std::future<QueryEnduserStatusOutcome> QueryEnduserStatusOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryEnduserStatusRequest&, const QueryEnduserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEnduserStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewResourcePackageResult> RenewResourcePackageOutcome;
|
||||
typedef std::future<RenewResourcePackageOutcome> RenewResourcePackageOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::RenewResourcePackageRequest&, const RenewResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewResourcePackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
|
||||
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetOrderDetailResult> GetOrderDetailOutcome;
|
||||
typedef std::future<GetOrderDetailOutcome> GetOrderDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::GetOrderDetailRequest&, const GetOrderDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOrderDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyInstanceResult> ModifyInstanceOutcome;
|
||||
typedef std::future<ModifyInstanceOutcome> ModifyInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyInstanceRequest&, const ModifyInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomerAddressListResult> QueryCustomerAddressListOutcome;
|
||||
typedef std::future<QueryCustomerAddressListOutcome> QueryCustomerAddressListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCustomerAddressListRequest&, const QueryCustomerAddressListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerAddressListAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetUserQuotaResult> SetUserQuotaOutcome;
|
||||
typedef std::future<SetUserQuotaOutcome> SetUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetUserQuotaRequest&, const SetUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnsubscribeExportToOSSResult> UnsubscribeExportToOSSOutcome;
|
||||
typedef std::future<UnsubscribeExportToOSSOutcome> UnsubscribeExportToOSSOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::UnsubscribeExportToOSSRequest&, const UnsubscribeExportToOSSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnsubscribeExportToOSSAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyInstanceResult> ModifyInstanceOutcome;
|
||||
typedef std::future<ModifyInstanceOutcome> ModifyInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyInstanceRequest&, const ModifyInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelOrderResult> CancelOrderOutcome;
|
||||
typedef std::future<CancelOrderOutcome> CancelOrderOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CancelOrderRequest&, const CancelOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateResellerUserQuotaResult> CreateResellerUserQuotaOutcome;
|
||||
typedef std::future<CreateResellerUserQuotaOutcome> CreateResellerUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CreateResellerUserQuotaRequest&, const CreateResellerUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateResellerUserQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryPriceListResult> QueryPriceListOutcome;
|
||||
typedef std::future<QueryPriceListOutcome> QueryPriceListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryPriceListRequest&, const QueryPriceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPriceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryResourcePackageInstancesResult> QueryResourcePackageInstancesOutcome;
|
||||
typedef std::future<QueryResourcePackageInstancesOutcome> QueryResourcePackageInstancesOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResourcePackageInstancesRequest&, const QueryResourcePackageInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResourcePackageInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRedeemResult> QueryRedeemOutcome;
|
||||
typedef std::future<QueryRedeemOutcome> QueryRedeemOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryRedeemRequest&, const QueryRedeemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRedeemAsyncHandler;
|
||||
@@ -247,54 +181,63 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetResourcePackagePriceResult> GetResourcePackagePriceOutcome;
|
||||
typedef std::future<GetResourcePackagePriceOutcome> GetResourcePackagePriceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::GetResourcePackagePriceRequest&, const GetResourcePackagePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourcePackagePriceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeConsumeAmountResult> ChangeConsumeAmountOutcome;
|
||||
typedef std::future<ChangeConsumeAmountOutcome> ChangeConsumeAmountOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ChangeConsumeAmountRequest&, const ChangeConsumeAmountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeConsumeAmountAsyncHandler;
|
||||
typedef Outcome<Error, Model::ApplyInvoiceResult> ApplyInvoiceOutcome;
|
||||
typedef std::future<ApplyInvoiceOutcome> ApplyInvoiceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ApplyInvoiceRequest&, const ApplyInvoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyInvoiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryProductListResult> QueryProductListOutcome;
|
||||
typedef std::future<QueryProductListOutcome> QueryProductListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryProductListRequest&, const QueryProductListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryProductListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCustomerListResult> GetCustomerListOutcome;
|
||||
typedef std::future<GetCustomerListOutcome> GetCustomerListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::GetCustomerListRequest&, const GetCustomerListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomerListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ApplyInvoiceResult> ApplyInvoiceOutcome;
|
||||
typedef std::future<ApplyInvoiceOutcome> ApplyInvoiceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ApplyInvoiceRequest&, const ApplyInvoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyInvoiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnsubscribeBillToOSSResult> UnsubscribeBillToOSSOutcome;
|
||||
typedef std::future<UnsubscribeBillToOSSOutcome> UnsubscribeBillToOSSOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::UnsubscribeBillToOSSRequest&, const UnsubscribeBillToOSSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnsubscribeBillToOSSAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetUserAlarmThresholdResult> SetUserAlarmThresholdOutcome;
|
||||
typedef std::future<SetUserAlarmThresholdOutcome> SetUserAlarmThresholdOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetUserAlarmThresholdRequest&, const SetUserAlarmThresholdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserAlarmThresholdAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCustomerListResult> GetCustomerListOutcome;
|
||||
typedef std::future<GetCustomerListOutcome> GetCustomerListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::GetCustomerListRequest&, const GetCustomerListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomerListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSubscriptionPriceResult> GetSubscriptionPriceOutcome;
|
||||
typedef std::future<GetSubscriptionPriceOutcome> GetSubscriptionPriceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::GetSubscriptionPriceRequest&, const GetSubscriptionPriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSubscriptionPriceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryResellerAvailableQuotaResult> QueryResellerAvailableQuotaOutcome;
|
||||
typedef std::future<QueryResellerAvailableQuotaOutcome> QueryResellerAvailableQuotaOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResellerAvailableQuotaRequest&, const QueryResellerAvailableQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResellerAvailableQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetResellerUserQuotaResult> SetResellerUserQuotaOutcome;
|
||||
typedef std::future<SetResellerUserQuotaOutcome> SetResellerUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetResellerUserQuotaRequest&, const SetResellerUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetResellerUserQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetResellerUserStatusResult> SetResellerUserStatusOutcome;
|
||||
typedef std::future<SetResellerUserStatusOutcome> SetResellerUserStatusOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetResellerUserStatusRequest&, const SetResellerUserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetResellerUserStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccountBookListResult> QueryAccountBookListOutcome;
|
||||
typedef std::future<QueryAccountBookListOutcome> QueryAccountBookListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAccountBookListRequest&, const QueryAccountBookListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccountBookListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCashCouponsResult> QueryCashCouponsOutcome;
|
||||
typedef std::future<QueryCashCouponsOutcome> QueryCashCouponsOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCashCouponsRequest&, const QueryCashCouponsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCashCouponsAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableBillGenerationResult> EnableBillGenerationOutcome;
|
||||
typedef std::future<EnableBillGenerationOutcome> EnableBillGenerationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::EnableBillGenerationRequest&, const EnableBillGenerationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableBillGenerationAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryOrdersResult> QueryOrdersOutcome;
|
||||
typedef std::future<QueryOrdersOutcome> QueryOrdersOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryOrdersRequest&, const QueryOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryOrdersAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryEvaluateListResult> QueryEvaluateListOutcome;
|
||||
typedef std::future<QueryEvaluateListOutcome> QueryEvaluateListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryEvaluateListRequest&, const QueryEvaluateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEvaluateListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCashCouponsResult> QueryCashCouponsOutcome;
|
||||
typedef std::future<QueryCashCouponsOutcome> QueryCashCouponsOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCashCouponsRequest&, const QueryCashCouponsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCashCouponsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryInvoicingCustomerListResult> QueryInvoicingCustomerListOutcome;
|
||||
typedef std::future<QueryInvoicingCustomerListOutcome> QueryInvoicingCustomerListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInvoicingCustomerListRequest&, const QueryInvoicingCustomerListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInvoicingCustomerListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePricingModuleResult> DescribePricingModuleOutcome;
|
||||
typedef std::future<DescribePricingModuleOutcome> DescribePricingModuleOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribePricingModuleRequest&, const DescribePricingModuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePricingModuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryEvaluateListResult> QueryEvaluateListOutcome;
|
||||
typedef std::future<QueryEvaluateListOutcome> QueryEvaluateListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryEvaluateListRequest&, const QueryEvaluateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEvaluateListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccountBalanceResult> QueryAccountBalanceOutcome;
|
||||
typedef std::future<QueryAccountBalanceOutcome> QueryAccountBalanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAccountBalanceRequest&, const QueryAccountBalanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccountBalanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourcePackageProductResult> DescribeResourcePackageProductOutcome;
|
||||
typedef std::future<DescribeResourcePackageProductOutcome> DescribeResourcePackageProductOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourcePackageProductRequest&, const DescribeResourcePackageProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourcePackageProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeResellerConsumeAmountResult> ChangeResellerConsumeAmountOutcome;
|
||||
typedef std::future<ChangeResellerConsumeAmountOutcome> ChangeResellerConsumeAmountOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ChangeResellerConsumeAmountRequest&, const ChangeResellerConsumeAmountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResellerConsumeAmountAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeResourcePackageResult> UpgradeResourcePackageOutcome;
|
||||
typedef std::future<UpgradeResourcePackageOutcome> UpgradeResourcePackageOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::UpgradeResourcePackageRequest&, const UpgradeResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeResourcePackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateResourcePackageResult> CreateResourcePackageOutcome;
|
||||
typedef std::future<CreateResourcePackageOutcome> CreateResourcePackageOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CreateResourcePackageRequest&, const CreateResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateResourcePackageAsyncHandler;
|
||||
@@ -304,27 +247,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryInstanceBillResult> QueryInstanceBillOutcome;
|
||||
typedef std::future<QueryInstanceBillOutcome> QueryInstanceBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInstanceBillRequest&, const QueryInstanceBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInstanceBillAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubscribeExportToOSSResult> SubscribeExportToOSSOutcome;
|
||||
typedef std::future<SubscribeExportToOSSOutcome> SubscribeExportToOSSOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SubscribeExportToOSSRequest&, const SubscribeExportToOSSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubscribeExportToOSSAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAvaliableQuotaResult> QueryAvaliableQuotaOutcome;
|
||||
typedef std::future<QueryAvaliableQuotaOutcome> QueryAvaliableQuotaOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAvaliableQuotaRequest&, const QueryAvaliableQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAvaliableQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryPriceResult> QueryPriceOutcome;
|
||||
typedef std::future<QueryPriceOutcome> QueryPriceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryPriceRequest&, const QueryPriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPriceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetResellerUserAlarmThresholdResult> SetResellerUserAlarmThresholdOutcome;
|
||||
typedef std::future<SetResellerUserAlarmThresholdOutcome> SetResellerUserAlarmThresholdOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetResellerUserAlarmThresholdRequest&, const SetResellerUserAlarmThresholdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetResellerUserAlarmThresholdAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryBillResult> QueryBillOutcome;
|
||||
typedef std::future<QueryBillOutcome> QueryBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryBillRequest&, const QueryBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBillAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetRenewalResult> SetRenewalOutcome;
|
||||
typedef std::future<SetRenewalOutcome> SetRenewalOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetRenewalRequest&, const SetRenewalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRenewalAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryBillOverviewResult> QueryBillOverviewOutcome;
|
||||
typedef std::future<QueryBillOverviewOutcome> QueryBillOverviewOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryBillOverviewRequest&, const QueryBillOverviewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBillOverviewAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAgAccountResult> CreateAgAccountOutcome;
|
||||
typedef std::future<CreateAgAccountOutcome> CreateAgAccountOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::CreateAgAccountRequest&, const CreateAgAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAgAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConvertChargeTypeResult> ConvertChargeTypeOutcome;
|
||||
typedef std::future<ConvertChargeTypeOutcome> ConvertChargeTypeOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ConvertChargeTypeRequest&, const ConvertChargeTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConvertChargeTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryBillOverviewResult> QueryBillOverviewOutcome;
|
||||
typedef std::future<QueryBillOverviewOutcome> QueryBillOverviewOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryBillOverviewRequest&, const QueryBillOverviewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBillOverviewAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySettlementBillResult> QuerySettlementBillOutcome;
|
||||
typedef std::future<QuerySettlementBillOutcome> QuerySettlementBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettlementBillRequest&, const QuerySettlementBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettlementBillAsyncHandler;
|
||||
@@ -339,87 +279,45 @@ namespace AlibabaCloud
|
||||
QueryMonthlyBillOutcome queryMonthlyBill(const Model::QueryMonthlyBillRequest &request)const;
|
||||
void queryMonthlyBillAsync(const Model::QueryMonthlyBillRequest& request, const QueryMonthlyBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMonthlyBillOutcomeCallable queryMonthlyBillCallable(const Model::QueryMonthlyBillRequest& request) const;
|
||||
QueryAccountTransactionsOutcome queryAccountTransactions(const Model::QueryAccountTransactionsRequest &request)const;
|
||||
void queryAccountTransactionsAsync(const Model::QueryAccountTransactionsRequest& request, const QueryAccountTransactionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccountTransactionsOutcomeCallable queryAccountTransactionsCallable(const Model::QueryAccountTransactionsRequest& request) const;
|
||||
CreateUserQuotaOutcome createUserQuota(const Model::CreateUserQuotaRequest &request)const;
|
||||
void createUserQuotaAsync(const Model::CreateUserQuotaRequest& request, const CreateUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserQuotaOutcomeCallable createUserQuotaCallable(const Model::CreateUserQuotaRequest& request) const;
|
||||
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
|
||||
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
|
||||
CancelOrderOutcome cancelOrder(const Model::CancelOrderRequest &request)const;
|
||||
void cancelOrderAsync(const Model::CancelOrderRequest& request, const CancelOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelOrderOutcomeCallable cancelOrderCallable(const Model::CancelOrderRequest& request) const;
|
||||
QueryResourcePackageInstancesOutcome queryResourcePackageInstances(const Model::QueryResourcePackageInstancesRequest &request)const;
|
||||
void queryResourcePackageInstancesAsync(const Model::QueryResourcePackageInstancesRequest& request, const QueryResourcePackageInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryResourcePackageInstancesOutcomeCallable queryResourcePackageInstancesCallable(const Model::QueryResourcePackageInstancesRequest& request) const;
|
||||
QueryUserAlarmThresholdOutcome queryUserAlarmThreshold(const Model::QueryUserAlarmThresholdRequest &request)const;
|
||||
void queryUserAlarmThresholdAsync(const Model::QueryUserAlarmThresholdRequest& request, const QueryUserAlarmThresholdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUserAlarmThresholdOutcomeCallable queryUserAlarmThresholdCallable(const Model::QueryUserAlarmThresholdRequest& request) const;
|
||||
SetResellerUserQuotaOutcome setResellerUserQuota(const Model::SetResellerUserQuotaRequest &request)const;
|
||||
void setResellerUserQuotaAsync(const Model::SetResellerUserQuotaRequest& request, const SetResellerUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetResellerUserQuotaOutcomeCallable setResellerUserQuotaCallable(const Model::SetResellerUserQuotaRequest& request) const;
|
||||
SubscribeDetailOutcome subscribeDetail(const Model::SubscribeDetailRequest &request)const;
|
||||
void subscribeDetailAsync(const Model::SubscribeDetailRequest& request, const SubscribeDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubscribeDetailOutcomeCallable subscribeDetailCallable(const Model::SubscribeDetailRequest& request) const;
|
||||
EnableBillGenerationOutcome enableBillGeneration(const Model::EnableBillGenerationRequest &request)const;
|
||||
void enableBillGenerationAsync(const Model::EnableBillGenerationRequest& request, const EnableBillGenerationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableBillGenerationOutcomeCallable enableBillGenerationCallable(const Model::EnableBillGenerationRequest& request) const;
|
||||
SetEnduserStatusOutcome setEnduserStatus(const Model::SetEnduserStatusRequest &request)const;
|
||||
void setEnduserStatusAsync(const Model::SetEnduserStatusRequest& request, const SetEnduserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetEnduserStatusOutcomeCallable setEnduserStatusCallable(const Model::SetEnduserStatusRequest& request) const;
|
||||
QueryInvoicingCustomerListOutcome queryInvoicingCustomerList(const Model::QueryInvoicingCustomerListRequest &request)const;
|
||||
void queryInvoicingCustomerListAsync(const Model::QueryInvoicingCustomerListRequest& request, const QueryInvoicingCustomerListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryInvoicingCustomerListOutcomeCallable queryInvoicingCustomerListCallable(const Model::QueryInvoicingCustomerListRequest& request) const;
|
||||
QueryAccountBalanceOutcome queryAccountBalance(const Model::QueryAccountBalanceRequest &request)const;
|
||||
void queryAccountBalanceAsync(const Model::QueryAccountBalanceRequest& request, const QueryAccountBalanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccountBalanceOutcomeCallable queryAccountBalanceCallable(const Model::QueryAccountBalanceRequest& request) const;
|
||||
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
|
||||
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
|
||||
SetResellerUserAlarmThresholdOutcome setResellerUserAlarmThreshold(const Model::SetResellerUserAlarmThresholdRequest &request)const;
|
||||
void setResellerUserAlarmThresholdAsync(const Model::SetResellerUserAlarmThresholdRequest& request, const SetResellerUserAlarmThresholdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetResellerUserAlarmThresholdOutcomeCallable setResellerUserAlarmThresholdCallable(const Model::SetResellerUserAlarmThresholdRequest& request) const;
|
||||
CreateAgAccountOutcome createAgAccount(const Model::CreateAgAccountRequest &request)const;
|
||||
void createAgAccountAsync(const Model::CreateAgAccountRequest& request, const CreateAgAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAgAccountOutcomeCallable createAgAccountCallable(const Model::CreateAgAccountRequest& request) const;
|
||||
QueryInstanceGaapCostOutcome queryInstanceGaapCost(const Model::QueryInstanceGaapCostRequest &request)const;
|
||||
void queryInstanceGaapCostAsync(const Model::QueryInstanceGaapCostRequest& request, const QueryInstanceGaapCostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryInstanceGaapCostOutcomeCallable queryInstanceGaapCostCallable(const Model::QueryInstanceGaapCostRequest& request) const;
|
||||
QueryMonthlyInstanceConsumptionOutcome queryMonthlyInstanceConsumption(const Model::QueryMonthlyInstanceConsumptionRequest &request)const;
|
||||
void queryMonthlyInstanceConsumptionAsync(const Model::QueryMonthlyInstanceConsumptionRequest& request, const QueryMonthlyInstanceConsumptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMonthlyInstanceConsumptionOutcomeCallable queryMonthlyInstanceConsumptionCallable(const Model::QueryMonthlyInstanceConsumptionRequest& request) const;
|
||||
QueryAccountTransactionsOutcome queryAccountTransactions(const Model::QueryAccountTransactionsRequest &request)const;
|
||||
void queryAccountTransactionsAsync(const Model::QueryAccountTransactionsRequest& request, const QueryAccountTransactionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccountTransactionsOutcomeCallable queryAccountTransactionsCallable(const Model::QueryAccountTransactionsRequest& request) const;
|
||||
QueryPrepaidCardsOutcome queryPrepaidCards(const Model::QueryPrepaidCardsRequest &request)const;
|
||||
void queryPrepaidCardsAsync(const Model::QueryPrepaidCardsRequest& request, const QueryPrepaidCardsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPrepaidCardsOutcomeCallable queryPrepaidCardsCallable(const Model::QueryPrepaidCardsRequest& request) const;
|
||||
QueryAvailableInstancesOutcome queryAvailableInstances(const Model::QueryAvailableInstancesRequest &request)const;
|
||||
void queryAvailableInstancesAsync(const Model::QueryAvailableInstancesRequest& request, const QueryAvailableInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAvailableInstancesOutcomeCallable queryAvailableInstancesCallable(const Model::QueryAvailableInstancesRequest& request) const;
|
||||
QueryEnduserStatusOutcome queryEnduserStatus(const Model::QueryEnduserStatusRequest &request)const;
|
||||
void queryEnduserStatusAsync(const Model::QueryEnduserStatusRequest& request, const QueryEnduserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryEnduserStatusOutcomeCallable queryEnduserStatusCallable(const Model::QueryEnduserStatusRequest& request) const;
|
||||
RenewResourcePackageOutcome renewResourcePackage(const Model::RenewResourcePackageRequest &request)const;
|
||||
void renewResourcePackageAsync(const Model::RenewResourcePackageRequest& request, const RenewResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewResourcePackageOutcomeCallable renewResourcePackageCallable(const Model::RenewResourcePackageRequest& request) const;
|
||||
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
|
||||
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
|
||||
GetOrderDetailOutcome getOrderDetail(const Model::GetOrderDetailRequest &request)const;
|
||||
void getOrderDetailAsync(const Model::GetOrderDetailRequest& request, const GetOrderDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetOrderDetailOutcomeCallable getOrderDetailCallable(const Model::GetOrderDetailRequest& request) const;
|
||||
ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const;
|
||||
void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const;
|
||||
QueryCustomerAddressListOutcome queryCustomerAddressList(const Model::QueryCustomerAddressListRequest &request)const;
|
||||
void queryCustomerAddressListAsync(const Model::QueryCustomerAddressListRequest& request, const QueryCustomerAddressListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomerAddressListOutcomeCallable queryCustomerAddressListCallable(const Model::QueryCustomerAddressListRequest& request) const;
|
||||
SetUserQuotaOutcome setUserQuota(const Model::SetUserQuotaRequest &request)const;
|
||||
void setUserQuotaAsync(const Model::SetUserQuotaRequest& request, const SetUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetUserQuotaOutcomeCallable setUserQuotaCallable(const Model::SetUserQuotaRequest& request) const;
|
||||
UnsubscribeExportToOSSOutcome unsubscribeExportToOSS(const Model::UnsubscribeExportToOSSRequest &request)const;
|
||||
void unsubscribeExportToOSSAsync(const Model::UnsubscribeExportToOSSRequest& request, const UnsubscribeExportToOSSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnsubscribeExportToOSSOutcomeCallable unsubscribeExportToOSSCallable(const Model::UnsubscribeExportToOSSRequest& request) const;
|
||||
ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const;
|
||||
void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const;
|
||||
CancelOrderOutcome cancelOrder(const Model::CancelOrderRequest &request)const;
|
||||
void cancelOrderAsync(const Model::CancelOrderRequest& request, const CancelOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelOrderOutcomeCallable cancelOrderCallable(const Model::CancelOrderRequest& request) const;
|
||||
CreateResellerUserQuotaOutcome createResellerUserQuota(const Model::CreateResellerUserQuotaRequest &request)const;
|
||||
void createResellerUserQuotaAsync(const Model::CreateResellerUserQuotaRequest& request, const CreateResellerUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateResellerUserQuotaOutcomeCallable createResellerUserQuotaCallable(const Model::CreateResellerUserQuotaRequest& request) const;
|
||||
QueryPriceListOutcome queryPriceList(const Model::QueryPriceListRequest &request)const;
|
||||
void queryPriceListAsync(const Model::QueryPriceListRequest& request, const QueryPriceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPriceListOutcomeCallable queryPriceListCallable(const Model::QueryPriceListRequest& request) const;
|
||||
QueryResourcePackageInstancesOutcome queryResourcePackageInstances(const Model::QueryResourcePackageInstancesRequest &request)const;
|
||||
void queryResourcePackageInstancesAsync(const Model::QueryResourcePackageInstancesRequest& request, const QueryResourcePackageInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryResourcePackageInstancesOutcomeCallable queryResourcePackageInstancesCallable(const Model::QueryResourcePackageInstancesRequest& request) const;
|
||||
QueryRedeemOutcome queryRedeem(const Model::QueryRedeemRequest &request)const;
|
||||
void queryRedeemAsync(const Model::QueryRedeemRequest& request, const QueryRedeemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRedeemOutcomeCallable queryRedeemCallable(const Model::QueryRedeemRequest& request) const;
|
||||
@@ -432,54 +330,63 @@ namespace AlibabaCloud
|
||||
GetResourcePackagePriceOutcome getResourcePackagePrice(const Model::GetResourcePackagePriceRequest &request)const;
|
||||
void getResourcePackagePriceAsync(const Model::GetResourcePackagePriceRequest& request, const GetResourcePackagePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetResourcePackagePriceOutcomeCallable getResourcePackagePriceCallable(const Model::GetResourcePackagePriceRequest& request) const;
|
||||
ChangeConsumeAmountOutcome changeConsumeAmount(const Model::ChangeConsumeAmountRequest &request)const;
|
||||
void changeConsumeAmountAsync(const Model::ChangeConsumeAmountRequest& request, const ChangeConsumeAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeConsumeAmountOutcomeCallable changeConsumeAmountCallable(const Model::ChangeConsumeAmountRequest& request) const;
|
||||
ApplyInvoiceOutcome applyInvoice(const Model::ApplyInvoiceRequest &request)const;
|
||||
void applyInvoiceAsync(const Model::ApplyInvoiceRequest& request, const ApplyInvoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ApplyInvoiceOutcomeCallable applyInvoiceCallable(const Model::ApplyInvoiceRequest& request) const;
|
||||
QueryProductListOutcome queryProductList(const Model::QueryProductListRequest &request)const;
|
||||
void queryProductListAsync(const Model::QueryProductListRequest& request, const QueryProductListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryProductListOutcomeCallable queryProductListCallable(const Model::QueryProductListRequest& request) const;
|
||||
GetCustomerListOutcome getCustomerList(const Model::GetCustomerListRequest &request)const;
|
||||
void getCustomerListAsync(const Model::GetCustomerListRequest& request, const GetCustomerListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCustomerListOutcomeCallable getCustomerListCallable(const Model::GetCustomerListRequest& request) const;
|
||||
ApplyInvoiceOutcome applyInvoice(const Model::ApplyInvoiceRequest &request)const;
|
||||
void applyInvoiceAsync(const Model::ApplyInvoiceRequest& request, const ApplyInvoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ApplyInvoiceOutcomeCallable applyInvoiceCallable(const Model::ApplyInvoiceRequest& request) const;
|
||||
UnsubscribeBillToOSSOutcome unsubscribeBillToOSS(const Model::UnsubscribeBillToOSSRequest &request)const;
|
||||
void unsubscribeBillToOSSAsync(const Model::UnsubscribeBillToOSSRequest& request, const UnsubscribeBillToOSSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnsubscribeBillToOSSOutcomeCallable unsubscribeBillToOSSCallable(const Model::UnsubscribeBillToOSSRequest& request) const;
|
||||
SetUserAlarmThresholdOutcome setUserAlarmThreshold(const Model::SetUserAlarmThresholdRequest &request)const;
|
||||
void setUserAlarmThresholdAsync(const Model::SetUserAlarmThresholdRequest& request, const SetUserAlarmThresholdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetUserAlarmThresholdOutcomeCallable setUserAlarmThresholdCallable(const Model::SetUserAlarmThresholdRequest& request) const;
|
||||
GetCustomerListOutcome getCustomerList(const Model::GetCustomerListRequest &request)const;
|
||||
void getCustomerListAsync(const Model::GetCustomerListRequest& request, const GetCustomerListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCustomerListOutcomeCallable getCustomerListCallable(const Model::GetCustomerListRequest& request) const;
|
||||
GetSubscriptionPriceOutcome getSubscriptionPrice(const Model::GetSubscriptionPriceRequest &request)const;
|
||||
void getSubscriptionPriceAsync(const Model::GetSubscriptionPriceRequest& request, const GetSubscriptionPriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSubscriptionPriceOutcomeCallable getSubscriptionPriceCallable(const Model::GetSubscriptionPriceRequest& request) const;
|
||||
QueryResellerAvailableQuotaOutcome queryResellerAvailableQuota(const Model::QueryResellerAvailableQuotaRequest &request)const;
|
||||
void queryResellerAvailableQuotaAsync(const Model::QueryResellerAvailableQuotaRequest& request, const QueryResellerAvailableQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryResellerAvailableQuotaOutcomeCallable queryResellerAvailableQuotaCallable(const Model::QueryResellerAvailableQuotaRequest& request) const;
|
||||
SetResellerUserQuotaOutcome setResellerUserQuota(const Model::SetResellerUserQuotaRequest &request)const;
|
||||
void setResellerUserQuotaAsync(const Model::SetResellerUserQuotaRequest& request, const SetResellerUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetResellerUserQuotaOutcomeCallable setResellerUserQuotaCallable(const Model::SetResellerUserQuotaRequest& request) const;
|
||||
SetResellerUserStatusOutcome setResellerUserStatus(const Model::SetResellerUserStatusRequest &request)const;
|
||||
void setResellerUserStatusAsync(const Model::SetResellerUserStatusRequest& request, const SetResellerUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetResellerUserStatusOutcomeCallable setResellerUserStatusCallable(const Model::SetResellerUserStatusRequest& request) const;
|
||||
QueryAccountBookListOutcome queryAccountBookList(const Model::QueryAccountBookListRequest &request)const;
|
||||
void queryAccountBookListAsync(const Model::QueryAccountBookListRequest& request, const QueryAccountBookListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccountBookListOutcomeCallable queryAccountBookListCallable(const Model::QueryAccountBookListRequest& request) const;
|
||||
QueryCashCouponsOutcome queryCashCoupons(const Model::QueryCashCouponsRequest &request)const;
|
||||
void queryCashCouponsAsync(const Model::QueryCashCouponsRequest& request, const QueryCashCouponsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCashCouponsOutcomeCallable queryCashCouponsCallable(const Model::QueryCashCouponsRequest& request) const;
|
||||
EnableBillGenerationOutcome enableBillGeneration(const Model::EnableBillGenerationRequest &request)const;
|
||||
void enableBillGenerationAsync(const Model::EnableBillGenerationRequest& request, const EnableBillGenerationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableBillGenerationOutcomeCallable enableBillGenerationCallable(const Model::EnableBillGenerationRequest& request) const;
|
||||
QueryOrdersOutcome queryOrders(const Model::QueryOrdersRequest &request)const;
|
||||
void queryOrdersAsync(const Model::QueryOrdersRequest& request, const QueryOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryOrdersOutcomeCallable queryOrdersCallable(const Model::QueryOrdersRequest& request) const;
|
||||
QueryEvaluateListOutcome queryEvaluateList(const Model::QueryEvaluateListRequest &request)const;
|
||||
void queryEvaluateListAsync(const Model::QueryEvaluateListRequest& request, const QueryEvaluateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryEvaluateListOutcomeCallable queryEvaluateListCallable(const Model::QueryEvaluateListRequest& request) const;
|
||||
QueryCashCouponsOutcome queryCashCoupons(const Model::QueryCashCouponsRequest &request)const;
|
||||
void queryCashCouponsAsync(const Model::QueryCashCouponsRequest& request, const QueryCashCouponsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCashCouponsOutcomeCallable queryCashCouponsCallable(const Model::QueryCashCouponsRequest& request) const;
|
||||
QueryInvoicingCustomerListOutcome queryInvoicingCustomerList(const Model::QueryInvoicingCustomerListRequest &request)const;
|
||||
void queryInvoicingCustomerListAsync(const Model::QueryInvoicingCustomerListRequest& request, const QueryInvoicingCustomerListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryInvoicingCustomerListOutcomeCallable queryInvoicingCustomerListCallable(const Model::QueryInvoicingCustomerListRequest& request) const;
|
||||
DescribePricingModuleOutcome describePricingModule(const Model::DescribePricingModuleRequest &request)const;
|
||||
void describePricingModuleAsync(const Model::DescribePricingModuleRequest& request, const DescribePricingModuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePricingModuleOutcomeCallable describePricingModuleCallable(const Model::DescribePricingModuleRequest& request) const;
|
||||
QueryEvaluateListOutcome queryEvaluateList(const Model::QueryEvaluateListRequest &request)const;
|
||||
void queryEvaluateListAsync(const Model::QueryEvaluateListRequest& request, const QueryEvaluateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryEvaluateListOutcomeCallable queryEvaluateListCallable(const Model::QueryEvaluateListRequest& request) const;
|
||||
QueryAccountBalanceOutcome queryAccountBalance(const Model::QueryAccountBalanceRequest &request)const;
|
||||
void queryAccountBalanceAsync(const Model::QueryAccountBalanceRequest& request, const QueryAccountBalanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccountBalanceOutcomeCallable queryAccountBalanceCallable(const Model::QueryAccountBalanceRequest& request) const;
|
||||
DescribeResourcePackageProductOutcome describeResourcePackageProduct(const Model::DescribeResourcePackageProductRequest &request)const;
|
||||
void describeResourcePackageProductAsync(const Model::DescribeResourcePackageProductRequest& request, const DescribeResourcePackageProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourcePackageProductOutcomeCallable describeResourcePackageProductCallable(const Model::DescribeResourcePackageProductRequest& request) const;
|
||||
ChangeResellerConsumeAmountOutcome changeResellerConsumeAmount(const Model::ChangeResellerConsumeAmountRequest &request)const;
|
||||
void changeResellerConsumeAmountAsync(const Model::ChangeResellerConsumeAmountRequest& request, const ChangeResellerConsumeAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeResellerConsumeAmountOutcomeCallable changeResellerConsumeAmountCallable(const Model::ChangeResellerConsumeAmountRequest& request) const;
|
||||
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
|
||||
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
|
||||
UpgradeResourcePackageOutcome upgradeResourcePackage(const Model::UpgradeResourcePackageRequest &request)const;
|
||||
void upgradeResourcePackageAsync(const Model::UpgradeResourcePackageRequest& request, const UpgradeResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeResourcePackageOutcomeCallable upgradeResourcePackageCallable(const Model::UpgradeResourcePackageRequest& request) const;
|
||||
CreateResourcePackageOutcome createResourcePackage(const Model::CreateResourcePackageRequest &request)const;
|
||||
void createResourcePackageAsync(const Model::CreateResourcePackageRequest& request, const CreateResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateResourcePackageOutcomeCallable createResourcePackageCallable(const Model::CreateResourcePackageRequest& request) const;
|
||||
@@ -489,27 +396,24 @@ namespace AlibabaCloud
|
||||
QueryInstanceBillOutcome queryInstanceBill(const Model::QueryInstanceBillRequest &request)const;
|
||||
void queryInstanceBillAsync(const Model::QueryInstanceBillRequest& request, const QueryInstanceBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryInstanceBillOutcomeCallable queryInstanceBillCallable(const Model::QueryInstanceBillRequest& request) const;
|
||||
SubscribeExportToOSSOutcome subscribeExportToOSS(const Model::SubscribeExportToOSSRequest &request)const;
|
||||
void subscribeExportToOSSAsync(const Model::SubscribeExportToOSSRequest& request, const SubscribeExportToOSSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubscribeExportToOSSOutcomeCallable subscribeExportToOSSCallable(const Model::SubscribeExportToOSSRequest& request) const;
|
||||
QueryAvaliableQuotaOutcome queryAvaliableQuota(const Model::QueryAvaliableQuotaRequest &request)const;
|
||||
void queryAvaliableQuotaAsync(const Model::QueryAvaliableQuotaRequest& request, const QueryAvaliableQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAvaliableQuotaOutcomeCallable queryAvaliableQuotaCallable(const Model::QueryAvaliableQuotaRequest& request) const;
|
||||
QueryPriceOutcome queryPrice(const Model::QueryPriceRequest &request)const;
|
||||
void queryPriceAsync(const Model::QueryPriceRequest& request, const QueryPriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPriceOutcomeCallable queryPriceCallable(const Model::QueryPriceRequest& request) const;
|
||||
SetResellerUserAlarmThresholdOutcome setResellerUserAlarmThreshold(const Model::SetResellerUserAlarmThresholdRequest &request)const;
|
||||
void setResellerUserAlarmThresholdAsync(const Model::SetResellerUserAlarmThresholdRequest& request, const SetResellerUserAlarmThresholdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetResellerUserAlarmThresholdOutcomeCallable setResellerUserAlarmThresholdCallable(const Model::SetResellerUserAlarmThresholdRequest& request) const;
|
||||
QueryBillOutcome queryBill(const Model::QueryBillRequest &request)const;
|
||||
void queryBillAsync(const Model::QueryBillRequest& request, const QueryBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryBillOutcomeCallable queryBillCallable(const Model::QueryBillRequest& request) const;
|
||||
SetRenewalOutcome setRenewal(const Model::SetRenewalRequest &request)const;
|
||||
void setRenewalAsync(const Model::SetRenewalRequest& request, const SetRenewalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetRenewalOutcomeCallable setRenewalCallable(const Model::SetRenewalRequest& request) const;
|
||||
QueryBillOverviewOutcome queryBillOverview(const Model::QueryBillOverviewRequest &request)const;
|
||||
void queryBillOverviewAsync(const Model::QueryBillOverviewRequest& request, const QueryBillOverviewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryBillOverviewOutcomeCallable queryBillOverviewCallable(const Model::QueryBillOverviewRequest& request) const;
|
||||
CreateAgAccountOutcome createAgAccount(const Model::CreateAgAccountRequest &request)const;
|
||||
void createAgAccountAsync(const Model::CreateAgAccountRequest& request, const CreateAgAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAgAccountOutcomeCallable createAgAccountCallable(const Model::CreateAgAccountRequest& request) const;
|
||||
ConvertChargeTypeOutcome convertChargeType(const Model::ConvertChargeTypeRequest &request)const;
|
||||
void convertChargeTypeAsync(const Model::ConvertChargeTypeRequest& request, const ConvertChargeTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConvertChargeTypeOutcomeCallable convertChargeTypeCallable(const Model::ConvertChargeTypeRequest& request) const;
|
||||
QueryBillOverviewOutcome queryBillOverview(const Model::QueryBillOverviewRequest &request)const;
|
||||
void queryBillOverviewAsync(const Model::QueryBillOverviewRequest& request, const QueryBillOverviewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryBillOverviewOutcomeCallable queryBillOverviewCallable(const Model::QueryBillOverviewRequest& request) const;
|
||||
QuerySettlementBillOutcome querySettlementBill(const Model::QuerySettlementBillRequest &request)const;
|
||||
void querySettlementBillAsync(const Model::QuerySettlementBillRequest& request, const QuerySettlementBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySettlementBillOutcomeCallable querySettlementBillCallable(const Model::QuerySettlementBillRequest& request) const;
|
||||
|
||||
@@ -37,14 +37,6 @@ namespace AlibabaCloud
|
||||
|
||||
int getInvoicingType()const;
|
||||
void setInvoicingType(int invoicingType);
|
||||
std::string getApplyUserNick()const;
|
||||
void setApplyUserNick(const std::string& applyUserNick);
|
||||
bool getInvoiceByAmount()const;
|
||||
void setInvoiceByAmount(bool invoiceByAmount);
|
||||
long getCustomerId()const;
|
||||
void setCustomerId(long customerId);
|
||||
std::vector<long> getSelectedIds()const;
|
||||
void setSelectedIds(const std::vector<long>& selectedIds);
|
||||
int getProcessWay()const;
|
||||
void setProcessWay(int processWay);
|
||||
long getCallerBid()const;
|
||||
@@ -55,20 +47,28 @@ namespace AlibabaCloud
|
||||
void setInvoiceAmount(long invoiceAmount);
|
||||
long getAddressId()const;
|
||||
void setAddressId(long addressId);
|
||||
std::string getApplyUserNick()const;
|
||||
void setApplyUserNick(const std::string& applyUserNick);
|
||||
bool getInvoiceByAmount()const;
|
||||
void setInvoiceByAmount(bool invoiceByAmount);
|
||||
long getCustomerId()const;
|
||||
void setCustomerId(long customerId);
|
||||
std::vector<long> getSelectedIds()const;
|
||||
void setSelectedIds(const std::vector<long>& selectedIds);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
int invoicingType_;
|
||||
std::string applyUserNick_;
|
||||
bool invoiceByAmount_;
|
||||
long customerId_;
|
||||
std::vector<long> selectedIds_;
|
||||
int processWay_;
|
||||
long callerBid_;
|
||||
long ownerId_;
|
||||
long invoiceAmount_;
|
||||
long addressId_;
|
||||
std::string applyUserNick_;
|
||||
bool invoiceByAmount_;
|
||||
long customerId_;
|
||||
std::vector<long> selectedIds_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGECONSUMEAMOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGECONSUMEAMOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT ChangeConsumeAmountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ChangeConsumeAmountRequest();
|
||||
~ChangeConsumeAmountRequest();
|
||||
|
||||
long getUid()const;
|
||||
void setUid(long uid);
|
||||
std::string getAdjustType()const;
|
||||
void setAdjustType(const std::string& adjustType);
|
||||
std::string getAmount()const;
|
||||
void setAmount(const std::string& amount);
|
||||
std::string getOutBizId()const;
|
||||
void setOutBizId(const std::string& outBizId);
|
||||
std::string getExtendMap()const;
|
||||
void setExtendMap(const std::string& extendMap);
|
||||
std::string getCurrency()const;
|
||||
void setCurrency(const std::string& currency);
|
||||
std::string getSource()const;
|
||||
void setSource(const std::string& source);
|
||||
std::string getBid()const;
|
||||
void setBid(const std::string& bid);
|
||||
std::string getBusinessType()const;
|
||||
void setBusinessType(const std::string& businessType);
|
||||
|
||||
private:
|
||||
long uid_;
|
||||
std::string adjustType_;
|
||||
std::string amount_;
|
||||
std::string outBizId_;
|
||||
std::string extendMap_;
|
||||
std::string currency_;
|
||||
std::string source_;
|
||||
std::string bid_;
|
||||
std::string businessType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGECONSUMEAMOUNTREQUEST_H_
|
||||
@@ -35,32 +35,32 @@ namespace AlibabaCloud
|
||||
ChangeResellerConsumeAmountRequest();
|
||||
~ChangeResellerConsumeAmountRequest();
|
||||
|
||||
std::string getAdjustType()const;
|
||||
void setAdjustType(const std::string& adjustType);
|
||||
std::string getAmount()const;
|
||||
void setAmount(const std::string& amount);
|
||||
std::string getOutBizId()const;
|
||||
void setOutBizId(const std::string& outBizId);
|
||||
std::string getExtendMap()const;
|
||||
void setExtendMap(const std::string& extendMap);
|
||||
std::string getCurrency()const;
|
||||
void setCurrency(const std::string& currency);
|
||||
std::string getSource()const;
|
||||
void setSource(const std::string& source);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getBusinessType()const;
|
||||
void setBusinessType(const std::string& businessType);
|
||||
std::string getAdjustType()const;
|
||||
void setAdjustType(const std::string& adjustType);
|
||||
std::string getExtendMap()const;
|
||||
void setExtendMap(const std::string& extendMap);
|
||||
std::string getCurrency()const;
|
||||
void setCurrency(const std::string& currency);
|
||||
|
||||
private:
|
||||
std::string adjustType_;
|
||||
std::string amount_;
|
||||
std::string outBizId_;
|
||||
std::string extendMap_;
|
||||
std::string currency_;
|
||||
std::string source_;
|
||||
long ownerId_;
|
||||
std::string businessType_;
|
||||
std::string adjustType_;
|
||||
std::string extendMap_;
|
||||
std::string currency_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,22 +39,22 @@ namespace AlibabaCloud
|
||||
void setPeriod(int period);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
int period_;
|
||||
std::string productCode_;
|
||||
std::string instanceId_;
|
||||
std::string subscriptionType_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,14 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getFirstName()const;
|
||||
void setFirstName(const std::string& firstName);
|
||||
std::string getLoginEmail()const;
|
||||
void setLoginEmail(const std::string& loginEmail);
|
||||
std::string getProvinceName()const;
|
||||
void setProvinceName(const std::string& provinceName);
|
||||
std::string getCityName()const;
|
||||
void setCityName(const std::string& cityName);
|
||||
std::string getAccountAttr()const;
|
||||
void setAccountAttr(const std::string& accountAttr);
|
||||
std::string getPostcode()const;
|
||||
void setPostcode(const std::string& postcode);
|
||||
std::string getEnterpriseName()const;
|
||||
@@ -53,17 +47,23 @@ namespace AlibabaCloud
|
||||
void setNationCode(const std::string& nationCode);
|
||||
std::string getLastName()const;
|
||||
void setLastName(const std::string& lastName);
|
||||
std::string getLoginEmail()const;
|
||||
void setLoginEmail(const std::string& loginEmail);
|
||||
std::string getProvinceName()const;
|
||||
void setProvinceName(const std::string& provinceName);
|
||||
std::string getAccountAttr()const;
|
||||
void setAccountAttr(const std::string& accountAttr);
|
||||
|
||||
private:
|
||||
std::string firstName_;
|
||||
std::string loginEmail_;
|
||||
std::string provinceName_;
|
||||
std::string cityName_;
|
||||
std::string accountAttr_;
|
||||
std::string postcode_;
|
||||
std::string enterpriseName_;
|
||||
std::string nationCode_;
|
||||
std::string lastName_;
|
||||
std::string loginEmail_;
|
||||
std::string provinceName_;
|
||||
std::string accountAttr_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,27 +48,27 @@ namespace AlibabaCloud
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
int getRenewPeriod()const;
|
||||
void setRenewPeriod(int renewPeriod);
|
||||
std::vector<Parameter> getParameter()const;
|
||||
void setParameter(const std::vector<Parameter>& parameter);
|
||||
std::string getRenewalStatus()const;
|
||||
void setRenewalStatus(const std::string& renewalStatus);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
int period_;
|
||||
std::string clientToken_;
|
||||
std::string subscriptionType_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
int renewPeriod_;
|
||||
std::vector<Parameter> parameter_;
|
||||
std::string renewalStatus_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,16 +39,16 @@ namespace AlibabaCloud
|
||||
void setAmount(const std::string& amount);
|
||||
std::string getOutBizId()const;
|
||||
void setOutBizId(const std::string& outBizId);
|
||||
std::string getCurrency()const;
|
||||
void setCurrency(const std::string& currency);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCurrency()const;
|
||||
void setCurrency(const std::string& currency);
|
||||
|
||||
private:
|
||||
std::string amount_;
|
||||
std::string outBizId_;
|
||||
std::string currency_;
|
||||
long ownerId_;
|
||||
std::string currency_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,28 +35,28 @@ namespace AlibabaCloud
|
||||
CreateResourcePackageRequest();
|
||||
~CreateResourcePackageRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSpecification()const;
|
||||
void setSpecification(const std::string& specification);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPackageType()const;
|
||||
void setPackageType(const std::string& packageType);
|
||||
std::string getEffectiveDate()const;
|
||||
void setEffectiveDate(const std::string& effectiveDate);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getPackageType()const;
|
||||
void setPackageType(const std::string& packageType);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string productCode_;
|
||||
std::string specification_;
|
||||
long ownerId_;
|
||||
std::string packageType_;
|
||||
std::string effectiveDate_;
|
||||
int duration_;
|
||||
std::string packageType_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
|
||||
@@ -49,18 +49,18 @@ namespace AlibabaCloud
|
||||
void setModuleList(const std::vector<ModuleList>& moduleList);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
std::vector<ModuleList> moduleList_;
|
||||
long ownerId_;
|
||||
std::string region_;
|
||||
std::string productType_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,29 +35,35 @@ namespace AlibabaCloud
|
||||
GetResourcePackagePriceRequest();
|
||||
~GetResourcePackagePriceRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSpecification()const;
|
||||
void setSpecification(const std::string& specification);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPackageType()const;
|
||||
void setPackageType(const std::string& packageType);
|
||||
std::string getEffectiveDate()const;
|
||||
void setEffectiveDate(const std::string& effectiveDate);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getPackageType()const;
|
||||
void setPackageType(const std::string& packageType);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string productCode_;
|
||||
std::string specification_;
|
||||
long ownerId_;
|
||||
std::string packageType_;
|
||||
std::string effectiveDate_;
|
||||
int duration_;
|
||||
std::string instanceId_;
|
||||
std::string packageType_;
|
||||
std::string pricingCycle_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -42,41 +42,41 @@ namespace AlibabaCloud
|
||||
GetSubscriptionPriceRequest();
|
||||
~GetSubscriptionPriceRequest();
|
||||
|
||||
int getServicePeriodQuantity()const;
|
||||
void setServicePeriodQuantity(int servicePeriodQuantity);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getQuantity()const;
|
||||
void setQuantity(int quantity);
|
||||
std::string getServicePeriodUnit()const;
|
||||
void setServicePeriodUnit(const std::string& servicePeriodUnit);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
std::vector<ModuleList> getModuleList()const;
|
||||
void setModuleList(const std::vector<ModuleList>& moduleList);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
int getServicePeriodQuantity()const;
|
||||
void setServicePeriodQuantity(int servicePeriodQuantity);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getServicePeriodUnit()const;
|
||||
void setServicePeriodUnit(const std::string& servicePeriodUnit);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
|
||||
private:
|
||||
int servicePeriodQuantity_;
|
||||
std::string productCode_;
|
||||
std::string instanceId_;
|
||||
int quantity_;
|
||||
std::string servicePeriodUnit_;
|
||||
std::string subscriptionType_;
|
||||
std::vector<ModuleList> moduleList_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
int servicePeriodQuantity_;
|
||||
std::string instanceId_;
|
||||
std::string servicePeriodUnit_;
|
||||
std::string region_;
|
||||
std::string orderType_;
|
||||
std::string productType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -42,30 +42,30 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
std::string getModifyType()const;
|
||||
void setModifyType(const std::string& modifyType);
|
||||
std::vector<Parameter> getParameter()const;
|
||||
void setParameter(const std::vector<Parameter>& parameter);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getModifyType()const;
|
||||
void setModifyType(const std::string& modifyType);
|
||||
std::vector<Parameter> getParameter()const;
|
||||
void setParameter(const std::vector<Parameter>& parameter);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string instanceId_;
|
||||
std::string clientToken_;
|
||||
std::string subscriptionType_;
|
||||
std::string modifyType_;
|
||||
std::vector<Parameter> parameter_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
std::string instanceId_;
|
||||
std::string modifyType_;
|
||||
std::vector<Parameter> parameter_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBOOKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBOOKLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountBookListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string itemCode;
|
||||
long userId;
|
||||
std::string amount;
|
||||
std::string currency;
|
||||
long effectTimeStamp;
|
||||
long invalidTimeStamp;
|
||||
std::string bid;
|
||||
};
|
||||
|
||||
|
||||
QueryAccountBookListResult();
|
||||
explicit QueryAccountBookListResult(const std::string &payload);
|
||||
~QueryAccountBookListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<Data> getDatas()const;
|
||||
int getCount()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<Data> datas_;
|
||||
int count_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTBOOKLISTRESULT_H_
|
||||
@@ -35,6 +35,10 @@ namespace AlibabaCloud
|
||||
QueryAccountTransactionsRequest();
|
||||
~QueryAccountTransactionsRequest();
|
||||
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getCreateTimeEnd()const;
|
||||
void setCreateTimeEnd(const std::string& createTimeEnd);
|
||||
std::string getRecordID()const;
|
||||
void setRecordID(const std::string& recordID);
|
||||
int getPageSize()const;
|
||||
@@ -45,19 +49,15 @@ namespace AlibabaCloud
|
||||
void setCreateTimeStart(const std::string& createTimeStart);
|
||||
std::string getTransactionNumber()const;
|
||||
void setTransactionNumber(const std::string& transactionNumber);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getCreateTimeEnd()const;
|
||||
void setCreateTimeEnd(const std::string& createTimeEnd);
|
||||
|
||||
private:
|
||||
int pageNum_;
|
||||
std::string createTimeEnd_;
|
||||
std::string recordID_;
|
||||
int pageSize_;
|
||||
std::string transactionChannelSN_;
|
||||
std::string createTimeStart_;
|
||||
std::string transactionNumber_;
|
||||
int pageNum_;
|
||||
std::string createTimeEnd_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,43 +39,43 @@ namespace AlibabaCloud
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getEndTimeStart()const;
|
||||
void setEndTimeStart(const std::string& endTimeStart);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getRenewStatus()const;
|
||||
void setRenewStatus(const std::string& renewStatus);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getEndTimeStart()const;
|
||||
void setEndTimeStart(const std::string& endTimeStart);
|
||||
std::string getCreateTimeEnd()const;
|
||||
void setCreateTimeEnd(const std::string& createTimeEnd);
|
||||
std::string getInstanceIDs()const;
|
||||
void setInstanceIDs(const std::string& instanceIDs);
|
||||
std::string getEndTimeEnd()const;
|
||||
void setEndTimeEnd(const std::string& endTimeEnd);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCreateTimeStart()const;
|
||||
void setCreateTimeStart(const std::string& createTimeStart);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getRenewStatus()const;
|
||||
void setRenewStatus(const std::string& renewStatus);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
long ownerId_;
|
||||
int pageNum_;
|
||||
std::string endTimeStart_;
|
||||
std::string productType_;
|
||||
int pageSize_;
|
||||
std::string renewStatus_;
|
||||
long ownerId_;
|
||||
std::string endTimeStart_;
|
||||
std::string createTimeEnd_;
|
||||
std::string instanceIDs_;
|
||||
std::string endTimeEnd_;
|
||||
int pageSize_;
|
||||
std::string createTimeStart_;
|
||||
std::string region_;
|
||||
std::string renewStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,8 +43,6 @@ namespace AlibabaCloud
|
||||
void setIsDisplayLocalCurrency(bool isDisplayLocalCurrency);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getBillingCycle()const;
|
||||
void setBillingCycle(const std::string& billingCycle);
|
||||
std::string getType()const;
|
||||
@@ -55,18 +53,20 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
bool isHideZeroCharge_;
|
||||
bool isDisplayLocalCurrency_;
|
||||
std::string subscriptionType_;
|
||||
int pageSize_;
|
||||
std::string billingCycle_;
|
||||
std::string type_;
|
||||
long ownerId_;
|
||||
int pageNum_;
|
||||
std::string productType_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYENDUSERSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYENDUSERSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryEnduserStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryEnduserStatusRequest();
|
||||
~QueryEnduserStatusRequest();
|
||||
|
||||
long getUid()const;
|
||||
void setUid(long uid);
|
||||
std::string getPrimaryAccount()const;
|
||||
void setPrimaryAccount(const std::string& primaryAccount);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
std::string getBusinessType()const;
|
||||
void setBusinessType(const std::string& businessType);
|
||||
|
||||
private:
|
||||
long uid_;
|
||||
std::string primaryAccount_;
|
||||
std::string status_;
|
||||
std::string businessType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYENDUSERSTATUSREQUEST_H_
|
||||
@@ -41,24 +41,24 @@ namespace AlibabaCloud
|
||||
void setOutBizId(const std::string& outBizId);
|
||||
int getSortType()const;
|
||||
void setSortType(int sortType);
|
||||
std::vector<std::string> getBizTypeList()const;
|
||||
void setBizTypeList(const std::vector<std::string>& bizTypeList);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getStartSearchTime()const;
|
||||
void setStartSearchTime(const std::string& startSearchTime);
|
||||
std::string getEndBizTime()const;
|
||||
void setEndBizTime(const std::string& endBizTime);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getEndAmount()const;
|
||||
void setEndAmount(long endAmount);
|
||||
std::string getBillCycle()const;
|
||||
void setBillCycle(const std::string& billCycle);
|
||||
std::vector<std::string> getBizTypeList()const;
|
||||
void setBizTypeList(const std::vector<std::string>& bizTypeList);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getStartSearchTime()const;
|
||||
void setStartSearchTime(const std::string& startSearchTime);
|
||||
std::string getEndBizTime()const;
|
||||
void setEndBizTime(const std::string& endBizTime);
|
||||
long getStartAmount()const;
|
||||
void setStartAmount(long startAmount);
|
||||
std::string getStartBizTime()const;
|
||||
@@ -68,15 +68,15 @@ namespace AlibabaCloud
|
||||
std::string endSearchTime_;
|
||||
std::string outBizId_;
|
||||
int sortType_;
|
||||
std::vector<std::string> bizTypeList_;
|
||||
int type_;
|
||||
long ownerId_;
|
||||
int pageNum_;
|
||||
std::string startSearchTime_;
|
||||
std::string endBizTime_;
|
||||
int pageSize_;
|
||||
long endAmount_;
|
||||
std::string billCycle_;
|
||||
std::vector<std::string> bizTypeList_;
|
||||
long ownerId_;
|
||||
std::string startSearchTime_;
|
||||
std::string endBizTime_;
|
||||
long startAmount_;
|
||||
std::string startBizTime_;
|
||||
|
||||
|
||||
@@ -35,16 +35,12 @@ namespace AlibabaCloud
|
||||
QueryInstanceBillRequest();
|
||||
~QueryInstanceBillRequest();
|
||||
|
||||
bool getIsBillingItem()const;
|
||||
void setIsBillingItem(bool isBillingItem);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
bool getIsHideZeroCharge()const;
|
||||
void setIsHideZeroCharge(bool isHideZeroCharge);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getBillingCycle()const;
|
||||
void setBillingCycle(const std::string& billingCycle);
|
||||
long getOwnerId()const;
|
||||
@@ -53,17 +49,21 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
bool getIsBillingItem()const;
|
||||
void setIsBillingItem(bool isBillingItem);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
bool isBillingItem_;
|
||||
std::string productCode_;
|
||||
bool isHideZeroCharge_;
|
||||
std::string subscriptionType_;
|
||||
int pageSize_;
|
||||
std::string billingCycle_;
|
||||
long ownerId_;
|
||||
int pageNum_;
|
||||
std::string productType_;
|
||||
bool isBillingItem_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace AlibabaCloud
|
||||
std::string instanceID;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
float listPrice;
|
||||
std::string listPrice;
|
||||
float paymentAmount;
|
||||
float deductedByPrepaidCard;
|
||||
float invoiceDiscount;
|
||||
@@ -53,7 +53,7 @@ namespace AlibabaCloud
|
||||
std::string costUnit;
|
||||
std::string resourceGroup;
|
||||
std::string billingType;
|
||||
float usage;
|
||||
std::string usage;
|
||||
float deductedByCoupons;
|
||||
std::string productDetail;
|
||||
std::string productCode;
|
||||
@@ -64,9 +64,9 @@ namespace AlibabaCloud
|
||||
std::string nickName;
|
||||
std::string intranetIP;
|
||||
std::string servicePeriod;
|
||||
float deductedByResourcePackage;
|
||||
std::string deductedByResourcePackage;
|
||||
std::string usageUnit;
|
||||
long ownerID;
|
||||
std::string ownerID;
|
||||
float pretaxAmount;
|
||||
std::string internetIP;
|
||||
std::string region;
|
||||
|
||||
@@ -39,22 +39,22 @@ namespace AlibabaCloud
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getBillingCycle()const;
|
||||
void setBillingCycle(const std::string& billingCycle);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
int pageSize_;
|
||||
std::string billingCycle_;
|
||||
int pageNum_;
|
||||
std::string productType_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,8 +39,6 @@ namespace AlibabaCloud
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getBillingCycle()const;
|
||||
void setBillingCycle(const std::string& billingCycle);
|
||||
long getOwnerId()const;
|
||||
@@ -49,15 +47,17 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
int pageSize_;
|
||||
std::string billingCycle_;
|
||||
long ownerId_;
|
||||
int pageNum_;
|
||||
std::string productType_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,12 +39,6 @@ namespace AlibabaCloud
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getPaymentStatus()const;
|
||||
void setPaymentStatus(const std::string& paymentStatus);
|
||||
std::string getCreateTimeStart()const;
|
||||
void setCreateTimeStart(const std::string& createTimeStart);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
long getOwnerId()const;
|
||||
@@ -53,19 +47,25 @@ namespace AlibabaCloud
|
||||
void setCreateTimeEnd(const std::string& createTimeEnd);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getPaymentStatus()const;
|
||||
void setPaymentStatus(const std::string& paymentStatus);
|
||||
std::string getCreateTimeStart()const;
|
||||
void setCreateTimeStart(const std::string& createTimeStart);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
int pageSize_;
|
||||
std::string paymentStatus_;
|
||||
std::string createTimeStart_;
|
||||
int pageNum_;
|
||||
long ownerId_;
|
||||
std::string createTimeEnd_;
|
||||
std::string productType_;
|
||||
int pageSize_;
|
||||
std::string paymentStatus_;
|
||||
std::string createTimeStart_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPRICELISTRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPRICELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryPriceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Module
|
||||
{
|
||||
struct TierPrice
|
||||
{
|
||||
std::string endSymbol;
|
||||
std::string tierType;
|
||||
std::string tierStart;
|
||||
std::string tierEnd;
|
||||
std::string price;
|
||||
std::string startSymbol;
|
||||
std::string priceType;
|
||||
};
|
||||
std::string priceUnit;
|
||||
std::string moduleCode;
|
||||
std::string config;
|
||||
std::string region;
|
||||
std::string priceUnitQuantity;
|
||||
std::vector<Module::TierPrice> tierPrices;
|
||||
};
|
||||
std::vector<Module> modules;
|
||||
std::string currency;
|
||||
};
|
||||
|
||||
|
||||
QueryPriceListResult();
|
||||
explicit QueryPriceListResult(const std::string &payload);
|
||||
~QueryPriceListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPRICELISTRESULT_H_
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
QueryProductListRequest();
|
||||
~QueryProductListRequest();
|
||||
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
bool getQueryTotalCount()const;
|
||||
void setQueryTotalCount(bool queryTotalCount);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
|
||||
private:
|
||||
int pageNum_;
|
||||
bool queryTotalCount_;
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,21 +37,21 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getExpiryTimeEnd()const;
|
||||
void setExpiryTimeEnd(const std::string& expiryTimeEnd);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getExpiryTimeStart()const;
|
||||
void setExpiryTimeStart(const std::string& expiryTimeStart);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
bool getEffectiveOrNot()const;
|
||||
void setEffectiveOrNot(bool effectiveOrNot);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string expiryTimeEnd_;
|
||||
int pageSize_;
|
||||
std::string expiryTimeStart_;
|
||||
int pageNum_;
|
||||
bool effectiveOrNot_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,22 +39,22 @@ namespace AlibabaCloud
|
||||
void setExpiryTimeEnd(const std::string& expiryTimeEnd);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getExpiryTimeStart()const;
|
||||
void setExpiryTimeStart(const std::string& expiryTimeStart);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string expiryTimeEnd_;
|
||||
std::string productCode_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
std::string expiryTimeStart_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
||||
void setIsHideZeroCharge(bool isHideZeroCharge);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getBillingCycle()const;
|
||||
@@ -57,12 +55,13 @@ namespace AlibabaCloud
|
||||
void setType(const std::string& type);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
bool isHideZeroCharge_;
|
||||
std::string subscriptionType_;
|
||||
int pageSize_;
|
||||
std::string endTime_;
|
||||
std::string billingCycle_;
|
||||
std::string startTime_;
|
||||
@@ -70,6 +69,7 @@ namespace AlibabaCloud
|
||||
int pageNum_;
|
||||
std::string type_;
|
||||
std::string productType_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSERALARMTHRESHOLDREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSERALARMTHRESHOLDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryUserAlarmThresholdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUserAlarmThresholdRequest();
|
||||
~QueryUserAlarmThresholdRequest();
|
||||
|
||||
long getUid()const;
|
||||
void setUid(long uid);
|
||||
std::string getAlarmType()const;
|
||||
void setAlarmType(const std::string& alarmType);
|
||||
std::string getAlarmThresholds()const;
|
||||
void setAlarmThresholds(const std::string& alarmThresholds);
|
||||
std::string getBid()const;
|
||||
void setBid(const std::string& bid);
|
||||
|
||||
private:
|
||||
long uid_;
|
||||
std::string alarmType_;
|
||||
std::string alarmThresholds_;
|
||||
std::string bid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSERALARMTHRESHOLDREQUEST_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSERALARMTHRESHOLDRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSERALARMTHRESHOLDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryUserAlarmThresholdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string thresholdAmount;
|
||||
int numerator;
|
||||
int denominator;
|
||||
int thresholdType;
|
||||
};
|
||||
|
||||
|
||||
QueryUserAlarmThresholdResult();
|
||||
explicit QueryUserAlarmThresholdResult(const std::string &payload);
|
||||
~QueryUserAlarmThresholdResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<Data> getDatas()const;
|
||||
int getCount()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<Data> datas_;
|
||||
int count_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSERALARMTHRESHOLDRESULT_H_
|
||||
@@ -35,28 +35,28 @@ namespace AlibabaCloud
|
||||
QueryUserOmsDataRequest();
|
||||
~QueryUserOmsDataRequest();
|
||||
|
||||
std::string getDataType()const;
|
||||
void setDataType(const std::string& dataType);
|
||||
std::string getMarker()const;
|
||||
void setMarker(const std::string& marker);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDataType()const;
|
||||
void setDataType(const std::string& dataType);
|
||||
std::string getMarker()const;
|
||||
void setMarker(const std::string& marker);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTable()const;
|
||||
void setTable(const std::string& table);
|
||||
|
||||
private:
|
||||
std::string dataType_;
|
||||
std::string marker_;
|
||||
int pageSize_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long ownerId_;
|
||||
std::string dataType_;
|
||||
std::string marker_;
|
||||
int pageSize_;
|
||||
std::string table_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,24 +37,24 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getRenewPeriod()const;
|
||||
void setRenewPeriod(int renewPeriod);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getRenewPeriod()const;
|
||||
void setRenewPeriod(int renewPeriod);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string instanceId_;
|
||||
std::string clientToken_;
|
||||
int renewPeriod_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
std::string instanceId_;
|
||||
int renewPeriod_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPRICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPRICELISTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_RENEWRESOURCEPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_RENEWRESOURCEPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,33 +28,33 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryPriceListRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT RenewResourcePackageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPriceListRequest();
|
||||
~QueryPriceListRequest();
|
||||
RenewResourcePackageRequest();
|
||||
~RenewResourcePackageRequest();
|
||||
|
||||
std::string getModuleCode()const;
|
||||
void setModuleCode(const std::string& moduleCode);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getEffectiveDate()const;
|
||||
void setEffectiveDate(const std::string& effectiveDate);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
std::string moduleCode_;
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
std::string effectiveDate_;
|
||||
int duration_;
|
||||
std::string instanceId_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPRICELISTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_RENEWRESOURCEPACKAGEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SUBSCRIBEEXPORTTOOSSRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SUBSCRIBEEXPORTTOOSSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_RENEWRESOURCEPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_RENEWRESOURCEPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,15 +29,22 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT SubscribeExportToOSSResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT RenewResourcePackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string instanceId;
|
||||
long orderId;
|
||||
};
|
||||
|
||||
|
||||
SubscribeExportToOSSResult();
|
||||
explicit SubscribeExportToOSSResult(const std::string &payload);
|
||||
~SubscribeExportToOSSResult();
|
||||
RenewResourcePackageResult();
|
||||
explicit RenewResourcePackageResult(const std::string &payload);
|
||||
~RenewResourcePackageResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
long getOrderId()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -45,6 +52,8 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
long orderId_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -52,4 +61,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SUBSCRIBEEXPORTTOOSSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_RENEWRESOURCEPACKAGERESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user