Compare commits
66 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e81be19ef | ||
|
|
bcda9aa4cd | ||
|
|
01ed244f91 | ||
|
|
979ae0c882 | ||
|
|
58b8b52591 | ||
|
|
29faefa1ab | ||
|
|
b03b322c96 | ||
|
|
0cdb7bfa7c | ||
|
|
4ff92e0924 | ||
|
|
acb3224329 | ||
|
|
36e644262a | ||
|
|
3f598709ce | ||
|
|
ff12aa8e1c | ||
|
|
35f5b170e3 | ||
|
|
af10d89e40 | ||
|
|
851f067179 | ||
|
|
d9c4d7f556 | ||
|
|
6b7018d7d5 | ||
|
|
de410cb26c | ||
|
|
63d1456017 | ||
|
|
53badb17c1 | ||
|
|
51c7466a7c | ||
|
|
e097e2342f | ||
|
|
21cd880292 | ||
|
|
6bb79f8a04 | ||
|
|
939eeccab4 | ||
|
|
c6fe210221 | ||
|
|
6c572378d9 | ||
|
|
6f86a0ac33 | ||
|
|
f2759cebfa | ||
|
|
e4a6e73946 | ||
|
|
f9cb2e2167 | ||
|
|
cc32a735e4 | ||
|
|
25bbb2bf65 | ||
|
|
143a7b3400 | ||
|
|
6f08307187 | ||
|
|
e915fe10cd | ||
|
|
949c6555a8 | ||
|
|
55ce8a3d14 | ||
|
|
bb602506ac | ||
|
|
bd54b5cd5c | ||
|
|
e3ea03b0b4 | ||
|
|
19317ac0ab | ||
|
|
4c13bbea82 | ||
|
|
015109df88 | ||
|
|
e18ac68719 | ||
|
|
a0f09a586b | ||
|
|
f3e45d1324 | ||
|
|
1f7b94e379 | ||
|
|
a54f4e6f8d | ||
|
|
4c79a8e588 | ||
|
|
26956db67d | ||
|
|
5c8834a283 | ||
|
|
da3168809b | ||
|
|
f2b24cc869 | ||
|
|
848fed61b7 | ||
|
|
477e188af9 | ||
|
|
585388b892 | ||
|
|
5cb1bae857 | ||
|
|
03cda3160b | ||
|
|
8f41f27e09 | ||
|
|
e46b4256d6 | ||
|
|
720c4910dd | ||
|
|
36855118de | ||
|
|
306cee5f8a | ||
|
|
4268e19d82 |
201
CHANGELOG
201
CHANGELOG
@@ -1,3 +1,204 @@
|
||||
2022-07-28 Version: 1.36.1212
|
||||
- AMP version.
|
||||
|
||||
2022-07-28 Version: 1.36.1211
|
||||
- Fix bug.
|
||||
|
||||
2022-07-28 Version: 1.36.1210
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-07-28 Version: 1.36.1209
|
||||
- Add GetImageInfos api.
|
||||
|
||||
2022-07-27 Version: 1.36.1208
|
||||
- Support ListProxies API to return protocolType, protocolPort and remove mysqlPort.
|
||||
- Support GetProxy API to return protocolType, protocolPort and remove mysqlPort.
|
||||
|
||||
2022-07-27 Version: 1.36.1207
|
||||
- Update.
|
||||
|
||||
2022-07-26 Version: 1.36.1206
|
||||
- Change ListCheckInstanceResult Public.
|
||||
|
||||
2022-07-26 Version: 1.36.1205
|
||||
- Support API ARMInstance.
|
||||
- Support Control ARM API.
|
||||
|
||||
2022-07-26 Version: 1.36.1204
|
||||
- Add cmsGroupId parameter to CreateApplicationGroupRequest.
|
||||
|
||||
2022-07-26 Version: 1.36.1203
|
||||
- Change ListCheckInstanceResult Public.
|
||||
|
||||
2022-07-25 Version: 1.36.1202
|
||||
- Change ListCheckInstanceResult GetCheckDetail Public.
|
||||
|
||||
2022-07-25 Version: 1.36.1201
|
||||
- Update MonitorExamination.
|
||||
|
||||
2022-07-25 Version: 1.36.1200
|
||||
- Update SegmentOAR.
|
||||
|
||||
2022-07-25 Version: 1.36.1199
|
||||
- Change ListCheckInstanceResult GetCheckDetail Public.
|
||||
|
||||
2022-07-22 Version: 1.36.1198
|
||||
- Change ListCheckInstanceResult GetCheckDetail Public.
|
||||
|
||||
2022-07-22 Version: 1.36.1197
|
||||
- Update ScreenChestCT Release SegmentOAR.
|
||||
|
||||
2022-07-22 Version: 1.36.1196
|
||||
- Update ScreenChestCT - Release SegmentOAR.
|
||||
|
||||
2022-07-21 Version: 1.36.1195
|
||||
- Support PreConfigRule.
|
||||
|
||||
2022-07-21 Version: 1.36.1194
|
||||
- Add kms apis.
|
||||
|
||||
2022-07-21 Version: 1.36.1193
|
||||
- Ram action config.
|
||||
|
||||
2022-07-21 Version: 1.36.1192
|
||||
- Add Body Detection and Image Splicing API.
|
||||
|
||||
2022-07-20 Version: 1.36.1191
|
||||
- Change getFileDetectResult.
|
||||
|
||||
2022-07-20 Version: 1.36.1190
|
||||
- Support AK Audit API.
|
||||
|
||||
2022-07-20 Version: 1.36.1189
|
||||
- Add Body Detection and Image Splicing API.
|
||||
|
||||
2022-07-20 Version: 1.36.1188
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2022-07-19 Version: 1.36.1187
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2022-07-19 Version: 1.36.1186
|
||||
- Support MatchAddressType in RouteMap API.
|
||||
|
||||
2022-07-18 Version: 1.36.1185
|
||||
- Add Mutimedia Screen API Support.
|
||||
|
||||
2022-07-18 Version: 1.36.1184
|
||||
- Change cspm ListCheckResult api.
|
||||
|
||||
2022-07-18 Version: 1.36.1183
|
||||
- Support Elastic Desktop Service.
|
||||
|
||||
2022-07-18 Version: 1.36.1182
|
||||
- Test.
|
||||
|
||||
2022-07-15 Version: 1.36.1181
|
||||
- Add cspm ListCheckResult api.
|
||||
|
||||
2022-07-15 Version: 1.36.1180
|
||||
- Add open file detect api.
|
||||
|
||||
2022-07-15 Version: 1.36.1179
|
||||
- Support Security Group Batch Manager Rules.
|
||||
|
||||
2022-07-13 Version: 1.36.1178
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-07-12 Version: 1.36.1177
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-07-11 Version: 1.36.1176
|
||||
- Support Storage And Network Features For LaunchTemplate.
|
||||
|
||||
2022-07-11 Version: 1.36.1175
|
||||
- Add new api for rule.
|
||||
|
||||
2022-07-11 Version: 1.36.1174
|
||||
- Add open file detect api.
|
||||
|
||||
2022-07-08 Version: 1.36.1173
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-07-08 Version: 1.36.1172
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-07-08 Version: 1.36.1171
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-07-08 Version: 1.36.1170
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-07-08 Version: 1.36.1169
|
||||
- Support AK Audit API.
|
||||
|
||||
2022-07-04 Version: 1.36.1168
|
||||
- Add API QueryEmbeddedStaus.
|
||||
|
||||
2022-07-04 Version: 1.36.1167
|
||||
- Update API error codes.
|
||||
- Adjust parameters verification rules for some APIs.
|
||||
|
||||
2022-07-04 Version: 1.36.1166
|
||||
- Support autoPulibshRoute for UpdateTransitRouterVpnAttachment.
|
||||
- Support Vpn-Attachment.
|
||||
- Support Sys-Flowlog.
|
||||
|
||||
2022-07-01 Version: 1.36.1165
|
||||
- Update sdk.
|
||||
|
||||
2022-06-30 Version: 1.36.1164
|
||||
- CreateMigrationJob SDK.
|
||||
|
||||
2022-06-30 Version: 1.36.1163
|
||||
- Update ListFaceDbs.
|
||||
|
||||
2022-06-28 Version: 1.36.1162
|
||||
- Update QuerySavingsPlansDeductLog add field OwnerId.
|
||||
|
||||
2022-06-28 Version: 1.36.1161
|
||||
- Update RecognizeVideoCastCrewList.
|
||||
|
||||
2022-06-24 Version: 1.36.1160
|
||||
- Update ScreenChestCT.
|
||||
|
||||
2022-06-24 Version: 1.36.1159
|
||||
- Supported new features etc.
|
||||
|
||||
2022-06-24 Version: 1.36.1158
|
||||
- Supported new features for outbound.
|
||||
|
||||
2022-06-23 Version: 1.36.1157
|
||||
- Support Vpn-Attachment.
|
||||
- Support Sys-Flowlog.
|
||||
|
||||
2022-06-22 Version: 1.36.1156
|
||||
- Fix bugs.
|
||||
|
||||
2022-06-21 Version: 1.36.1155
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-06-21 Version: 1.36.1154
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2022-06-21 Version: 1.36.1153
|
||||
- Support Latest APIs.
|
||||
|
||||
2022-06-21 Version: 1.36.1152
|
||||
- Release RecognizeTurkeyIdentityCard RecognizeMalaysiaIdentityCard RecognizeRussiaIdentityCard RecognizeIndonesiaIdentityCard RecognizeUkraineIdentityCard RecognizeVietnamIdentityCard.
|
||||
|
||||
2022-06-20 Version: 1.36.1151
|
||||
- Update ScreenChestCT CalcCACS.
|
||||
|
||||
2022-06-20 Version: 1.36.1150
|
||||
- Update MakeSuperResolutionImage.
|
||||
|
||||
2022-06-20 Version: 1.36.1149
|
||||
- Support Easy Connect New API.
|
||||
|
||||
2022-06-20 Version: 1.36.1148
|
||||
- Add EventId when listQuery EventInfo.
|
||||
|
||||
2022-06-13 Version: 1.36.1147
|
||||
- Update ScreenChestCT.
|
||||
|
||||
|
||||
0
CHANGELOG.md
Normal file
0
CHANGELOG.md
Normal file
@@ -33,6 +33,18 @@ set(actiontrail_public_header_model
|
||||
include/alibabacloud/actiontrail/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/actiontrail/model/DescribeTrailsRequest.h
|
||||
include/alibabacloud/actiontrail/model/DescribeTrailsResult.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedEventsRequest.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedEventsResult.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedInfoRequest.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedInfoResult.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedIpsRequest.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedIpsResult.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedProductsRequest.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedProductsResult.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedResourcesRequest.h
|
||||
include/alibabacloud/actiontrail/model/GetAccessKeyLastUsedResourcesResult.h
|
||||
include/alibabacloud/actiontrail/model/GetDeliveryHistoryJobRequest.h
|
||||
include/alibabacloud/actiontrail/model/GetDeliveryHistoryJobResult.h
|
||||
include/alibabacloud/actiontrail/model/GetTrailStatusRequest.h
|
||||
include/alibabacloud/actiontrail/model/GetTrailStatusResult.h
|
||||
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsRequest.h
|
||||
@@ -60,6 +72,18 @@ set(actiontrail_src
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeTrailsRequest.cc
|
||||
src/model/DescribeTrailsResult.cc
|
||||
src/model/GetAccessKeyLastUsedEventsRequest.cc
|
||||
src/model/GetAccessKeyLastUsedEventsResult.cc
|
||||
src/model/GetAccessKeyLastUsedInfoRequest.cc
|
||||
src/model/GetAccessKeyLastUsedInfoResult.cc
|
||||
src/model/GetAccessKeyLastUsedIpsRequest.cc
|
||||
src/model/GetAccessKeyLastUsedIpsResult.cc
|
||||
src/model/GetAccessKeyLastUsedProductsRequest.cc
|
||||
src/model/GetAccessKeyLastUsedProductsResult.cc
|
||||
src/model/GetAccessKeyLastUsedResourcesRequest.cc
|
||||
src/model/GetAccessKeyLastUsedResourcesResult.cc
|
||||
src/model/GetDeliveryHistoryJobRequest.cc
|
||||
src/model/GetDeliveryHistoryJobResult.cc
|
||||
src/model/GetTrailStatusRequest.cc
|
||||
src/model/GetTrailStatusResult.cc
|
||||
src/model/ListDeliveryHistoryJobsRequest.cc
|
||||
|
||||
@@ -34,6 +34,18 @@
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeTrailsRequest.h"
|
||||
#include "model/DescribeTrailsResult.h"
|
||||
#include "model/GetAccessKeyLastUsedEventsRequest.h"
|
||||
#include "model/GetAccessKeyLastUsedEventsResult.h"
|
||||
#include "model/GetAccessKeyLastUsedInfoRequest.h"
|
||||
#include "model/GetAccessKeyLastUsedInfoResult.h"
|
||||
#include "model/GetAccessKeyLastUsedIpsRequest.h"
|
||||
#include "model/GetAccessKeyLastUsedIpsResult.h"
|
||||
#include "model/GetAccessKeyLastUsedProductsRequest.h"
|
||||
#include "model/GetAccessKeyLastUsedProductsResult.h"
|
||||
#include "model/GetAccessKeyLastUsedResourcesRequest.h"
|
||||
#include "model/GetAccessKeyLastUsedResourcesResult.h"
|
||||
#include "model/GetDeliveryHistoryJobRequest.h"
|
||||
#include "model/GetDeliveryHistoryJobResult.h"
|
||||
#include "model/GetTrailStatusRequest.h"
|
||||
#include "model/GetTrailStatusResult.h"
|
||||
#include "model/ListDeliveryHistoryJobsRequest.h"
|
||||
@@ -73,6 +85,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeTrailsResult> DescribeTrailsOutcome;
|
||||
typedef std::future<DescribeTrailsOutcome> DescribeTrailsOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::DescribeTrailsRequest&, const DescribeTrailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTrailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAccessKeyLastUsedEventsResult> GetAccessKeyLastUsedEventsOutcome;
|
||||
typedef std::future<GetAccessKeyLastUsedEventsOutcome> GetAccessKeyLastUsedEventsOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::GetAccessKeyLastUsedEventsRequest&, const GetAccessKeyLastUsedEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccessKeyLastUsedEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAccessKeyLastUsedInfoResult> GetAccessKeyLastUsedInfoOutcome;
|
||||
typedef std::future<GetAccessKeyLastUsedInfoOutcome> GetAccessKeyLastUsedInfoOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::GetAccessKeyLastUsedInfoRequest&, const GetAccessKeyLastUsedInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccessKeyLastUsedInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAccessKeyLastUsedIpsResult> GetAccessKeyLastUsedIpsOutcome;
|
||||
typedef std::future<GetAccessKeyLastUsedIpsOutcome> GetAccessKeyLastUsedIpsOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::GetAccessKeyLastUsedIpsRequest&, const GetAccessKeyLastUsedIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccessKeyLastUsedIpsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAccessKeyLastUsedProductsResult> GetAccessKeyLastUsedProductsOutcome;
|
||||
typedef std::future<GetAccessKeyLastUsedProductsOutcome> GetAccessKeyLastUsedProductsOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::GetAccessKeyLastUsedProductsRequest&, const GetAccessKeyLastUsedProductsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccessKeyLastUsedProductsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAccessKeyLastUsedResourcesResult> GetAccessKeyLastUsedResourcesOutcome;
|
||||
typedef std::future<GetAccessKeyLastUsedResourcesOutcome> GetAccessKeyLastUsedResourcesOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::GetAccessKeyLastUsedResourcesRequest&, const GetAccessKeyLastUsedResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccessKeyLastUsedResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDeliveryHistoryJobResult> GetDeliveryHistoryJobOutcome;
|
||||
typedef std::future<GetDeliveryHistoryJobOutcome> GetDeliveryHistoryJobOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::GetDeliveryHistoryJobRequest&, const GetDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeliveryHistoryJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTrailStatusResult> GetTrailStatusOutcome;
|
||||
typedef std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
|
||||
typedef std::function<void(const ActiontrailClient*, const Model::GetTrailStatusRequest&, const GetTrailStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTrailStatusAsyncHandler;
|
||||
@@ -114,6 +144,24 @@ namespace AlibabaCloud
|
||||
DescribeTrailsOutcome describeTrails(const Model::DescribeTrailsRequest &request)const;
|
||||
void describeTrailsAsync(const Model::DescribeTrailsRequest& request, const DescribeTrailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTrailsOutcomeCallable describeTrailsCallable(const Model::DescribeTrailsRequest& request) const;
|
||||
GetAccessKeyLastUsedEventsOutcome getAccessKeyLastUsedEvents(const Model::GetAccessKeyLastUsedEventsRequest &request)const;
|
||||
void getAccessKeyLastUsedEventsAsync(const Model::GetAccessKeyLastUsedEventsRequest& request, const GetAccessKeyLastUsedEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccessKeyLastUsedEventsOutcomeCallable getAccessKeyLastUsedEventsCallable(const Model::GetAccessKeyLastUsedEventsRequest& request) const;
|
||||
GetAccessKeyLastUsedInfoOutcome getAccessKeyLastUsedInfo(const Model::GetAccessKeyLastUsedInfoRequest &request)const;
|
||||
void getAccessKeyLastUsedInfoAsync(const Model::GetAccessKeyLastUsedInfoRequest& request, const GetAccessKeyLastUsedInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccessKeyLastUsedInfoOutcomeCallable getAccessKeyLastUsedInfoCallable(const Model::GetAccessKeyLastUsedInfoRequest& request) const;
|
||||
GetAccessKeyLastUsedIpsOutcome getAccessKeyLastUsedIps(const Model::GetAccessKeyLastUsedIpsRequest &request)const;
|
||||
void getAccessKeyLastUsedIpsAsync(const Model::GetAccessKeyLastUsedIpsRequest& request, const GetAccessKeyLastUsedIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccessKeyLastUsedIpsOutcomeCallable getAccessKeyLastUsedIpsCallable(const Model::GetAccessKeyLastUsedIpsRequest& request) const;
|
||||
GetAccessKeyLastUsedProductsOutcome getAccessKeyLastUsedProducts(const Model::GetAccessKeyLastUsedProductsRequest &request)const;
|
||||
void getAccessKeyLastUsedProductsAsync(const Model::GetAccessKeyLastUsedProductsRequest& request, const GetAccessKeyLastUsedProductsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccessKeyLastUsedProductsOutcomeCallable getAccessKeyLastUsedProductsCallable(const Model::GetAccessKeyLastUsedProductsRequest& request) const;
|
||||
GetAccessKeyLastUsedResourcesOutcome getAccessKeyLastUsedResources(const Model::GetAccessKeyLastUsedResourcesRequest &request)const;
|
||||
void getAccessKeyLastUsedResourcesAsync(const Model::GetAccessKeyLastUsedResourcesRequest& request, const GetAccessKeyLastUsedResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccessKeyLastUsedResourcesOutcomeCallable getAccessKeyLastUsedResourcesCallable(const Model::GetAccessKeyLastUsedResourcesRequest& request) const;
|
||||
GetDeliveryHistoryJobOutcome getDeliveryHistoryJob(const Model::GetDeliveryHistoryJobRequest &request)const;
|
||||
void getDeliveryHistoryJobAsync(const Model::GetDeliveryHistoryJobRequest& request, const GetDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeliveryHistoryJobOutcomeCallable getDeliveryHistoryJobCallable(const Model::GetDeliveryHistoryJobRequest& request) const;
|
||||
GetTrailStatusOutcome getTrailStatus(const Model::GetTrailStatusRequest &request)const;
|
||||
void getTrailStatusAsync(const Model::GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTrailStatusOutcomeCallable getTrailStatusCallable(const Model::GetTrailStatusRequest& request) const;
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateDeliveryHistoryJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDeliveryHistoryJobRequest();
|
||||
~CreateDeliveryHistoryJobRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrailName()const;
|
||||
void setTrailName(const std::string& trailName);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string trailName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateDeliveryHistoryJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateDeliveryHistoryJobRequest();
|
||||
~CreateDeliveryHistoryJobRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getTrailName() const;
|
||||
void setTrailName(const std::string &trailName);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string trailName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
@@ -1,72 +1,66 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateTrailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTrailRequest();
|
||||
~CreateTrailRequest();
|
||||
|
||||
std::string getSlsProjectArn()const;
|
||||
void setSlsProjectArn(const std::string& slsProjectArn);
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
|
||||
bool getIsOrganizationTrail()const;
|
||||
void setIsOrganizationTrail(bool isOrganizationTrail);
|
||||
std::string getOssKeyPrefix()const;
|
||||
void setOssKeyPrefix(const std::string& ossKeyPrefix);
|
||||
std::string getOssWriteRoleArn()const;
|
||||
void setOssWriteRoleArn(const std::string& ossWriteRoleArn);
|
||||
std::string getEventRW()const;
|
||||
void setEventRW(const std::string& eventRW);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getOssBucketName()const;
|
||||
void setOssBucketName(const std::string& ossBucketName);
|
||||
std::string getTrailRegion()const;
|
||||
void setTrailRegion(const std::string& trailRegion);
|
||||
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string slsWriteRoleArn_;
|
||||
bool isOrganizationTrail_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string eventRW_;
|
||||
std::string name_;
|
||||
std::string ossBucketName_;
|
||||
std::string trailRegion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateTrailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateTrailRequest();
|
||||
~CreateTrailRequest();
|
||||
std::string getSlsProjectArn() const;
|
||||
void setSlsProjectArn(const std::string &slsProjectArn);
|
||||
std::string getSlsWriteRoleArn() const;
|
||||
void setSlsWriteRoleArn(const std::string &slsWriteRoleArn);
|
||||
bool getIsOrganizationTrail() const;
|
||||
void setIsOrganizationTrail(bool isOrganizationTrail);
|
||||
std::string getOssKeyPrefix() const;
|
||||
void setOssKeyPrefix(const std::string &ossKeyPrefix);
|
||||
std::string getOssWriteRoleArn() const;
|
||||
void setOssWriteRoleArn(const std::string &ossWriteRoleArn);
|
||||
std::string getEventRW() const;
|
||||
void setEventRW(const std::string &eventRW);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getOssBucketName() const;
|
||||
void setOssBucketName(const std::string &ossBucketName);
|
||||
std::string getTrailRegion() const;
|
||||
void setTrailRegion(const std::string &trailRegion);
|
||||
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string slsWriteRoleArn_;
|
||||
bool isOrganizationTrail_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string eventRW_;
|
||||
std::string name_;
|
||||
std::string ossBucketName_;
|
||||
std::string trailRegion_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATETRAILREQUEST_H_
|
||||
|
||||
@@ -42,8 +42,8 @@ namespace AlibabaCloud
|
||||
std::string getHomeRegion()const;
|
||||
std::string getOssKeyPrefix()const;
|
||||
std::string getOssBucketName()const;
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
std::string getOssWriteRoleArn()const;
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
std::string getTrailRegion()const;
|
||||
std::string getName()const;
|
||||
|
||||
@@ -55,8 +55,8 @@ namespace AlibabaCloud
|
||||
std::string homeRegion_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossBucketName_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string trailRegion_;
|
||||
std::string name_;
|
||||
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteDeliveryHistoryJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDeliveryHistoryJobRequest();
|
||||
~DeleteDeliveryHistoryJobRequest();
|
||||
|
||||
int getJobId()const;
|
||||
void setJobId(int jobId);
|
||||
|
||||
private:
|
||||
int jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteDeliveryHistoryJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteDeliveryHistoryJobRequest();
|
||||
~DeleteDeliveryHistoryJobRequest();
|
||||
int getJobId() const;
|
||||
void setJobId(int jobId);
|
||||
|
||||
private:
|
||||
int jobId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteTrailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTrailRequest();
|
||||
~DeleteTrailRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteTrailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteTrailRequest();
|
||||
~DeleteTrailRequest();
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETETRAILREQUEST_H_
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeRegionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
std::string getAcceptLanguage()const;
|
||||
void setAcceptLanguage(const std::string& acceptLanguage);
|
||||
|
||||
private:
|
||||
std::string acceptLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeRegionsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
std::string getAcceptLanguage() const;
|
||||
void setAcceptLanguage(const std::string &acceptLanguage);
|
||||
|
||||
private:
|
||||
std::string acceptLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
@@ -1,54 +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_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeTrailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTrailsRequest();
|
||||
~DescribeTrailsRequest();
|
||||
|
||||
bool getIncludeOrganizationTrail()const;
|
||||
void setIncludeOrganizationTrail(bool includeOrganizationTrail);
|
||||
bool getIncludeShadowTrails()const;
|
||||
void setIncludeShadowTrails(bool includeShadowTrails);
|
||||
std::string getNameList()const;
|
||||
void setNameList(const std::string& nameList);
|
||||
|
||||
private:
|
||||
bool includeOrganizationTrail_;
|
||||
bool includeShadowTrails_;
|
||||
std::string nameList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeTrailsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeTrailsRequest();
|
||||
~DescribeTrailsRequest();
|
||||
bool getIncludeOrganizationTrail() const;
|
||||
void setIncludeOrganizationTrail(bool includeOrganizationTrail);
|
||||
bool getIncludeShadowTrails() const;
|
||||
void setIncludeShadowTrails(bool includeShadowTrails);
|
||||
std::string getNameList() const;
|
||||
void setNameList(const std::string &nameList);
|
||||
|
||||
private:
|
||||
bool includeOrganizationTrail_;
|
||||
bool includeShadowTrails_;
|
||||
std::string nameList_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DESCRIBETRAILSREQUEST_H_
|
||||
|
||||
@@ -36,23 +36,24 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string status;
|
||||
std::string homeRegion;
|
||||
std::string startLoggingTime;
|
||||
std::string createTime;
|
||||
std::string startLoggingTime;
|
||||
std::string stopLoggingTime;
|
||||
std::string organizationId;
|
||||
std::string slsWriteRoleArn;
|
||||
std::string ossBucketLocation;
|
||||
std::string organizationId;
|
||||
std::string trailRegion;
|
||||
std::string name;
|
||||
std::string ossBucketLocation;
|
||||
bool isOrganizationTrail;
|
||||
std::string name;
|
||||
std::string slsProjectArn;
|
||||
std::string eventRW;
|
||||
std::string ossKeyPrefix;
|
||||
std::string updateTime;
|
||||
std::string ossKeyPrefix;
|
||||
std::string region;
|
||||
std::string ossBucketName;
|
||||
std::string ossWriteRoleArn;
|
||||
long isShadowTrail;
|
||||
std::string trailArn;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDEVENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDEVENTSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedEventsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAccessKeyLastUsedEventsRequest();
|
||||
~GetAccessKeyLastUsedEventsRequest();
|
||||
std::string getAccessKey() const;
|
||||
void setAccessKey(const std::string &accessKey);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
|
||||
private:
|
||||
std::string accessKey_;
|
||||
std::string nextToken_;
|
||||
std::string pageSize_;
|
||||
std::string serviceName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDEVENTSREQUEST_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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDEVENTSRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDEVENTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedEventsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EventsItem
|
||||
{
|
||||
std::string eventName;
|
||||
long usedTimestamp;
|
||||
std::string detail;
|
||||
std::string source;
|
||||
};
|
||||
|
||||
|
||||
GetAccessKeyLastUsedEventsResult();
|
||||
explicit GetAccessKeyLastUsedEventsResult(const std::string &payload);
|
||||
~GetAccessKeyLastUsedEventsResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<EventsItem> getEvents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<EventsItem> events_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDEVENTSRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedInfoRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAccessKeyLastUsedInfoRequest();
|
||||
~GetAccessKeyLastUsedInfoRequest();
|
||||
std::string getAccessKey() const;
|
||||
void setAccessKey(const std::string &accessKey);
|
||||
|
||||
private:
|
||||
std::string accessKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDINFOREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDINFORESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAccessKeyLastUsedInfoResult();
|
||||
explicit GetAccessKeyLastUsedInfoResult(const std::string &payload);
|
||||
~GetAccessKeyLastUsedInfoResult();
|
||||
std::string getAccountId()const;
|
||||
std::string getUserName()const;
|
||||
std::string getOwnerId()const;
|
||||
std::string getServiceName()const;
|
||||
std::string getAccessKeyId()const;
|
||||
std::string getServiceNameCn()const;
|
||||
std::string getServiceNameEn()const;
|
||||
std::string getAccountType()const;
|
||||
long getUsedTimestamp()const;
|
||||
std::string getDetail()const;
|
||||
std::string getSource()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string accountId_;
|
||||
std::string userName_;
|
||||
std::string ownerId_;
|
||||
std::string serviceName_;
|
||||
std::string accessKeyId_;
|
||||
std::string serviceNameCn_;
|
||||
std::string serviceNameEn_;
|
||||
std::string accountType_;
|
||||
long usedTimestamp_;
|
||||
std::string detail_;
|
||||
std::string source_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDINFORESULT_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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDIPSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDIPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedIpsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAccessKeyLastUsedIpsRequest();
|
||||
~GetAccessKeyLastUsedIpsRequest();
|
||||
std::string getAccessKey() const;
|
||||
void setAccessKey(const std::string &accessKey);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
|
||||
private:
|
||||
std::string accessKey_;
|
||||
std::string nextToken_;
|
||||
std::string pageSize_;
|
||||
std::string serviceName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDIPSREQUEST_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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDIPSRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDIPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedIpsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct IpsItem
|
||||
{
|
||||
std::string ip;
|
||||
long usedTimestamp;
|
||||
std::string detail;
|
||||
std::string source;
|
||||
};
|
||||
|
||||
|
||||
GetAccessKeyLastUsedIpsResult();
|
||||
explicit GetAccessKeyLastUsedIpsResult(const std::string &payload);
|
||||
~GetAccessKeyLastUsedIpsResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<IpsItem> getIps()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<IpsItem> ips_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDIPSRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDPRODUCTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDPRODUCTSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedProductsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAccessKeyLastUsedProductsRequest();
|
||||
~GetAccessKeyLastUsedProductsRequest();
|
||||
std::string getAccessKey() const;
|
||||
void setAccessKey(const std::string &accessKey);
|
||||
|
||||
private:
|
||||
std::string accessKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDPRODUCTSREQUEST_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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDPRODUCTSRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDPRODUCTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedProductsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ProductsItem
|
||||
{
|
||||
std::string serviceName;
|
||||
std::string serviceNameCn;
|
||||
std::string serviceNameEn;
|
||||
long usedTimestamp;
|
||||
std::string detail;
|
||||
std::string source;
|
||||
};
|
||||
|
||||
|
||||
GetAccessKeyLastUsedProductsResult();
|
||||
explicit GetAccessKeyLastUsedProductsResult(const std::string &payload);
|
||||
~GetAccessKeyLastUsedProductsResult();
|
||||
std::vector<ProductsItem> getProducts()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ProductsItem> products_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDPRODUCTSRESULT_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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAccessKeyLastUsedResourcesRequest();
|
||||
~GetAccessKeyLastUsedResourcesRequest();
|
||||
std::string getAccessKey() const;
|
||||
void setAccessKey(const std::string &accessKey);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
|
||||
private:
|
||||
std::string accessKey_;
|
||||
std::string nextToken_;
|
||||
std::string pageSize_;
|
||||
std::string serviceName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDRESOURCESREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetAccessKeyLastUsedResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResourcesItem
|
||||
{
|
||||
std::string resourceName;
|
||||
std::string resourceType;
|
||||
long usedTimestamp;
|
||||
std::string detail;
|
||||
std::string source;
|
||||
};
|
||||
|
||||
|
||||
GetAccessKeyLastUsedResourcesResult();
|
||||
explicit GetAccessKeyLastUsedResourcesResult(const std::string &payload);
|
||||
~GetAccessKeyLastUsedResourcesResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<ResourcesItem> getResources()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<ResourcesItem> resources_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETACCESSKEYLASTUSEDRESOURCESRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_GETDELIVERYHISTORYJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETDELIVERYHISTORYJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetDeliveryHistoryJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDeliveryHistoryJobRequest();
|
||||
~GetDeliveryHistoryJobRequest();
|
||||
long getJobId() const;
|
||||
void setJobId(long jobId);
|
||||
|
||||
private:
|
||||
long jobId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETDELIVERYHISTORYJOBREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_GETDELIVERYHISTORYJOBRESULT_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETDELIVERYHISTORYJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetDeliveryHistoryJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StatusItem
|
||||
{
|
||||
int status;
|
||||
std::string region;
|
||||
};
|
||||
|
||||
|
||||
GetDeliveryHistoryJobResult();
|
||||
explicit GetDeliveryHistoryJobResult(const std::string &payload);
|
||||
~GetDeliveryHistoryJobResult();
|
||||
std::vector<StatusItem> getStatus()const;
|
||||
int getJobStatus()const;
|
||||
std::string getCreatedTime()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getHomeRegion()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getTrailName()const;
|
||||
std::string getUpdatedTime()const;
|
||||
long getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<StatusItem> status_;
|
||||
int jobStatus_;
|
||||
std::string createdTime_;
|
||||
std::string endTime_;
|
||||
std::string homeRegion_;
|
||||
std::string startTime_;
|
||||
std::string trailName_;
|
||||
std::string updatedTime_;
|
||||
long jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETDELIVERYHISTORYJOBRESULT_H_
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetTrailStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTrailStatusRequest();
|
||||
~GetTrailStatusRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
bool getIsOrganizationTrail()const;
|
||||
void setIsOrganizationTrail(bool isOrganizationTrail);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
bool isOrganizationTrail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT GetTrailStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTrailStatusRequest();
|
||||
~GetTrailStatusRequest();
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
bool getIsOrganizationTrail() const;
|
||||
void setIsOrganizationTrail(bool isOrganizationTrail);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
bool isOrganizationTrail_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_GETTRAILSTATUSREQUEST_H_
|
||||
|
||||
@@ -44,8 +44,8 @@ namespace AlibabaCloud
|
||||
std::string getLatestDeliveryError()const;
|
||||
std::string getStopLoggingTime()const;
|
||||
bool getSlsLogStoreStatus()const;
|
||||
std::string getLatestDeliveryTime()const;
|
||||
bool getIsLogging()const;
|
||||
std::string getLatestDeliveryTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -57,8 +57,8 @@ namespace AlibabaCloud
|
||||
std::string latestDeliveryError_;
|
||||
std::string stopLoggingTime_;
|
||||
bool slsLogStoreStatus_;
|
||||
std::string latestDeliveryTime_;
|
||||
bool isLogging_;
|
||||
std::string latestDeliveryTime_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDeliveryHistoryJobsRequest();
|
||||
~ListDeliveryHistoryJobsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListDeliveryHistoryJobsRequest();
|
||||
~ListDeliveryHistoryJobsRequest();
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||
|
||||
@@ -1,69 +1,61 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT LookupEventsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct LookupAttribute
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
LookupEventsRequest();
|
||||
~LookupEventsRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::vector<LookupAttribute> getLookupAttribute()const;
|
||||
void setLookupAttribute(const std::vector<LookupAttribute>& lookupAttribute);
|
||||
std::string getMaxResults()const;
|
||||
void setMaxResults(const std::string& maxResults);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string nextToken_;
|
||||
std::vector<LookupAttribute> lookupAttribute_;
|
||||
std::string maxResults_;
|
||||
std::string direction_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT LookupEventsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct LookupAttribute {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
LookupEventsRequest();
|
||||
~LookupEventsRequest();
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::vector<LookupAttribute> getLookupAttribute() const;
|
||||
void setLookupAttribute(const std::vector<LookupAttribute> &lookupAttribute);
|
||||
std::string getMaxResults() const;
|
||||
void setMaxResults(const std::string &maxResults);
|
||||
std::string getDirection() const;
|
||||
void setDirection(const std::string &direction);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string nextToken_;
|
||||
std::vector<LookupAttribute> lookupAttribute_;
|
||||
std::string maxResults_;
|
||||
std::string direction_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LOOKUPEVENTSREQUEST_H_
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StartLoggingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartLoggingRequest();
|
||||
~StartLoggingRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StartLoggingRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StartLoggingRequest();
|
||||
~StartLoggingRequest();
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STARTLOGGINGREQUEST_H_
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StopLoggingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopLoggingRequest();
|
||||
~StopLoggingRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT StopLoggingRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StopLoggingRequest();
|
||||
~StopLoggingRequest();
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_STOPLOGGINGREQUEST_H_
|
||||
|
||||
@@ -1,69 +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_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Actiontrail
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT UpdateTrailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateTrailRequest();
|
||||
~UpdateTrailRequest();
|
||||
|
||||
std::string getSlsProjectArn()const;
|
||||
void setSlsProjectArn(const std::string& slsProjectArn);
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
|
||||
std::string getOssKeyPrefix()const;
|
||||
void setOssKeyPrefix(const std::string& ossKeyPrefix);
|
||||
std::string getOssWriteRoleArn()const;
|
||||
void setOssWriteRoleArn(const std::string& ossWriteRoleArn);
|
||||
std::string getEventRW()const;
|
||||
void setEventRW(const std::string& eventRW);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getOssBucketName()const;
|
||||
void setOssBucketName(const std::string& ossBucketName);
|
||||
std::string getTrailRegion()const;
|
||||
void setTrailRegion(const std::string& trailRegion);
|
||||
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string eventRW_;
|
||||
std::string name_;
|
||||
std::string ossBucketName_;
|
||||
std::string trailRegion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Actiontrail {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT UpdateTrailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateTrailRequest();
|
||||
~UpdateTrailRequest();
|
||||
std::string getSlsProjectArn() const;
|
||||
void setSlsProjectArn(const std::string &slsProjectArn);
|
||||
std::string getSlsWriteRoleArn() const;
|
||||
void setSlsWriteRoleArn(const std::string &slsWriteRoleArn);
|
||||
std::string getOssKeyPrefix() const;
|
||||
void setOssKeyPrefix(const std::string &ossKeyPrefix);
|
||||
std::string getOssWriteRoleArn() const;
|
||||
void setOssWriteRoleArn(const std::string &ossWriteRoleArn);
|
||||
std::string getEventRW() const;
|
||||
void setEventRW(const std::string &eventRW);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getOssBucketName() const;
|
||||
void setOssBucketName(const std::string &ossBucketName);
|
||||
std::string getTrailRegion() const;
|
||||
void setTrailRegion(const std::string &trailRegion);
|
||||
|
||||
private:
|
||||
std::string slsProjectArn_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string eventRW_;
|
||||
std::string name_;
|
||||
std::string ossBucketName_;
|
||||
std::string trailRegion_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Actiontrail
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_UPDATETRAILREQUEST_H_
|
||||
|
||||
@@ -42,8 +42,8 @@ namespace AlibabaCloud
|
||||
std::string getHomeRegion()const;
|
||||
std::string getOssKeyPrefix()const;
|
||||
std::string getOssBucketName()const;
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
std::string getOssWriteRoleArn()const;
|
||||
std::string getSlsWriteRoleArn()const;
|
||||
std::string getTrailRegion()const;
|
||||
std::string getName()const;
|
||||
|
||||
@@ -55,8 +55,8 @@ namespace AlibabaCloud
|
||||
std::string homeRegion_;
|
||||
std::string ossKeyPrefix_;
|
||||
std::string ossBucketName_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string ossWriteRoleArn_;
|
||||
std::string slsWriteRoleArn_;
|
||||
std::string trailRegion_;
|
||||
std::string name_;
|
||||
|
||||
|
||||
@@ -31,21 +31,21 @@ ActiontrailClient::ActiontrailClient(const Credentials &credentials, const Clien
|
||||
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, "actiontrail");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ActiontrailClient::ActiontrailClient(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, "actiontrail");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ActiontrailClient::ActiontrailClient(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, "actiontrail");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ActiontrailClient::~ActiontrailClient()
|
||||
@@ -267,6 +267,222 @@ ActiontrailClient::DescribeTrailsOutcomeCallable ActiontrailClient::describeTrai
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedEventsOutcome ActiontrailClient::getAccessKeyLastUsedEvents(const GetAccessKeyLastUsedEventsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAccessKeyLastUsedEventsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAccessKeyLastUsedEventsOutcome(GetAccessKeyLastUsedEventsResult(outcome.result()));
|
||||
else
|
||||
return GetAccessKeyLastUsedEventsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::getAccessKeyLastUsedEventsAsync(const GetAccessKeyLastUsedEventsRequest& request, const GetAccessKeyLastUsedEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAccessKeyLastUsedEvents(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedEventsOutcomeCallable ActiontrailClient::getAccessKeyLastUsedEventsCallable(const GetAccessKeyLastUsedEventsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAccessKeyLastUsedEventsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAccessKeyLastUsedEvents(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedInfoOutcome ActiontrailClient::getAccessKeyLastUsedInfo(const GetAccessKeyLastUsedInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAccessKeyLastUsedInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAccessKeyLastUsedInfoOutcome(GetAccessKeyLastUsedInfoResult(outcome.result()));
|
||||
else
|
||||
return GetAccessKeyLastUsedInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::getAccessKeyLastUsedInfoAsync(const GetAccessKeyLastUsedInfoRequest& request, const GetAccessKeyLastUsedInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAccessKeyLastUsedInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedInfoOutcomeCallable ActiontrailClient::getAccessKeyLastUsedInfoCallable(const GetAccessKeyLastUsedInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAccessKeyLastUsedInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAccessKeyLastUsedInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedIpsOutcome ActiontrailClient::getAccessKeyLastUsedIps(const GetAccessKeyLastUsedIpsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAccessKeyLastUsedIpsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAccessKeyLastUsedIpsOutcome(GetAccessKeyLastUsedIpsResult(outcome.result()));
|
||||
else
|
||||
return GetAccessKeyLastUsedIpsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::getAccessKeyLastUsedIpsAsync(const GetAccessKeyLastUsedIpsRequest& request, const GetAccessKeyLastUsedIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAccessKeyLastUsedIps(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedIpsOutcomeCallable ActiontrailClient::getAccessKeyLastUsedIpsCallable(const GetAccessKeyLastUsedIpsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAccessKeyLastUsedIpsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAccessKeyLastUsedIps(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedProductsOutcome ActiontrailClient::getAccessKeyLastUsedProducts(const GetAccessKeyLastUsedProductsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAccessKeyLastUsedProductsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAccessKeyLastUsedProductsOutcome(GetAccessKeyLastUsedProductsResult(outcome.result()));
|
||||
else
|
||||
return GetAccessKeyLastUsedProductsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::getAccessKeyLastUsedProductsAsync(const GetAccessKeyLastUsedProductsRequest& request, const GetAccessKeyLastUsedProductsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAccessKeyLastUsedProducts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedProductsOutcomeCallable ActiontrailClient::getAccessKeyLastUsedProductsCallable(const GetAccessKeyLastUsedProductsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAccessKeyLastUsedProductsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAccessKeyLastUsedProducts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedResourcesOutcome ActiontrailClient::getAccessKeyLastUsedResources(const GetAccessKeyLastUsedResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAccessKeyLastUsedResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAccessKeyLastUsedResourcesOutcome(GetAccessKeyLastUsedResourcesResult(outcome.result()));
|
||||
else
|
||||
return GetAccessKeyLastUsedResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::getAccessKeyLastUsedResourcesAsync(const GetAccessKeyLastUsedResourcesRequest& request, const GetAccessKeyLastUsedResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAccessKeyLastUsedResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::GetAccessKeyLastUsedResourcesOutcomeCallable ActiontrailClient::getAccessKeyLastUsedResourcesCallable(const GetAccessKeyLastUsedResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAccessKeyLastUsedResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAccessKeyLastUsedResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::GetDeliveryHistoryJobOutcome ActiontrailClient::getDeliveryHistoryJob(const GetDeliveryHistoryJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDeliveryHistoryJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDeliveryHistoryJobOutcome(GetDeliveryHistoryJobResult(outcome.result()));
|
||||
else
|
||||
return GetDeliveryHistoryJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ActiontrailClient::getDeliveryHistoryJobAsync(const GetDeliveryHistoryJobRequest& request, const GetDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDeliveryHistoryJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ActiontrailClient::GetDeliveryHistoryJobOutcomeCallable ActiontrailClient::getDeliveryHistoryJobCallable(const GetDeliveryHistoryJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDeliveryHistoryJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDeliveryHistoryJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ActiontrailClient::GetTrailStatusOutcome ActiontrailClient::getTrailStatus(const GetTrailStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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/actiontrail/model/CreateDeliveryHistoryJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::CreateDeliveryHistoryJobRequest;
|
||||
|
||||
CreateDeliveryHistoryJobRequest::CreateDeliveryHistoryJobRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "CreateDeliveryHistoryJob")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDeliveryHistoryJobRequest::~CreateDeliveryHistoryJobRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDeliveryHistoryJobRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/CreateDeliveryHistoryJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::CreateDeliveryHistoryJobRequest;
|
||||
|
||||
CreateDeliveryHistoryJobRequest::CreateDeliveryHistoryJobRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "CreateDeliveryHistoryJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateDeliveryHistoryJobRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
CreateDeliveryHistoryJobRequest::~CreateDeliveryHistoryJobRequest() {}
|
||||
|
||||
std::string CreateDeliveryHistoryJobRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateDeliveryHistoryJobRequest::getTrailName()const
|
||||
{
|
||||
return trailName_;
|
||||
void CreateDeliveryHistoryJobRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateDeliveryHistoryJobRequest::setTrailName(const std::string& trailName)
|
||||
{
|
||||
trailName_ = trailName;
|
||||
setParameter("TrailName", trailName);
|
||||
std::string CreateDeliveryHistoryJobRequest::getTrailName() const {
|
||||
return trailName_;
|
||||
}
|
||||
|
||||
void CreateDeliveryHistoryJobRequest::setTrailName(const std::string &trailName) {
|
||||
trailName_ = trailName;
|
||||
setParameter(std::string("TrailName"), trailName);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,128 +1,108 @@
|
||||
/*
|
||||
* 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/actiontrail/model/CreateTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::CreateTrailRequest;
|
||||
|
||||
CreateTrailRequest::CreateTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "CreateTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTrailRequest::~CreateTrailRequest()
|
||||
{}
|
||||
|
||||
std::string CreateTrailRequest::getSlsProjectArn()const
|
||||
{
|
||||
return slsProjectArn_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/CreateTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::CreateTrailRequest;
|
||||
|
||||
CreateTrailRequest::CreateTrailRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "CreateTrail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
|
||||
{
|
||||
slsProjectArn_ = slsProjectArn;
|
||||
setParameter("SlsProjectArn", slsProjectArn);
|
||||
CreateTrailRequest::~CreateTrailRequest() {}
|
||||
|
||||
std::string CreateTrailRequest::getSlsProjectArn() const {
|
||||
return slsProjectArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
void CreateTrailRequest::setSlsProjectArn(const std::string &slsProjectArn) {
|
||||
slsProjectArn_ = slsProjectArn;
|
||||
setParameter(std::string("SlsProjectArn"), slsProjectArn);
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setSlsWriteRoleArn(const std::string& slsWriteRoleArn)
|
||||
{
|
||||
slsWriteRoleArn_ = slsWriteRoleArn;
|
||||
setParameter("SlsWriteRoleArn", slsWriteRoleArn);
|
||||
std::string CreateTrailRequest::getSlsWriteRoleArn() const {
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
bool CreateTrailRequest::getIsOrganizationTrail()const
|
||||
{
|
||||
return isOrganizationTrail_;
|
||||
void CreateTrailRequest::setSlsWriteRoleArn(const std::string &slsWriteRoleArn) {
|
||||
slsWriteRoleArn_ = slsWriteRoleArn;
|
||||
setParameter(std::string("SlsWriteRoleArn"), slsWriteRoleArn);
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setIsOrganizationTrail(bool isOrganizationTrail)
|
||||
{
|
||||
isOrganizationTrail_ = isOrganizationTrail;
|
||||
setParameter("IsOrganizationTrail", isOrganizationTrail ? "true" : "false");
|
||||
bool CreateTrailRequest::getIsOrganizationTrail() const {
|
||||
return isOrganizationTrail_;
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getOssKeyPrefix()const
|
||||
{
|
||||
return ossKeyPrefix_;
|
||||
void CreateTrailRequest::setIsOrganizationTrail(bool isOrganizationTrail) {
|
||||
isOrganizationTrail_ = isOrganizationTrail;
|
||||
setParameter(std::string("IsOrganizationTrail"), isOrganizationTrail ? "true" : "false");
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
|
||||
{
|
||||
ossKeyPrefix_ = ossKeyPrefix;
|
||||
setParameter("OssKeyPrefix", ossKeyPrefix);
|
||||
std::string CreateTrailRequest::getOssKeyPrefix() const {
|
||||
return ossKeyPrefix_;
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getOssWriteRoleArn()const
|
||||
{
|
||||
return ossWriteRoleArn_;
|
||||
void CreateTrailRequest::setOssKeyPrefix(const std::string &ossKeyPrefix) {
|
||||
ossKeyPrefix_ = ossKeyPrefix;
|
||||
setParameter(std::string("OssKeyPrefix"), ossKeyPrefix);
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setOssWriteRoleArn(const std::string& ossWriteRoleArn)
|
||||
{
|
||||
ossWriteRoleArn_ = ossWriteRoleArn;
|
||||
setParameter("OssWriteRoleArn", ossWriteRoleArn);
|
||||
std::string CreateTrailRequest::getOssWriteRoleArn() const {
|
||||
return ossWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
void CreateTrailRequest::setOssWriteRoleArn(const std::string &ossWriteRoleArn) {
|
||||
ossWriteRoleArn_ = ossWriteRoleArn;
|
||||
setParameter(std::string("OssWriteRoleArn"), ossWriteRoleArn);
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setEventRW(const std::string& eventRW)
|
||||
{
|
||||
eventRW_ = eventRW;
|
||||
setParameter("EventRW", eventRW);
|
||||
std::string CreateTrailRequest::getEventRW() const {
|
||||
return eventRW_;
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void CreateTrailRequest::setEventRW(const std::string &eventRW) {
|
||||
eventRW_ = eventRW;
|
||||
setParameter(std::string("EventRW"), eventRW);
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string CreateTrailRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getOssBucketName()const
|
||||
{
|
||||
return ossBucketName_;
|
||||
void CreateTrailRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setOssBucketName(const std::string& ossBucketName)
|
||||
{
|
||||
ossBucketName_ = ossBucketName;
|
||||
setParameter("OssBucketName", ossBucketName);
|
||||
std::string CreateTrailRequest::getOssBucketName() const {
|
||||
return ossBucketName_;
|
||||
}
|
||||
|
||||
std::string CreateTrailRequest::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
void CreateTrailRequest::setOssBucketName(const std::string &ossBucketName) {
|
||||
ossBucketName_ = ossBucketName;
|
||||
setParameter(std::string("OssBucketName"), ossBucketName);
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setTrailRegion(const std::string& trailRegion)
|
||||
{
|
||||
trailRegion_ = trailRegion;
|
||||
setParameter("TrailRegion", trailRegion);
|
||||
std::string CreateTrailRequest::getTrailRegion() const {
|
||||
return trailRegion_;
|
||||
}
|
||||
|
||||
void CreateTrailRequest::setTrailRegion(const std::string &trailRegion) {
|
||||
trailRegion_ = trailRegion;
|
||||
setParameter(std::string("TrailRegion"), trailRegion);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ void CreateTrailResult::parse(const std::string &payload)
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SlsProjectArn"].isNull())
|
||||
slsProjectArn_ = value["SlsProjectArn"].asString();
|
||||
if(!value["OssWriteRoleArn"].isNull())
|
||||
ossWriteRoleArn_ = value["OssWriteRoleArn"].asString();
|
||||
if(!value["EventRW"].isNull())
|
||||
eventRW_ = value["EventRW"].asString();
|
||||
if(!value["HomeRegion"].isNull())
|
||||
@@ -51,8 +53,6 @@ void CreateTrailResult::parse(const std::string &payload)
|
||||
ossBucketName_ = value["OssBucketName"].asString();
|
||||
if(!value["SlsWriteRoleArn"].isNull())
|
||||
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
|
||||
if(!value["OssWriteRoleArn"].isNull())
|
||||
ossWriteRoleArn_ = value["OssWriteRoleArn"].asString();
|
||||
if(!value["TrailRegion"].isNull())
|
||||
trailRegion_ = value["TrailRegion"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
@@ -85,16 +85,16 @@ std::string CreateTrailResult::getOssBucketName()const
|
||||
return ossBucketName_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getOssWriteRoleArn()const
|
||||
{
|
||||
return ossWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string CreateTrailResult::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/actiontrail/model/DeleteDeliveryHistoryJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DeleteDeliveryHistoryJobRequest;
|
||||
|
||||
DeleteDeliveryHistoryJobRequest::DeleteDeliveryHistoryJobRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "DeleteDeliveryHistoryJob")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDeliveryHistoryJobRequest::~DeleteDeliveryHistoryJobRequest()
|
||||
{}
|
||||
|
||||
int DeleteDeliveryHistoryJobRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DeleteDeliveryHistoryJobRequest;
|
||||
|
||||
DeleteDeliveryHistoryJobRequest::DeleteDeliveryHistoryJobRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "DeleteDeliveryHistoryJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDeliveryHistoryJobRequest::setJobId(int jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setParameter("JobId", std::to_string(jobId));
|
||||
DeleteDeliveryHistoryJobRequest::~DeleteDeliveryHistoryJobRequest() {}
|
||||
|
||||
int DeleteDeliveryHistoryJobRequest::getJobId() const {
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void DeleteDeliveryHistoryJobRequest::setJobId(int jobId) {
|
||||
jobId_ = jobId;
|
||||
setParameter(std::string("JobId"), std::to_string(jobId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/actiontrail/model/DeleteTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DeleteTrailRequest;
|
||||
|
||||
DeleteTrailRequest::DeleteTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "DeleteTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteTrailRequest::~DeleteTrailRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTrailRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/DeleteTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DeleteTrailRequest;
|
||||
|
||||
DeleteTrailRequest::DeleteTrailRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "DeleteTrail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteTrailRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
DeleteTrailRequest::~DeleteTrailRequest() {}
|
||||
|
||||
std::string DeleteTrailRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void DeleteTrailRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/actiontrail/model/DescribeRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "DescribeRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRegionsRequest::~DescribeRegionsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeRegionsRequest::getAcceptLanguage()const
|
||||
{
|
||||
return acceptLanguage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/DescribeRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "DescribeRegions") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setAcceptLanguage(const std::string& acceptLanguage)
|
||||
{
|
||||
acceptLanguage_ = acceptLanguage;
|
||||
setParameter("AcceptLanguage", acceptLanguage);
|
||||
DescribeRegionsRequest::~DescribeRegionsRequest() {}
|
||||
|
||||
std::string DescribeRegionsRequest::getAcceptLanguage() const {
|
||||
return acceptLanguage_;
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setAcceptLanguage(const std::string &acceptLanguage) {
|
||||
acceptLanguage_ = acceptLanguage;
|
||||
setParameter(std::string("AcceptLanguage"), acceptLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/DescribeTrailsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DescribeTrailsRequest;
|
||||
|
||||
DescribeTrailsRequest::DescribeTrailsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "DescribeTrails")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTrailsRequest::~DescribeTrailsRequest()
|
||||
{}
|
||||
|
||||
bool DescribeTrailsRequest::getIncludeOrganizationTrail()const
|
||||
{
|
||||
return includeOrganizationTrail_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/DescribeTrailsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::DescribeTrailsRequest;
|
||||
|
||||
DescribeTrailsRequest::DescribeTrailsRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "DescribeTrails") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setIncludeOrganizationTrail(bool includeOrganizationTrail)
|
||||
{
|
||||
includeOrganizationTrail_ = includeOrganizationTrail;
|
||||
setParameter("IncludeOrganizationTrail", includeOrganizationTrail ? "true" : "false");
|
||||
DescribeTrailsRequest::~DescribeTrailsRequest() {}
|
||||
|
||||
bool DescribeTrailsRequest::getIncludeOrganizationTrail() const {
|
||||
return includeOrganizationTrail_;
|
||||
}
|
||||
|
||||
bool DescribeTrailsRequest::getIncludeShadowTrails()const
|
||||
{
|
||||
return includeShadowTrails_;
|
||||
void DescribeTrailsRequest::setIncludeOrganizationTrail(bool includeOrganizationTrail) {
|
||||
includeOrganizationTrail_ = includeOrganizationTrail;
|
||||
setParameter(std::string("IncludeOrganizationTrail"), includeOrganizationTrail ? "true" : "false");
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setIncludeShadowTrails(bool includeShadowTrails)
|
||||
{
|
||||
includeShadowTrails_ = includeShadowTrails;
|
||||
setParameter("IncludeShadowTrails", includeShadowTrails ? "true" : "false");
|
||||
bool DescribeTrailsRequest::getIncludeShadowTrails() const {
|
||||
return includeShadowTrails_;
|
||||
}
|
||||
|
||||
std::string DescribeTrailsRequest::getNameList()const
|
||||
{
|
||||
return nameList_;
|
||||
void DescribeTrailsRequest::setIncludeShadowTrails(bool includeShadowTrails) {
|
||||
includeShadowTrails_ = includeShadowTrails;
|
||||
setParameter(std::string("IncludeShadowTrails"), includeShadowTrails ? "true" : "false");
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setNameList(const std::string& nameList)
|
||||
{
|
||||
nameList_ = nameList;
|
||||
setParameter("NameList", nameList);
|
||||
std::string DescribeTrailsRequest::getNameList() const {
|
||||
return nameList_;
|
||||
}
|
||||
|
||||
void DescribeTrailsRequest::setNameList(const std::string &nameList) {
|
||||
nameList_ = nameList;
|
||||
setParameter(std::string("NameList"), nameList);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,44 +43,46 @@ void DescribeTrailsResult::parse(const std::string &payload)
|
||||
for (auto valueTrailListTrail : allTrailListNode)
|
||||
{
|
||||
Trail trailListObject;
|
||||
if(!valueTrailListTrail["Status"].isNull())
|
||||
trailListObject.status = valueTrailListTrail["Status"].asString();
|
||||
if(!valueTrailListTrail["HomeRegion"].isNull())
|
||||
trailListObject.homeRegion = valueTrailListTrail["HomeRegion"].asString();
|
||||
if(!valueTrailListTrail["StartLoggingTime"].isNull())
|
||||
trailListObject.startLoggingTime = valueTrailListTrail["StartLoggingTime"].asString();
|
||||
if(!valueTrailListTrail["CreateTime"].isNull())
|
||||
trailListObject.createTime = valueTrailListTrail["CreateTime"].asString();
|
||||
if(!valueTrailListTrail["StopLoggingTime"].isNull())
|
||||
trailListObject.stopLoggingTime = valueTrailListTrail["StopLoggingTime"].asString();
|
||||
if(!valueTrailListTrail["OrganizationId"].isNull())
|
||||
trailListObject.organizationId = valueTrailListTrail["OrganizationId"].asString();
|
||||
if(!valueTrailListTrail["SlsWriteRoleArn"].isNull())
|
||||
trailListObject.slsWriteRoleArn = valueTrailListTrail["SlsWriteRoleArn"].asString();
|
||||
if(!valueTrailListTrail["OssBucketLocation"].isNull())
|
||||
trailListObject.ossBucketLocation = valueTrailListTrail["OssBucketLocation"].asString();
|
||||
if(!valueTrailListTrail["TrailRegion"].isNull())
|
||||
trailListObject.trailRegion = valueTrailListTrail["TrailRegion"].asString();
|
||||
if(!valueTrailListTrail["Name"].isNull())
|
||||
trailListObject.name = valueTrailListTrail["Name"].asString();
|
||||
if(!valueTrailListTrail["IsOrganizationTrail"].isNull())
|
||||
trailListObject.isOrganizationTrail = valueTrailListTrail["IsOrganizationTrail"].asString() == "true";
|
||||
if(!valueTrailListTrail["SlsProjectArn"].isNull())
|
||||
trailListObject.slsProjectArn = valueTrailListTrail["SlsProjectArn"].asString();
|
||||
if(!valueTrailListTrail["EventRW"].isNull())
|
||||
trailListObject.eventRW = valueTrailListTrail["EventRW"].asString();
|
||||
if(!valueTrailListTrail["OssKeyPrefix"].isNull())
|
||||
trailListObject.ossKeyPrefix = valueTrailListTrail["OssKeyPrefix"].asString();
|
||||
if(!valueTrailListTrail["Status"].isNull())
|
||||
trailListObject.status = valueTrailListTrail["Status"].asString();
|
||||
if(!valueTrailListTrail["UpdateTime"].isNull())
|
||||
trailListObject.updateTime = valueTrailListTrail["UpdateTime"].asString();
|
||||
if(!valueTrailListTrail["Region"].isNull())
|
||||
trailListObject.region = valueTrailListTrail["Region"].asString();
|
||||
if(!valueTrailListTrail["OssBucketName"].isNull())
|
||||
trailListObject.ossBucketName = valueTrailListTrail["OssBucketName"].asString();
|
||||
if(!valueTrailListTrail["HomeRegion"].isNull())
|
||||
trailListObject.homeRegion = valueTrailListTrail["HomeRegion"].asString();
|
||||
if(!valueTrailListTrail["CreateTime"].isNull())
|
||||
trailListObject.createTime = valueTrailListTrail["CreateTime"].asString();
|
||||
if(!valueTrailListTrail["OssKeyPrefix"].isNull())
|
||||
trailListObject.ossKeyPrefix = valueTrailListTrail["OssKeyPrefix"].asString();
|
||||
if(!valueTrailListTrail["EventRW"].isNull())
|
||||
trailListObject.eventRW = valueTrailListTrail["EventRW"].asString();
|
||||
if(!valueTrailListTrail["StartLoggingTime"].isNull())
|
||||
trailListObject.startLoggingTime = valueTrailListTrail["StartLoggingTime"].asString();
|
||||
if(!valueTrailListTrail["OssWriteRoleArn"].isNull())
|
||||
trailListObject.ossWriteRoleArn = valueTrailListTrail["OssWriteRoleArn"].asString();
|
||||
if(!valueTrailListTrail["SlsProjectArn"].isNull())
|
||||
trailListObject.slsProjectArn = valueTrailListTrail["SlsProjectArn"].asString();
|
||||
if(!valueTrailListTrail["IsOrganizationTrail"].isNull())
|
||||
trailListObject.isOrganizationTrail = valueTrailListTrail["IsOrganizationTrail"].asString() == "true";
|
||||
if(!valueTrailListTrail["SlsWriteRoleArn"].isNull())
|
||||
trailListObject.slsWriteRoleArn = valueTrailListTrail["SlsWriteRoleArn"].asString();
|
||||
if(!valueTrailListTrail["StopLoggingTime"].isNull())
|
||||
trailListObject.stopLoggingTime = valueTrailListTrail["StopLoggingTime"].asString();
|
||||
if(!valueTrailListTrail["Name"].isNull())
|
||||
trailListObject.name = valueTrailListTrail["Name"].asString();
|
||||
if(!valueTrailListTrail["OssBucketName"].isNull())
|
||||
trailListObject.ossBucketName = valueTrailListTrail["OssBucketName"].asString();
|
||||
if(!valueTrailListTrail["Region"].isNull())
|
||||
trailListObject.region = valueTrailListTrail["Region"].asString();
|
||||
if(!valueTrailListTrail["OrganizationId"].isNull())
|
||||
trailListObject.organizationId = valueTrailListTrail["OrganizationId"].asString();
|
||||
if(!valueTrailListTrail["OssBucketLocation"].isNull())
|
||||
trailListObject.ossBucketLocation = valueTrailListTrail["OssBucketLocation"].asString();
|
||||
if(!valueTrailListTrail["IsShadowTrail"].isNull())
|
||||
trailListObject.isShadowTrail = std::stol(valueTrailListTrail["IsShadowTrail"].asString());
|
||||
if(!valueTrailListTrail["TrailArn"].isNull())
|
||||
trailListObject.trailArn = valueTrailListTrail["TrailArn"].asString();
|
||||
trailList_.push_back(trailListObject);
|
||||
}
|
||||
|
||||
|
||||
63
actiontrail/src/model/GetAccessKeyLastUsedEventsRequest.cc
Normal file
63
actiontrail/src/model/GetAccessKeyLastUsedEventsRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/GetAccessKeyLastUsedEventsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::GetAccessKeyLastUsedEventsRequest;
|
||||
|
||||
GetAccessKeyLastUsedEventsRequest::GetAccessKeyLastUsedEventsRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "GetAccessKeyLastUsedEvents") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedEventsRequest::~GetAccessKeyLastUsedEventsRequest() {}
|
||||
|
||||
std::string GetAccessKeyLastUsedEventsRequest::getAccessKey() const {
|
||||
return accessKey_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedEventsRequest::setAccessKey(const std::string &accessKey) {
|
||||
accessKey_ = accessKey;
|
||||
setParameter(std::string("AccessKey"), accessKey);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedEventsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedEventsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedEventsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedEventsRequest::setPageSize(const std::string &pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), pageSize);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedEventsRequest::getServiceName() const {
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedEventsRequest::setServiceName(const std::string &serviceName) {
|
||||
serviceName_ = serviceName;
|
||||
setParameter(std::string("ServiceName"), serviceName);
|
||||
}
|
||||
|
||||
70
actiontrail/src/model/GetAccessKeyLastUsedEventsResult.cc
Normal file
70
actiontrail/src/model/GetAccessKeyLastUsedEventsResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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/actiontrail/model/GetAccessKeyLastUsedEventsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
GetAccessKeyLastUsedEventsResult::GetAccessKeyLastUsedEventsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAccessKeyLastUsedEventsResult::GetAccessKeyLastUsedEventsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedEventsResult::~GetAccessKeyLastUsedEventsResult()
|
||||
{}
|
||||
|
||||
void GetAccessKeyLastUsedEventsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEventsNode = value["Events"]["EventsItem"];
|
||||
for (auto valueEventsEventsItem : allEventsNode)
|
||||
{
|
||||
EventsItem eventsObject;
|
||||
if(!valueEventsEventsItem["UsedTimestamp"].isNull())
|
||||
eventsObject.usedTimestamp = std::stol(valueEventsEventsItem["UsedTimestamp"].asString());
|
||||
if(!valueEventsEventsItem["Detail"].isNull())
|
||||
eventsObject.detail = valueEventsEventsItem["Detail"].asString();
|
||||
if(!valueEventsEventsItem["EventName"].isNull())
|
||||
eventsObject.eventName = valueEventsEventsItem["EventName"].asString();
|
||||
if(!valueEventsEventsItem["Source"].isNull())
|
||||
eventsObject.source = valueEventsEventsItem["Source"].asString();
|
||||
events_.push_back(eventsObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedEventsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<GetAccessKeyLastUsedEventsResult::EventsItem> GetAccessKeyLastUsedEventsResult::getEvents()const
|
||||
{
|
||||
return events_;
|
||||
}
|
||||
|
||||
36
actiontrail/src/model/GetAccessKeyLastUsedInfoRequest.cc
Normal file
36
actiontrail/src/model/GetAccessKeyLastUsedInfoRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 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/actiontrail/model/GetAccessKeyLastUsedInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::GetAccessKeyLastUsedInfoRequest;
|
||||
|
||||
GetAccessKeyLastUsedInfoRequest::GetAccessKeyLastUsedInfoRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "GetAccessKeyLastUsedInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedInfoRequest::~GetAccessKeyLastUsedInfoRequest() {}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoRequest::getAccessKey() const {
|
||||
return accessKey_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedInfoRequest::setAccessKey(const std::string &accessKey) {
|
||||
accessKey_ = accessKey;
|
||||
setParameter(std::string("AccessKey"), accessKey);
|
||||
}
|
||||
|
||||
121
actiontrail/src/model/GetAccessKeyLastUsedInfoResult.cc
Normal file
121
actiontrail/src/model/GetAccessKeyLastUsedInfoResult.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/actiontrail/model/GetAccessKeyLastUsedInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
GetAccessKeyLastUsedInfoResult::GetAccessKeyLastUsedInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAccessKeyLastUsedInfoResult::GetAccessKeyLastUsedInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedInfoResult::~GetAccessKeyLastUsedInfoResult()
|
||||
{}
|
||||
|
||||
void GetAccessKeyLastUsedInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AccessKeyId"].isNull())
|
||||
accessKeyId_ = value["AccessKeyId"].asString();
|
||||
if(!value["AccountId"].isNull())
|
||||
accountId_ = value["AccountId"].asString();
|
||||
if(!value["OwnerId"].isNull())
|
||||
ownerId_ = value["OwnerId"].asString();
|
||||
if(!value["UserName"].isNull())
|
||||
userName_ = value["UserName"].asString();
|
||||
if(!value["AccountType"].isNull())
|
||||
accountType_ = value["AccountType"].asString();
|
||||
if(!value["UsedTimestamp"].isNull())
|
||||
usedTimestamp_ = std::stol(value["UsedTimestamp"].asString());
|
||||
if(!value["Detail"].isNull())
|
||||
detail_ = value["Detail"].asString();
|
||||
if(!value["Source"].isNull())
|
||||
source_ = value["Source"].asString();
|
||||
if(!value["ServiceName"].isNull())
|
||||
serviceName_ = value["ServiceName"].asString();
|
||||
if(!value["ServiceNameCn"].isNull())
|
||||
serviceNameCn_ = value["ServiceNameCn"].asString();
|
||||
if(!value["ServiceNameEn"].isNull())
|
||||
serviceNameEn_ = value["ServiceNameEn"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getAccountId()const
|
||||
{
|
||||
return accountId_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getUserName()const
|
||||
{
|
||||
return userName_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getServiceNameCn()const
|
||||
{
|
||||
return serviceNameCn_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getServiceNameEn()const
|
||||
{
|
||||
return serviceNameEn_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
long GetAccessKeyLastUsedInfoResult::getUsedTimestamp()const
|
||||
{
|
||||
return usedTimestamp_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getDetail()const
|
||||
{
|
||||
return detail_;
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedInfoResult::getSource()const
|
||||
{
|
||||
return source_;
|
||||
}
|
||||
|
||||
63
actiontrail/src/model/GetAccessKeyLastUsedIpsRequest.cc
Normal file
63
actiontrail/src/model/GetAccessKeyLastUsedIpsRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/GetAccessKeyLastUsedIpsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::GetAccessKeyLastUsedIpsRequest;
|
||||
|
||||
GetAccessKeyLastUsedIpsRequest::GetAccessKeyLastUsedIpsRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "GetAccessKeyLastUsedIps") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedIpsRequest::~GetAccessKeyLastUsedIpsRequest() {}
|
||||
|
||||
std::string GetAccessKeyLastUsedIpsRequest::getAccessKey() const {
|
||||
return accessKey_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedIpsRequest::setAccessKey(const std::string &accessKey) {
|
||||
accessKey_ = accessKey;
|
||||
setParameter(std::string("AccessKey"), accessKey);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedIpsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedIpsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedIpsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedIpsRequest::setPageSize(const std::string &pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), pageSize);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedIpsRequest::getServiceName() const {
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedIpsRequest::setServiceName(const std::string &serviceName) {
|
||||
serviceName_ = serviceName;
|
||||
setParameter(std::string("ServiceName"), serviceName);
|
||||
}
|
||||
|
||||
70
actiontrail/src/model/GetAccessKeyLastUsedIpsResult.cc
Normal file
70
actiontrail/src/model/GetAccessKeyLastUsedIpsResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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/actiontrail/model/GetAccessKeyLastUsedIpsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
GetAccessKeyLastUsedIpsResult::GetAccessKeyLastUsedIpsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAccessKeyLastUsedIpsResult::GetAccessKeyLastUsedIpsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedIpsResult::~GetAccessKeyLastUsedIpsResult()
|
||||
{}
|
||||
|
||||
void GetAccessKeyLastUsedIpsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allIpsNode = value["Ips"]["IpsItem"];
|
||||
for (auto valueIpsIpsItem : allIpsNode)
|
||||
{
|
||||
IpsItem ipsObject;
|
||||
if(!valueIpsIpsItem["UsedTimestamp"].isNull())
|
||||
ipsObject.usedTimestamp = std::stol(valueIpsIpsItem["UsedTimestamp"].asString());
|
||||
if(!valueIpsIpsItem["Detail"].isNull())
|
||||
ipsObject.detail = valueIpsIpsItem["Detail"].asString();
|
||||
if(!valueIpsIpsItem["Source"].isNull())
|
||||
ipsObject.source = valueIpsIpsItem["Source"].asString();
|
||||
if(!valueIpsIpsItem["Ip"].isNull())
|
||||
ipsObject.ip = valueIpsIpsItem["Ip"].asString();
|
||||
ips_.push_back(ipsObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedIpsResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<GetAccessKeyLastUsedIpsResult::IpsItem> GetAccessKeyLastUsedIpsResult::getIps()const
|
||||
{
|
||||
return ips_;
|
||||
}
|
||||
|
||||
36
actiontrail/src/model/GetAccessKeyLastUsedProductsRequest.cc
Normal file
36
actiontrail/src/model/GetAccessKeyLastUsedProductsRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 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/actiontrail/model/GetAccessKeyLastUsedProductsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::GetAccessKeyLastUsedProductsRequest;
|
||||
|
||||
GetAccessKeyLastUsedProductsRequest::GetAccessKeyLastUsedProductsRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "GetAccessKeyLastUsedProducts") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedProductsRequest::~GetAccessKeyLastUsedProductsRequest() {}
|
||||
|
||||
std::string GetAccessKeyLastUsedProductsRequest::getAccessKey() const {
|
||||
return accessKey_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedProductsRequest::setAccessKey(const std::string &accessKey) {
|
||||
accessKey_ = accessKey;
|
||||
setParameter(std::string("AccessKey"), accessKey);
|
||||
}
|
||||
|
||||
67
actiontrail/src/model/GetAccessKeyLastUsedProductsResult.cc
Normal file
67
actiontrail/src/model/GetAccessKeyLastUsedProductsResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/GetAccessKeyLastUsedProductsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
GetAccessKeyLastUsedProductsResult::GetAccessKeyLastUsedProductsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAccessKeyLastUsedProductsResult::GetAccessKeyLastUsedProductsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedProductsResult::~GetAccessKeyLastUsedProductsResult()
|
||||
{}
|
||||
|
||||
void GetAccessKeyLastUsedProductsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allProductsNode = value["Products"]["ProductsItem"];
|
||||
for (auto valueProductsProductsItem : allProductsNode)
|
||||
{
|
||||
ProductsItem productsObject;
|
||||
if(!valueProductsProductsItem["UsedTimestamp"].isNull())
|
||||
productsObject.usedTimestamp = std::stol(valueProductsProductsItem["UsedTimestamp"].asString());
|
||||
if(!valueProductsProductsItem["Detail"].isNull())
|
||||
productsObject.detail = valueProductsProductsItem["Detail"].asString();
|
||||
if(!valueProductsProductsItem["Source"].isNull())
|
||||
productsObject.source = valueProductsProductsItem["Source"].asString();
|
||||
if(!valueProductsProductsItem["ServiceName"].isNull())
|
||||
productsObject.serviceName = valueProductsProductsItem["ServiceName"].asString();
|
||||
if(!valueProductsProductsItem["ServiceNameCn"].isNull())
|
||||
productsObject.serviceNameCn = valueProductsProductsItem["ServiceNameCn"].asString();
|
||||
if(!valueProductsProductsItem["ServiceNameEn"].isNull())
|
||||
productsObject.serviceNameEn = valueProductsProductsItem["ServiceNameEn"].asString();
|
||||
products_.push_back(productsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetAccessKeyLastUsedProductsResult::ProductsItem> GetAccessKeyLastUsedProductsResult::getProducts()const
|
||||
{
|
||||
return products_;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/GetAccessKeyLastUsedResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::GetAccessKeyLastUsedResourcesRequest;
|
||||
|
||||
GetAccessKeyLastUsedResourcesRequest::GetAccessKeyLastUsedResourcesRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "GetAccessKeyLastUsedResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedResourcesRequest::~GetAccessKeyLastUsedResourcesRequest() {}
|
||||
|
||||
std::string GetAccessKeyLastUsedResourcesRequest::getAccessKey() const {
|
||||
return accessKey_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedResourcesRequest::setAccessKey(const std::string &accessKey) {
|
||||
accessKey_ = accessKey;
|
||||
setParameter(std::string("AccessKey"), accessKey);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedResourcesRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedResourcesRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedResourcesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedResourcesRequest::setPageSize(const std::string &pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), pageSize);
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedResourcesRequest::getServiceName() const {
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void GetAccessKeyLastUsedResourcesRequest::setServiceName(const std::string &serviceName) {
|
||||
serviceName_ = serviceName;
|
||||
setParameter(std::string("ServiceName"), serviceName);
|
||||
}
|
||||
|
||||
72
actiontrail/src/model/GetAccessKeyLastUsedResourcesResult.cc
Normal file
72
actiontrail/src/model/GetAccessKeyLastUsedResourcesResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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/actiontrail/model/GetAccessKeyLastUsedResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
GetAccessKeyLastUsedResourcesResult::GetAccessKeyLastUsedResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAccessKeyLastUsedResourcesResult::GetAccessKeyLastUsedResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAccessKeyLastUsedResourcesResult::~GetAccessKeyLastUsedResourcesResult()
|
||||
{}
|
||||
|
||||
void GetAccessKeyLastUsedResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResourcesNode = value["Resources"]["ResourcesItem"];
|
||||
for (auto valueResourcesResourcesItem : allResourcesNode)
|
||||
{
|
||||
ResourcesItem resourcesObject;
|
||||
if(!valueResourcesResourcesItem["UsedTimestamp"].isNull())
|
||||
resourcesObject.usedTimestamp = std::stol(valueResourcesResourcesItem["UsedTimestamp"].asString());
|
||||
if(!valueResourcesResourcesItem["Detail"].isNull())
|
||||
resourcesObject.detail = valueResourcesResourcesItem["Detail"].asString();
|
||||
if(!valueResourcesResourcesItem["ResourceName"].isNull())
|
||||
resourcesObject.resourceName = valueResourcesResourcesItem["ResourceName"].asString();
|
||||
if(!valueResourcesResourcesItem["ResourceType"].isNull())
|
||||
resourcesObject.resourceType = valueResourcesResourcesItem["ResourceType"].asString();
|
||||
if(!valueResourcesResourcesItem["Source"].isNull())
|
||||
resourcesObject.source = valueResourcesResourcesItem["Source"].asString();
|
||||
resources_.push_back(resourcesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAccessKeyLastUsedResourcesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<GetAccessKeyLastUsedResourcesResult::ResourcesItem> GetAccessKeyLastUsedResourcesResult::getResources()const
|
||||
{
|
||||
return resources_;
|
||||
}
|
||||
|
||||
@@ -14,23 +14,23 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ens/model/CreateElbBuyOrderRequest.h>
|
||||
#include <alibabacloud/actiontrail/model/GetDeliveryHistoryJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Ens::Model::CreateElbBuyOrderRequest;
|
||||
using AlibabaCloud::Actiontrail::Model::GetDeliveryHistoryJobRequest;
|
||||
|
||||
CreateElbBuyOrderRequest::CreateElbBuyOrderRequest()
|
||||
: RpcServiceRequest("ens", "2017-11-10", "CreateElbBuyOrder") {
|
||||
GetDeliveryHistoryJobRequest::GetDeliveryHistoryJobRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "GetDeliveryHistoryJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateElbBuyOrderRequest::~CreateElbBuyOrderRequest() {}
|
||||
GetDeliveryHistoryJobRequest::~GetDeliveryHistoryJobRequest() {}
|
||||
|
||||
std::string CreateElbBuyOrderRequest::getOrderDetails() const {
|
||||
return orderDetails_;
|
||||
long GetDeliveryHistoryJobRequest::getJobId() const {
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void CreateElbBuyOrderRequest::setOrderDetails(const std::string &orderDetails) {
|
||||
orderDetails_ = orderDetails;
|
||||
setParameter(std::string("OrderDetails"), orderDetails);
|
||||
void GetDeliveryHistoryJobRequest::setJobId(long jobId) {
|
||||
jobId_ = jobId;
|
||||
setParameter(std::string("JobId"), std::to_string(jobId));
|
||||
}
|
||||
|
||||
115
actiontrail/src/model/GetDeliveryHistoryJobResult.cc
Normal file
115
actiontrail/src/model/GetDeliveryHistoryJobResult.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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/actiontrail/model/GetDeliveryHistoryJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Actiontrail;
|
||||
using namespace AlibabaCloud::Actiontrail::Model;
|
||||
|
||||
GetDeliveryHistoryJobResult::GetDeliveryHistoryJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDeliveryHistoryJobResult::GetDeliveryHistoryJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDeliveryHistoryJobResult::~GetDeliveryHistoryJobResult()
|
||||
{}
|
||||
|
||||
void GetDeliveryHistoryJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatusNode = value["Status"]["StatusItem"];
|
||||
for (auto valueStatusStatusItem : allStatusNode)
|
||||
{
|
||||
StatusItem statusObject;
|
||||
if(!valueStatusStatusItem["Status"].isNull())
|
||||
statusObject.status = std::stoi(valueStatusStatusItem["Status"].asString());
|
||||
if(!valueStatusStatusItem["Region"].isNull())
|
||||
statusObject.region = valueStatusStatusItem["Region"].asString();
|
||||
status_.push_back(statusObject);
|
||||
}
|
||||
if(!value["JobStatus"].isNull())
|
||||
jobStatus_ = std::stoi(value["JobStatus"].asString());
|
||||
if(!value["CreatedTime"].isNull())
|
||||
createdTime_ = value["CreatedTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["TrailName"].isNull())
|
||||
trailName_ = value["TrailName"].asString();
|
||||
if(!value["UpdatedTime"].isNull())
|
||||
updatedTime_ = value["UpdatedTime"].asString();
|
||||
if(!value["JobId"].isNull())
|
||||
jobId_ = std::stol(value["JobId"].asString());
|
||||
if(!value["HomeRegion"].isNull())
|
||||
homeRegion_ = value["HomeRegion"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetDeliveryHistoryJobResult::StatusItem> GetDeliveryHistoryJobResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
int GetDeliveryHistoryJobResult::getJobStatus()const
|
||||
{
|
||||
return jobStatus_;
|
||||
}
|
||||
|
||||
std::string GetDeliveryHistoryJobResult::getCreatedTime()const
|
||||
{
|
||||
return createdTime_;
|
||||
}
|
||||
|
||||
std::string GetDeliveryHistoryJobResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string GetDeliveryHistoryJobResult::getHomeRegion()const
|
||||
{
|
||||
return homeRegion_;
|
||||
}
|
||||
|
||||
std::string GetDeliveryHistoryJobResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string GetDeliveryHistoryJobResult::getTrailName()const
|
||||
{
|
||||
return trailName_;
|
||||
}
|
||||
|
||||
std::string GetDeliveryHistoryJobResult::getUpdatedTime()const
|
||||
{
|
||||
return updatedTime_;
|
||||
}
|
||||
|
||||
long GetDeliveryHistoryJobResult::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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/actiontrail/model/GetTrailStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::GetTrailStatusRequest;
|
||||
|
||||
GetTrailStatusRequest::GetTrailStatusRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "GetTrailStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTrailStatusRequest::~GetTrailStatusRequest()
|
||||
{}
|
||||
|
||||
std::string GetTrailStatusRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/GetTrailStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::GetTrailStatusRequest;
|
||||
|
||||
GetTrailStatusRequest::GetTrailStatusRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "GetTrailStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetTrailStatusRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
GetTrailStatusRequest::~GetTrailStatusRequest() {}
|
||||
|
||||
std::string GetTrailStatusRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
bool GetTrailStatusRequest::getIsOrganizationTrail()const
|
||||
{
|
||||
return isOrganizationTrail_;
|
||||
void GetTrailStatusRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void GetTrailStatusRequest::setIsOrganizationTrail(bool isOrganizationTrail)
|
||||
{
|
||||
isOrganizationTrail_ = isOrganizationTrail;
|
||||
setParameter("IsOrganizationTrail", isOrganizationTrail ? "true" : "false");
|
||||
bool GetTrailStatusRequest::getIsOrganizationTrail() const {
|
||||
return isOrganizationTrail_;
|
||||
}
|
||||
|
||||
void GetTrailStatusRequest::setIsOrganizationTrail(bool isOrganizationTrail) {
|
||||
isOrganizationTrail_ = isOrganizationTrail;
|
||||
setParameter(std::string("IsOrganizationTrail"), isOrganizationTrail ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -39,24 +39,24 @@ void GetTrailStatusResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["LatestDeliveryLogServiceTime"].isNull())
|
||||
latestDeliveryLogServiceTime_ = value["LatestDeliveryLogServiceTime"].asString();
|
||||
if(!value["LatestDeliveryLogServiceError"].isNull())
|
||||
latestDeliveryLogServiceError_ = value["LatestDeliveryLogServiceError"].asString();
|
||||
if(!value["StartLoggingTime"].isNull())
|
||||
startLoggingTime_ = value["StartLoggingTime"].asString();
|
||||
if(!value["OssBucketStatus"].isNull())
|
||||
ossBucketStatus_ = value["OssBucketStatus"].asString() == "true";
|
||||
if(!value["LatestDeliveryError"].isNull())
|
||||
latestDeliveryError_ = value["LatestDeliveryError"].asString();
|
||||
if(!value["StopLoggingTime"].isNull())
|
||||
stopLoggingTime_ = value["StopLoggingTime"].asString();
|
||||
if(!value["SlsLogStoreStatus"].isNull())
|
||||
slsLogStoreStatus_ = value["SlsLogStoreStatus"].asString() == "true";
|
||||
if(!value["LatestDeliveryTime"].isNull())
|
||||
latestDeliveryTime_ = value["LatestDeliveryTime"].asString();
|
||||
if(!value["IsLogging"].isNull())
|
||||
isLogging_ = value["IsLogging"].asString() == "true";
|
||||
if(!value["LatestDeliveryTime"].isNull())
|
||||
latestDeliveryTime_ = value["LatestDeliveryTime"].asString();
|
||||
if(!value["LatestDeliveryLogServiceError"].isNull())
|
||||
latestDeliveryLogServiceError_ = value["LatestDeliveryLogServiceError"].asString();
|
||||
if(!value["LatestDeliveryLogServiceTime"].isNull())
|
||||
latestDeliveryLogServiceTime_ = value["LatestDeliveryLogServiceTime"].asString();
|
||||
if(!value["OssBucketStatus"].isNull())
|
||||
ossBucketStatus_ = value["OssBucketStatus"].asString() == "true";
|
||||
if(!value["SlsLogStoreStatus"].isNull())
|
||||
slsLogStoreStatus_ = value["SlsLogStoreStatus"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -95,13 +95,13 @@ bool GetTrailStatusResult::getSlsLogStoreStatus()const
|
||||
return slsLogStoreStatus_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getLatestDeliveryTime()const
|
||||
{
|
||||
return latestDeliveryTime_;
|
||||
}
|
||||
|
||||
bool GetTrailStatusResult::getIsLogging()const
|
||||
{
|
||||
return isLogging_;
|
||||
}
|
||||
|
||||
std::string GetTrailStatusResult::getLatestDeliveryTime()const
|
||||
{
|
||||
return latestDeliveryTime_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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/actiontrail/model/ListDeliveryHistoryJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::ListDeliveryHistoryJobsRequest;
|
||||
|
||||
ListDeliveryHistoryJobsRequest::ListDeliveryHistoryJobsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "ListDeliveryHistoryJobs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDeliveryHistoryJobsRequest::~ListDeliveryHistoryJobsRequest()
|
||||
{}
|
||||
|
||||
int ListDeliveryHistoryJobsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/ListDeliveryHistoryJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::ListDeliveryHistoryJobsRequest;
|
||||
|
||||
ListDeliveryHistoryJobsRequest::ListDeliveryHistoryJobsRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "ListDeliveryHistoryJobs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ListDeliveryHistoryJobsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
ListDeliveryHistoryJobsRequest::~ListDeliveryHistoryJobsRequest() {}
|
||||
|
||||
int ListDeliveryHistoryJobsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int ListDeliveryHistoryJobsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void ListDeliveryHistoryJobsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void ListDeliveryHistoryJobsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int ListDeliveryHistoryJobsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDeliveryHistoryJobsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -45,28 +45,28 @@ void ListDeliveryHistoryJobsResult::parse(const std::string &payload)
|
||||
DeliveryHistoryJob deliveryHistoryJobsObject;
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["TrailName"].isNull())
|
||||
deliveryHistoryJobsObject.trailName = valueDeliveryHistoryJobsDeliveryHistoryJob["TrailName"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].isNull())
|
||||
deliveryHistoryJobsObject.createdTime = valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].isNull())
|
||||
deliveryHistoryJobsObject.updatedTime = valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].isNull())
|
||||
deliveryHistoryJobsObject.homeRegion = valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].isNull())
|
||||
deliveryHistoryJobsObject.startTime = valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["EndTime"].isNull())
|
||||
deliveryHistoryJobsObject.endTime = valueDeliveryHistoryJobsDeliveryHistoryJob["EndTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].isNull())
|
||||
deliveryHistoryJobsObject.jobId = std::stol(valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].asString());
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].isNull())
|
||||
deliveryHistoryJobsObject.startTime = valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobStatus"].isNull())
|
||||
deliveryHistoryJobsObject.jobStatus = std::stoi(valueDeliveryHistoryJobsDeliveryHistoryJob["JobStatus"].asString());
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].isNull())
|
||||
deliveryHistoryJobsObject.homeRegion = valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].isNull())
|
||||
deliveryHistoryJobsObject.updatedTime = valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].asString();
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].isNull())
|
||||
deliveryHistoryJobsObject.jobId = std::stol(valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].asString());
|
||||
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].isNull())
|
||||
deliveryHistoryJobsObject.createdTime = valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].asString();
|
||||
deliveryHistoryJobs_.push_back(deliveryHistoryJobsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,100 +1,86 @@
|
||||
/*
|
||||
* 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/actiontrail/model/LookupEventsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::LookupEventsRequest;
|
||||
|
||||
LookupEventsRequest::LookupEventsRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "LookupEvents")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LookupEventsRequest::~LookupEventsRequest()
|
||||
{}
|
||||
|
||||
std::string LookupEventsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/LookupEventsRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::LookupEventsRequest;
|
||||
|
||||
LookupEventsRequest::LookupEventsRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "LookupEvents") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
LookupEventsRequest::~LookupEventsRequest() {}
|
||||
|
||||
std::string LookupEventsRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void LookupEventsRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string LookupEventsRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
void LookupEventsRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
std::string LookupEventsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<LookupEventsRequest::LookupAttribute> LookupEventsRequest::getLookupAttribute()const
|
||||
{
|
||||
return lookupAttribute_;
|
||||
void LookupEventsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setLookupAttribute(const std::vector<LookupAttribute>& lookupAttribute)
|
||||
{
|
||||
lookupAttribute_ = lookupAttribute;
|
||||
for(int dep1 = 0; dep1!= lookupAttribute.size(); dep1++) {
|
||||
auto lookupAttributeObj = lookupAttribute.at(dep1);
|
||||
std::string lookupAttributeObjStr = "LookupAttribute." + std::to_string(dep1 + 1);
|
||||
setParameter(lookupAttributeObjStr + ".Value", lookupAttributeObj.value);
|
||||
setParameter(lookupAttributeObjStr + ".Key", lookupAttributeObj.key);
|
||||
}
|
||||
std::vector<LookupEventsRequest::LookupAttribute> LookupEventsRequest::getLookupAttribute() const {
|
||||
return lookupAttribute_;
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
void LookupEventsRequest::setLookupAttribute(const std::vector<LookupEventsRequest::LookupAttribute> &lookupAttribute) {
|
||||
lookupAttribute_ = lookupAttribute;
|
||||
for(int dep1 = 0; dep1 != lookupAttribute.size(); dep1++) {
|
||||
auto lookupAttributeObj = lookupAttribute.at(dep1);
|
||||
std::string lookupAttributeObjStr = std::string("LookupAttribute") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(lookupAttributeObjStr + ".Value", lookupAttributeObj.value);
|
||||
setParameter(lookupAttributeObjStr + ".Key", lookupAttributeObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setMaxResults(const std::string& maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", maxResults);
|
||||
std::string LookupEventsRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
std::string LookupEventsRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
void LookupEventsRequest::setMaxResults(const std::string &maxResults) {
|
||||
maxResults_ = maxResults;
|
||||
setParameter(std::string("MaxResults"), maxResults);
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setParameter("Direction", direction);
|
||||
std::string LookupEventsRequest::getDirection() const {
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void LookupEventsRequest::setDirection(const std::string &direction) {
|
||||
direction_ = direction;
|
||||
setParameter(std::string("Direction"), direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/actiontrail/model/StartLoggingRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::StartLoggingRequest;
|
||||
|
||||
StartLoggingRequest::StartLoggingRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "StartLogging")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StartLoggingRequest::~StartLoggingRequest()
|
||||
{}
|
||||
|
||||
std::string StartLoggingRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/StartLoggingRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::StartLoggingRequest;
|
||||
|
||||
StartLoggingRequest::StartLoggingRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "StartLogging") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void StartLoggingRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
StartLoggingRequest::~StartLoggingRequest() {}
|
||||
|
||||
std::string StartLoggingRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void StartLoggingRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/actiontrail/model/StopLoggingRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::StopLoggingRequest;
|
||||
|
||||
StopLoggingRequest::StopLoggingRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "StopLogging")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
StopLoggingRequest::~StopLoggingRequest()
|
||||
{}
|
||||
|
||||
std::string StopLoggingRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/StopLoggingRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::StopLoggingRequest;
|
||||
|
||||
StopLoggingRequest::StopLoggingRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "StopLogging") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
void StopLoggingRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
StopLoggingRequest::~StopLoggingRequest() {}
|
||||
|
||||
std::string StopLoggingRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void StopLoggingRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* 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/actiontrail/model/UpdateTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::UpdateTrailRequest;
|
||||
|
||||
UpdateTrailRequest::UpdateTrailRequest() :
|
||||
RpcServiceRequest("actiontrail", "2020-07-06", "UpdateTrail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateTrailRequest::~UpdateTrailRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateTrailRequest::getSlsProjectArn()const
|
||||
{
|
||||
return slsProjectArn_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/actiontrail/model/UpdateTrailRequest.h>
|
||||
|
||||
using AlibabaCloud::Actiontrail::Model::UpdateTrailRequest;
|
||||
|
||||
UpdateTrailRequest::UpdateTrailRequest()
|
||||
: RpcServiceRequest("actiontrail", "2020-07-06", "UpdateTrail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
|
||||
{
|
||||
slsProjectArn_ = slsProjectArn;
|
||||
setParameter("SlsProjectArn", slsProjectArn);
|
||||
UpdateTrailRequest::~UpdateTrailRequest() {}
|
||||
|
||||
std::string UpdateTrailRequest::getSlsProjectArn() const {
|
||||
return slsProjectArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
void UpdateTrailRequest::setSlsProjectArn(const std::string &slsProjectArn) {
|
||||
slsProjectArn_ = slsProjectArn;
|
||||
setParameter(std::string("SlsProjectArn"), slsProjectArn);
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setSlsWriteRoleArn(const std::string& slsWriteRoleArn)
|
||||
{
|
||||
slsWriteRoleArn_ = slsWriteRoleArn;
|
||||
setParameter("SlsWriteRoleArn", slsWriteRoleArn);
|
||||
std::string UpdateTrailRequest::getSlsWriteRoleArn() const {
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getOssKeyPrefix()const
|
||||
{
|
||||
return ossKeyPrefix_;
|
||||
void UpdateTrailRequest::setSlsWriteRoleArn(const std::string &slsWriteRoleArn) {
|
||||
slsWriteRoleArn_ = slsWriteRoleArn;
|
||||
setParameter(std::string("SlsWriteRoleArn"), slsWriteRoleArn);
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
|
||||
{
|
||||
ossKeyPrefix_ = ossKeyPrefix;
|
||||
setParameter("OssKeyPrefix", ossKeyPrefix);
|
||||
std::string UpdateTrailRequest::getOssKeyPrefix() const {
|
||||
return ossKeyPrefix_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getOssWriteRoleArn()const
|
||||
{
|
||||
return ossWriteRoleArn_;
|
||||
void UpdateTrailRequest::setOssKeyPrefix(const std::string &ossKeyPrefix) {
|
||||
ossKeyPrefix_ = ossKeyPrefix;
|
||||
setParameter(std::string("OssKeyPrefix"), ossKeyPrefix);
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setOssWriteRoleArn(const std::string& ossWriteRoleArn)
|
||||
{
|
||||
ossWriteRoleArn_ = ossWriteRoleArn;
|
||||
setParameter("OssWriteRoleArn", ossWriteRoleArn);
|
||||
std::string UpdateTrailRequest::getOssWriteRoleArn() const {
|
||||
return ossWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getEventRW()const
|
||||
{
|
||||
return eventRW_;
|
||||
void UpdateTrailRequest::setOssWriteRoleArn(const std::string &ossWriteRoleArn) {
|
||||
ossWriteRoleArn_ = ossWriteRoleArn;
|
||||
setParameter(std::string("OssWriteRoleArn"), ossWriteRoleArn);
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setEventRW(const std::string& eventRW)
|
||||
{
|
||||
eventRW_ = eventRW;
|
||||
setParameter("EventRW", eventRW);
|
||||
std::string UpdateTrailRequest::getEventRW() const {
|
||||
return eventRW_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void UpdateTrailRequest::setEventRW(const std::string &eventRW) {
|
||||
eventRW_ = eventRW;
|
||||
setParameter(std::string("EventRW"), eventRW);
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string UpdateTrailRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getOssBucketName()const
|
||||
{
|
||||
return ossBucketName_;
|
||||
void UpdateTrailRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setOssBucketName(const std::string& ossBucketName)
|
||||
{
|
||||
ossBucketName_ = ossBucketName;
|
||||
setParameter("OssBucketName", ossBucketName);
|
||||
std::string UpdateTrailRequest::getOssBucketName() const {
|
||||
return ossBucketName_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailRequest::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
void UpdateTrailRequest::setOssBucketName(const std::string &ossBucketName) {
|
||||
ossBucketName_ = ossBucketName;
|
||||
setParameter(std::string("OssBucketName"), ossBucketName);
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setTrailRegion(const std::string& trailRegion)
|
||||
{
|
||||
trailRegion_ = trailRegion;
|
||||
setParameter("TrailRegion", trailRegion);
|
||||
std::string UpdateTrailRequest::getTrailRegion() const {
|
||||
return trailRegion_;
|
||||
}
|
||||
|
||||
void UpdateTrailRequest::setTrailRegion(const std::string &trailRegion) {
|
||||
trailRegion_ = trailRegion;
|
||||
setParameter(std::string("TrailRegion"), trailRegion);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ void UpdateTrailResult::parse(const std::string &payload)
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SlsProjectArn"].isNull())
|
||||
slsProjectArn_ = value["SlsProjectArn"].asString();
|
||||
if(!value["OssWriteRoleArn"].isNull())
|
||||
ossWriteRoleArn_ = value["OssWriteRoleArn"].asString();
|
||||
if(!value["EventRW"].isNull())
|
||||
eventRW_ = value["EventRW"].asString();
|
||||
if(!value["HomeRegion"].isNull())
|
||||
@@ -51,8 +53,6 @@ void UpdateTrailResult::parse(const std::string &payload)
|
||||
ossBucketName_ = value["OssBucketName"].asString();
|
||||
if(!value["SlsWriteRoleArn"].isNull())
|
||||
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
|
||||
if(!value["OssWriteRoleArn"].isNull())
|
||||
ossWriteRoleArn_ = value["OssWriteRoleArn"].asString();
|
||||
if(!value["TrailRegion"].isNull())
|
||||
trailRegion_ = value["TrailRegion"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
@@ -85,16 +85,16 @@ std::string UpdateTrailResult::getOssBucketName()const
|
||||
return ossBucketName_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getOssWriteRoleArn()const
|
||||
{
|
||||
return ossWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getSlsWriteRoleArn()const
|
||||
{
|
||||
return slsWriteRoleArn_;
|
||||
}
|
||||
|
||||
std::string UpdateTrailResult::getTrailRegion()const
|
||||
{
|
||||
return trailRegion_;
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
void setListenerIds(const std::vector<std::string> &listenerIds);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::vector<std::string> loadBalancerIds_;
|
||||
@@ -50,6 +52,7 @@ private:
|
||||
std::string listenerProtocol_;
|
||||
std::vector<std::string> listenerIds_;
|
||||
int maxResults_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alb
|
||||
|
||||
@@ -83,3 +83,12 @@ void ListListenersRequest::setMaxResults(int maxResults) {
|
||||
setParameter(std::string("MaxResults"), std::to_string(maxResults));
|
||||
}
|
||||
|
||||
std::string ListListenersRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void ListListenersRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
|
||||
134
amptest/CMakeLists.txt
Normal file
134
amptest/CMakeLists.txt
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.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(amptest_public_header
|
||||
include/alibabacloud/amptest/AmpTestClient.h
|
||||
include/alibabacloud/amptest/AmpTestExport.h )
|
||||
|
||||
set(amptest_public_header_model
|
||||
include/alibabacloud/amptest/model/CreateRulesRequest.h
|
||||
include/alibabacloud/amptest/model/CreateRulesResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayEightRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayEightResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayFifthRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayFifthResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayNineRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayNineResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGraySecondRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGraySecondResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGraySevenRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGraySevenResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGraySixRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGraySixResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayTenRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayTenResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayThirdRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestGrayThirdResult.h
|
||||
include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdResult.h
|
||||
include/alibabacloud/amptest/model/HuichengetRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengetResult.h
|
||||
include/alibabacloud/amptest/model/HuichengetestRequest.h
|
||||
include/alibabacloud/amptest/model/HuichengetestResult.h )
|
||||
|
||||
set(amptest_src
|
||||
src/AmpTestClient.cc
|
||||
src/model/CreateRulesRequest.cc
|
||||
src/model/CreateRulesResult.cc
|
||||
src/model/HuichengTestGrayRequest.cc
|
||||
src/model/HuichengTestGrayResult.cc
|
||||
src/model/HuichengTestGrayEightRequest.cc
|
||||
src/model/HuichengTestGrayEightResult.cc
|
||||
src/model/HuichengTestGrayFifthRequest.cc
|
||||
src/model/HuichengTestGrayFifthResult.cc
|
||||
src/model/HuichengTestGrayNineRequest.cc
|
||||
src/model/HuichengTestGrayNineResult.cc
|
||||
src/model/HuichengTestGraySecondRequest.cc
|
||||
src/model/HuichengTestGraySecondResult.cc
|
||||
src/model/HuichengTestGraySevenRequest.cc
|
||||
src/model/HuichengTestGraySevenResult.cc
|
||||
src/model/HuichengTestGraySixRequest.cc
|
||||
src/model/HuichengTestGraySixResult.cc
|
||||
src/model/HuichengTestGrayTenRequest.cc
|
||||
src/model/HuichengTestGrayTenResult.cc
|
||||
src/model/HuichengTestGrayThirdRequest.cc
|
||||
src/model/HuichengTestGrayThirdResult.cc
|
||||
src/model/HuichengTestResourceOwnerIdRequest.cc
|
||||
src/model/HuichengTestResourceOwnerIdResult.cc
|
||||
src/model/HuichengetRequest.cc
|
||||
src/model/HuichengetResult.cc
|
||||
src/model/HuichengetestRequest.cc
|
||||
src/model/HuichengetestResult.cc )
|
||||
|
||||
add_library(amptest ${LIB_TYPE}
|
||||
${amptest_public_header}
|
||||
${amptest_public_header_model}
|
||||
${amptest_src})
|
||||
|
||||
set_target_properties(amptest
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}amptest
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(amptest
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_AMPTEST_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(amptest
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(amptest
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(amptest
|
||||
jsoncpp)
|
||||
target_include_directories(amptest
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(amptest
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(amptest
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(amptest
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(amptest
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${amptest_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/amptest)
|
||||
install(FILES ${amptest_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/amptest/model)
|
||||
install(TARGETS amptest
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
150
amptest/include/alibabacloud/amptest/AmpTestClient.h
Normal file
150
amptest/include/alibabacloud/amptest/AmpTestClient.h
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* 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_AMPTEST_AMPTESTCLIENT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_AMPTESTCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AmpTestExport.h"
|
||||
#include "model/CreateRulesRequest.h"
|
||||
#include "model/CreateRulesResult.h"
|
||||
#include "model/HuichengTestGrayRequest.h"
|
||||
#include "model/HuichengTestGrayResult.h"
|
||||
#include "model/HuichengTestGrayEightRequest.h"
|
||||
#include "model/HuichengTestGrayEightResult.h"
|
||||
#include "model/HuichengTestGrayFifthRequest.h"
|
||||
#include "model/HuichengTestGrayFifthResult.h"
|
||||
#include "model/HuichengTestGrayNineRequest.h"
|
||||
#include "model/HuichengTestGrayNineResult.h"
|
||||
#include "model/HuichengTestGraySecondRequest.h"
|
||||
#include "model/HuichengTestGraySecondResult.h"
|
||||
#include "model/HuichengTestGraySevenRequest.h"
|
||||
#include "model/HuichengTestGraySevenResult.h"
|
||||
#include "model/HuichengTestGraySixRequest.h"
|
||||
#include "model/HuichengTestGraySixResult.h"
|
||||
#include "model/HuichengTestGrayTenRequest.h"
|
||||
#include "model/HuichengTestGrayTenResult.h"
|
||||
#include "model/HuichengTestGrayThirdRequest.h"
|
||||
#include "model/HuichengTestGrayThirdResult.h"
|
||||
#include "model/HuichengTestResourceOwnerIdRequest.h"
|
||||
#include "model/HuichengTestResourceOwnerIdResult.h"
|
||||
#include "model/HuichengetRequest.h"
|
||||
#include "model/HuichengetResult.h"
|
||||
#include "model/HuichengetestRequest.h"
|
||||
#include "model/HuichengetestResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT AmpTestClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateRulesResult> CreateRulesOutcome;
|
||||
typedef std::future<CreateRulesOutcome> CreateRulesOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::CreateRulesRequest&, const CreateRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGrayResult> HuichengTestGrayOutcome;
|
||||
typedef std::future<HuichengTestGrayOutcome> HuichengTestGrayOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGrayRequest&, const HuichengTestGrayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGrayAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGrayEightResult> HuichengTestGrayEightOutcome;
|
||||
typedef std::future<HuichengTestGrayEightOutcome> HuichengTestGrayEightOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGrayEightRequest&, const HuichengTestGrayEightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGrayEightAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGrayFifthResult> HuichengTestGrayFifthOutcome;
|
||||
typedef std::future<HuichengTestGrayFifthOutcome> HuichengTestGrayFifthOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGrayFifthRequest&, const HuichengTestGrayFifthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGrayFifthAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGrayNineResult> HuichengTestGrayNineOutcome;
|
||||
typedef std::future<HuichengTestGrayNineOutcome> HuichengTestGrayNineOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGrayNineRequest&, const HuichengTestGrayNineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGrayNineAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGraySecondResult> HuichengTestGraySecondOutcome;
|
||||
typedef std::future<HuichengTestGraySecondOutcome> HuichengTestGraySecondOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGraySecondRequest&, const HuichengTestGraySecondOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGraySecondAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGraySevenResult> HuichengTestGraySevenOutcome;
|
||||
typedef std::future<HuichengTestGraySevenOutcome> HuichengTestGraySevenOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGraySevenRequest&, const HuichengTestGraySevenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGraySevenAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGraySixResult> HuichengTestGraySixOutcome;
|
||||
typedef std::future<HuichengTestGraySixOutcome> HuichengTestGraySixOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGraySixRequest&, const HuichengTestGraySixOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGraySixAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGrayTenResult> HuichengTestGrayTenOutcome;
|
||||
typedef std::future<HuichengTestGrayTenOutcome> HuichengTestGrayTenOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGrayTenRequest&, const HuichengTestGrayTenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGrayTenAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestGrayThirdResult> HuichengTestGrayThirdOutcome;
|
||||
typedef std::future<HuichengTestGrayThirdOutcome> HuichengTestGrayThirdOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestGrayThirdRequest&, const HuichengTestGrayThirdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestGrayThirdAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengTestResourceOwnerIdResult> HuichengTestResourceOwnerIdOutcome;
|
||||
typedef std::future<HuichengTestResourceOwnerIdOutcome> HuichengTestResourceOwnerIdOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengTestResourceOwnerIdRequest&, const HuichengTestResourceOwnerIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengTestResourceOwnerIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengetResult> HuichengetOutcome;
|
||||
typedef std::future<HuichengetOutcome> HuichengetOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengetRequest&, const HuichengetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengetAsyncHandler;
|
||||
typedef Outcome<Error, Model::HuichengetestResult> HuichengetestOutcome;
|
||||
typedef std::future<HuichengetestOutcome> HuichengetestOutcomeCallable;
|
||||
typedef std::function<void(const AmpTestClient*, const Model::HuichengetestRequest&, const HuichengetestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> HuichengetestAsyncHandler;
|
||||
|
||||
AmpTestClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AmpTestClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AmpTestClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AmpTestClient();
|
||||
CreateRulesOutcome createRules(const Model::CreateRulesRequest &request)const;
|
||||
void createRulesAsync(const Model::CreateRulesRequest& request, const CreateRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRulesOutcomeCallable createRulesCallable(const Model::CreateRulesRequest& request) const;
|
||||
HuichengTestGrayOutcome huichengTestGray(const Model::HuichengTestGrayRequest &request)const;
|
||||
void huichengTestGrayAsync(const Model::HuichengTestGrayRequest& request, const HuichengTestGrayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGrayOutcomeCallable huichengTestGrayCallable(const Model::HuichengTestGrayRequest& request) const;
|
||||
HuichengTestGrayEightOutcome huichengTestGrayEight(const Model::HuichengTestGrayEightRequest &request)const;
|
||||
void huichengTestGrayEightAsync(const Model::HuichengTestGrayEightRequest& request, const HuichengTestGrayEightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGrayEightOutcomeCallable huichengTestGrayEightCallable(const Model::HuichengTestGrayEightRequest& request) const;
|
||||
HuichengTestGrayFifthOutcome huichengTestGrayFifth(const Model::HuichengTestGrayFifthRequest &request)const;
|
||||
void huichengTestGrayFifthAsync(const Model::HuichengTestGrayFifthRequest& request, const HuichengTestGrayFifthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGrayFifthOutcomeCallable huichengTestGrayFifthCallable(const Model::HuichengTestGrayFifthRequest& request) const;
|
||||
HuichengTestGrayNineOutcome huichengTestGrayNine(const Model::HuichengTestGrayNineRequest &request)const;
|
||||
void huichengTestGrayNineAsync(const Model::HuichengTestGrayNineRequest& request, const HuichengTestGrayNineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGrayNineOutcomeCallable huichengTestGrayNineCallable(const Model::HuichengTestGrayNineRequest& request) const;
|
||||
HuichengTestGraySecondOutcome huichengTestGraySecond(const Model::HuichengTestGraySecondRequest &request)const;
|
||||
void huichengTestGraySecondAsync(const Model::HuichengTestGraySecondRequest& request, const HuichengTestGraySecondAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGraySecondOutcomeCallable huichengTestGraySecondCallable(const Model::HuichengTestGraySecondRequest& request) const;
|
||||
HuichengTestGraySevenOutcome huichengTestGraySeven(const Model::HuichengTestGraySevenRequest &request)const;
|
||||
void huichengTestGraySevenAsync(const Model::HuichengTestGraySevenRequest& request, const HuichengTestGraySevenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGraySevenOutcomeCallable huichengTestGraySevenCallable(const Model::HuichengTestGraySevenRequest& request) const;
|
||||
HuichengTestGraySixOutcome huichengTestGraySix(const Model::HuichengTestGraySixRequest &request)const;
|
||||
void huichengTestGraySixAsync(const Model::HuichengTestGraySixRequest& request, const HuichengTestGraySixAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGraySixOutcomeCallable huichengTestGraySixCallable(const Model::HuichengTestGraySixRequest& request) const;
|
||||
HuichengTestGrayTenOutcome huichengTestGrayTen(const Model::HuichengTestGrayTenRequest &request)const;
|
||||
void huichengTestGrayTenAsync(const Model::HuichengTestGrayTenRequest& request, const HuichengTestGrayTenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGrayTenOutcomeCallable huichengTestGrayTenCallable(const Model::HuichengTestGrayTenRequest& request) const;
|
||||
HuichengTestGrayThirdOutcome huichengTestGrayThird(const Model::HuichengTestGrayThirdRequest &request)const;
|
||||
void huichengTestGrayThirdAsync(const Model::HuichengTestGrayThirdRequest& request, const HuichengTestGrayThirdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestGrayThirdOutcomeCallable huichengTestGrayThirdCallable(const Model::HuichengTestGrayThirdRequest& request) const;
|
||||
HuichengTestResourceOwnerIdOutcome huichengTestResourceOwnerId(const Model::HuichengTestResourceOwnerIdRequest &request)const;
|
||||
void huichengTestResourceOwnerIdAsync(const Model::HuichengTestResourceOwnerIdRequest& request, const HuichengTestResourceOwnerIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengTestResourceOwnerIdOutcomeCallable huichengTestResourceOwnerIdCallable(const Model::HuichengTestResourceOwnerIdRequest& request) const;
|
||||
HuichengetOutcome huichenget(const Model::HuichengetRequest &request)const;
|
||||
void huichengetAsync(const Model::HuichengetRequest& request, const HuichengetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengetOutcomeCallable huichengetCallable(const Model::HuichengetRequest& request) const;
|
||||
HuichengetestOutcome huichengetest(const Model::HuichengetestRequest &request)const;
|
||||
void huichengetestAsync(const Model::HuichengetestRequest& request, const HuichengetestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
HuichengetestOutcomeCallable huichengetestCallable(const Model::HuichengetestRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_AMPTEST_AMPTESTCLIENT_H_
|
||||
32
amptest/include/alibabacloud/amptest/AmpTestExport.h
Normal file
32
amptest/include/alibabacloud/amptest/AmpTestExport.h
Normal file
@@ -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_AMPTEST_AMPTESTEXPORT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_AMPTESTEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_AMPTEST_LIBRARY)
|
||||
# define ALIBABACLOUD_AMPTEST_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_AMPTEST_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_AMPTEST_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_AMPTEST_AMPTESTEXPORT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_CREATERULESREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_CREATERULESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT CreateRulesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
CreateRulesRequest();
|
||||
~CreateRulesRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_CREATERULESREQUEST_H_
|
||||
@@ -14,38 +14,40 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDRESULT_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDRESULT_H_
|
||||
#ifndef ALIBABACLOUD_AMPTEST_MODEL_CREATERULESRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_CREATERULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/domain/DomainExport.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Domain
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DOMAIN_EXPORT AcceptDemandResult : public ServiceResult
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT CreateRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AcceptDemandResult();
|
||||
explicit AcceptDemandResult(const std::string &payload);
|
||||
~AcceptDemandResult();
|
||||
std::string getBindUrl()const;
|
||||
CreateRulesResult();
|
||||
explicit CreateRulesResult(const std::string &payload);
|
||||
~CreateRulesResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string bindUrl_;
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_ACCEPTDEMANDRESULT_H_
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_CREATERULESRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayEightRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGrayEightRequest();
|
||||
~HuichengTestGrayEightRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayEightResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengTestGrayEightResult();
|
||||
explicit HuichengTestGrayEightResult(const std::string &payload);
|
||||
~HuichengTestGrayEightResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayFifthRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGrayFifthRequest();
|
||||
~HuichengTestGrayFifthRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayFifthResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengTestGrayFifthResult();
|
||||
explicit HuichengTestGrayFifthResult(const std::string &payload);
|
||||
~HuichengTestGrayFifthResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYNINEREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayNineRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGrayNineRequest();
|
||||
~HuichengTestGrayNineRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINEREQUEST_H_
|
||||
@@ -14,36 +14,40 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONRESULT_H_
|
||||
#ifndef ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINERESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT ModifyServiceVersionResult : public ServiceResult
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayNineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyServiceVersionResult();
|
||||
explicit ModifyServiceVersionResult(const std::string &payload);
|
||||
~ModifyServiceVersionResult();
|
||||
HuichengTestGrayNineResult();
|
||||
explicit HuichengTestGrayNineResult(const std::string &payload);
|
||||
~HuichengTestGrayNineResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONRESULT_H_
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINERESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGrayRequest();
|
||||
~HuichengTestGrayRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYREQUEST_H_
|
||||
@@ -14,40 +14,40 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMM_MODEL_LISTPROJECTAPISRESULT_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_LISTPROJECTAPISRESULT_H_
|
||||
#ifndef ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT ListProjectAPIsResult : public ServiceResult
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListProjectAPIsResult();
|
||||
explicit ListProjectAPIsResult(const std::string &payload);
|
||||
~ListProjectAPIsResult();
|
||||
std::string getProject()const;
|
||||
std::vector<std::string> getAPIs()const;
|
||||
HuichengTestGrayResult();
|
||||
explicit HuichengTestGrayResult(const std::string &payload);
|
||||
~HuichengTestGrayResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string project_;
|
||||
std::vector<std::string> aPIs_;
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_LISTPROJECTAPISRESULT_H_
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySecondRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGraySecondRequest();
|
||||
~HuichengTestGraySecondRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySecondResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengTestGraySecondResult();
|
||||
explicit HuichengTestGraySecondResult(const std::string &payload);
|
||||
~HuichengTestGraySecondResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySevenRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGraySevenRequest();
|
||||
~HuichengTestGraySevenRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySevenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengTestGraySevenResult();
|
||||
explicit HuichengTestGraySevenResult(const std::string &payload);
|
||||
~HuichengTestGraySevenResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYSIXREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSIXREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySixRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGraySixRequest();
|
||||
~HuichengTestGraySixRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSIXREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYSIXRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSIXRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySixResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengTestGraySixResult();
|
||||
explicit HuichengTestGraySixResult(const std::string &payload);
|
||||
~HuichengTestGraySixResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSIXRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYTENREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTENREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayTenRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGrayTenRequest();
|
||||
~HuichengTestGrayTenRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTENREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYTENRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayTenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengTestGrayTenResult();
|
||||
explicit HuichengTestGrayTenResult(const std::string &payload);
|
||||
~HuichengTestGrayTenResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTENRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayThirdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Home {
|
||||
struct Address {
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
Address address;
|
||||
struct T {
|
||||
std::string _class;
|
||||
};
|
||||
T t;
|
||||
std::string string;
|
||||
std::vector<std::string> phoneNumbers;
|
||||
struct DMapItem {
|
||||
struct Location {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
Location location;
|
||||
std::string detail;
|
||||
};
|
||||
DMapItem dMapItem;
|
||||
std::map<std::string, DMapItem> dMap;
|
||||
std::map<std::string, int> nameToAge;
|
||||
struct LocationsItem {
|
||||
long late;
|
||||
long lon;
|
||||
};
|
||||
LocationsItem locationsItem;
|
||||
std::vector<LocationsItem> locations;
|
||||
};
|
||||
HuichengTestGrayThirdRequest();
|
||||
~HuichengTestGrayThirdRequest();
|
||||
Home getHome() const;
|
||||
void setHome(const Home &home);
|
||||
|
||||
private:
|
||||
Home home_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayThirdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengTestGrayThirdResult();
|
||||
explicit HuichengTestGrayThirdResult(const std::string &payload);
|
||||
~HuichengTestGrayThirdResult();
|
||||
int getSize()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int size_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDRESULT_H_
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestResourceOwnerIdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
HuichengTestResourceOwnerIdRequest();
|
||||
~HuichengTestResourceOwnerIdRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestResourceOwnerIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengTestResourceOwnerIdResult();
|
||||
explicit HuichengTestResourceOwnerIdResult(const std::string &payload);
|
||||
~HuichengTestResourceOwnerIdResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengetRequest : public RpcServiceRequest {
|
||||
public:
|
||||
HuichengetRequest();
|
||||
~HuichengetRequest();
|
||||
std::string getAdd() const;
|
||||
void setAdd(const std::string &add);
|
||||
std::string getAddress() const;
|
||||
void setAddress(const std::string &address);
|
||||
std::string getSix() const;
|
||||
void setSix(const std::string &six);
|
||||
std::string getEnight() const;
|
||||
void setEnight(const std::string &enight);
|
||||
std::string getNewName() const;
|
||||
void setNewName(const std::string &newName);
|
||||
std::string getList() const;
|
||||
void setList(const std::string &list);
|
||||
std::string getTwo() const;
|
||||
void setTwo(const std::string &two);
|
||||
std::string getThree() const;
|
||||
void setThree(const std::string &three);
|
||||
std::string getNigh() const;
|
||||
void setNigh(const std::string &nigh);
|
||||
std::string getRed() const;
|
||||
void setRed(const std::string &red);
|
||||
std::string getApple() const;
|
||||
void setApple(const std::string &apple);
|
||||
std::string getTea() const;
|
||||
void setTea(const std::string &tea);
|
||||
std::string getBlue() const;
|
||||
void setBlue(const std::string &blue);
|
||||
std::string getWhite() const;
|
||||
void setWhite(const std::string &white);
|
||||
std::string getFour() const;
|
||||
void setFour(const std::string &four);
|
||||
std::string getNow() const;
|
||||
void setNow(const std::string &now);
|
||||
std::string getTen() const;
|
||||
void setTen(const std::string &ten);
|
||||
std::string getFive() const;
|
||||
void setFive(const std::string &five);
|
||||
|
||||
private:
|
||||
std::string add_;
|
||||
std::string address_;
|
||||
std::string six_;
|
||||
std::string enight_;
|
||||
std::string newName_;
|
||||
std::string list_;
|
||||
std::string two_;
|
||||
std::string three_;
|
||||
std::string nigh_;
|
||||
std::string red_;
|
||||
std::string apple_;
|
||||
std::string tea_;
|
||||
std::string blue_;
|
||||
std::string white_;
|
||||
std::string four_;
|
||||
std::string now_;
|
||||
std::string ten_;
|
||||
std::string five_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETREQUEST_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_AMPTEST_MODEL_HUICHENGETRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengetResult();
|
||||
explicit HuichengetResult(const std::string &payload);
|
||||
~HuichengetResult();
|
||||
std::string getApple()const;
|
||||
std::string getFive()const;
|
||||
std::string getSix()const;
|
||||
std::string getMessage()const;
|
||||
std::string getInstanceId4()const;
|
||||
std::string getSeven()const;
|
||||
std::string getCode()const;
|
||||
std::string getAge()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string apple_;
|
||||
std::string five_;
|
||||
std::string six_;
|
||||
std::string message_;
|
||||
std::string instanceId4_;
|
||||
std::string seven_;
|
||||
std::string code_;
|
||||
std::string age_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETRESULT_H_
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* 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_AMPTEST_MODEL_HUICHENGETESTREQUEST_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AmpTest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengetestRequest : public RpcServiceRequest {
|
||||
public:
|
||||
HuichengetestRequest();
|
||||
~HuichengetestRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AmpTest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTRESULT_H_
|
||||
#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/amptest/AmpTestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AmpTest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AMPTEST_EXPORT HuichengetestResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
HuichengetestResult();
|
||||
explicit HuichengetestResult(const std::string &payload);
|
||||
~HuichengetestResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTRESULT_H_
|
||||
521
amptest/src/AmpTestClient.cc
Normal file
521
amptest/src/AmpTestClient.cc
Normal file
@@ -0,0 +1,521 @@
|
||||
/*
|
||||
* 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/amptest/AmpTestClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::AmpTest;
|
||||
using namespace AlibabaCloud::AmpTest::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "AmpTest";
|
||||
}
|
||||
|
||||
AmpTestClient::AmpTestClient(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, "AmpTest");
|
||||
}
|
||||
|
||||
AmpTestClient::AmpTestClient(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, "AmpTest");
|
||||
}
|
||||
|
||||
AmpTestClient::AmpTestClient(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, "AmpTest");
|
||||
}
|
||||
|
||||
AmpTestClient::~AmpTestClient()
|
||||
{}
|
||||
|
||||
AmpTestClient::CreateRulesOutcome AmpTestClient::createRules(const CreateRulesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateRulesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateRulesOutcome(CreateRulesResult(outcome.result()));
|
||||
else
|
||||
return CreateRulesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::createRulesAsync(const CreateRulesRequest& request, const CreateRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createRules(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::CreateRulesOutcomeCallable AmpTestClient::createRulesCallable(const CreateRulesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateRulesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createRules(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayOutcome AmpTestClient::huichengTestGray(const HuichengTestGrayRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGrayOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGrayOutcome(HuichengTestGrayResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGrayOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGrayAsync(const HuichengTestGrayRequest& request, const HuichengTestGrayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGray(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayOutcomeCallable AmpTestClient::huichengTestGrayCallable(const HuichengTestGrayRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGrayOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGray(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayEightOutcome AmpTestClient::huichengTestGrayEight(const HuichengTestGrayEightRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGrayEightOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGrayEightOutcome(HuichengTestGrayEightResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGrayEightOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGrayEightAsync(const HuichengTestGrayEightRequest& request, const HuichengTestGrayEightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGrayEight(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayEightOutcomeCallable AmpTestClient::huichengTestGrayEightCallable(const HuichengTestGrayEightRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGrayEightOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGrayEight(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayFifthOutcome AmpTestClient::huichengTestGrayFifth(const HuichengTestGrayFifthRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGrayFifthOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGrayFifthOutcome(HuichengTestGrayFifthResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGrayFifthOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGrayFifthAsync(const HuichengTestGrayFifthRequest& request, const HuichengTestGrayFifthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGrayFifth(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayFifthOutcomeCallable AmpTestClient::huichengTestGrayFifthCallable(const HuichengTestGrayFifthRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGrayFifthOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGrayFifth(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayNineOutcome AmpTestClient::huichengTestGrayNine(const HuichengTestGrayNineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGrayNineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGrayNineOutcome(HuichengTestGrayNineResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGrayNineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGrayNineAsync(const HuichengTestGrayNineRequest& request, const HuichengTestGrayNineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGrayNine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayNineOutcomeCallable AmpTestClient::huichengTestGrayNineCallable(const HuichengTestGrayNineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGrayNineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGrayNine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGraySecondOutcome AmpTestClient::huichengTestGraySecond(const HuichengTestGraySecondRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGraySecondOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGraySecondOutcome(HuichengTestGraySecondResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGraySecondOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGraySecondAsync(const HuichengTestGraySecondRequest& request, const HuichengTestGraySecondAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGraySecond(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGraySecondOutcomeCallable AmpTestClient::huichengTestGraySecondCallable(const HuichengTestGraySecondRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGraySecondOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGraySecond(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGraySevenOutcome AmpTestClient::huichengTestGraySeven(const HuichengTestGraySevenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGraySevenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGraySevenOutcome(HuichengTestGraySevenResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGraySevenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGraySevenAsync(const HuichengTestGraySevenRequest& request, const HuichengTestGraySevenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGraySeven(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGraySevenOutcomeCallable AmpTestClient::huichengTestGraySevenCallable(const HuichengTestGraySevenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGraySevenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGraySeven(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGraySixOutcome AmpTestClient::huichengTestGraySix(const HuichengTestGraySixRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGraySixOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGraySixOutcome(HuichengTestGraySixResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGraySixOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGraySixAsync(const HuichengTestGraySixRequest& request, const HuichengTestGraySixAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGraySix(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGraySixOutcomeCallable AmpTestClient::huichengTestGraySixCallable(const HuichengTestGraySixRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGraySixOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGraySix(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayTenOutcome AmpTestClient::huichengTestGrayTen(const HuichengTestGrayTenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGrayTenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGrayTenOutcome(HuichengTestGrayTenResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGrayTenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGrayTenAsync(const HuichengTestGrayTenRequest& request, const HuichengTestGrayTenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGrayTen(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayTenOutcomeCallable AmpTestClient::huichengTestGrayTenCallable(const HuichengTestGrayTenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGrayTenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGrayTen(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayThirdOutcome AmpTestClient::huichengTestGrayThird(const HuichengTestGrayThirdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestGrayThirdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestGrayThirdOutcome(HuichengTestGrayThirdResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestGrayThirdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestGrayThirdAsync(const HuichengTestGrayThirdRequest& request, const HuichengTestGrayThirdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestGrayThird(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestGrayThirdOutcomeCallable AmpTestClient::huichengTestGrayThirdCallable(const HuichengTestGrayThirdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestGrayThirdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestGrayThird(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestResourceOwnerIdOutcome AmpTestClient::huichengTestResourceOwnerId(const HuichengTestResourceOwnerIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengTestResourceOwnerIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengTestResourceOwnerIdOutcome(HuichengTestResourceOwnerIdResult(outcome.result()));
|
||||
else
|
||||
return HuichengTestResourceOwnerIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengTestResourceOwnerIdAsync(const HuichengTestResourceOwnerIdRequest& request, const HuichengTestResourceOwnerIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengTestResourceOwnerId(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengTestResourceOwnerIdOutcomeCallable AmpTestClient::huichengTestResourceOwnerIdCallable(const HuichengTestResourceOwnerIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengTestResourceOwnerIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengTestResourceOwnerId(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengetOutcome AmpTestClient::huichenget(const HuichengetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengetOutcome(HuichengetResult(outcome.result()));
|
||||
else
|
||||
return HuichengetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengetAsync(const HuichengetRequest& request, const HuichengetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichenget(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengetOutcomeCallable AmpTestClient::huichengetCallable(const HuichengetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichenget(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengetestOutcome AmpTestClient::huichengetest(const HuichengetestRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return HuichengetestOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return HuichengetestOutcome(HuichengetestResult(outcome.result()));
|
||||
else
|
||||
return HuichengetestOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AmpTestClient::huichengetestAsync(const HuichengetestRequest& request, const HuichengetestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, huichengetest(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AmpTestClient::HuichengetestOutcomeCallable AmpTestClient::huichengetestCallable(const HuichengetestRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<HuichengetestOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->huichengetest(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
55
amptest/src/model/CreateRulesRequest.cc
Normal file
55
amptest/src/model/CreateRulesRequest.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/amptest/model/CreateRulesRequest.h>
|
||||
|
||||
using AlibabaCloud::AmpTest::Model::CreateRulesRequest;
|
||||
|
||||
CreateRulesRequest::CreateRulesRequest()
|
||||
: RpcServiceRequest("amptest", "2020-12-30", "CreateRules") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateRulesRequest::~CreateRulesRequest() {}
|
||||
|
||||
CreateRulesRequest::Home CreateRulesRequest::getHome() const {
|
||||
return home_;
|
||||
}
|
||||
|
||||
void CreateRulesRequest::setHome(const CreateRulesRequest::Home &home) {
|
||||
home_ = home;
|
||||
setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class);
|
||||
setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late));
|
||||
setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon));
|
||||
setParameter(std::string("Home") + ".Address.Detail", home.address.detail);
|
||||
setParameter(std::string("Home") + ".T.Class", home.t._class);
|
||||
for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) {
|
||||
setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]);
|
||||
}
|
||||
for(auto const &iter1 : home.dMap) {
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late));
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon));
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail);
|
||||
}
|
||||
for(auto const &iter1 : home.nameToAge) {
|
||||
setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second));
|
||||
}
|
||||
for(int dep1 = 0; dep1 != home.locations.size(); dep1++) {
|
||||
setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late));
|
||||
setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,38 +14,45 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/BidDomainResult.h>
|
||||
#include <alibabacloud/amptest/model/CreateRulesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
using namespace AlibabaCloud::AmpTest;
|
||||
using namespace AlibabaCloud::AmpTest::Model;
|
||||
|
||||
BidDomainResult::BidDomainResult() :
|
||||
CreateRulesResult::CreateRulesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BidDomainResult::BidDomainResult(const std::string &payload) :
|
||||
CreateRulesResult::CreateRulesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BidDomainResult::~BidDomainResult()
|
||||
CreateRulesResult::~CreateRulesResult()
|
||||
{}
|
||||
|
||||
void BidDomainResult::parse(const std::string &payload)
|
||||
void CreateRulesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AuctionId"].isNull())
|
||||
auctionId_ = value["AuctionId"].asString();
|
||||
if(!value["Size"].isNull())
|
||||
size_ = std::stoi(value["Size"].asString());
|
||||
if(!value["Value"].isNull())
|
||||
value_ = value["Value"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string BidDomainResult::getAuctionId()const
|
||||
int CreateRulesResult::getSize()const
|
||||
{
|
||||
return auctionId_;
|
||||
return size_;
|
||||
}
|
||||
|
||||
std::string CreateRulesResult::getValue()const
|
||||
{
|
||||
return value_;
|
||||
}
|
||||
|
||||
55
amptest/src/model/HuichengTestGrayEightRequest.cc
Normal file
55
amptest/src/model/HuichengTestGrayEightRequest.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/amptest/model/HuichengTestGrayEightRequest.h>
|
||||
|
||||
using AlibabaCloud::AmpTest::Model::HuichengTestGrayEightRequest;
|
||||
|
||||
HuichengTestGrayEightRequest::HuichengTestGrayEightRequest()
|
||||
: RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGrayEight") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
HuichengTestGrayEightRequest::~HuichengTestGrayEightRequest() {}
|
||||
|
||||
HuichengTestGrayEightRequest::Home HuichengTestGrayEightRequest::getHome() const {
|
||||
return home_;
|
||||
}
|
||||
|
||||
void HuichengTestGrayEightRequest::setHome(const HuichengTestGrayEightRequest::Home &home) {
|
||||
home_ = home;
|
||||
setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class);
|
||||
setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late));
|
||||
setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon));
|
||||
setParameter(std::string("Home") + ".Address.Detail", home.address.detail);
|
||||
setParameter(std::string("Home") + ".T.Class", home.t._class);
|
||||
for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) {
|
||||
setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]);
|
||||
}
|
||||
for(auto const &iter1 : home.dMap) {
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late));
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon));
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail);
|
||||
}
|
||||
for(auto const &iter1 : home.nameToAge) {
|
||||
setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second));
|
||||
}
|
||||
for(int dep1 = 0; dep1 != home.locations.size(); dep1++) {
|
||||
setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late));
|
||||
setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon));
|
||||
}
|
||||
}
|
||||
|
||||
58
amptest/src/model/HuichengTestGrayEightResult.cc
Normal file
58
amptest/src/model/HuichengTestGrayEightResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/amptest/model/HuichengTestGrayEightResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AmpTest;
|
||||
using namespace AlibabaCloud::AmpTest::Model;
|
||||
|
||||
HuichengTestGrayEightResult::HuichengTestGrayEightResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
HuichengTestGrayEightResult::HuichengTestGrayEightResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
HuichengTestGrayEightResult::~HuichengTestGrayEightResult()
|
||||
{}
|
||||
|
||||
void HuichengTestGrayEightResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Size"].isNull())
|
||||
size_ = std::stoi(value["Size"].asString());
|
||||
if(!value["Value"].isNull())
|
||||
value_ = value["Value"].asString();
|
||||
|
||||
}
|
||||
|
||||
int HuichengTestGrayEightResult::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
std::string HuichengTestGrayEightResult::getValue()const
|
||||
{
|
||||
return value_;
|
||||
}
|
||||
|
||||
55
amptest/src/model/HuichengTestGrayFifthRequest.cc
Normal file
55
amptest/src/model/HuichengTestGrayFifthRequest.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/amptest/model/HuichengTestGrayFifthRequest.h>
|
||||
|
||||
using AlibabaCloud::AmpTest::Model::HuichengTestGrayFifthRequest;
|
||||
|
||||
HuichengTestGrayFifthRequest::HuichengTestGrayFifthRequest()
|
||||
: RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGrayFifth") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
HuichengTestGrayFifthRequest::~HuichengTestGrayFifthRequest() {}
|
||||
|
||||
HuichengTestGrayFifthRequest::Home HuichengTestGrayFifthRequest::getHome() const {
|
||||
return home_;
|
||||
}
|
||||
|
||||
void HuichengTestGrayFifthRequest::setHome(const HuichengTestGrayFifthRequest::Home &home) {
|
||||
home_ = home;
|
||||
setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class);
|
||||
setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late));
|
||||
setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon));
|
||||
setParameter(std::string("Home") + ".Address.Detail", home.address.detail);
|
||||
setParameter(std::string("Home") + ".T.Class", home.t._class);
|
||||
for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) {
|
||||
setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]);
|
||||
}
|
||||
for(auto const &iter1 : home.dMap) {
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late));
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon));
|
||||
setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail);
|
||||
}
|
||||
for(auto const &iter1 : home.nameToAge) {
|
||||
setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second));
|
||||
}
|
||||
for(int dep1 = 0; dep1 != home.locations.size(); dep1++) {
|
||||
setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late));
|
||||
setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon));
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user