Compare commits

..

165 Commits

Author SHA1 Message Date
sdk-team
1a401aa70a Generated 2018-10-12 for Airec. 2020-07-03 16:53:23 +08:00
sdk-team
8d0bff56a9 Add ListResourceExecutionStatus API. 2020-07-03 14:56:50 +08:00
sdk-team
4b39c98f5a Supports tag management APIs. 2020-07-03 10:53:44 +08:00
sdk-team
7fecdadace Add PicUrl parameter for picture related API. 2020-07-03 10:49:19 +08:00
sdk-team
8ab4232b59 Add PicUrl parameter for picture related API. 2020-07-03 00:22:36 +08:00
sdk-team
882187b0e9 Generated 2020-05-18 for dataworks-public. 2020-07-02 17:34:31 +08:00
sdk-team
f0ef60d4fa Add GetFootwearPosition. 2020-07-02 15:39:46 +08:00
sdk-team
f29a3fe06e Add GetFootwearPosition. 2020-07-02 14:38:00 +08:00
sdk-team
9c7cbba02f Update endpoint. 2020-07-02 12:45:24 +08:00
sdk-team
65a601c5ba CreateShardingDBInstance add ProtocolType, to support DynamoDB. 2020-07-02 11:50:28 +08:00
sdk-team
3ee66cb2b2 Add ListFace-MotorAlgorithmResults API. 2020-07-01 22:37:33 +08:00
wb-hx510875
a57f6ec422 fix code style
1. add .clang-format code style file.
2. format code of core.

use `clang-format -i -style=file ./core/*/*.cc ./core/*/*.h` command to format
2020-07-01 16:45:38 +08:00
sdk-team
e065d50def Add API for GetMetadataAmount. 2020-07-01 16:08:59 +08:00
sdk-team
97918475fb Support Saf For ExecuteExtendService. 2020-07-01 15:12:17 +08:00
wb-hx510875
5a451d16d4 supported config useSSL 2020-07-01 14:51:13 +08:00
wb-hx510875
8bed6eecc7 improve CmakeLists file 2020-07-01 14:51:13 +08:00
sdk-team
db4bd7ae11 Add ListMetrics API. 2020-06-30 14:20:43 +08:00
sdk-team
7e4fbe6210 Supported Rotate. 2020-06-29 19:41:42 +08:00
sdk-team
de0798d2dd Supported Rotate. 2020-06-29 17:15:51 +08:00
sdk-team
2650ca7420 Add Model Parameter For InitFaceVerify API. 2020-06-29 12:48:10 +08:00
sdk-team
59d9eaf390 Supported Api EraseLogoInVideo. 2020-06-26 17:48:17 +08:00
sdk-team
1ae8883f81 Add DescribeBackupPlanBilling. 2020-06-24 12:38:11 +08:00
sdk-team
30469764de Add face quality detection API. 2020-06-23 23:57:16 +08:00
sdk-team
aeea3c2fea Add face quality detection API. 2020-06-23 21:21:35 +08:00
sdk-team
743309716b Add face quality detection API. 2020-06-23 20:07:28 +08:00
sdk-team
c9ae7d0b7e Add face quality detection API. 2020-06-23 18:10:55 +08:00
sdk-team
def35a6602 Generated 2015-12-15 for CS. 2020-06-23 16:56:59 +08:00
sdk-team
da7aefe5aa Support SubmitOperationAuditInfo for Support self-service submission of approval information. 2020-06-23 16:26:17 +08:00
sdk-team
243879b17f Generated 2018-08-28 for Tag. 2020-06-23 16:23:57 +08:00
sdk-team
942248dfb0 Public beta version. 2020-06-23 14:06:07 +08:00
sdk-team
8f92463d90 Public beta version. 2020-06-23 10:04:31 +08:00
sdk-team
dbe8804b96 Public beta version. 2020-06-23 09:36:12 +08:00
sdk-team
6e880496ba Add support cn-shenzhen region. 2020-06-22 16:56:25 +08:00
sdk-team
fbf5bf0457 Add GetMultipleTrace api. 2020-06-22 12:15:04 +08:00
sdk-team
e32ce45b9d Add persons API. 2020-06-21 22:21:45 +08:00
sdk-team
053c0dc1a1 Supported TransformDBInstancePayType API. 2020-06-18 16:40:36 +08:00
sdk-team
2070ee03ba Add GetAuthToken OpenAPI. 2020-06-18 15:38:53 +08:00
sdk-team
e611ec2db4 Public beta version. 2020-06-18 10:39:31 +08:00
sdk-team
57416bd581 Supported sync create eni and assign private ip. 2020-06-17 18:04:12 +08:00
sdk-team
2df6079b2d Public beta version. 2020-06-17 14:30:20 +08:00
sdk-team
39221a5319 Support TargetImageId in ApplyNodes Interface. 2020-06-16 16:35:28 +08:00
sdk-team
6bba61cebe Update monitor related API. 2020-06-16 00:29:30 +08:00
sdk-team
a869068f77 Generated 2019-09-10 for waf-openapi. 2020-06-15 14:06:18 +08:00
sdk-team
cf9eca9516 Generated 2019-09-10 for waf-openapi. 2020-06-15 12:27:04 +08:00
sdk-team
9ae74a6524 Add CreateProduct API ProductSecret in Response. 2020-06-12 13:50:54 +08:00
sdk-team
1855010705 Update monitor related API. 2020-06-12 11:26:37 +08:00
sdk-team
654af055e6 Add support for enable hbaseue extra module like lindorm-search or lindorm-sql. 2020-06-12 10:59:41 +08:00
sdk-team
07b50e30ef Support ServicePeriodUnit in QueryInstanceBill. 2020-06-11 21:17:59 +08:00
sdk-team
767dcb5bee Public beta version. 2020-06-10 22:13:03 +08:00
sdk-team
42b4be9e1f Public beta version. 2020-06-10 22:06:17 +08:00
sdk-team
c811dc5d85 Generate dbfs sdk. 2020-06-08 15:05:24 +08:00
sdk-team
84659b3f3e Support offline instance. 2020-06-08 12:59:33 +08:00
sdk-team
e3faa7d285 Support for addrp. 2020-06-04 21:10:51 +08:00
sdk-team
99feb0fdea Supported Eni Trunking. 2020-06-04 18:21:00 +08:00
sdk-team
d58606d853 Update monitor related API. 2020-06-04 17:11:06 +08:00
sdk-team
db4fde36ee Add SubmitMediaDNADeleteJob and ListMediaDNADeleteJob. 2020-06-04 15:10:52 +08:00
sdk-team
b7d0012a43 Update monitor related API. 2020-06-04 14:53:25 +08:00
sdk-team
9c23d3e24b Update monitor related API. 2020-06-04 11:25:39 +08:00
sdk-team
11bf538b08 Describe describeAvailableResource. 2020-06-03 10:14:09 +08:00
sdk-team
266bdb38c6 Describe describeAvailableResource. 2020-06-03 10:06:38 +08:00
sdk-team
d4576ea2f3 Generated 2019-01-01 for Cassandra. 2020-06-03 10:04:22 +08:00
sdk-team
e051f5848b DescribeCameraStatistics add filed. 2020-06-03 09:52:49 +08:00
sdk-team
bfe6e5b081 Edit SearchTraces api. 2020-06-02 21:21:42 +08:00
sdk-team
03a2cd3731 Supported AndroidNotificationXiaomiChannel for Push and MassPush. 2020-05-28 14:52:08 +08:00
sdk-team
83df0154da Added cn-heyuan endpoint url. 2020-05-27 14:19:03 +08:00
sdk-team
ec5269015c Add support for create hbaseue multizone instance. 2020-05-27 14:17:37 +08:00
sdk-team
95a93b89f1 Support DescribeAllEntity API. 2020-05-26 18:09:28 +08:00
sdk-team
bd0d4f669a Add smartcall service api. 2020-05-26 17:42:13 +08:00
sdk-team
c6be4b4083 Add smartcall service api. 2020-05-26 17:10:25 +08:00
sdk-team
dad64fbdea Add monitor related API. 2020-05-26 11:33:40 +08:00
sdk-team
ff1e74581f Add monitor related. 2020-05-26 10:29:43 +08:00
sdk-team
304717df66 Add monitor related. 2020-05-26 10:22:17 +08:00
sdk-team
d4d401ed4e Add monitor related. 2020-05-25 16:16:14 +08:00
sdk-team
670f1bb324 Add monitor related. 2020-05-25 16:13:07 +08:00
sdk-team
07721caa35 Generated 2015-01-01 for R-kvstore. 2020-05-23 00:59:45 +08:00
wb-hx510875
9315d79274 delete invalid api code 2020-05-22 17:13:45 +08:00
sdk-team
3d5b584e84 Add schedule crud api. 2020-05-22 11:02:20 +08:00
sdk-team
37abc8eec5 Support more error Codes. 2020-05-21 16:39:18 +08:00
sdk-team
d55b09e788 Generated 2019-09-10 for waf-openapi. 2020-05-20 17:33:50 +08:00
sdk-team
f6e57b5ea2 Edit GetTrace and SearchTraces api. 2020-05-20 16:56:27 +08:00
sdk-team
68d7262f25 Public beta version. 2020-05-20 10:59:54 +08:00
sdk-team
ea41bc1249 Public beta version. 2020-05-19 16:29:23 +08:00
sdk-team
4b3913d6cd Initial version. 2020-05-19 15:27:18 +08:00
sdk-team
9c95c03a45 Support sequence for listNodes. 2020-05-18 14:55:15 +08:00
sdk-team
c0ffe42087 Fix DescribeIpcLiveAddress , add in params. 2020-05-18 14:31:31 +08:00
sdk-team
2cc7e5ae64 Fix DescribeIpcLiveAddress , add in params. 2020-05-18 12:17:24 +08:00
sdk-team
1a056a97c6 Open API publish. 2020-05-17 13:32:04 +08:00
sdk-team
46862eb08d Open API publish. 2020-05-17 11:39:09 +08:00
sdk-team
bb4a9050b4 Open API publish. 2020-05-17 11:30:02 +08:00
sdk-team
1cba907b97 Open API publish. 2020-05-17 09:43:24 +08:00
sdk-team
efc5b31e28 Open API publish. 2020-05-17 08:58:34 +08:00
sdk-team
23a40fc487 Generated 2015-01-01 for R-kvstore. 2020-05-14 17:32:00 +08:00
sdk-team
03fb512456 Supported Grant Permission. 2020-05-14 14:08:24 +08:00
sdk-team
56c516a238 Add demo edition auth. 2020-05-14 10:33:25 +08:00
sdk-team
2fd4ebc0a8 Add ListDevicesImages DescribeIpcLiveAddress. 2020-05-13 19:41:49 +08:00
sdk-team
735c64063a Add ExportTas apis. 2020-05-13 16:55:49 +08:00
sdk-team
bb7f64aeb3 Generated 2019-09-10 for waf-openapi. 2020-05-13 15:34:52 +08:00
sdk-team
396541400e Supported AAA for BBB. 2020-05-13 14:44:31 +08:00
sdk-team
e312177cd9 Add ExportTas apis. 2020-05-13 11:32:32 +08:00
sdk-team
f60556764e About 2019-03-07 and 2018-09-16 Version. 2020-05-13 11:27:22 +08:00
sdk-team
6c1dbc8b06 Supported DRM. 2020-05-12 11:28:55 +08:00
sdk-team
ab7e92063b Add new openapi ApplyNodes. 2020-05-11 18:08:58 +08:00
sdk-team
92d767384b Support CreationCategory for CreateDBCluster. 2020-05-11 15:09:53 +08:00
sdk-team
32e4dafba9 Generated 2019-01-01 for Cassandra. 2020-05-09 22:55:19 +08:00
sdk-team
9f2fb5a595 VideoSearch deploy SDK. 2020-05-09 17:31:25 +08:00
sdk-team
590e1bdfaf Support sg for region. 2020-05-08 09:45:11 +08:00
sdk-team
bde21ef594 Describe describeAvailableResource. 2020-05-06 17:59:18 +08:00
sdk-team
7a8130ffb0 Add prometheus ListDashboards api. 2020-04-30 00:11:09 +08:00
sdk-team
4bb1852f8a Add prometheus ListDashboards api. 2020-04-29 23:47:40 +08:00
sdk-team
b1e2187ca5 Add prometheus ListDashboards api. 2020-04-29 23:13:32 +08:00
sdk-team
92be79728f Supported VideoProduce. 2020-04-29 20:05:40 +08:00
sdk-team
e1097547c2 Supported VideoProduce. 2020-04-29 20:00:15 +08:00
sdk-team
87957e1677 Supported VideoProduce. 2020-04-29 19:55:15 +08:00
sdk-team
8ef38637d2 Add ListTemplateVersions API. 2020-04-29 19:13:11 +08:00
sdk-team
7041b32dc4 Support groupId operations. 2020-04-29 18:52:43 +08:00
sdk-team
d3ae1f02a3 Add ExportTas apis. 2020-04-29 17:31:49 +08:00
sdk-team
87fc3376cb Support Document Translation. 2020-04-29 16:47:05 +08:00
sdk-team
f6ec6326cb Sync cdn APIs. 2020-04-29 16:35:08 +08:00
sdk-team
bd43e54271 Add Scdn APIS. 2020-04-29 16:10:26 +08:00
wb-hx510875
f16150baca fix : code patch
1. fixed code about delete char*
2. free curl_slist
3. added lock for EndpointProvider::LoadLocalEndpoints()
2020-04-28 16:41:32 +08:00
sdk-team
a51834c8d0 Generated 2019-03-15 for fnf. 2020-04-28 15:43:32 +08:00
sdk-team
23bea0505a Add CompareFaceVerify API. 2020-04-28 15:40:24 +08:00
sdk-team
8c15acf5c8 Support watermark. 2020-04-27 20:40:39 +08:00
sdk-team
00cb41817f Describe describeAvailableResource. 2020-04-27 20:35:05 +08:00
sdk-team
f90eac2a6c ContrastFaceVerify Return SubCode. 2020-04-27 17:52:10 +08:00
sdk-team
f69779be3f Generated 2019-01-01 for Cassandra. 2020-04-27 14:39:32 +08:00
sdk-team
feab9dcc06 New api publish. 2020-04-26 16:18:38 +08:00
sdk-team
d1c3599e3d Generated 2015-01-01 for R-kvstore. 2020-04-25 16:36:42 +08:00
sdk-team
f1483f8582 Publish apis for ledger instances. 2020-04-24 16:05:24 +08:00
sdk-team
d005611f56 Publish apis for ledger instances. 2020-04-24 16:01:11 +08:00
sdk-team
7e80260525 GetUser API return user execute query count information. 2020-04-23 22:37:56 +08:00
sdk-team
4aa00d49d1 Fixed bugs for MassPush API. 2020-04-23 17:51:52 +08:00
sdk-team
a1dd7e1dbd Add location info. 2020-04-23 10:38:48 +08:00
sdk-team
e6cff897c5 Support groupId operations. 2020-04-23 10:35:18 +08:00
sdk-team
4d493b157c Generated 2019-01-01 for Cassandra. 2020-04-22 17:17:11 +08:00
sdk-team
8a1c79417e Supported API for DescribeTags. 2020-04-21 11:02:12 +08:00
sdk-team
ad02a00036 Supported PackageDesign Apis. 2020-04-21 10:51:59 +08:00
sdk-team
3dd38f70c2 Add Statistics API. 2020-04-21 09:54:00 +08:00
sdk-team
cc6cea96e4 Add TemplateId. 2020-04-20 16:31:50 +08:00
sdk-team
f819d8866c Fix FaceContrastPicture. 2020-04-20 14:55:57 +08:00
sdk-team
d53a27c55f Add kibana network white Ips. 2020-04-20 14:25:18 +08:00
sdk-team
112b1d25da Multimedia poc modified. 2020-04-19 18:02:55 +08:00
sdk-team
f51d79f1b9 DescribeInstanceTypes support TotalEniQueueQuantity. 2020-04-17 17:56:20 +08:00
sdk-team
e53482d9c6 Modify SubmitSmarttagJob. 2020-04-16 19:47:18 +08:00
sdk-team
b004f4b9fa Add ModifyWhiteIps. 2020-04-16 18:17:53 +08:00
sdk-team
c9cf723562 Add BatchOptimization param in Stop and Start Instances. 2020-04-16 18:06:50 +08:00
sdk-team
b1020d412c Add features for open api. 2020-04-16 14:55:14 +08:00
sdk-team
c4d6cb06f1 Add pre train service api. 2020-04-15 19:58:49 +08:00
sdk-team
eeaeed4023 CreateNode API add return NodeId. 2020-04-15 14:44:32 +08:00
sdk-team
d7e14e0c1b Vision-poc response modified. 2020-04-15 11:24:42 +08:00
sdk-team
18dc3cd7d9 Support ListSensitiveColumns, ListSensitiveColumnsDetail API. 2020-04-14 21:52:24 +08:00
sdk-team
2dbb76d303 Supported CreateSegmentBodyJob. 2020-04-14 15:04:45 +08:00
sdk-team
ae65dcf4c3 Fix ListTaskExecutions SDK error. 2020-04-13 12:05:53 +08:00
sdk-team
1c5ad6a48c Generated 2017-05-25 for Dypnsapi. 2020-04-10 17:08:22 +08:00
sdk-team
1a13b03f29 Support GetOfficeEditURL. 2020-04-10 16:49:00 +08:00
wb-hx510875
c1e07be47e improve build 2020-04-10 15:58:45 +08:00
sdk-team
8fdb5cc851 Generated 2019-01-01 for Cassandra. 2020-04-10 15:09:26 +08:00
sdk-team
20774ebe3a Support DescribeIpv4Location. 2020-04-10 11:53:07 +08:00
sdk-team
485d712ddd Add prometheus api AddGrafana and AddIntegration. 2020-04-09 21:22:01 +08:00
sdk-team
abfdc41f3b Generated 2018-03-13 for retailcloud. 2020-04-09 16:22:52 +08:00
sdk-team
093332279d Add DescribePrice API. 2020-04-09 11:12:46 +08:00
sdk-team
85daa7c446 WAF OpenApi SDK Release. 2020-04-09 11:10:33 +08:00
sdk-team
2e465b8b77 Add DescribeDBClusterAvailableResources. 2020-04-09 10:52:46 +08:00
sdk-team
c58d7b0968 Generated 2015-01-01 for R-kvstore. 2020-04-09 09:50:22 +08:00
sdk-team
528c5282a8 Add SubCode for DescribeFaceVerify. 2020-04-08 21:43:09 +08:00
3518 changed files with 217805 additions and 23623 deletions

137
.clang-format Normal file
View File

@@ -0,0 +1,137 @@
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
- Regex: '.*'
Priority: 1
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
Standard: Latest
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
...

561
CHANGELOG
View File

@@ -1,3 +1,564 @@
2020-07-03 Version: 1.36.500
- Generated 2018-10-12 for `Airec`.
2020-07-03 Version: 1.36.499
- Add ListResourceExecutionStatus API.
- ListExecutions API supports filtering by resource id.
- TriggerExecution API supports TimerTrigger.
2020-07-03 Version: 1.36.498
- Supports tag management APIs.
2020-07-03 Version: 1.36.497
- Add PicUrl parameter for picture related API.
2020-07-03 Version: 1.36.496
- Add PicUrl parameter for picture related API.
2020-07-02 Version: 1.36.495
- Generated 2020-05-18 for `dataworks-public`.
2020-07-02 Version: 1.36.494
- Add GetFootwearPosition.
- Add PullTakeShoesEvent.
- Add PullTryOnShoesEvent.
2020-07-02 Version: 1.36.493
- Add GetFootwearPosition.
- Add PullTakeShoesEvent.
- Add PullTryOnShoesEvent.
2020-07-02 Version: 1.36.492
- Update endpoint.
2020-07-02 Version: 1.36.491
- CreateShardingDBInstance add ProtocolType, to support DynamoDB.
- DescribeDBInstances add return ResourceGroupId.
2020-07-01 Version: 1.36.490
- Add ListFace-MotorAlgorithmResults API.
2020-07-01 Version: 1.36.489
- Add API for GetMetadataAmount.
2020-07-01 Version: 1.36.488
- Support Saf For ExecuteExtendService.
2020-06-30 Version: 1.36.487
- Add ListMetrics API.
2020-06-29 Version: 1.36.486
- Supported Rotate.
2020-06-29 Version: 1.36.485
- Supported Rotate.
2020-06-29 Version: 1.36.484
- Add Model Parameter For InitFaceVerify API.
2020-06-26 Version: 1.36.483
- Supported Api EraseLogoInVideo.
2020-06-24 Version: 1.36.482
- Add DescribeBackupPlanBilling.
- Modify ConfigureBackupPlan.
- Modify CreateBackupPlan.
- Modify CreateRestoreTask.
- Modify DescribeRestoreTaskList.
- Modify DescribeBackupPlanList.
- Modify ModifyBackupSourceEndpoint.
- Modify ModifyBackupStrategy.
2020-06-23 Version: 1.36.481
- Add face quality detection API.
2020-06-23 Version: 1.36.480
- Add face quality detection API.
2020-06-23 Version: 1.36.479
- Add face quality detection API.
2020-06-23 Version: 1.36.478
- Add face quality detection API.
2020-06-23 Version: 1.36.477
- Generated 2015-12-15 for `CS`.
2020-06-23 Version: 1.36.476
- Support SubmitOperationAuditInfo for Support self-service submission of approval information.
- Support SubmitOperationCredentials for self-service submission of certificate information.
- Support CancelOperationAudit for cancel audit.
- Support GetOperationOssUploadPolic for get oss policy.
- Support QueryOperationAuditInfoLis for query audit list.
- Support QueryOperationAuditInfoDetail for query audit details.
2020-06-23 Version: 1.36.475
- Generated 2018-08-28 for `Tag`.
2020-06-23 Version: 1.36.474
- Public beta version.
- Add Api Overseas.
2020-06-23 Version: 1.36.473
- Public beta version.
- Add Api Overseas.
2020-06-23 Version: 1.36.472
- Public beta version.
- Add Api Overseas.
2020-06-22 Version: 1.36.471
- Add support cn-shenzhen region.
2020-06-22 Version: 1.36.470
- Add GetMultipleTrace api.
- Add SearchTracesByPage api.
- Add GetStack api.
2020-06-21 Version: 1.36.469
- Add persons API.
2020-06-18 Version: 1.36.468
- Supported TransformDBInstancePayType API.
2020-06-18 Version: 1.36.467
- Add GetAuthToken OpenAPI.
2020-06-18 Version: 1.36.466
- Public beta version.
- Add Api Overseas.
2020-06-17 Version: 1.36.465
- Supported sync create eni and assign private ip.
2020-06-17 Version: 1.36.464
- Public beta version.
- Add Api Overseas.
2020-06-16 Version: 1.36.463
- Support TargetImageId in ApplyNodes Interface.
2020-06-16 Version: 1.36.462
- Update monitor related API.
2020-06-15 Version: 1.36.461
- Generated 2019-09-10 for `waf-openapi`.
2020-06-15 Version: 1.36.460
- Generated 2019-09-10 for `waf-openapi`.
2020-06-12 Version: 1.36.459
- Add CreateProduct API ProductSecret in Response.
- Add AMQP APIs, including CreateSubscribeRelation, CreateConsumerGroup, etc.
- Add LinkIoTEdge CreateSceneRule API.
- Add LinkIoTEdge DeleteSceneRule API.
- Add LinkIoTEdge UpdateSceneRule API.
- Add LinkIoTEdge GetSceneRule API.
- Add LinkIoTEdge QuerySceneRule API.
- Add LinkIoTEdge EnableSceneRule API.
- Add LinkIoTEdge DisableSceneRule API.
- Add LinkIoTEdge TriggerSceneRule API.
- Add LinkIoTEdge QuerySummarySceneRuleLog API.
- Add LinkIoTEdge QueryDetailSceneRuleLog API.
- Add LinkIoTEdge BindSceneRuleToEdgeInstance API.
- Add LinkIoTEdge UnbindSceneRuleFromEdgeInstance API.
- Add LinkIoTEdge QueryEdgeInstanceSceneRule API.
2020-06-12 Version: 1.36.458
- Update monitor related API.
2020-06-12 Version: 1.36.457
- Add support for enable hbaseue extra module like lindorm-search or lindorm-sql.
2020-06-11 Version: 1.36.456
- Support ServicePeriodUnit in QueryInstanceBill.
2020-06-10 Version: 1.36.455
- Public beta version.
- Add Api Overseas.
2020-06-10 Version: 1.36.454
- Public beta version.
- Add Api Overseas.
2020-06-08 Version: 1.36.453
- Generate dbfs sdk.
2020-06-08 Version: 1.36.452
- Support offline instance.
2020-06-04 Version: 1.36.451
- Support for addrp.
2020-06-04 Version: 1.36.450
- Supported Eni Trunking.
2020-06-04 Version: 1.36.449
- Update monitor related API.
2020-06-04 Version: 1.36.448
- Add SubmitMediaDNADeleteJob and ListMediaDNADeleteJob.
- Modify GetMediaAuditResult interface, support ad logo and live result.
- Modify GetMediaAuditResultTimeline interface, support ad logo and live result.
2020-06-04 Version: 1.36.447
- Update monitor related API.
2020-06-04 Version: 1.36.446
- Update monitor related API.
2020-06-03 Version: 1.36.445
- Describe describeAvailableResource.
2020-06-03 Version: 1.36.444
- Describe describeAvailableResource.
2020-06-03 Version: 1.36.443
- Generated 2019-01-01 for `Cassandra`.
2020-06-03 Version: 1.36.442
- DescribeCameraStatistics add filed.
2020-06-02 Version: 1.36.441
- Edit SearchTraces api.
2020-05-28 Version: 1.36.440
- Supported AndroidNotificationXiaomiChannel for Push and MassPush.
2020-05-27 Version: 1.36.439
- Added cn-heyuan endpoint url.
- Added cn-wulanchabu endpoint url.
2020-05-27 Version: 1.36.438
- Add support for create hbaseue multizone instance.
2020-05-26 Version: 1.36.437
- Support DescribeAllEntity API.
2020-05-26 Version: 1.36.436
- Add smartcall service api.
2020-05-26 Version: 1.36.435
- Add smartcall service api.
2020-05-26 Version: 1.36.434
- Add monitor related API.
2020-05-26 Version: 1.36.433
- Add monitor related.
2020-05-26 Version: 1.36.432
- Add monitor related.
2020-05-25 Version: 1.36.431
- Add monitor related.
2020-05-25 Version: 1.36.430
- Add monitor related.
2020-05-23 Version: 1.36.429
- Generated 2015-01-01 for `R-kvstore`.
- Add ModifyResourceGroup API.
- DescribeInstanceAttribute return ResourceGroupId.
2020-05-22 Version: 1.36.428
- Add schedule crud api.
2020-05-21 Version: 1.36.427
- Support more error Codes.
2020-05-20 Version: 1.36.426
- Generated 2019-09-10 for `waf-openapi`.
2020-05-20 Version: 1.36.425
- Edit GetTrace and SearchTraces api.
2020-05-20 Version: 1.36.424
- Public beta version.
- Add Api Overseas.
2020-05-19 Version: 1.36.423
- Public beta version.
- Add Api Overseas.
2020-05-19 Version: 1.36.422
- Initial version.
2020-05-18 Version: 1.36.421
- Support sequence for listNodes.
- Support StrictSatisfiedTargetCapacity for applyNodes.
2020-05-18 Version: 1.36.420
- Fix DescribeIpcLiveAddress , add in params.
2020-05-18 Version: 1.36.419
- Fix DescribeIpcLiveAddress , add in params.
2020-05-17 Version: 1.36.418
- Open API publish.
2020-05-17 Version: 1.36.417
- Open API publish.
2020-05-17 Version: 1.36.416
- Open API publish.
2020-05-17 Version: 1.36.415
- Open API publish.
2020-05-17 Version: 1.36.414
- Open API publish.
2020-05-14 Version: 1.36.413
- Generated 2015-01-01 for `R-kvstore`.
- Fix DescribeCacheAnalysisReport return empty BigKeys because of wrong type defination.
2020-05-14 Version: 1.36.412
- Supported Grant Permission.
- Supported Revoke Permission.
2020-05-14 Version: 1.36.411
- Add demo edition auth.
2020-05-13 Version: 1.36.410
- Add ListDevicesImages DescribeIpcLiveAddress.
- Modify DescribeDevices.
2020-05-13 Version: 1.36.409
- Add ExportTas apis.
2020-05-13 Version: 1.36.408
- Generated 2019-09-10 for `waf-openapi`.
2020-05-13 Version: 1.36.407
- Supported AAA for BBB.
- Fixed bugs for CCC.
2020-05-13 Version: 1.36.406
- Add ExportTas apis.
2020-05-13 Version: 1.36.405
- About 2019-03-07 and 2018-09-16 Version.
2020-05-12 Version: 1.36.404
- Supported DRM.
2020-05-11 Version: 1.36.403
- Add new openapi ApplyNodes.
2020-05-11 Version: 1.36.402
- Support CreationCategory for CreateDBCluster.
2020-05-09 Version: 1.36.401
- Generated 2019-01-01 for `Cassandra`.
2020-05-09 Version: 1.36.400
- VideoSearch deploy SDK.
2020-05-08 Version: 1.36.399
- Support sg for region.
2020-05-06 Version: 1.36.398
- Describe describeAvailableResource.
2020-04-30 Version: 1.36.397
- Add prometheus ListDashboards api.
2020-04-29 Version: 1.36.396
- Add prometheus ListDashboards api.
2020-04-29 Version: 1.36.395
- Add prometheus ListDashboards api.
2020-04-29 Version: 1.36.394
- Supported VideoProduce.
2020-04-29 Version: 1.36.393
- Supported VideoProduce.
2020-04-29 Version: 1.36.392
- Supported VideoProduce.
2020-04-29 Version: 1.36.391
- Add ListTemplateVersions API.
- GenerateExecutionPolicy supports TemplateVersion.
- CreateTemplate and UpdateTemplate support VersionName.
2020-04-29 Version: 1.36.390
- Support groupId operations.
2020-04-29 Version: 1.36.389
- Add ExportTas apis.
2020-04-29 Version: 1.36.388
- Support Document Translation.
- Support Lanuage Detection.
2020-04-29 Version: 1.36.387
- Sync cdn APIs.
2020-04-29 Version: 1.36.386
- Add Scdn APIS.
- Sync cdn APIS.
2020-04-28 Version: 1.36.385
- Generated 2019-03-15 for `fnf`.
2020-04-28 Version: 1.36.384
- Add CompareFaceVerify API.
2020-04-27 Version: 1.36.383
- Support watermark.
2020-04-27 Version: 1.36.382
- Describe describeAvailableResource.
2020-04-27 Version: 1.36.381
- ContrastFaceVerify Return SubCode.
2020-04-27 Version: 1.36.380
- Generated 2019-01-01 for `Cassandra`.
2020-04-26 Version: 1.36.379
- New api publish.
2020-04-25 Version: 1.36.378
- Generated 2015-01-01 for `R-kvstore`.
- Add RestoreTime for CreateInstance API.
2020-04-24 Version: 1.36.377
- Publish apis for ledger instances.
- Publish apis for members.
- Publish apis for time anchors.
- Publish apis for endpoints.
2020-04-24 Version: 1.36.376
- Publish apis for ledger instances.
- Publish apis for members.
- Publish apis for time anchors.
- Publish apis for endpoints.
2020-04-23 Version: 1.36.375
- GetUser API return user execute query count information.
2020-04-23 Version: 1.36.374
- Fixed bugs for MassPush API.
2020-04-23 Version: 1.36.373
- Add location info.
2020-04-23 Version: 1.36.372
- Support groupId operations.
2020-04-22 Version: 1.36.371
- Generated 2019-01-01 for `Cassandra`.
2020-04-21 Version: 1.36.370
- Supported API for DescribeTags.
- Supported API for ListTagResources.
- Supported API for TagResources.
- Supported API for UntagResources.
2020-04-21 Version: 1.36.369
- Supported PackageDesign Apis.
- Supported Api ListPackageDesignModelTypes.
- Supported Api PreviewModelForPackageDesign.
- Supported Api RenderImageForPackageDesign.
- Supported Api GetRenderResult.
2020-04-21 Version: 1.36.368
- Add Statistics API.
2020-04-20 Version: 1.36.367
- Add TemplateId.
2020-04-20 Version: 1.36.366
- Fix FaceContrastPicture.
2020-04-20 Version: 1.36.365
- Add kibana network white Ips.
2020-04-19 Version: 1.36.364
- Multimedia poc modified.
2020-04-17 Version: 1.36.363
- DescribeInstanceTypes support TotalEniQueueQuantity.
2020-04-16 Version: 1.36.362
- Modify `SubmitSmarttagJob`.
2020-04-16 Version: 1.36.361
- Add ModifyWhiteIps.
2020-04-16 Version: 1.36.360
- Add BatchOptimization param in Stop and Start Instances.
- Add RemoveSymbols in GetInstanceConsoleOutput.
- Add ImageFamily in ModifyImageAttribute.
- Customize InstanceType on DedicatedHosts is supported.
- Add StorageCapacityUnit interfaces.
- Add param Tag in CreateAutoSnapshotPolicy.
2020-04-16 Version: 1.36.359
- Add features for open api.
2020-04-15 Version: 1.36.358
- Add pre train service api.
2020-04-15 Version: 1.36.357
- CreateNode API add return NodeId.
2020-04-15 Version: 1.36.356
- Vision-poc response modified.
2020-04-14 Version: 1.36.355
- Support ListSensitiveColumns, ListSensitiveColumnsDetail API.
- ListUsers API return user execute query count information.
- Fix ListWorkFlowTemplates to return create user information.
- UpdateUser API support to update user max execute query count.
2020-04-14 Version: 1.36.354
- Supported CreateSegmentBodyJob.
2020-04-13 Version: 1.36.353
- Fix ListTaskExecutions SDK error.
2020-04-10 Version: 1.36.352
- Generated 2017-05-25 for `Dypnsapi`.
2020-04-10 Version: 1.36.351
- Support GetOfficeEditURL.
- Support RefreshOfficeEditToken.
2020-04-10 Version: 1.36.350
- Generated 2019-01-01 for `Cassandra`.
2020-04-10 Version: 1.36.349
- Support DescribeIpv4Location.
2020-04-09 Version: 1.36.348
- Add prometheus api AddGrafana and AddIntegration.
2020-04-09 Version: 1.36.347
- Generated 2018-03-13 for `retailcloud`.
2020-04-09 Version: 1.36.346
- Add DescribePrice API.
2020-04-09 Version: 1.36.345
- WAF OpenApi SDK Release.
2020-04-09 Version: 1.36.344
- Add DescribeDBClusterAvailableResources.
2020-04-09 Version: 1.36.343
- Generated 2015-01-01 for `R-kvstore`.
- Add DescribePrice API.
2020-04-08 Version: 1.36.342
- Add SubCode for DescribeFaceVerify.
2020-04-08 Version: 1.36.341
- Generated 2019-01-01 for `Cassandra`.

View File

@@ -9,12 +9,14 @@ project(alibabacloud-sdk VERSION ${version})
message(STATUS "Project version: ${PROJECT_VERSION}")
set(TARGET_OUTPUT_NAME_PREFIX "alibabacloud-sdk-" CACHE STRING "The target's output name prefix")
set(BUILD_PRODUCT "" CACHE STRING "Build by lower name of product")
option(BUILD_SHARED_LIBS "Enable shared library" ON)
option(BUILD_UNIT_TESTS "Enable unit tests" OFF)
option(BUILD_FUNCTION_TESTS "Enable function test" OFF)
option(BUILD_PRODUCT "Build by lower name of product" OFF)
set(LIB_TYPE STATIC)
if(BUILD_SHARED_LIBS)
set(LIB_TYPE SHARED)
add_definitions(-DALIBABACLOUD_SHARED)
@@ -57,9 +59,12 @@ if(BUILD_FUNCTION_TESTS)
add_subdirectory(test/function_test/vpc)
endif()
if(NOT BUILD_PRODUCT)
message(WARNING "INVALID FOLDER 'BUILD_PRODUCT'=${BUILD_PRODUCT}")
if(BUILD_PRODUCT STREQUAL "")
message(WARNING "Please set the value of 'BUILD_PRODUCT'")
elseif(BUILD_PRODUCT STREQUAL "core")
add_subdirectory(core)
else()
add_subdirectory(core)
add_subdirectory(${BUILD_PRODUCT})
message(STATUS "'BUILD_PRODUCT'=${BUILD_PRODUCT}")
endif()

View File

@@ -103,6 +103,7 @@ sudo sh easyinstall.sh ecs
* 选择 `Browse Source` 为 `源代码目录(aliyun-openapi-cpp-sdk)`
* 选择 `Browse build` 为 `构建目录(sdk_build)`
* 点击 `configure`
* 使用小写的产品名称,设置 `BUILD_PRODUCT` 参数的值
* 点击 `generate`, 构建 VS 解决方案。
4. 编译安装 C++ SDK

View File

@@ -109,6 +109,8 @@ git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
- `Configure`
- use the lower name of product to set the value of `BUILD_PRODUCT`
- `Generate`
4. Build and Install C++ SDK

View File

@@ -1 +1 @@
1.36.341
1.36.500

View File

@@ -21,29 +21,53 @@ set(address-purification_public_header
include/alibabacloud/address-purification/Address_purificationExport.h )
set(address-purification_public_header_model
include/alibabacloud/address-purification/model/DescribeProductRequest.h
include/alibabacloud/address-purification/model/DescribeProductResult.h
include/alibabacloud/address-purification/model/GetAlgorithmResultRequest.h
include/alibabacloud/address-purification/model/GetAlgorithmResultResult.h
include/alibabacloud/address-purification/model/GetConsoleResultRequest.h
include/alibabacloud/address-purification/model/GetConsoleResultResult.h
include/alibabacloud/address-purification/model/GetReportRequest.h
include/alibabacloud/address-purification/model/GetReportResult.h
include/alibabacloud/address-purification/model/GetUserInfomationRequest.h
include/alibabacloud/address-purification/model/GetUserInfomationResult.h )
include/alibabacloud/address-purification/model/ClassifyPOIRequest.h
include/alibabacloud/address-purification/model/ClassifyPOIResult.h
include/alibabacloud/address-purification/model/CompleteAddressRequest.h
include/alibabacloud/address-purification/model/CompleteAddressResult.h
include/alibabacloud/address-purification/model/CorrectAddressRequest.h
include/alibabacloud/address-purification/model/CorrectAddressResult.h
include/alibabacloud/address-purification/model/ExtractAddressRequest.h
include/alibabacloud/address-purification/model/ExtractAddressResult.h
include/alibabacloud/address-purification/model/ExtractNameRequest.h
include/alibabacloud/address-purification/model/ExtractNameResult.h
include/alibabacloud/address-purification/model/ExtractPhoneRequest.h
include/alibabacloud/address-purification/model/ExtractPhoneResult.h
include/alibabacloud/address-purification/model/GetAddressDivisionCodeRequest.h
include/alibabacloud/address-purification/model/GetAddressDivisionCodeResult.h
include/alibabacloud/address-purification/model/GetAddressSimilarityRequest.h
include/alibabacloud/address-purification/model/GetAddressSimilarityResult.h
include/alibabacloud/address-purification/model/GetZipcodeRequest.h
include/alibabacloud/address-purification/model/GetZipcodeResult.h
include/alibabacloud/address-purification/model/StructureAddressRequest.h
include/alibabacloud/address-purification/model/StructureAddressResult.h
include/alibabacloud/address-purification/model/UpdateProjectRequest.h
include/alibabacloud/address-purification/model/UpdateProjectResult.h )
set(address-purification_src
src/Address-purificationClient.cc
src/model/DescribeProductRequest.cc
src/model/DescribeProductResult.cc
src/model/GetAlgorithmResultRequest.cc
src/model/GetAlgorithmResultResult.cc
src/model/GetConsoleResultRequest.cc
src/model/GetConsoleResultResult.cc
src/model/GetReportRequest.cc
src/model/GetReportResult.cc
src/model/GetUserInfomationRequest.cc
src/model/GetUserInfomationResult.cc )
src/model/ClassifyPOIRequest.cc
src/model/ClassifyPOIResult.cc
src/model/CompleteAddressRequest.cc
src/model/CompleteAddressResult.cc
src/model/CorrectAddressRequest.cc
src/model/CorrectAddressResult.cc
src/model/ExtractAddressRequest.cc
src/model/ExtractAddressResult.cc
src/model/ExtractNameRequest.cc
src/model/ExtractNameResult.cc
src/model/ExtractPhoneRequest.cc
src/model/ExtractPhoneResult.cc
src/model/GetAddressDivisionCodeRequest.cc
src/model/GetAddressDivisionCodeResult.cc
src/model/GetAddressSimilarityRequest.cc
src/model/GetAddressSimilarityResult.cc
src/model/GetZipcodeRequest.cc
src/model/GetZipcodeResult.cc
src/model/StructureAddressRequest.cc
src/model/StructureAddressResult.cc
src/model/UpdateProjectRequest.cc
src/model/UpdateProjectResult.cc )
add_library(address-purification ${LIB_TYPE}
${address-purification_public_header}

View File

@@ -22,16 +22,28 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "Address_purificationExport.h"
#include "model/DescribeProductRequest.h"
#include "model/DescribeProductResult.h"
#include "model/GetAlgorithmResultRequest.h"
#include "model/GetAlgorithmResultResult.h"
#include "model/GetConsoleResultRequest.h"
#include "model/GetConsoleResultResult.h"
#include "model/GetReportRequest.h"
#include "model/GetReportResult.h"
#include "model/GetUserInfomationRequest.h"
#include "model/GetUserInfomationResult.h"
#include "model/ClassifyPOIRequest.h"
#include "model/ClassifyPOIResult.h"
#include "model/CompleteAddressRequest.h"
#include "model/CompleteAddressResult.h"
#include "model/CorrectAddressRequest.h"
#include "model/CorrectAddressResult.h"
#include "model/ExtractAddressRequest.h"
#include "model/ExtractAddressResult.h"
#include "model/ExtractNameRequest.h"
#include "model/ExtractNameResult.h"
#include "model/ExtractPhoneRequest.h"
#include "model/ExtractPhoneResult.h"
#include "model/GetAddressDivisionCodeRequest.h"
#include "model/GetAddressDivisionCodeResult.h"
#include "model/GetAddressSimilarityRequest.h"
#include "model/GetAddressSimilarityResult.h"
#include "model/GetZipcodeRequest.h"
#include "model/GetZipcodeResult.h"
#include "model/StructureAddressRequest.h"
#include "model/StructureAddressResult.h"
#include "model/UpdateProjectRequest.h"
#include "model/UpdateProjectResult.h"
namespace AlibabaCloud
@@ -41,41 +53,77 @@ namespace AlibabaCloud
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT Address_purificationClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeProductResult> DescribeProductOutcome;
typedef std::future<DescribeProductOutcome> DescribeProductOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::DescribeProductRequest&, const DescribeProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductAsyncHandler;
typedef Outcome<Error, Model::GetAlgorithmResultResult> GetAlgorithmResultOutcome;
typedef std::future<GetAlgorithmResultOutcome> GetAlgorithmResultOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetAlgorithmResultRequest&, const GetAlgorithmResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAlgorithmResultAsyncHandler;
typedef Outcome<Error, Model::GetConsoleResultResult> GetConsoleResultOutcome;
typedef std::future<GetConsoleResultOutcome> GetConsoleResultOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetConsoleResultRequest&, const GetConsoleResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsoleResultAsyncHandler;
typedef Outcome<Error, Model::GetReportResult> GetReportOutcome;
typedef std::future<GetReportOutcome> GetReportOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetReportRequest&, const GetReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetReportAsyncHandler;
typedef Outcome<Error, Model::GetUserInfomationResult> GetUserInfomationOutcome;
typedef std::future<GetUserInfomationOutcome> GetUserInfomationOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetUserInfomationRequest&, const GetUserInfomationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserInfomationAsyncHandler;
typedef Outcome<Error, Model::ClassifyPOIResult> ClassifyPOIOutcome;
typedef std::future<ClassifyPOIOutcome> ClassifyPOIOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::ClassifyPOIRequest&, const ClassifyPOIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClassifyPOIAsyncHandler;
typedef Outcome<Error, Model::CompleteAddressResult> CompleteAddressOutcome;
typedef std::future<CompleteAddressOutcome> CompleteAddressOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::CompleteAddressRequest&, const CompleteAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompleteAddressAsyncHandler;
typedef Outcome<Error, Model::CorrectAddressResult> CorrectAddressOutcome;
typedef std::future<CorrectAddressOutcome> CorrectAddressOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::CorrectAddressRequest&, const CorrectAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CorrectAddressAsyncHandler;
typedef Outcome<Error, Model::ExtractAddressResult> ExtractAddressOutcome;
typedef std::future<ExtractAddressOutcome> ExtractAddressOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::ExtractAddressRequest&, const ExtractAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractAddressAsyncHandler;
typedef Outcome<Error, Model::ExtractNameResult> ExtractNameOutcome;
typedef std::future<ExtractNameOutcome> ExtractNameOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::ExtractNameRequest&, const ExtractNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractNameAsyncHandler;
typedef Outcome<Error, Model::ExtractPhoneResult> ExtractPhoneOutcome;
typedef std::future<ExtractPhoneOutcome> ExtractPhoneOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::ExtractPhoneRequest&, const ExtractPhoneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractPhoneAsyncHandler;
typedef Outcome<Error, Model::GetAddressDivisionCodeResult> GetAddressDivisionCodeOutcome;
typedef std::future<GetAddressDivisionCodeOutcome> GetAddressDivisionCodeOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressDivisionCodeRequest&, const GetAddressDivisionCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressDivisionCodeAsyncHandler;
typedef Outcome<Error, Model::GetAddressSimilarityResult> GetAddressSimilarityOutcome;
typedef std::future<GetAddressSimilarityOutcome> GetAddressSimilarityOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressSimilarityRequest&, const GetAddressSimilarityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressSimilarityAsyncHandler;
typedef Outcome<Error, Model::GetZipcodeResult> GetZipcodeOutcome;
typedef std::future<GetZipcodeOutcome> GetZipcodeOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::GetZipcodeRequest&, const GetZipcodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetZipcodeAsyncHandler;
typedef Outcome<Error, Model::StructureAddressResult> StructureAddressOutcome;
typedef std::future<StructureAddressOutcome> StructureAddressOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::StructureAddressRequest&, const StructureAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StructureAddressAsyncHandler;
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
typedef std::function<void(const Address_purificationClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
Address_purificationClient(const Credentials &credentials, const ClientConfiguration &configuration);
Address_purificationClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
Address_purificationClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~Address_purificationClient();
DescribeProductOutcome describeProduct(const Model::DescribeProductRequest &request)const;
void describeProductAsync(const Model::DescribeProductRequest& request, const DescribeProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeProductOutcomeCallable describeProductCallable(const Model::DescribeProductRequest& request) const;
GetAlgorithmResultOutcome getAlgorithmResult(const Model::GetAlgorithmResultRequest &request)const;
void getAlgorithmResultAsync(const Model::GetAlgorithmResultRequest& request, const GetAlgorithmResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAlgorithmResultOutcomeCallable getAlgorithmResultCallable(const Model::GetAlgorithmResultRequest& request) const;
GetConsoleResultOutcome getConsoleResult(const Model::GetConsoleResultRequest &request)const;
void getConsoleResultAsync(const Model::GetConsoleResultRequest& request, const GetConsoleResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetConsoleResultOutcomeCallable getConsoleResultCallable(const Model::GetConsoleResultRequest& request) const;
GetReportOutcome getReport(const Model::GetReportRequest &request)const;
void getReportAsync(const Model::GetReportRequest& request, const GetReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetReportOutcomeCallable getReportCallable(const Model::GetReportRequest& request) const;
GetUserInfomationOutcome getUserInfomation(const Model::GetUserInfomationRequest &request)const;
void getUserInfomationAsync(const Model::GetUserInfomationRequest& request, const GetUserInfomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserInfomationOutcomeCallable getUserInfomationCallable(const Model::GetUserInfomationRequest& request) const;
ClassifyPOIOutcome classifyPOI(const Model::ClassifyPOIRequest &request)const;
void classifyPOIAsync(const Model::ClassifyPOIRequest& request, const ClassifyPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ClassifyPOIOutcomeCallable classifyPOICallable(const Model::ClassifyPOIRequest& request) const;
CompleteAddressOutcome completeAddress(const Model::CompleteAddressRequest &request)const;
void completeAddressAsync(const Model::CompleteAddressRequest& request, const CompleteAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CompleteAddressOutcomeCallable completeAddressCallable(const Model::CompleteAddressRequest& request) const;
CorrectAddressOutcome correctAddress(const Model::CorrectAddressRequest &request)const;
void correctAddressAsync(const Model::CorrectAddressRequest& request, const CorrectAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CorrectAddressOutcomeCallable correctAddressCallable(const Model::CorrectAddressRequest& request) const;
ExtractAddressOutcome extractAddress(const Model::ExtractAddressRequest &request)const;
void extractAddressAsync(const Model::ExtractAddressRequest& request, const ExtractAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExtractAddressOutcomeCallable extractAddressCallable(const Model::ExtractAddressRequest& request) const;
ExtractNameOutcome extractName(const Model::ExtractNameRequest &request)const;
void extractNameAsync(const Model::ExtractNameRequest& request, const ExtractNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExtractNameOutcomeCallable extractNameCallable(const Model::ExtractNameRequest& request) const;
ExtractPhoneOutcome extractPhone(const Model::ExtractPhoneRequest &request)const;
void extractPhoneAsync(const Model::ExtractPhoneRequest& request, const ExtractPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExtractPhoneOutcomeCallable extractPhoneCallable(const Model::ExtractPhoneRequest& request) const;
GetAddressDivisionCodeOutcome getAddressDivisionCode(const Model::GetAddressDivisionCodeRequest &request)const;
void getAddressDivisionCodeAsync(const Model::GetAddressDivisionCodeRequest& request, const GetAddressDivisionCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAddressDivisionCodeOutcomeCallable getAddressDivisionCodeCallable(const Model::GetAddressDivisionCodeRequest& request) const;
GetAddressSimilarityOutcome getAddressSimilarity(const Model::GetAddressSimilarityRequest &request)const;
void getAddressSimilarityAsync(const Model::GetAddressSimilarityRequest& request, const GetAddressSimilarityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAddressSimilarityOutcomeCallable getAddressSimilarityCallable(const Model::GetAddressSimilarityRequest& request) const;
GetZipcodeOutcome getZipcode(const Model::GetZipcodeRequest &request)const;
void getZipcodeAsync(const Model::GetZipcodeRequest& request, const GetZipcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetZipcodeOutcomeCallable getZipcodeCallable(const Model::GetZipcodeRequest& request) const;
StructureAddressOutcome structureAddress(const Model::StructureAddressRequest &request)const;
void structureAddressAsync(const Model::StructureAddressRequest& request, const StructureAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StructureAddressOutcomeCallable structureAddressCallable(const Model::StructureAddressRequest& request) const;
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ClassifyPOIRequest : public RpcServiceRequest
{
public:
ClassifyPOIRequest();
~ClassifyPOIRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTRESULT_H_
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_H_
#include <string>
#include <vector>
@@ -29,27 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetReportResult : public ServiceResult
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ClassifyPOIResult : public ServiceResult
{
public:
GetReportResult();
explicit GetReportResult(const std::string &payload);
~GetReportResult();
ClassifyPOIResult();
explicit ClassifyPOIResult(const std::string &payload);
~ClassifyPOIResult();
std::string getData()const;
std::string getErrMessage()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
std::string errMessage_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTRESULT_H_
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CompleteAddressRequest : public RpcServiceRequest
{
public:
CompleteAddressRequest();
~CompleteAddressRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_H_
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_H_
#include <string>
#include <vector>
@@ -29,27 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetUserInfomationResult : public ServiceResult
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CompleteAddressResult : public ServiceResult
{
public:
GetUserInfomationResult();
explicit GetUserInfomationResult(const std::string &payload);
~GetUserInfomationResult();
CompleteAddressResult();
explicit CompleteAddressResult(const std::string &payload);
~CompleteAddressResult();
std::string getData()const;
std::string getErrMessage()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
std::string errMessage_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_H_
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CorrectAddressRequest : public RpcServiceRequest
{
public:
CorrectAddressRequest();
~CorrectAddressRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_H_

View File

@@ -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_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CorrectAddressResult : public ServiceResult
{
public:
CorrectAddressResult();
explicit CorrectAddressResult(const std::string &payload);
~CorrectAddressResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractAddressRequest : public RpcServiceRequest
{
public:
ExtractAddressRequest();
~ExtractAddressRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_H_

View File

@@ -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_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractAddressResult : public ServiceResult
{
public:
ExtractAddressResult();
explicit ExtractAddressResult(const std::string &payload);
~ExtractAddressResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractNameRequest : public RpcServiceRequest
{
public:
ExtractNameRequest();
~ExtractNameRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_H_

View File

@@ -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_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractNameResult : public ServiceResult
{
public:
ExtractNameResult();
explicit ExtractNameResult(const std::string &payload);
~ExtractNameResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractPhoneRequest : public RpcServiceRequest
{
public:
ExtractPhoneRequest();
~ExtractPhoneRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_H_
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT DescribeProductResult : public ServiceResult
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractPhoneResult : public ServiceResult
{
public:
DescribeProductResult();
explicit DescribeProductResult(const std::string &payload);
~DescribeProductResult();
ExtractPhoneResult();
explicit ExtractPhoneResult(const std::string &payload);
~ExtractPhoneResult();
std::string getData()const;
std::string getErrMessage()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
std::string errMessage_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_H_
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressDivisionCodeRequest : public RpcServiceRequest
{
public:
GetAddressDivisionCodeRequest();
~GetAddressDivisionCodeRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_

View File

@@ -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_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressDivisionCodeResult : public ServiceResult
{
public:
GetAddressDivisionCodeResult();
explicit GetAddressDivisionCodeResult(const std::string &payload);
~GetAddressDivisionCodeResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressSimilarityRequest : public RpcServiceRequest
{
public:
GetAddressSimilarityRequest();
~GetAddressSimilarityRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_H_

View File

@@ -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_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressSimilarityResult : public ServiceResult
{
public:
GetAddressSimilarityResult();
explicit GetAddressSimilarityResult(const std::string &payload);
~GetAddressSimilarityResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetConsoleResultRequest : public RpcServiceRequest
{
public:
GetConsoleResultRequest();
~GetConsoleResultRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getApiCode()const;
void setApiCode(const std::string& apiCode);
std::string getCommodityCode()const;
void setCommodityCode(const std::string& commodityCode);
std::string getParameters()const;
void setParameters(const std::string& parameters);
private:
std::string productCode_;
std::string apiCode_;
std::string commodityCode_;
std::string parameters_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetReportRequest : public RpcServiceRequest
{
public:
GetReportRequest();
~GetReportRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getReportType()const;
void setReportType(const std::string& reportType);
std::string getApiCode()const;
void setApiCode(const std::string& apiCode);
std::string getGranularity()const;
void setGranularity(const std::string& granularity);
std::string getCommodityCode()const;
void setCommodityCode(const std::string& commodityCode);
std::string getParameters()const;
void setParameters(const std::string& parameters);
private:
std::string productCode_;
std::string reportType_;
std::string apiCode_;
std::string granularity_;
std::string commodityCode_;
std::string parameters_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,36 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAlgorithmResultRequest : public RpcServiceRequest
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetZipcodeRequest : public RpcServiceRequest
{
public:
GetAlgorithmResultRequest();
~GetAlgorithmResultRequest();
GetZipcodeRequest();
~GetZipcodeRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getApiCode()const;
void setApiCode(const std::string& apiCode);
std::string getParameters()const;
void setParameters(const std::string& parameters);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string apiCode_;
std::string parameters_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_H_

View File

@@ -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_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetZipcodeResult : public ServiceResult
{
public:
GetZipcodeResult();
explicit GetZipcodeResult(const std::string &payload);
~GetZipcodeResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT StructureAddressRequest : public RpcServiceRequest
{
public:
StructureAddressRequest();
~StructureAddressRequest();
std::string getDefaultProvince()const;
void setDefaultProvince(const std::string& defaultProvince);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getDefaultCity()const;
void setDefaultCity(const std::string& defaultCity);
std::string getDefaultDistrict()const;
void setDefaultDistrict(const std::string& defaultDistrict);
std::string getAppKey()const;
void setAppKey(const std::string& appKey);
std::string getText()const;
void setText(const std::string& text);
private:
std::string defaultProvince_;
std::string serviceCode_;
std::string defaultCity_;
std::string defaultDistrict_;
std::string appKey_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTRESULT_H_
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSRESULT_H_
#include <string>
#include <vector>
@@ -29,27 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetConsoleResultResult : public ServiceResult
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT StructureAddressResult : public ServiceResult
{
public:
GetConsoleResultResult();
explicit GetConsoleResultResult(const std::string &payload);
~GetConsoleResultResult();
StructureAddressResult();
explicit StructureAddressResult(const std::string &payload);
~StructureAddressResult();
std::string getData()const;
std::string getErrMessage()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
std::string errMessage_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTRESULT_H_
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTREQUEST_H_
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTREQUEST_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT DescribeProductRequest : public RpcServiceRequest
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT UpdateProjectRequest : public RpcServiceRequest
{
public:
DescribeProductRequest();
~DescribeProductRequest();
UpdateProjectRequest();
~UpdateProjectRequest();
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTREQUEST_H_
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTREQUEST_H_

View File

@@ -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_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTRESULT_H_
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/address-purification/Address_purificationExport.h>
namespace AlibabaCloud
{
namespace Address_purification
{
namespace Model
{
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT UpdateProjectResult : public ServiceResult
{
public:
UpdateProjectResult();
explicit UpdateProjectResult(const std::string &payload);
~UpdateProjectResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTRESULT_H_

View File

@@ -31,200 +31,416 @@ Address_purificationClient::Address_purificationClient(const Credentials &creden
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, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
}
Address_purificationClient::Address_purificationClient(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, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
}
Address_purificationClient::Address_purificationClient(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, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
}
Address_purificationClient::~Address_purificationClient()
{}
Address_purificationClient::DescribeProductOutcome Address_purificationClient::describeProduct(const DescribeProductRequest &request) const
Address_purificationClient::ClassifyPOIOutcome Address_purificationClient::classifyPOI(const ClassifyPOIRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeProductOutcome(endpointOutcome.error());
return ClassifyPOIOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeProductOutcome(DescribeProductResult(outcome.result()));
return ClassifyPOIOutcome(ClassifyPOIResult(outcome.result()));
else
return DescribeProductOutcome(outcome.error());
return ClassifyPOIOutcome(outcome.error());
}
void Address_purificationClient::describeProductAsync(const DescribeProductRequest& request, const DescribeProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::classifyPOIAsync(const ClassifyPOIRequest& request, const ClassifyPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeProduct(request), context);
handler(this, request, classifyPOI(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::DescribeProductOutcomeCallable Address_purificationClient::describeProductCallable(const DescribeProductRequest &request) const
Address_purificationClient::ClassifyPOIOutcomeCallable Address_purificationClient::classifyPOICallable(const ClassifyPOIRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeProductOutcome()>>(
auto task = std::make_shared<std::packaged_task<ClassifyPOIOutcome()>>(
[this, request]()
{
return this->describeProduct(request);
return this->classifyPOI(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetAlgorithmResultOutcome Address_purificationClient::getAlgorithmResult(const GetAlgorithmResultRequest &request) const
Address_purificationClient::CompleteAddressOutcome Address_purificationClient::completeAddress(const CompleteAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAlgorithmResultOutcome(endpointOutcome.error());
return CompleteAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAlgorithmResultOutcome(GetAlgorithmResultResult(outcome.result()));
return CompleteAddressOutcome(CompleteAddressResult(outcome.result()));
else
return GetAlgorithmResultOutcome(outcome.error());
return CompleteAddressOutcome(outcome.error());
}
void Address_purificationClient::getAlgorithmResultAsync(const GetAlgorithmResultRequest& request, const GetAlgorithmResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::completeAddressAsync(const CompleteAddressRequest& request, const CompleteAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAlgorithmResult(request), context);
handler(this, request, completeAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetAlgorithmResultOutcomeCallable Address_purificationClient::getAlgorithmResultCallable(const GetAlgorithmResultRequest &request) const
Address_purificationClient::CompleteAddressOutcomeCallable Address_purificationClient::completeAddressCallable(const CompleteAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAlgorithmResultOutcome()>>(
auto task = std::make_shared<std::packaged_task<CompleteAddressOutcome()>>(
[this, request]()
{
return this->getAlgorithmResult(request);
return this->completeAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetConsoleResultOutcome Address_purificationClient::getConsoleResult(const GetConsoleResultRequest &request) const
Address_purificationClient::CorrectAddressOutcome Address_purificationClient::correctAddress(const CorrectAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetConsoleResultOutcome(endpointOutcome.error());
return CorrectAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetConsoleResultOutcome(GetConsoleResultResult(outcome.result()));
return CorrectAddressOutcome(CorrectAddressResult(outcome.result()));
else
return GetConsoleResultOutcome(outcome.error());
return CorrectAddressOutcome(outcome.error());
}
void Address_purificationClient::getConsoleResultAsync(const GetConsoleResultRequest& request, const GetConsoleResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::correctAddressAsync(const CorrectAddressRequest& request, const CorrectAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getConsoleResult(request), context);
handler(this, request, correctAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetConsoleResultOutcomeCallable Address_purificationClient::getConsoleResultCallable(const GetConsoleResultRequest &request) const
Address_purificationClient::CorrectAddressOutcomeCallable Address_purificationClient::correctAddressCallable(const CorrectAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetConsoleResultOutcome()>>(
auto task = std::make_shared<std::packaged_task<CorrectAddressOutcome()>>(
[this, request]()
{
return this->getConsoleResult(request);
return this->correctAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetReportOutcome Address_purificationClient::getReport(const GetReportRequest &request) const
Address_purificationClient::ExtractAddressOutcome Address_purificationClient::extractAddress(const ExtractAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetReportOutcome(endpointOutcome.error());
return ExtractAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetReportOutcome(GetReportResult(outcome.result()));
return ExtractAddressOutcome(ExtractAddressResult(outcome.result()));
else
return GetReportOutcome(outcome.error());
return ExtractAddressOutcome(outcome.error());
}
void Address_purificationClient::getReportAsync(const GetReportRequest& request, const GetReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::extractAddressAsync(const ExtractAddressRequest& request, const ExtractAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getReport(request), context);
handler(this, request, extractAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetReportOutcomeCallable Address_purificationClient::getReportCallable(const GetReportRequest &request) const
Address_purificationClient::ExtractAddressOutcomeCallable Address_purificationClient::extractAddressCallable(const ExtractAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetReportOutcome()>>(
auto task = std::make_shared<std::packaged_task<ExtractAddressOutcome()>>(
[this, request]()
{
return this->getReport(request);
return this->extractAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetUserInfomationOutcome Address_purificationClient::getUserInfomation(const GetUserInfomationRequest &request) const
Address_purificationClient::ExtractNameOutcome Address_purificationClient::extractName(const ExtractNameRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetUserInfomationOutcome(endpointOutcome.error());
return ExtractNameOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetUserInfomationOutcome(GetUserInfomationResult(outcome.result()));
return ExtractNameOutcome(ExtractNameResult(outcome.result()));
else
return GetUserInfomationOutcome(outcome.error());
return ExtractNameOutcome(outcome.error());
}
void Address_purificationClient::getUserInfomationAsync(const GetUserInfomationRequest& request, const GetUserInfomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void Address_purificationClient::extractNameAsync(const ExtractNameRequest& request, const ExtractNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getUserInfomation(request), context);
handler(this, request, extractName(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetUserInfomationOutcomeCallable Address_purificationClient::getUserInfomationCallable(const GetUserInfomationRequest &request) const
Address_purificationClient::ExtractNameOutcomeCallable Address_purificationClient::extractNameCallable(const ExtractNameRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetUserInfomationOutcome()>>(
auto task = std::make_shared<std::packaged_task<ExtractNameOutcome()>>(
[this, request]()
{
return this->getUserInfomation(request);
return this->extractName(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::ExtractPhoneOutcome Address_purificationClient::extractPhone(const ExtractPhoneRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ExtractPhoneOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ExtractPhoneOutcome(ExtractPhoneResult(outcome.result()));
else
return ExtractPhoneOutcome(outcome.error());
}
void Address_purificationClient::extractPhoneAsync(const ExtractPhoneRequest& request, const ExtractPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, extractPhone(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::ExtractPhoneOutcomeCallable Address_purificationClient::extractPhoneCallable(const ExtractPhoneRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ExtractPhoneOutcome()>>(
[this, request]()
{
return this->extractPhone(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetAddressDivisionCodeOutcome Address_purificationClient::getAddressDivisionCode(const GetAddressDivisionCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAddressDivisionCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAddressDivisionCodeOutcome(GetAddressDivisionCodeResult(outcome.result()));
else
return GetAddressDivisionCodeOutcome(outcome.error());
}
void Address_purificationClient::getAddressDivisionCodeAsync(const GetAddressDivisionCodeRequest& request, const GetAddressDivisionCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAddressDivisionCode(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetAddressDivisionCodeOutcomeCallable Address_purificationClient::getAddressDivisionCodeCallable(const GetAddressDivisionCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAddressDivisionCodeOutcome()>>(
[this, request]()
{
return this->getAddressDivisionCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetAddressSimilarityOutcome Address_purificationClient::getAddressSimilarity(const GetAddressSimilarityRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAddressSimilarityOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAddressSimilarityOutcome(GetAddressSimilarityResult(outcome.result()));
else
return GetAddressSimilarityOutcome(outcome.error());
}
void Address_purificationClient::getAddressSimilarityAsync(const GetAddressSimilarityRequest& request, const GetAddressSimilarityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAddressSimilarity(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetAddressSimilarityOutcomeCallable Address_purificationClient::getAddressSimilarityCallable(const GetAddressSimilarityRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAddressSimilarityOutcome()>>(
[this, request]()
{
return this->getAddressSimilarity(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::GetZipcodeOutcome Address_purificationClient::getZipcode(const GetZipcodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetZipcodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetZipcodeOutcome(GetZipcodeResult(outcome.result()));
else
return GetZipcodeOutcome(outcome.error());
}
void Address_purificationClient::getZipcodeAsync(const GetZipcodeRequest& request, const GetZipcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getZipcode(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::GetZipcodeOutcomeCallable Address_purificationClient::getZipcodeCallable(const GetZipcodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetZipcodeOutcome()>>(
[this, request]()
{
return this->getZipcode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::StructureAddressOutcome Address_purificationClient::structureAddress(const StructureAddressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StructureAddressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StructureAddressOutcome(StructureAddressResult(outcome.result()));
else
return StructureAddressOutcome(outcome.error());
}
void Address_purificationClient::structureAddressAsync(const StructureAddressRequest& request, const StructureAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, structureAddress(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::StructureAddressOutcomeCallable Address_purificationClient::structureAddressCallable(const StructureAddressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StructureAddressOutcome()>>(
[this, request]()
{
return this->structureAddress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Address_purificationClient::UpdateProjectOutcome Address_purificationClient::updateProject(const UpdateProjectRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateProjectOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateProjectOutcome(UpdateProjectResult(outcome.result()));
else
return UpdateProjectOutcome(outcome.error());
}
void Address_purificationClient::updateProjectAsync(const UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateProject(request), context);
};
asyncExecute(new Runnable(fn));
}
Address_purificationClient::UpdateProjectOutcomeCallable Address_purificationClient::updateProjectCallable(const UpdateProjectRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateProjectOutcome()>>(
[this, request]()
{
return this->updateProject(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/ClassifyPOIRequest.h>
using AlibabaCloud::Address_purification::Model::ClassifyPOIRequest;
ClassifyPOIRequest::ClassifyPOIRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "ClassifyPOI")
{
setMethod(HttpRequest::Method::Post);
}
ClassifyPOIRequest::~ClassifyPOIRequest()
{}
std::string ClassifyPOIRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void ClassifyPOIRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string ClassifyPOIRequest::getServiceCode()const
{
return serviceCode_;
}
void ClassifyPOIRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string ClassifyPOIRequest::getDefaultCity()const
{
return defaultCity_;
}
void ClassifyPOIRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string ClassifyPOIRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void ClassifyPOIRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string ClassifyPOIRequest::getAppKey()const
{
return appKey_;
}
void ClassifyPOIRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string ClassifyPOIRequest::getText()const
{
return text_;
}
void ClassifyPOIRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -14,31 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/cs/model/ServiceMeshRemoveClusterResult.h>
#include <alibabacloud/address-purification/model/ClassifyPOIResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CS;
using namespace AlibabaCloud::CS::Model;
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
ServiceMeshRemoveClusterResult::ServiceMeshRemoveClusterResult() :
ClassifyPOIResult::ClassifyPOIResult() :
ServiceResult()
{}
ServiceMeshRemoveClusterResult::ServiceMeshRemoveClusterResult(const std::string &payload) :
ClassifyPOIResult::ClassifyPOIResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ServiceMeshRemoveClusterResult::~ServiceMeshRemoveClusterResult()
ClassifyPOIResult::~ClassifyPOIResult()
{}
void ServiceMeshRemoveClusterResult::parse(const std::string &payload)
void ClassifyPOIResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string ClassifyPOIResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/CompleteAddressRequest.h>
using AlibabaCloud::Address_purification::Model::CompleteAddressRequest;
CompleteAddressRequest::CompleteAddressRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "CompleteAddress")
{
setMethod(HttpRequest::Method::Post);
}
CompleteAddressRequest::~CompleteAddressRequest()
{}
std::string CompleteAddressRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void CompleteAddressRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string CompleteAddressRequest::getServiceCode()const
{
return serviceCode_;
}
void CompleteAddressRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string CompleteAddressRequest::getDefaultCity()const
{
return defaultCity_;
}
void CompleteAddressRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string CompleteAddressRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void CompleteAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string CompleteAddressRequest::getAppKey()const
{
return appKey_;
}
void CompleteAddressRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string CompleteAddressRequest::getText()const
{
return text_;
}
void CompleteAddressRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -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.
*/
#include <alibabacloud/address-purification/model/CompleteAddressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
CompleteAddressResult::CompleteAddressResult() :
ServiceResult()
{}
CompleteAddressResult::CompleteAddressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CompleteAddressResult::~CompleteAddressResult()
{}
void CompleteAddressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string CompleteAddressResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/CorrectAddressRequest.h>
using AlibabaCloud::Address_purification::Model::CorrectAddressRequest;
CorrectAddressRequest::CorrectAddressRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "CorrectAddress")
{
setMethod(HttpRequest::Method::Post);
}
CorrectAddressRequest::~CorrectAddressRequest()
{}
std::string CorrectAddressRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void CorrectAddressRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string CorrectAddressRequest::getServiceCode()const
{
return serviceCode_;
}
void CorrectAddressRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string CorrectAddressRequest::getDefaultCity()const
{
return defaultCity_;
}
void CorrectAddressRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string CorrectAddressRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void CorrectAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string CorrectAddressRequest::getAppKey()const
{
return appKey_;
}
void CorrectAddressRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string CorrectAddressRequest::getText()const
{
return text_;
}
void CorrectAddressRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -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.
*/
#include <alibabacloud/address-purification/model/CorrectAddressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
CorrectAddressResult::CorrectAddressResult() :
ServiceResult()
{}
CorrectAddressResult::CorrectAddressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CorrectAddressResult::~CorrectAddressResult()
{}
void CorrectAddressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string CorrectAddressResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/ExtractAddressRequest.h>
using AlibabaCloud::Address_purification::Model::ExtractAddressRequest;
ExtractAddressRequest::ExtractAddressRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "ExtractAddress")
{
setMethod(HttpRequest::Method::Post);
}
ExtractAddressRequest::~ExtractAddressRequest()
{}
std::string ExtractAddressRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void ExtractAddressRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string ExtractAddressRequest::getServiceCode()const
{
return serviceCode_;
}
void ExtractAddressRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string ExtractAddressRequest::getDefaultCity()const
{
return defaultCity_;
}
void ExtractAddressRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string ExtractAddressRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void ExtractAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string ExtractAddressRequest::getAppKey()const
{
return appKey_;
}
void ExtractAddressRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string ExtractAddressRequest::getText()const
{
return text_;
}
void ExtractAddressRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -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.
*/
#include <alibabacloud/address-purification/model/ExtractAddressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
ExtractAddressResult::ExtractAddressResult() :
ServiceResult()
{}
ExtractAddressResult::ExtractAddressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ExtractAddressResult::~ExtractAddressResult()
{}
void ExtractAddressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string ExtractAddressResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/ExtractNameRequest.h>
using AlibabaCloud::Address_purification::Model::ExtractNameRequest;
ExtractNameRequest::ExtractNameRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "ExtractName")
{
setMethod(HttpRequest::Method::Post);
}
ExtractNameRequest::~ExtractNameRequest()
{}
std::string ExtractNameRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void ExtractNameRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string ExtractNameRequest::getServiceCode()const
{
return serviceCode_;
}
void ExtractNameRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string ExtractNameRequest::getDefaultCity()const
{
return defaultCity_;
}
void ExtractNameRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string ExtractNameRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void ExtractNameRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string ExtractNameRequest::getAppKey()const
{
return appKey_;
}
void ExtractNameRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string ExtractNameRequest::getText()const
{
return text_;
}
void ExtractNameRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -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.
*/
#include <alibabacloud/address-purification/model/ExtractNameResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
ExtractNameResult::ExtractNameResult() :
ServiceResult()
{}
ExtractNameResult::ExtractNameResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ExtractNameResult::~ExtractNameResult()
{}
void ExtractNameResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string ExtractNameResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/ExtractPhoneRequest.h>
using AlibabaCloud::Address_purification::Model::ExtractPhoneRequest;
ExtractPhoneRequest::ExtractPhoneRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "ExtractPhone")
{
setMethod(HttpRequest::Method::Post);
}
ExtractPhoneRequest::~ExtractPhoneRequest()
{}
std::string ExtractPhoneRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void ExtractPhoneRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string ExtractPhoneRequest::getServiceCode()const
{
return serviceCode_;
}
void ExtractPhoneRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string ExtractPhoneRequest::getDefaultCity()const
{
return defaultCity_;
}
void ExtractPhoneRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string ExtractPhoneRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void ExtractPhoneRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string ExtractPhoneRequest::getAppKey()const
{
return appKey_;
}
void ExtractPhoneRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string ExtractPhoneRequest::getText()const
{
return text_;
}
void ExtractPhoneRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -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.
*/
#include <alibabacloud/address-purification/model/ExtractPhoneResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
ExtractPhoneResult::ExtractPhoneResult() :
ServiceResult()
{}
ExtractPhoneResult::ExtractPhoneResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ExtractPhoneResult::~ExtractPhoneResult()
{}
void ExtractPhoneResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string ExtractPhoneResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/GetAddressDivisionCodeRequest.h>
using AlibabaCloud::Address_purification::Model::GetAddressDivisionCodeRequest;
GetAddressDivisionCodeRequest::GetAddressDivisionCodeRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressDivisionCode")
{
setMethod(HttpRequest::Method::Post);
}
GetAddressDivisionCodeRequest::~GetAddressDivisionCodeRequest()
{}
std::string GetAddressDivisionCodeRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void GetAddressDivisionCodeRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string GetAddressDivisionCodeRequest::getServiceCode()const
{
return serviceCode_;
}
void GetAddressDivisionCodeRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string GetAddressDivisionCodeRequest::getDefaultCity()const
{
return defaultCity_;
}
void GetAddressDivisionCodeRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string GetAddressDivisionCodeRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void GetAddressDivisionCodeRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string GetAddressDivisionCodeRequest::getAppKey()const
{
return appKey_;
}
void GetAddressDivisionCodeRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string GetAddressDivisionCodeRequest::getText()const
{
return text_;
}
void GetAddressDivisionCodeRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -14,52 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/GetUserInfomationResult.h>
#include <alibabacloud/address-purification/model/GetAddressDivisionCodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
GetUserInfomationResult::GetUserInfomationResult() :
GetAddressDivisionCodeResult::GetAddressDivisionCodeResult() :
ServiceResult()
{}
GetUserInfomationResult::GetUserInfomationResult(const std::string &payload) :
GetAddressDivisionCodeResult::GetAddressDivisionCodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetUserInfomationResult::~GetUserInfomationResult()
GetAddressDivisionCodeResult::~GetAddressDivisionCodeResult()
{}
void GetUserInfomationResult::parse(const std::string &payload)
void GetAddressDivisionCodeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string GetUserInfomationResult::getData()const
std::string GetAddressDivisionCodeResult::getData()const
{
return data_;
}
std::string GetUserInfomationResult::getErrMessage()const
{
return errMessage_;
}
std::string GetUserInfomationResult::getErrCode()const
{
return errCode_;
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/GetAddressSimilarityRequest.h>
using AlibabaCloud::Address_purification::Model::GetAddressSimilarityRequest;
GetAddressSimilarityRequest::GetAddressSimilarityRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressSimilarity")
{
setMethod(HttpRequest::Method::Post);
}
GetAddressSimilarityRequest::~GetAddressSimilarityRequest()
{}
std::string GetAddressSimilarityRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void GetAddressSimilarityRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string GetAddressSimilarityRequest::getServiceCode()const
{
return serviceCode_;
}
void GetAddressSimilarityRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string GetAddressSimilarityRequest::getDefaultCity()const
{
return defaultCity_;
}
void GetAddressSimilarityRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string GetAddressSimilarityRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void GetAddressSimilarityRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string GetAddressSimilarityRequest::getAppKey()const
{
return appKey_;
}
void GetAddressSimilarityRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string GetAddressSimilarityRequest::getText()const
{
return text_;
}
void GetAddressSimilarityRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -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.
*/
#include <alibabacloud/address-purification/model/GetAddressSimilarityResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
GetAddressSimilarityResult::GetAddressSimilarityResult() :
ServiceResult()
{}
GetAddressSimilarityResult::GetAddressSimilarityResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAddressSimilarityResult::~GetAddressSimilarityResult()
{}
void GetAddressSimilarityResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string GetAddressSimilarityResult::getData()const
{
return data_;
}

View File

@@ -1,62 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/GetAlgorithmResultRequest.h>
using AlibabaCloud::Address_purification::Model::GetAlgorithmResultRequest;
GetAlgorithmResultRequest::GetAlgorithmResultRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "GetAlgorithmResult")
{
setMethod(HttpRequest::Method::Post);
}
GetAlgorithmResultRequest::~GetAlgorithmResultRequest()
{}
std::string GetAlgorithmResultRequest::getServiceCode()const
{
return serviceCode_;
}
void GetAlgorithmResultRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string GetAlgorithmResultRequest::getApiCode()const
{
return apiCode_;
}
void GetAlgorithmResultRequest::setApiCode(const std::string& apiCode)
{
apiCode_ = apiCode;
setBodyParameter("ApiCode", apiCode);
}
std::string GetAlgorithmResultRequest::getParameters()const
{
return parameters_;
}
void GetAlgorithmResultRequest::setParameters(const std::string& parameters)
{
parameters_ = parameters;
setBodyParameter("Parameters", parameters);
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/GetConsoleResultRequest.h>
using AlibabaCloud::Address_purification::Model::GetConsoleResultRequest;
GetConsoleResultRequest::GetConsoleResultRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "GetConsoleResult")
{
setMethod(HttpRequest::Method::Post);
}
GetConsoleResultRequest::~GetConsoleResultRequest()
{}
std::string GetConsoleResultRequest::getProductCode()const
{
return productCode_;
}
void GetConsoleResultRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setBodyParameter("ProductCode", productCode);
}
std::string GetConsoleResultRequest::getApiCode()const
{
return apiCode_;
}
void GetConsoleResultRequest::setApiCode(const std::string& apiCode)
{
apiCode_ = apiCode;
setBodyParameter("ApiCode", apiCode);
}
std::string GetConsoleResultRequest::getCommodityCode()const
{
return commodityCode_;
}
void GetConsoleResultRequest::setCommodityCode(const std::string& commodityCode)
{
commodityCode_ = commodityCode;
setBodyParameter("CommodityCode", commodityCode);
}
std::string GetConsoleResultRequest::getParameters()const
{
return parameters_;
}
void GetConsoleResultRequest::setParameters(const std::string& parameters)
{
parameters_ = parameters;
setBodyParameter("Parameters", parameters);
}

View File

@@ -1,95 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/GetReportRequest.h>
using AlibabaCloud::Address_purification::Model::GetReportRequest;
GetReportRequest::GetReportRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "GetReport")
{
setMethod(HttpRequest::Method::Post);
}
GetReportRequest::~GetReportRequest()
{}
std::string GetReportRequest::getProductCode()const
{
return productCode_;
}
void GetReportRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setBodyParameter("ProductCode", productCode);
}
std::string GetReportRequest::getReportType()const
{
return reportType_;
}
void GetReportRequest::setReportType(const std::string& reportType)
{
reportType_ = reportType;
setBodyParameter("ReportType", reportType);
}
std::string GetReportRequest::getApiCode()const
{
return apiCode_;
}
void GetReportRequest::setApiCode(const std::string& apiCode)
{
apiCode_ = apiCode;
setBodyParameter("ApiCode", apiCode);
}
std::string GetReportRequest::getGranularity()const
{
return granularity_;
}
void GetReportRequest::setGranularity(const std::string& granularity)
{
granularity_ = granularity;
setBodyParameter("Granularity", granularity);
}
std::string GetReportRequest::getCommodityCode()const
{
return commodityCode_;
}
void GetReportRequest::setCommodityCode(const std::string& commodityCode)
{
commodityCode_ = commodityCode;
setBodyParameter("CommodityCode", commodityCode);
}
std::string GetReportRequest::getParameters()const
{
return parameters_;
}
void GetReportRequest::setParameters(const std::string& parameters)
{
parameters_ = parameters;
setBodyParameter("Parameters", parameters);
}

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/GetUserInfomationRequest.h>
using AlibabaCloud::Address_purification::Model::GetUserInfomationRequest;
GetUserInfomationRequest::GetUserInfomationRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "GetUserInfomation")
{
setMethod(HttpRequest::Method::Post);
}
GetUserInfomationRequest::~GetUserInfomationRequest()
{}
std::string GetUserInfomationRequest::getProductCode()const
{
return productCode_;
}
void GetUserInfomationRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setBodyParameter("ProductCode", productCode);
}
std::string GetUserInfomationRequest::getParameters()const
{
return parameters_;
}
void GetUserInfomationRequest::setParameters(const std::string& parameters)
{
parameters_ = parameters;
setBodyParameter("Parameters", parameters);
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/GetZipcodeRequest.h>
using AlibabaCloud::Address_purification::Model::GetZipcodeRequest;
GetZipcodeRequest::GetZipcodeRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "GetZipcode")
{
setMethod(HttpRequest::Method::Post);
}
GetZipcodeRequest::~GetZipcodeRequest()
{}
std::string GetZipcodeRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void GetZipcodeRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string GetZipcodeRequest::getServiceCode()const
{
return serviceCode_;
}
void GetZipcodeRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string GetZipcodeRequest::getDefaultCity()const
{
return defaultCity_;
}
void GetZipcodeRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string GetZipcodeRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void GetZipcodeRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string GetZipcodeRequest::getAppKey()const
{
return appKey_;
}
void GetZipcodeRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string GetZipcodeRequest::getText()const
{
return text_;
}
void GetZipcodeRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -14,52 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/GetReportResult.h>
#include <alibabacloud/address-purification/model/GetZipcodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
GetReportResult::GetReportResult() :
GetZipcodeResult::GetZipcodeResult() :
ServiceResult()
{}
GetReportResult::GetReportResult(const std::string &payload) :
GetZipcodeResult::GetZipcodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetReportResult::~GetReportResult()
GetZipcodeResult::~GetZipcodeResult()
{}
void GetReportResult::parse(const std::string &payload)
void GetZipcodeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string GetReportResult::getData()const
std::string GetZipcodeResult::getData()const
{
return data_;
}
std::string GetReportResult::getErrMessage()const
{
return errMessage_;
}
std::string GetReportResult::getErrCode()const
{
return errCode_;
}

View File

@@ -0,0 +1,95 @@
/*
* 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/address-purification/model/StructureAddressRequest.h>
using AlibabaCloud::Address_purification::Model::StructureAddressRequest;
StructureAddressRequest::StructureAddressRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "StructureAddress")
{
setMethod(HttpRequest::Method::Post);
}
StructureAddressRequest::~StructureAddressRequest()
{}
std::string StructureAddressRequest::getDefaultProvince()const
{
return defaultProvince_;
}
void StructureAddressRequest::setDefaultProvince(const std::string& defaultProvince)
{
defaultProvince_ = defaultProvince;
setBodyParameter("DefaultProvince", defaultProvince);
}
std::string StructureAddressRequest::getServiceCode()const
{
return serviceCode_;
}
void StructureAddressRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string StructureAddressRequest::getDefaultCity()const
{
return defaultCity_;
}
void StructureAddressRequest::setDefaultCity(const std::string& defaultCity)
{
defaultCity_ = defaultCity;
setBodyParameter("DefaultCity", defaultCity);
}
std::string StructureAddressRequest::getDefaultDistrict()const
{
return defaultDistrict_;
}
void StructureAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
{
defaultDistrict_ = defaultDistrict;
setBodyParameter("DefaultDistrict", defaultDistrict);
}
std::string StructureAddressRequest::getAppKey()const
{
return appKey_;
}
void StructureAddressRequest::setAppKey(const std::string& appKey)
{
appKey_ = appKey;
setBodyParameter("AppKey", appKey);
}
std::string StructureAddressRequest::getText()const
{
return text_;
}
void StructureAddressRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}

View File

@@ -14,52 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/GetConsoleResultResult.h>
#include <alibabacloud/address-purification/model/StructureAddressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
GetConsoleResultResult::GetConsoleResultResult() :
StructureAddressResult::StructureAddressResult() :
ServiceResult()
{}
GetConsoleResultResult::GetConsoleResultResult(const std::string &payload) :
StructureAddressResult::StructureAddressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetConsoleResultResult::~GetConsoleResultResult()
StructureAddressResult::~StructureAddressResult()
{}
void GetConsoleResultResult::parse(const std::string &payload)
void StructureAddressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string GetConsoleResultResult::getData()const
std::string StructureAddressResult::getData()const
{
return data_;
}
std::string GetConsoleResultResult::getErrMessage()const
{
return errMessage_;
}
std::string GetConsoleResultResult::getErrCode()const
{
return errCode_;
}

View File

@@ -14,36 +14,36 @@
* limitations under the License.
*/
#include <alibabacloud/address-purification/model/DescribeProductRequest.h>
#include <alibabacloud/address-purification/model/UpdateProjectRequest.h>
using AlibabaCloud::Address_purification::Model::DescribeProductRequest;
using AlibabaCloud::Address_purification::Model::UpdateProjectRequest;
DescribeProductRequest::DescribeProductRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "DescribeProduct")
UpdateProjectRequest::UpdateProjectRequest() :
RpcServiceRequest("address-purification", "2019-11-18", "UpdateProject")
{
setMethod(HttpRequest::Method::Post);
}
DescribeProductRequest::~DescribeProductRequest()
UpdateProjectRequest::~UpdateProjectRequest()
{}
std::string DescribeProductRequest::getServiceCode()const
std::string UpdateProjectRequest::getServiceCode()const
{
return serviceCode_;
}
void DescribeProductRequest::setServiceCode(const std::string& serviceCode)
void UpdateProjectRequest::setServiceCode(const std::string& serviceCode)
{
serviceCode_ = serviceCode;
setBodyParameter("ServiceCode", serviceCode);
}
std::string DescribeProductRequest::getParameters()const
std::string UpdateProjectRequest::getParameters()const
{
return parameters_;
}
void DescribeProductRequest::setParameters(const std::string& parameters)
void UpdateProjectRequest::setParameters(const std::string& parameters)
{
parameters_ = parameters;
setBodyParameter("Parameters", parameters);

View File

@@ -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.
*/
#include <alibabacloud/address-purification/model/UpdateProjectResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Address_purification;
using namespace AlibabaCloud::Address_purification::Model;
UpdateProjectResult::UpdateProjectResult() :
ServiceResult()
{}
UpdateProjectResult::UpdateProjectResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateProjectResult::~UpdateProjectResult()
{}
void UpdateProjectResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string UpdateProjectResult::getData()const
{
return data_;
}

342
airec/CMakeLists.txt Normal file
View File

@@ -0,0 +1,342 @@
#
# 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(airec_public_header
include/alibabacloud/airec/AirecClient.h
include/alibabacloud/airec/AirecExport.h )
set(airec_public_header_model
include/alibabacloud/airec/model/AttachDatasetRequest.h
include/alibabacloud/airec/model/AttachDatasetResult.h
include/alibabacloud/airec/model/CreateDiversifyRequest.h
include/alibabacloud/airec/model/CreateDiversifyResult.h
include/alibabacloud/airec/model/CreateInstanceRequest.h
include/alibabacloud/airec/model/CreateInstanceResult.h
include/alibabacloud/airec/model/CreateMixRequest.h
include/alibabacloud/airec/model/CreateMixResult.h
include/alibabacloud/airec/model/CreateRuleRequest.h
include/alibabacloud/airec/model/CreateRuleResult.h
include/alibabacloud/airec/model/CreateSceneRequest.h
include/alibabacloud/airec/model/CreateSceneResult.h
include/alibabacloud/airec/model/DeleteDataSetRequest.h
include/alibabacloud/airec/model/DeleteDataSetResult.h
include/alibabacloud/airec/model/DeleteDiversifyRequest.h
include/alibabacloud/airec/model/DeleteDiversifyResult.h
include/alibabacloud/airec/model/DeleteMixRequest.h
include/alibabacloud/airec/model/DeleteMixResult.h
include/alibabacloud/airec/model/DeleteSceneRequest.h
include/alibabacloud/airec/model/DeleteSceneResult.h
include/alibabacloud/airec/model/DescribeDataSetMessageRequest.h
include/alibabacloud/airec/model/DescribeDataSetMessageResult.h
include/alibabacloud/airec/model/DescribeDataSetReportRequest.h
include/alibabacloud/airec/model/DescribeDataSetReportResult.h
include/alibabacloud/airec/model/DescribeDiversifyRequest.h
include/alibabacloud/airec/model/DescribeDiversifyResult.h
include/alibabacloud/airec/model/DescribeExposureSettingsRequest.h
include/alibabacloud/airec/model/DescribeExposureSettingsResult.h
include/alibabacloud/airec/model/DescribeInstanceRequest.h
include/alibabacloud/airec/model/DescribeInstanceResult.h
include/alibabacloud/airec/model/DescribeMixRequest.h
include/alibabacloud/airec/model/DescribeMixResult.h
include/alibabacloud/airec/model/DescribeQuotaRequest.h
include/alibabacloud/airec/model/DescribeQuotaResult.h
include/alibabacloud/airec/model/DescribeRegionsRequest.h
include/alibabacloud/airec/model/DescribeRegionsResult.h
include/alibabacloud/airec/model/DescribeRuleRequest.h
include/alibabacloud/airec/model/DescribeRuleResult.h
include/alibabacloud/airec/model/DescribeSceneRequest.h
include/alibabacloud/airec/model/DescribeSceneResult.h
include/alibabacloud/airec/model/DescribeSceneThroughputRequest.h
include/alibabacloud/airec/model/DescribeSceneThroughputResult.h
include/alibabacloud/airec/model/DescribeSyncReportDetailRequest.h
include/alibabacloud/airec/model/DescribeSyncReportDetailResult.h
include/alibabacloud/airec/model/DescribeSyncReportOutliersRequest.h
include/alibabacloud/airec/model/DescribeSyncReportOutliersResult.h
include/alibabacloud/airec/model/DescribeUserMetricsRequest.h
include/alibabacloud/airec/model/DescribeUserMetricsResult.h
include/alibabacloud/airec/model/DowngradeInstanceRequest.h
include/alibabacloud/airec/model/DowngradeInstanceResult.h
include/alibabacloud/airec/model/ListDashboardRequest.h
include/alibabacloud/airec/model/ListDashboardResult.h
include/alibabacloud/airec/model/ListDashboardDetailsRequest.h
include/alibabacloud/airec/model/ListDashboardDetailsResult.h
include/alibabacloud/airec/model/ListDashboardDetailsFlowsRequest.h
include/alibabacloud/airec/model/ListDashboardDetailsFlowsResult.h
include/alibabacloud/airec/model/ListDashboardMetricsRequest.h
include/alibabacloud/airec/model/ListDashboardMetricsResult.h
include/alibabacloud/airec/model/ListDashboardMetricsFlowsRequest.h
include/alibabacloud/airec/model/ListDashboardMetricsFlowsResult.h
include/alibabacloud/airec/model/ListDashboardParametersRequest.h
include/alibabacloud/airec/model/ListDashboardParametersResult.h
include/alibabacloud/airec/model/ListDashboardUidRequest.h
include/alibabacloud/airec/model/ListDashboardUidResult.h
include/alibabacloud/airec/model/ListDataSetRequest.h
include/alibabacloud/airec/model/ListDataSetResult.h
include/alibabacloud/airec/model/ListDataSourceRequest.h
include/alibabacloud/airec/model/ListDataSourceResult.h
include/alibabacloud/airec/model/ListDiversifyRequest.h
include/alibabacloud/airec/model/ListDiversifyResult.h
include/alibabacloud/airec/model/ListInstanceRequest.h
include/alibabacloud/airec/model/ListInstanceResult.h
include/alibabacloud/airec/model/ListInstanceTaskRequest.h
include/alibabacloud/airec/model/ListInstanceTaskResult.h
include/alibabacloud/airec/model/ListMixRequest.h
include/alibabacloud/airec/model/ListMixResult.h
include/alibabacloud/airec/model/ListRuleConditionsRequest.h
include/alibabacloud/airec/model/ListRuleConditionsResult.h
include/alibabacloud/airec/model/ListRuleTasksRequest.h
include/alibabacloud/airec/model/ListRuleTasksResult.h
include/alibabacloud/airec/model/ListRulesRequest.h
include/alibabacloud/airec/model/ListRulesResult.h
include/alibabacloud/airec/model/ListSceneItemsRequest.h
include/alibabacloud/airec/model/ListSceneItemsResult.h
include/alibabacloud/airec/model/ListScenesRequest.h
include/alibabacloud/airec/model/ListScenesResult.h
include/alibabacloud/airec/model/ListUmengAppkeysRequest.h
include/alibabacloud/airec/model/ListUmengAppkeysResult.h
include/alibabacloud/airec/model/ModifyDataSourceRequest.h
include/alibabacloud/airec/model/ModifyDataSourceResult.h
include/alibabacloud/airec/model/ModifyDiversifyRequest.h
include/alibabacloud/airec/model/ModifyDiversifyResult.h
include/alibabacloud/airec/model/ModifyExposureSettingsRequest.h
include/alibabacloud/airec/model/ModifyExposureSettingsResult.h
include/alibabacloud/airec/model/ModifyInstanceRequest.h
include/alibabacloud/airec/model/ModifyInstanceResult.h
include/alibabacloud/airec/model/ModifyMixRequest.h
include/alibabacloud/airec/model/ModifyMixResult.h
include/alibabacloud/airec/model/ModifyRuleRequest.h
include/alibabacloud/airec/model/ModifyRuleResult.h
include/alibabacloud/airec/model/ModifySceneRequest.h
include/alibabacloud/airec/model/ModifySceneResult.h
include/alibabacloud/airec/model/PublishRuleRequest.h
include/alibabacloud/airec/model/PublishRuleResult.h
include/alibabacloud/airec/model/PushDocumentRequest.h
include/alibabacloud/airec/model/PushDocumentResult.h
include/alibabacloud/airec/model/PushInterventionRequest.h
include/alibabacloud/airec/model/PushInterventionResult.h
include/alibabacloud/airec/model/QueryDataMessageRequest.h
include/alibabacloud/airec/model/QueryDataMessageResult.h
include/alibabacloud/airec/model/QueryExceptionHistoryRequest.h
include/alibabacloud/airec/model/QueryExceptionHistoryResult.h
include/alibabacloud/airec/model/QueryRawDataRequest.h
include/alibabacloud/airec/model/QueryRawDataResult.h
include/alibabacloud/airec/model/QuerySingleAggregationReportRequest.h
include/alibabacloud/airec/model/QuerySingleAggregationReportResult.h
include/alibabacloud/airec/model/QuerySingleReportRequest.h
include/alibabacloud/airec/model/QuerySingleReportResult.h
include/alibabacloud/airec/model/QuerySyncReportAggregationRequest.h
include/alibabacloud/airec/model/QuerySyncReportAggregationResult.h
include/alibabacloud/airec/model/RecommendRequest.h
include/alibabacloud/airec/model/RecommendResult.h
include/alibabacloud/airec/model/RunInstanceRequest.h
include/alibabacloud/airec/model/RunInstanceResult.h
include/alibabacloud/airec/model/StopDataSetRequest.h
include/alibabacloud/airec/model/StopDataSetResult.h
include/alibabacloud/airec/model/UpgradeInstanceRequest.h
include/alibabacloud/airec/model/UpgradeInstanceResult.h
include/alibabacloud/airec/model/ValidateInstanceRequest.h
include/alibabacloud/airec/model/ValidateInstanceResult.h )
set(airec_src
src/AirecClient.cc
src/model/AttachDatasetRequest.cc
src/model/AttachDatasetResult.cc
src/model/CreateDiversifyRequest.cc
src/model/CreateDiversifyResult.cc
src/model/CreateInstanceRequest.cc
src/model/CreateInstanceResult.cc
src/model/CreateMixRequest.cc
src/model/CreateMixResult.cc
src/model/CreateRuleRequest.cc
src/model/CreateRuleResult.cc
src/model/CreateSceneRequest.cc
src/model/CreateSceneResult.cc
src/model/DeleteDataSetRequest.cc
src/model/DeleteDataSetResult.cc
src/model/DeleteDiversifyRequest.cc
src/model/DeleteDiversifyResult.cc
src/model/DeleteMixRequest.cc
src/model/DeleteMixResult.cc
src/model/DeleteSceneRequest.cc
src/model/DeleteSceneResult.cc
src/model/DescribeDataSetMessageRequest.cc
src/model/DescribeDataSetMessageResult.cc
src/model/DescribeDataSetReportRequest.cc
src/model/DescribeDataSetReportResult.cc
src/model/DescribeDiversifyRequest.cc
src/model/DescribeDiversifyResult.cc
src/model/DescribeExposureSettingsRequest.cc
src/model/DescribeExposureSettingsResult.cc
src/model/DescribeInstanceRequest.cc
src/model/DescribeInstanceResult.cc
src/model/DescribeMixRequest.cc
src/model/DescribeMixResult.cc
src/model/DescribeQuotaRequest.cc
src/model/DescribeQuotaResult.cc
src/model/DescribeRegionsRequest.cc
src/model/DescribeRegionsResult.cc
src/model/DescribeRuleRequest.cc
src/model/DescribeRuleResult.cc
src/model/DescribeSceneRequest.cc
src/model/DescribeSceneResult.cc
src/model/DescribeSceneThroughputRequest.cc
src/model/DescribeSceneThroughputResult.cc
src/model/DescribeSyncReportDetailRequest.cc
src/model/DescribeSyncReportDetailResult.cc
src/model/DescribeSyncReportOutliersRequest.cc
src/model/DescribeSyncReportOutliersResult.cc
src/model/DescribeUserMetricsRequest.cc
src/model/DescribeUserMetricsResult.cc
src/model/DowngradeInstanceRequest.cc
src/model/DowngradeInstanceResult.cc
src/model/ListDashboardRequest.cc
src/model/ListDashboardResult.cc
src/model/ListDashboardDetailsRequest.cc
src/model/ListDashboardDetailsResult.cc
src/model/ListDashboardDetailsFlowsRequest.cc
src/model/ListDashboardDetailsFlowsResult.cc
src/model/ListDashboardMetricsRequest.cc
src/model/ListDashboardMetricsResult.cc
src/model/ListDashboardMetricsFlowsRequest.cc
src/model/ListDashboardMetricsFlowsResult.cc
src/model/ListDashboardParametersRequest.cc
src/model/ListDashboardParametersResult.cc
src/model/ListDashboardUidRequest.cc
src/model/ListDashboardUidResult.cc
src/model/ListDataSetRequest.cc
src/model/ListDataSetResult.cc
src/model/ListDataSourceRequest.cc
src/model/ListDataSourceResult.cc
src/model/ListDiversifyRequest.cc
src/model/ListDiversifyResult.cc
src/model/ListInstanceRequest.cc
src/model/ListInstanceResult.cc
src/model/ListInstanceTaskRequest.cc
src/model/ListInstanceTaskResult.cc
src/model/ListMixRequest.cc
src/model/ListMixResult.cc
src/model/ListRuleConditionsRequest.cc
src/model/ListRuleConditionsResult.cc
src/model/ListRuleTasksRequest.cc
src/model/ListRuleTasksResult.cc
src/model/ListRulesRequest.cc
src/model/ListRulesResult.cc
src/model/ListSceneItemsRequest.cc
src/model/ListSceneItemsResult.cc
src/model/ListScenesRequest.cc
src/model/ListScenesResult.cc
src/model/ListUmengAppkeysRequest.cc
src/model/ListUmengAppkeysResult.cc
src/model/ModifyDataSourceRequest.cc
src/model/ModifyDataSourceResult.cc
src/model/ModifyDiversifyRequest.cc
src/model/ModifyDiversifyResult.cc
src/model/ModifyExposureSettingsRequest.cc
src/model/ModifyExposureSettingsResult.cc
src/model/ModifyInstanceRequest.cc
src/model/ModifyInstanceResult.cc
src/model/ModifyMixRequest.cc
src/model/ModifyMixResult.cc
src/model/ModifyRuleRequest.cc
src/model/ModifyRuleResult.cc
src/model/ModifySceneRequest.cc
src/model/ModifySceneResult.cc
src/model/PublishRuleRequest.cc
src/model/PublishRuleResult.cc
src/model/PushDocumentRequest.cc
src/model/PushDocumentResult.cc
src/model/PushInterventionRequest.cc
src/model/PushInterventionResult.cc
src/model/QueryDataMessageRequest.cc
src/model/QueryDataMessageResult.cc
src/model/QueryExceptionHistoryRequest.cc
src/model/QueryExceptionHistoryResult.cc
src/model/QueryRawDataRequest.cc
src/model/QueryRawDataResult.cc
src/model/QuerySingleAggregationReportRequest.cc
src/model/QuerySingleAggregationReportResult.cc
src/model/QuerySingleReportRequest.cc
src/model/QuerySingleReportResult.cc
src/model/QuerySyncReportAggregationRequest.cc
src/model/QuerySyncReportAggregationResult.cc
src/model/RecommendRequest.cc
src/model/RecommendResult.cc
src/model/RunInstanceRequest.cc
src/model/RunInstanceResult.cc
src/model/StopDataSetRequest.cc
src/model/StopDataSetResult.cc
src/model/UpgradeInstanceRequest.cc
src/model/UpgradeInstanceResult.cc
src/model/ValidateInstanceRequest.cc
src/model/ValidateInstanceResult.cc )
add_library(airec ${LIB_TYPE}
${airec_public_header}
${airec_public_header_model}
${airec_src})
set_target_properties(airec
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}airec
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(airec
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_AIREC_LIBRARY)
endif()
target_include_directories(airec
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(airec
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(airec
jsoncpp)
target_include_directories(airec
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(airec
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(airec
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(airec
PRIVATE /usr/include/jsoncpp)
target_link_libraries(airec
jsoncpp)
endif()
install(FILES ${airec_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/airec)
install(FILES ${airec_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/airec/model)
install(TARGETS airec
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,566 @@
/*
* 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_AIREC_AIRECCLIENT_H_
#define ALIBABACLOUD_AIREC_AIRECCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RoaServiceClient.h>
#include "AirecExport.h"
#include "model/AttachDatasetRequest.h"
#include "model/AttachDatasetResult.h"
#include "model/CreateDiversifyRequest.h"
#include "model/CreateDiversifyResult.h"
#include "model/CreateInstanceRequest.h"
#include "model/CreateInstanceResult.h"
#include "model/CreateMixRequest.h"
#include "model/CreateMixResult.h"
#include "model/CreateRuleRequest.h"
#include "model/CreateRuleResult.h"
#include "model/CreateSceneRequest.h"
#include "model/CreateSceneResult.h"
#include "model/DeleteDataSetRequest.h"
#include "model/DeleteDataSetResult.h"
#include "model/DeleteDiversifyRequest.h"
#include "model/DeleteDiversifyResult.h"
#include "model/DeleteMixRequest.h"
#include "model/DeleteMixResult.h"
#include "model/DeleteSceneRequest.h"
#include "model/DeleteSceneResult.h"
#include "model/DescribeDataSetMessageRequest.h"
#include "model/DescribeDataSetMessageResult.h"
#include "model/DescribeDataSetReportRequest.h"
#include "model/DescribeDataSetReportResult.h"
#include "model/DescribeDiversifyRequest.h"
#include "model/DescribeDiversifyResult.h"
#include "model/DescribeExposureSettingsRequest.h"
#include "model/DescribeExposureSettingsResult.h"
#include "model/DescribeInstanceRequest.h"
#include "model/DescribeInstanceResult.h"
#include "model/DescribeMixRequest.h"
#include "model/DescribeMixResult.h"
#include "model/DescribeQuotaRequest.h"
#include "model/DescribeQuotaResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/DescribeRuleRequest.h"
#include "model/DescribeRuleResult.h"
#include "model/DescribeSceneRequest.h"
#include "model/DescribeSceneResult.h"
#include "model/DescribeSceneThroughputRequest.h"
#include "model/DescribeSceneThroughputResult.h"
#include "model/DescribeSyncReportDetailRequest.h"
#include "model/DescribeSyncReportDetailResult.h"
#include "model/DescribeSyncReportOutliersRequest.h"
#include "model/DescribeSyncReportOutliersResult.h"
#include "model/DescribeUserMetricsRequest.h"
#include "model/DescribeUserMetricsResult.h"
#include "model/DowngradeInstanceRequest.h"
#include "model/DowngradeInstanceResult.h"
#include "model/ListDashboardRequest.h"
#include "model/ListDashboardResult.h"
#include "model/ListDashboardDetailsRequest.h"
#include "model/ListDashboardDetailsResult.h"
#include "model/ListDashboardDetailsFlowsRequest.h"
#include "model/ListDashboardDetailsFlowsResult.h"
#include "model/ListDashboardMetricsRequest.h"
#include "model/ListDashboardMetricsResult.h"
#include "model/ListDashboardMetricsFlowsRequest.h"
#include "model/ListDashboardMetricsFlowsResult.h"
#include "model/ListDashboardParametersRequest.h"
#include "model/ListDashboardParametersResult.h"
#include "model/ListDashboardUidRequest.h"
#include "model/ListDashboardUidResult.h"
#include "model/ListDataSetRequest.h"
#include "model/ListDataSetResult.h"
#include "model/ListDataSourceRequest.h"
#include "model/ListDataSourceResult.h"
#include "model/ListDiversifyRequest.h"
#include "model/ListDiversifyResult.h"
#include "model/ListInstanceRequest.h"
#include "model/ListInstanceResult.h"
#include "model/ListInstanceTaskRequest.h"
#include "model/ListInstanceTaskResult.h"
#include "model/ListMixRequest.h"
#include "model/ListMixResult.h"
#include "model/ListRuleConditionsRequest.h"
#include "model/ListRuleConditionsResult.h"
#include "model/ListRuleTasksRequest.h"
#include "model/ListRuleTasksResult.h"
#include "model/ListRulesRequest.h"
#include "model/ListRulesResult.h"
#include "model/ListSceneItemsRequest.h"
#include "model/ListSceneItemsResult.h"
#include "model/ListScenesRequest.h"
#include "model/ListScenesResult.h"
#include "model/ListUmengAppkeysRequest.h"
#include "model/ListUmengAppkeysResult.h"
#include "model/ModifyDataSourceRequest.h"
#include "model/ModifyDataSourceResult.h"
#include "model/ModifyDiversifyRequest.h"
#include "model/ModifyDiversifyResult.h"
#include "model/ModifyExposureSettingsRequest.h"
#include "model/ModifyExposureSettingsResult.h"
#include "model/ModifyInstanceRequest.h"
#include "model/ModifyInstanceResult.h"
#include "model/ModifyMixRequest.h"
#include "model/ModifyMixResult.h"
#include "model/ModifyRuleRequest.h"
#include "model/ModifyRuleResult.h"
#include "model/ModifySceneRequest.h"
#include "model/ModifySceneResult.h"
#include "model/PublishRuleRequest.h"
#include "model/PublishRuleResult.h"
#include "model/PushDocumentRequest.h"
#include "model/PushDocumentResult.h"
#include "model/PushInterventionRequest.h"
#include "model/PushInterventionResult.h"
#include "model/QueryDataMessageRequest.h"
#include "model/QueryDataMessageResult.h"
#include "model/QueryExceptionHistoryRequest.h"
#include "model/QueryExceptionHistoryResult.h"
#include "model/QueryRawDataRequest.h"
#include "model/QueryRawDataResult.h"
#include "model/QuerySingleAggregationReportRequest.h"
#include "model/QuerySingleAggregationReportResult.h"
#include "model/QuerySingleReportRequest.h"
#include "model/QuerySingleReportResult.h"
#include "model/QuerySyncReportAggregationRequest.h"
#include "model/QuerySyncReportAggregationResult.h"
#include "model/RecommendRequest.h"
#include "model/RecommendResult.h"
#include "model/RunInstanceRequest.h"
#include "model/RunInstanceResult.h"
#include "model/StopDataSetRequest.h"
#include "model/StopDataSetResult.h"
#include "model/UpgradeInstanceRequest.h"
#include "model/UpgradeInstanceResult.h"
#include "model/ValidateInstanceRequest.h"
#include "model/ValidateInstanceResult.h"
namespace AlibabaCloud
{
namespace Airec
{
class ALIBABACLOUD_AIREC_EXPORT AirecClient : public RoaServiceClient
{
public:
typedef Outcome<Error, Model::AttachDatasetResult> AttachDatasetOutcome;
typedef std::future<AttachDatasetOutcome> AttachDatasetOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::AttachDatasetRequest&, const AttachDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachDatasetAsyncHandler;
typedef Outcome<Error, Model::CreateDiversifyResult> CreateDiversifyOutcome;
typedef std::future<CreateDiversifyOutcome> CreateDiversifyOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::CreateDiversifyRequest&, const CreateDiversifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiversifyAsyncHandler;
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
typedef Outcome<Error, Model::CreateMixResult> CreateMixOutcome;
typedef std::future<CreateMixOutcome> CreateMixOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::CreateMixRequest&, const CreateMixOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMixAsyncHandler;
typedef Outcome<Error, Model::CreateRuleResult> CreateRuleOutcome;
typedef std::future<CreateRuleOutcome> CreateRuleOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::CreateRuleRequest&, const CreateRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRuleAsyncHandler;
typedef Outcome<Error, Model::CreateSceneResult> CreateSceneOutcome;
typedef std::future<CreateSceneOutcome> CreateSceneOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::CreateSceneRequest&, const CreateSceneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSceneAsyncHandler;
typedef Outcome<Error, Model::DeleteDataSetResult> DeleteDataSetOutcome;
typedef std::future<DeleteDataSetOutcome> DeleteDataSetOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DeleteDataSetRequest&, const DeleteDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDataSetAsyncHandler;
typedef Outcome<Error, Model::DeleteDiversifyResult> DeleteDiversifyOutcome;
typedef std::future<DeleteDiversifyOutcome> DeleteDiversifyOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DeleteDiversifyRequest&, const DeleteDiversifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDiversifyAsyncHandler;
typedef Outcome<Error, Model::DeleteMixResult> DeleteMixOutcome;
typedef std::future<DeleteMixOutcome> DeleteMixOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DeleteMixRequest&, const DeleteMixOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMixAsyncHandler;
typedef Outcome<Error, Model::DeleteSceneResult> DeleteSceneOutcome;
typedef std::future<DeleteSceneOutcome> DeleteSceneOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DeleteSceneRequest&, const DeleteSceneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSceneAsyncHandler;
typedef Outcome<Error, Model::DescribeDataSetMessageResult> DescribeDataSetMessageOutcome;
typedef std::future<DescribeDataSetMessageOutcome> DescribeDataSetMessageOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeDataSetMessageRequest&, const DescribeDataSetMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataSetMessageAsyncHandler;
typedef Outcome<Error, Model::DescribeDataSetReportResult> DescribeDataSetReportOutcome;
typedef std::future<DescribeDataSetReportOutcome> DescribeDataSetReportOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeDataSetReportRequest&, const DescribeDataSetReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataSetReportAsyncHandler;
typedef Outcome<Error, Model::DescribeDiversifyResult> DescribeDiversifyOutcome;
typedef std::future<DescribeDiversifyOutcome> DescribeDiversifyOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeDiversifyRequest&, const DescribeDiversifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiversifyAsyncHandler;
typedef Outcome<Error, Model::DescribeExposureSettingsResult> DescribeExposureSettingsOutcome;
typedef std::future<DescribeExposureSettingsOutcome> DescribeExposureSettingsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeExposureSettingsRequest&, const DescribeExposureSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExposureSettingsAsyncHandler;
typedef Outcome<Error, Model::DescribeInstanceResult> DescribeInstanceOutcome;
typedef std::future<DescribeInstanceOutcome> DescribeInstanceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeInstanceRequest&, const DescribeInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeMixResult> DescribeMixOutcome;
typedef std::future<DescribeMixOutcome> DescribeMixOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeMixRequest&, const DescribeMixOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMixAsyncHandler;
typedef Outcome<Error, Model::DescribeQuotaResult> DescribeQuotaOutcome;
typedef std::future<DescribeQuotaOutcome> DescribeQuotaOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeQuotaRequest&, const DescribeQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeQuotaAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::DescribeRuleResult> DescribeRuleOutcome;
typedef std::future<DescribeRuleOutcome> DescribeRuleOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeRuleRequest&, const DescribeRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRuleAsyncHandler;
typedef Outcome<Error, Model::DescribeSceneResult> DescribeSceneOutcome;
typedef std::future<DescribeSceneOutcome> DescribeSceneOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeSceneRequest&, const DescribeSceneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSceneAsyncHandler;
typedef Outcome<Error, Model::DescribeSceneThroughputResult> DescribeSceneThroughputOutcome;
typedef std::future<DescribeSceneThroughputOutcome> DescribeSceneThroughputOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeSceneThroughputRequest&, const DescribeSceneThroughputOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSceneThroughputAsyncHandler;
typedef Outcome<Error, Model::DescribeSyncReportDetailResult> DescribeSyncReportDetailOutcome;
typedef std::future<DescribeSyncReportDetailOutcome> DescribeSyncReportDetailOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeSyncReportDetailRequest&, const DescribeSyncReportDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSyncReportDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeSyncReportOutliersResult> DescribeSyncReportOutliersOutcome;
typedef std::future<DescribeSyncReportOutliersOutcome> DescribeSyncReportOutliersOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeSyncReportOutliersRequest&, const DescribeSyncReportOutliersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSyncReportOutliersAsyncHandler;
typedef Outcome<Error, Model::DescribeUserMetricsResult> DescribeUserMetricsOutcome;
typedef std::future<DescribeUserMetricsOutcome> DescribeUserMetricsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DescribeUserMetricsRequest&, const DescribeUserMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserMetricsAsyncHandler;
typedef Outcome<Error, Model::DowngradeInstanceResult> DowngradeInstanceOutcome;
typedef std::future<DowngradeInstanceOutcome> DowngradeInstanceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::DowngradeInstanceRequest&, const DowngradeInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DowngradeInstanceAsyncHandler;
typedef Outcome<Error, Model::ListDashboardResult> ListDashboardOutcome;
typedef std::future<ListDashboardOutcome> ListDashboardOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDashboardRequest&, const ListDashboardOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDashboardAsyncHandler;
typedef Outcome<Error, Model::ListDashboardDetailsResult> ListDashboardDetailsOutcome;
typedef std::future<ListDashboardDetailsOutcome> ListDashboardDetailsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDashboardDetailsRequest&, const ListDashboardDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDashboardDetailsAsyncHandler;
typedef Outcome<Error, Model::ListDashboardDetailsFlowsResult> ListDashboardDetailsFlowsOutcome;
typedef std::future<ListDashboardDetailsFlowsOutcome> ListDashboardDetailsFlowsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDashboardDetailsFlowsRequest&, const ListDashboardDetailsFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDashboardDetailsFlowsAsyncHandler;
typedef Outcome<Error, Model::ListDashboardMetricsResult> ListDashboardMetricsOutcome;
typedef std::future<ListDashboardMetricsOutcome> ListDashboardMetricsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDashboardMetricsRequest&, const ListDashboardMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDashboardMetricsAsyncHandler;
typedef Outcome<Error, Model::ListDashboardMetricsFlowsResult> ListDashboardMetricsFlowsOutcome;
typedef std::future<ListDashboardMetricsFlowsOutcome> ListDashboardMetricsFlowsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDashboardMetricsFlowsRequest&, const ListDashboardMetricsFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDashboardMetricsFlowsAsyncHandler;
typedef Outcome<Error, Model::ListDashboardParametersResult> ListDashboardParametersOutcome;
typedef std::future<ListDashboardParametersOutcome> ListDashboardParametersOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDashboardParametersRequest&, const ListDashboardParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDashboardParametersAsyncHandler;
typedef Outcome<Error, Model::ListDashboardUidResult> ListDashboardUidOutcome;
typedef std::future<ListDashboardUidOutcome> ListDashboardUidOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDashboardUidRequest&, const ListDashboardUidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDashboardUidAsyncHandler;
typedef Outcome<Error, Model::ListDataSetResult> ListDataSetOutcome;
typedef std::future<ListDataSetOutcome> ListDataSetOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDataSetRequest&, const ListDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataSetAsyncHandler;
typedef Outcome<Error, Model::ListDataSourceResult> ListDataSourceOutcome;
typedef std::future<ListDataSourceOutcome> ListDataSourceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDataSourceRequest&, const ListDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataSourceAsyncHandler;
typedef Outcome<Error, Model::ListDiversifyResult> ListDiversifyOutcome;
typedef std::future<ListDiversifyOutcome> ListDiversifyOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListDiversifyRequest&, const ListDiversifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDiversifyAsyncHandler;
typedef Outcome<Error, Model::ListInstanceResult> ListInstanceOutcome;
typedef std::future<ListInstanceOutcome> ListInstanceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListInstanceRequest&, const ListInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstanceAsyncHandler;
typedef Outcome<Error, Model::ListInstanceTaskResult> ListInstanceTaskOutcome;
typedef std::future<ListInstanceTaskOutcome> ListInstanceTaskOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListInstanceTaskRequest&, const ListInstanceTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstanceTaskAsyncHandler;
typedef Outcome<Error, Model::ListMixResult> ListMixOutcome;
typedef std::future<ListMixOutcome> ListMixOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListMixRequest&, const ListMixOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMixAsyncHandler;
typedef Outcome<Error, Model::ListRuleConditionsResult> ListRuleConditionsOutcome;
typedef std::future<ListRuleConditionsOutcome> ListRuleConditionsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListRuleConditionsRequest&, const ListRuleConditionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRuleConditionsAsyncHandler;
typedef Outcome<Error, Model::ListRuleTasksResult> ListRuleTasksOutcome;
typedef std::future<ListRuleTasksOutcome> ListRuleTasksOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListRuleTasksRequest&, const ListRuleTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRuleTasksAsyncHandler;
typedef Outcome<Error, Model::ListRulesResult> ListRulesOutcome;
typedef std::future<ListRulesOutcome> ListRulesOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListRulesRequest&, const ListRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRulesAsyncHandler;
typedef Outcome<Error, Model::ListSceneItemsResult> ListSceneItemsOutcome;
typedef std::future<ListSceneItemsOutcome> ListSceneItemsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListSceneItemsRequest&, const ListSceneItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSceneItemsAsyncHandler;
typedef Outcome<Error, Model::ListScenesResult> ListScenesOutcome;
typedef std::future<ListScenesOutcome> ListScenesOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListScenesRequest&, const ListScenesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScenesAsyncHandler;
typedef Outcome<Error, Model::ListUmengAppkeysResult> ListUmengAppkeysOutcome;
typedef std::future<ListUmengAppkeysOutcome> ListUmengAppkeysOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ListUmengAppkeysRequest&, const ListUmengAppkeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUmengAppkeysAsyncHandler;
typedef Outcome<Error, Model::ModifyDataSourceResult> ModifyDataSourceOutcome;
typedef std::future<ModifyDataSourceOutcome> ModifyDataSourceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ModifyDataSourceRequest&, const ModifyDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDataSourceAsyncHandler;
typedef Outcome<Error, Model::ModifyDiversifyResult> ModifyDiversifyOutcome;
typedef std::future<ModifyDiversifyOutcome> ModifyDiversifyOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ModifyDiversifyRequest&, const ModifyDiversifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDiversifyAsyncHandler;
typedef Outcome<Error, Model::ModifyExposureSettingsResult> ModifyExposureSettingsOutcome;
typedef std::future<ModifyExposureSettingsOutcome> ModifyExposureSettingsOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ModifyExposureSettingsRequest&, const ModifyExposureSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyExposureSettingsAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceResult> ModifyInstanceOutcome;
typedef std::future<ModifyInstanceOutcome> ModifyInstanceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ModifyInstanceRequest&, const ModifyInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAsyncHandler;
typedef Outcome<Error, Model::ModifyMixResult> ModifyMixOutcome;
typedef std::future<ModifyMixOutcome> ModifyMixOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ModifyMixRequest&, const ModifyMixOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMixAsyncHandler;
typedef Outcome<Error, Model::ModifyRuleResult> ModifyRuleOutcome;
typedef std::future<ModifyRuleOutcome> ModifyRuleOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ModifyRuleRequest&, const ModifyRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyRuleAsyncHandler;
typedef Outcome<Error, Model::ModifySceneResult> ModifySceneOutcome;
typedef std::future<ModifySceneOutcome> ModifySceneOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ModifySceneRequest&, const ModifySceneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySceneAsyncHandler;
typedef Outcome<Error, Model::PublishRuleResult> PublishRuleOutcome;
typedef std::future<PublishRuleOutcome> PublishRuleOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::PublishRuleRequest&, const PublishRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishRuleAsyncHandler;
typedef Outcome<Error, Model::PushDocumentResult> PushDocumentOutcome;
typedef std::future<PushDocumentOutcome> PushDocumentOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::PushDocumentRequest&, const PushDocumentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushDocumentAsyncHandler;
typedef Outcome<Error, Model::PushInterventionResult> PushInterventionOutcome;
typedef std::future<PushInterventionOutcome> PushInterventionOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::PushInterventionRequest&, const PushInterventionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushInterventionAsyncHandler;
typedef Outcome<Error, Model::QueryDataMessageResult> QueryDataMessageOutcome;
typedef std::future<QueryDataMessageOutcome> QueryDataMessageOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::QueryDataMessageRequest&, const QueryDataMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDataMessageAsyncHandler;
typedef Outcome<Error, Model::QueryExceptionHistoryResult> QueryExceptionHistoryOutcome;
typedef std::future<QueryExceptionHistoryOutcome> QueryExceptionHistoryOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::QueryExceptionHistoryRequest&, const QueryExceptionHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryExceptionHistoryAsyncHandler;
typedef Outcome<Error, Model::QueryRawDataResult> QueryRawDataOutcome;
typedef std::future<QueryRawDataOutcome> QueryRawDataOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::QueryRawDataRequest&, const QueryRawDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRawDataAsyncHandler;
typedef Outcome<Error, Model::QuerySingleAggregationReportResult> QuerySingleAggregationReportOutcome;
typedef std::future<QuerySingleAggregationReportOutcome> QuerySingleAggregationReportOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::QuerySingleAggregationReportRequest&, const QuerySingleAggregationReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySingleAggregationReportAsyncHandler;
typedef Outcome<Error, Model::QuerySingleReportResult> QuerySingleReportOutcome;
typedef std::future<QuerySingleReportOutcome> QuerySingleReportOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::QuerySingleReportRequest&, const QuerySingleReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySingleReportAsyncHandler;
typedef Outcome<Error, Model::QuerySyncReportAggregationResult> QuerySyncReportAggregationOutcome;
typedef std::future<QuerySyncReportAggregationOutcome> QuerySyncReportAggregationOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::QuerySyncReportAggregationRequest&, const QuerySyncReportAggregationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySyncReportAggregationAsyncHandler;
typedef Outcome<Error, Model::RecommendResult> RecommendOutcome;
typedef std::future<RecommendOutcome> RecommendOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::RecommendRequest&, const RecommendOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecommendAsyncHandler;
typedef Outcome<Error, Model::RunInstanceResult> RunInstanceOutcome;
typedef std::future<RunInstanceOutcome> RunInstanceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::RunInstanceRequest&, const RunInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunInstanceAsyncHandler;
typedef Outcome<Error, Model::StopDataSetResult> StopDataSetOutcome;
typedef std::future<StopDataSetOutcome> StopDataSetOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::StopDataSetRequest&, const StopDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopDataSetAsyncHandler;
typedef Outcome<Error, Model::UpgradeInstanceResult> UpgradeInstanceOutcome;
typedef std::future<UpgradeInstanceOutcome> UpgradeInstanceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::UpgradeInstanceRequest&, const UpgradeInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeInstanceAsyncHandler;
typedef Outcome<Error, Model::ValidateInstanceResult> ValidateInstanceOutcome;
typedef std::future<ValidateInstanceOutcome> ValidateInstanceOutcomeCallable;
typedef std::function<void(const AirecClient*, const Model::ValidateInstanceRequest&, const ValidateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateInstanceAsyncHandler;
AirecClient(const Credentials &credentials, const ClientConfiguration &configuration);
AirecClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
AirecClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~AirecClient();
AttachDatasetOutcome attachDataset(const Model::AttachDatasetRequest &request)const;
void attachDatasetAsync(const Model::AttachDatasetRequest& request, const AttachDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachDatasetOutcomeCallable attachDatasetCallable(const Model::AttachDatasetRequest& request) const;
CreateDiversifyOutcome createDiversify(const Model::CreateDiversifyRequest &request)const;
void createDiversifyAsync(const Model::CreateDiversifyRequest& request, const CreateDiversifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDiversifyOutcomeCallable createDiversifyCallable(const Model::CreateDiversifyRequest& request) const;
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
CreateMixOutcome createMix(const Model::CreateMixRequest &request)const;
void createMixAsync(const Model::CreateMixRequest& request, const CreateMixAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMixOutcomeCallable createMixCallable(const Model::CreateMixRequest& request) const;
CreateRuleOutcome createRule(const Model::CreateRuleRequest &request)const;
void createRuleAsync(const Model::CreateRuleRequest& request, const CreateRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRuleOutcomeCallable createRuleCallable(const Model::CreateRuleRequest& request) const;
CreateSceneOutcome createScene(const Model::CreateSceneRequest &request)const;
void createSceneAsync(const Model::CreateSceneRequest& request, const CreateSceneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSceneOutcomeCallable createSceneCallable(const Model::CreateSceneRequest& request) const;
DeleteDataSetOutcome deleteDataSet(const Model::DeleteDataSetRequest &request)const;
void deleteDataSetAsync(const Model::DeleteDataSetRequest& request, const DeleteDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDataSetOutcomeCallable deleteDataSetCallable(const Model::DeleteDataSetRequest& request) const;
DeleteDiversifyOutcome deleteDiversify(const Model::DeleteDiversifyRequest &request)const;
void deleteDiversifyAsync(const Model::DeleteDiversifyRequest& request, const DeleteDiversifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDiversifyOutcomeCallable deleteDiversifyCallable(const Model::DeleteDiversifyRequest& request) const;
DeleteMixOutcome deleteMix(const Model::DeleteMixRequest &request)const;
void deleteMixAsync(const Model::DeleteMixRequest& request, const DeleteMixAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMixOutcomeCallable deleteMixCallable(const Model::DeleteMixRequest& request) const;
DeleteSceneOutcome deleteScene(const Model::DeleteSceneRequest &request)const;
void deleteSceneAsync(const Model::DeleteSceneRequest& request, const DeleteSceneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSceneOutcomeCallable deleteSceneCallable(const Model::DeleteSceneRequest& request) const;
DescribeDataSetMessageOutcome describeDataSetMessage(const Model::DescribeDataSetMessageRequest &request)const;
void describeDataSetMessageAsync(const Model::DescribeDataSetMessageRequest& request, const DescribeDataSetMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataSetMessageOutcomeCallable describeDataSetMessageCallable(const Model::DescribeDataSetMessageRequest& request) const;
DescribeDataSetReportOutcome describeDataSetReport(const Model::DescribeDataSetReportRequest &request)const;
void describeDataSetReportAsync(const Model::DescribeDataSetReportRequest& request, const DescribeDataSetReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataSetReportOutcomeCallable describeDataSetReportCallable(const Model::DescribeDataSetReportRequest& request) const;
DescribeDiversifyOutcome describeDiversify(const Model::DescribeDiversifyRequest &request)const;
void describeDiversifyAsync(const Model::DescribeDiversifyRequest& request, const DescribeDiversifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiversifyOutcomeCallable describeDiversifyCallable(const Model::DescribeDiversifyRequest& request) const;
DescribeExposureSettingsOutcome describeExposureSettings(const Model::DescribeExposureSettingsRequest &request)const;
void describeExposureSettingsAsync(const Model::DescribeExposureSettingsRequest& request, const DescribeExposureSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeExposureSettingsOutcomeCallable describeExposureSettingsCallable(const Model::DescribeExposureSettingsRequest& request) const;
DescribeInstanceOutcome describeInstance(const Model::DescribeInstanceRequest &request)const;
void describeInstanceAsync(const Model::DescribeInstanceRequest& request, const DescribeInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceOutcomeCallable describeInstanceCallable(const Model::DescribeInstanceRequest& request) const;
DescribeMixOutcome describeMix(const Model::DescribeMixRequest &request)const;
void describeMixAsync(const Model::DescribeMixRequest& request, const DescribeMixAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMixOutcomeCallable describeMixCallable(const Model::DescribeMixRequest& request) const;
DescribeQuotaOutcome describeQuota(const Model::DescribeQuotaRequest &request)const;
void describeQuotaAsync(const Model::DescribeQuotaRequest& request, const DescribeQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeQuotaOutcomeCallable describeQuotaCallable(const Model::DescribeQuotaRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
DescribeRuleOutcome describeRule(const Model::DescribeRuleRequest &request)const;
void describeRuleAsync(const Model::DescribeRuleRequest& request, const DescribeRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRuleOutcomeCallable describeRuleCallable(const Model::DescribeRuleRequest& request) const;
DescribeSceneOutcome describeScene(const Model::DescribeSceneRequest &request)const;
void describeSceneAsync(const Model::DescribeSceneRequest& request, const DescribeSceneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSceneOutcomeCallable describeSceneCallable(const Model::DescribeSceneRequest& request) const;
DescribeSceneThroughputOutcome describeSceneThroughput(const Model::DescribeSceneThroughputRequest &request)const;
void describeSceneThroughputAsync(const Model::DescribeSceneThroughputRequest& request, const DescribeSceneThroughputAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSceneThroughputOutcomeCallable describeSceneThroughputCallable(const Model::DescribeSceneThroughputRequest& request) const;
DescribeSyncReportDetailOutcome describeSyncReportDetail(const Model::DescribeSyncReportDetailRequest &request)const;
void describeSyncReportDetailAsync(const Model::DescribeSyncReportDetailRequest& request, const DescribeSyncReportDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSyncReportDetailOutcomeCallable describeSyncReportDetailCallable(const Model::DescribeSyncReportDetailRequest& request) const;
DescribeSyncReportOutliersOutcome describeSyncReportOutliers(const Model::DescribeSyncReportOutliersRequest &request)const;
void describeSyncReportOutliersAsync(const Model::DescribeSyncReportOutliersRequest& request, const DescribeSyncReportOutliersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSyncReportOutliersOutcomeCallable describeSyncReportOutliersCallable(const Model::DescribeSyncReportOutliersRequest& request) const;
DescribeUserMetricsOutcome describeUserMetrics(const Model::DescribeUserMetricsRequest &request)const;
void describeUserMetricsAsync(const Model::DescribeUserMetricsRequest& request, const DescribeUserMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserMetricsOutcomeCallable describeUserMetricsCallable(const Model::DescribeUserMetricsRequest& request) const;
DowngradeInstanceOutcome downgradeInstance(const Model::DowngradeInstanceRequest &request)const;
void downgradeInstanceAsync(const Model::DowngradeInstanceRequest& request, const DowngradeInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DowngradeInstanceOutcomeCallable downgradeInstanceCallable(const Model::DowngradeInstanceRequest& request) const;
ListDashboardOutcome listDashboard(const Model::ListDashboardRequest &request)const;
void listDashboardAsync(const Model::ListDashboardRequest& request, const ListDashboardAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDashboardOutcomeCallable listDashboardCallable(const Model::ListDashboardRequest& request) const;
ListDashboardDetailsOutcome listDashboardDetails(const Model::ListDashboardDetailsRequest &request)const;
void listDashboardDetailsAsync(const Model::ListDashboardDetailsRequest& request, const ListDashboardDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDashboardDetailsOutcomeCallable listDashboardDetailsCallable(const Model::ListDashboardDetailsRequest& request) const;
ListDashboardDetailsFlowsOutcome listDashboardDetailsFlows(const Model::ListDashboardDetailsFlowsRequest &request)const;
void listDashboardDetailsFlowsAsync(const Model::ListDashboardDetailsFlowsRequest& request, const ListDashboardDetailsFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDashboardDetailsFlowsOutcomeCallable listDashboardDetailsFlowsCallable(const Model::ListDashboardDetailsFlowsRequest& request) const;
ListDashboardMetricsOutcome listDashboardMetrics(const Model::ListDashboardMetricsRequest &request)const;
void listDashboardMetricsAsync(const Model::ListDashboardMetricsRequest& request, const ListDashboardMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDashboardMetricsOutcomeCallable listDashboardMetricsCallable(const Model::ListDashboardMetricsRequest& request) const;
ListDashboardMetricsFlowsOutcome listDashboardMetricsFlows(const Model::ListDashboardMetricsFlowsRequest &request)const;
void listDashboardMetricsFlowsAsync(const Model::ListDashboardMetricsFlowsRequest& request, const ListDashboardMetricsFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDashboardMetricsFlowsOutcomeCallable listDashboardMetricsFlowsCallable(const Model::ListDashboardMetricsFlowsRequest& request) const;
ListDashboardParametersOutcome listDashboardParameters(const Model::ListDashboardParametersRequest &request)const;
void listDashboardParametersAsync(const Model::ListDashboardParametersRequest& request, const ListDashboardParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDashboardParametersOutcomeCallable listDashboardParametersCallable(const Model::ListDashboardParametersRequest& request) const;
ListDashboardUidOutcome listDashboardUid(const Model::ListDashboardUidRequest &request)const;
void listDashboardUidAsync(const Model::ListDashboardUidRequest& request, const ListDashboardUidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDashboardUidOutcomeCallable listDashboardUidCallable(const Model::ListDashboardUidRequest& request) const;
ListDataSetOutcome listDataSet(const Model::ListDataSetRequest &request)const;
void listDataSetAsync(const Model::ListDataSetRequest& request, const ListDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDataSetOutcomeCallable listDataSetCallable(const Model::ListDataSetRequest& request) const;
ListDataSourceOutcome listDataSource(const Model::ListDataSourceRequest &request)const;
void listDataSourceAsync(const Model::ListDataSourceRequest& request, const ListDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDataSourceOutcomeCallable listDataSourceCallable(const Model::ListDataSourceRequest& request) const;
ListDiversifyOutcome listDiversify(const Model::ListDiversifyRequest &request)const;
void listDiversifyAsync(const Model::ListDiversifyRequest& request, const ListDiversifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDiversifyOutcomeCallable listDiversifyCallable(const Model::ListDiversifyRequest& request) const;
ListInstanceOutcome listInstance(const Model::ListInstanceRequest &request)const;
void listInstanceAsync(const Model::ListInstanceRequest& request, const ListInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstanceOutcomeCallable listInstanceCallable(const Model::ListInstanceRequest& request) const;
ListInstanceTaskOutcome listInstanceTask(const Model::ListInstanceTaskRequest &request)const;
void listInstanceTaskAsync(const Model::ListInstanceTaskRequest& request, const ListInstanceTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstanceTaskOutcomeCallable listInstanceTaskCallable(const Model::ListInstanceTaskRequest& request) const;
ListMixOutcome listMix(const Model::ListMixRequest &request)const;
void listMixAsync(const Model::ListMixRequest& request, const ListMixAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMixOutcomeCallable listMixCallable(const Model::ListMixRequest& request) const;
ListRuleConditionsOutcome listRuleConditions(const Model::ListRuleConditionsRequest &request)const;
void listRuleConditionsAsync(const Model::ListRuleConditionsRequest& request, const ListRuleConditionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRuleConditionsOutcomeCallable listRuleConditionsCallable(const Model::ListRuleConditionsRequest& request) const;
ListRuleTasksOutcome listRuleTasks(const Model::ListRuleTasksRequest &request)const;
void listRuleTasksAsync(const Model::ListRuleTasksRequest& request, const ListRuleTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRuleTasksOutcomeCallable listRuleTasksCallable(const Model::ListRuleTasksRequest& request) const;
ListRulesOutcome listRules(const Model::ListRulesRequest &request)const;
void listRulesAsync(const Model::ListRulesRequest& request, const ListRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRulesOutcomeCallable listRulesCallable(const Model::ListRulesRequest& request) const;
ListSceneItemsOutcome listSceneItems(const Model::ListSceneItemsRequest &request)const;
void listSceneItemsAsync(const Model::ListSceneItemsRequest& request, const ListSceneItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSceneItemsOutcomeCallable listSceneItemsCallable(const Model::ListSceneItemsRequest& request) const;
ListScenesOutcome listScenes(const Model::ListScenesRequest &request)const;
void listScenesAsync(const Model::ListScenesRequest& request, const ListScenesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListScenesOutcomeCallable listScenesCallable(const Model::ListScenesRequest& request) const;
ListUmengAppkeysOutcome listUmengAppkeys(const Model::ListUmengAppkeysRequest &request)const;
void listUmengAppkeysAsync(const Model::ListUmengAppkeysRequest& request, const ListUmengAppkeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUmengAppkeysOutcomeCallable listUmengAppkeysCallable(const Model::ListUmengAppkeysRequest& request) const;
ModifyDataSourceOutcome modifyDataSource(const Model::ModifyDataSourceRequest &request)const;
void modifyDataSourceAsync(const Model::ModifyDataSourceRequest& request, const ModifyDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDataSourceOutcomeCallable modifyDataSourceCallable(const Model::ModifyDataSourceRequest& request) const;
ModifyDiversifyOutcome modifyDiversify(const Model::ModifyDiversifyRequest &request)const;
void modifyDiversifyAsync(const Model::ModifyDiversifyRequest& request, const ModifyDiversifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDiversifyOutcomeCallable modifyDiversifyCallable(const Model::ModifyDiversifyRequest& request) const;
ModifyExposureSettingsOutcome modifyExposureSettings(const Model::ModifyExposureSettingsRequest &request)const;
void modifyExposureSettingsAsync(const Model::ModifyExposureSettingsRequest& request, const ModifyExposureSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyExposureSettingsOutcomeCallable modifyExposureSettingsCallable(const Model::ModifyExposureSettingsRequest& request) const;
ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const;
void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const;
ModifyMixOutcome modifyMix(const Model::ModifyMixRequest &request)const;
void modifyMixAsync(const Model::ModifyMixRequest& request, const ModifyMixAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMixOutcomeCallable modifyMixCallable(const Model::ModifyMixRequest& request) const;
ModifyRuleOutcome modifyRule(const Model::ModifyRuleRequest &request)const;
void modifyRuleAsync(const Model::ModifyRuleRequest& request, const ModifyRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyRuleOutcomeCallable modifyRuleCallable(const Model::ModifyRuleRequest& request) const;
ModifySceneOutcome modifyScene(const Model::ModifySceneRequest &request)const;
void modifySceneAsync(const Model::ModifySceneRequest& request, const ModifySceneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySceneOutcomeCallable modifySceneCallable(const Model::ModifySceneRequest& request) const;
PublishRuleOutcome publishRule(const Model::PublishRuleRequest &request)const;
void publishRuleAsync(const Model::PublishRuleRequest& request, const PublishRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishRuleOutcomeCallable publishRuleCallable(const Model::PublishRuleRequest& request) const;
PushDocumentOutcome pushDocument(const Model::PushDocumentRequest &request)const;
void pushDocumentAsync(const Model::PushDocumentRequest& request, const PushDocumentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PushDocumentOutcomeCallable pushDocumentCallable(const Model::PushDocumentRequest& request) const;
PushInterventionOutcome pushIntervention(const Model::PushInterventionRequest &request)const;
void pushInterventionAsync(const Model::PushInterventionRequest& request, const PushInterventionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PushInterventionOutcomeCallable pushInterventionCallable(const Model::PushInterventionRequest& request) const;
QueryDataMessageOutcome queryDataMessage(const Model::QueryDataMessageRequest &request)const;
void queryDataMessageAsync(const Model::QueryDataMessageRequest& request, const QueryDataMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDataMessageOutcomeCallable queryDataMessageCallable(const Model::QueryDataMessageRequest& request) const;
QueryExceptionHistoryOutcome queryExceptionHistory(const Model::QueryExceptionHistoryRequest &request)const;
void queryExceptionHistoryAsync(const Model::QueryExceptionHistoryRequest& request, const QueryExceptionHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryExceptionHistoryOutcomeCallable queryExceptionHistoryCallable(const Model::QueryExceptionHistoryRequest& request) const;
QueryRawDataOutcome queryRawData(const Model::QueryRawDataRequest &request)const;
void queryRawDataAsync(const Model::QueryRawDataRequest& request, const QueryRawDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryRawDataOutcomeCallable queryRawDataCallable(const Model::QueryRawDataRequest& request) const;
QuerySingleAggregationReportOutcome querySingleAggregationReport(const Model::QuerySingleAggregationReportRequest &request)const;
void querySingleAggregationReportAsync(const Model::QuerySingleAggregationReportRequest& request, const QuerySingleAggregationReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySingleAggregationReportOutcomeCallable querySingleAggregationReportCallable(const Model::QuerySingleAggregationReportRequest& request) const;
QuerySingleReportOutcome querySingleReport(const Model::QuerySingleReportRequest &request)const;
void querySingleReportAsync(const Model::QuerySingleReportRequest& request, const QuerySingleReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySingleReportOutcomeCallable querySingleReportCallable(const Model::QuerySingleReportRequest& request) const;
QuerySyncReportAggregationOutcome querySyncReportAggregation(const Model::QuerySyncReportAggregationRequest &request)const;
void querySyncReportAggregationAsync(const Model::QuerySyncReportAggregationRequest& request, const QuerySyncReportAggregationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySyncReportAggregationOutcomeCallable querySyncReportAggregationCallable(const Model::QuerySyncReportAggregationRequest& request) const;
RecommendOutcome recommend(const Model::RecommendRequest &request)const;
void recommendAsync(const Model::RecommendRequest& request, const RecommendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecommendOutcomeCallable recommendCallable(const Model::RecommendRequest& request) const;
RunInstanceOutcome runInstance(const Model::RunInstanceRequest &request)const;
void runInstanceAsync(const Model::RunInstanceRequest& request, const RunInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunInstanceOutcomeCallable runInstanceCallable(const Model::RunInstanceRequest& request) const;
StopDataSetOutcome stopDataSet(const Model::StopDataSetRequest &request)const;
void stopDataSetAsync(const Model::StopDataSetRequest& request, const StopDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopDataSetOutcomeCallable stopDataSetCallable(const Model::StopDataSetRequest& request) const;
UpgradeInstanceOutcome upgradeInstance(const Model::UpgradeInstanceRequest &request)const;
void upgradeInstanceAsync(const Model::UpgradeInstanceRequest& request, const UpgradeInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeInstanceOutcomeCallable upgradeInstanceCallable(const Model::UpgradeInstanceRequest& request) const;
ValidateInstanceOutcome validateInstance(const Model::ValidateInstanceRequest &request)const;
void validateInstanceAsync(const Model::ValidateInstanceRequest& request, const ValidateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateInstanceOutcomeCallable validateInstanceCallable(const Model::ValidateInstanceRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_AIREC_AIRECCLIENT_H_

View 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_AIREC_AIRECEXPORT_H_
#define ALIBABACLOUD_AIREC_AIRECEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_AIREC_LIBRARY)
# define ALIBABACLOUD_AIREC_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_AIREC_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_AIREC_EXPORT
#endif
#endif // !ALIBABACLOUD_AIREC_AIRECEXPORT_H_

View File

@@ -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_AIREC_MODEL_ATTACHDATASETREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_ATTACHDATASETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT AttachDatasetRequest : public RoaServiceRequest
{
public:
AttachDatasetRequest();
~AttachDatasetRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string versionId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_ATTACHDATASETREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_ATTACHDATASETRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_ATTACHDATASETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT AttachDatasetResult : public ServiceResult
{
public:
struct Result
{
std::string versionId;
long gmtCreate;
std::string instanceId;
std::string state;
long gmtModified;
};
AttachDatasetResult();
explicit AttachDatasetResult(const std::string &payload);
~AttachDatasetResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_ATTACHDATASETRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_CREATEDIVERSIFYREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATEDIVERSIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateDiversifyRequest : public RoaServiceRequest
{
public:
CreateDiversifyRequest();
~CreateDiversifyRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATEDIVERSIFYREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_CREATEDIVERSIFYRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATEDIVERSIFYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateDiversifyResult : public ServiceResult
{
public:
struct Result
{
struct _Parameter
{
int window;
int categoryIndex;
};
std::string gmtCreate;
std::string gmtModified;
_Parameter _parameter;
std::string name;
};
CreateDiversifyResult();
explicit CreateDiversifyResult(const std::string &payload);
~CreateDiversifyResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATEDIVERSIFYRESULT_H_

View File

@@ -0,0 +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_AIREC_MODEL_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateInstanceRequest : public RoaServiceRequest
{
public:
CreateInstanceRequest();
~CreateInstanceRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATEINSTANCEREQUEST_H_

View File

@@ -14,44 +14,46 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPRESULT_H_
#ifndef ALIBABACLOUD_AIREC_MODEL_CREATEINSTANCERESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATEINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace CCC
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT AddNumberToSkillGroupResult : public ServiceResult
class ALIBABACLOUD_AIREC_EXPORT CreateInstanceResult : public ServiceResult
{
public:
struct Result
{
std::string instanceId;
};
AddNumberToSkillGroupResult();
explicit AddNumberToSkillGroupResult(const std::string &payload);
~AddNumberToSkillGroupResult();
CreateInstanceResult();
explicit CreateInstanceResult(const std::string &payload);
~CreateInstanceResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPRESULT_H_
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATEINSTANCERESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_CREATEMIXREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATEMIXREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateMixRequest : public RoaServiceRequest
{
public:
CreateMixRequest();
~CreateMixRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATEMIXREQUEST_H_

View File

@@ -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_AIREC_MODEL_CREATEMIXRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATEMIXRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateMixResult : public ServiceResult
{
public:
struct Result
{
struct _Parameter
{
struct SettingsItem
{
int value;
std::string name;
};
std::vector<SettingsItem> settings;
};
std::string gmtCreate;
std::string gmtModified;
_Parameter _parameter;
std::string name;
};
CreateMixResult();
explicit CreateMixResult(const std::string &payload);
~CreateMixResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATEMIXRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_CREATERULEREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATERULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateRuleRequest : public RoaServiceRequest
{
public:
CreateRuleRequest();
~CreateRuleRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATERULEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_CREATERULERESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATERULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateRuleResult : public ServiceResult
{
public:
struct Result
{
std::string status;
std::string gmtCreate;
std::string ruleId;
std::string gmtModified;
};
CreateRuleResult();
explicit CreateRuleResult(const std::string &payload);
~CreateRuleResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATERULERESULT_H_

View File

@@ -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_AIREC_MODEL_CREATESCENEREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATESCENEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateSceneRequest : public RoaServiceRequest
{
public:
CreateSceneRequest();
~CreateSceneRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getDryRun()const;
void setDryRun(bool dryRun);
private:
std::string instanceId_;
bool dryRun_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATESCENEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_CREATESCENERESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_CREATESCENERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT CreateSceneResult : public ServiceResult
{
public:
struct Result
{
std::string sceneId;
std::string status;
std::string gmtCreate;
std::string gmtModified;
};
CreateSceneResult();
explicit CreateSceneResult(const std::string &payload);
~CreateSceneResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_CREATESCENERESULT_H_

View File

@@ -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_AIREC_MODEL_DELETEDATASETREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DELETEDATASETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DeleteDataSetRequest : public RoaServiceRequest
{
public:
DeleteDataSetRequest();
~DeleteDataSetRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string versionId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DELETEDATASETREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DELETEDATASETRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DELETEDATASETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DeleteDataSetResult : public ServiceResult
{
public:
struct Result
{
std::string versionId;
long gmtCreate;
std::string instanceId;
std::string state;
long gmtModified;
};
DeleteDataSetResult();
explicit DeleteDataSetResult(const std::string &payload);
~DeleteDataSetResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DELETEDATASETRESULT_H_

View File

@@ -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_AIREC_MODEL_DELETEDIVERSIFYREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DELETEDIVERSIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DeleteDiversifyRequest : public RoaServiceRequest
{
public:
DeleteDiversifyRequest();
~DeleteDiversifyRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DELETEDIVERSIFYREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DELETEDIVERSIFYRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DELETEDIVERSIFYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DeleteDiversifyResult : public ServiceResult
{
public:
struct Result
{
struct _Parameter
{
int window;
int categoryIndex;
};
std::string gmtCreate;
std::string gmtModified;
_Parameter _parameter;
std::string name;
};
DeleteDiversifyResult();
explicit DeleteDiversifyResult(const std::string &payload);
~DeleteDiversifyResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DELETEDIVERSIFYRESULT_H_

View File

@@ -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_AIREC_MODEL_DELETEMIXREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DELETEMIXREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DeleteMixRequest : public RoaServiceRequest
{
public:
DeleteMixRequest();
~DeleteMixRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DELETEMIXREQUEST_H_

View File

@@ -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_AIREC_MODEL_DELETEMIXRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DELETEMIXRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DeleteMixResult : public ServiceResult
{
public:
struct Result
{
struct _Parameter
{
struct SettingsItem
{
std::string value;
std::string name;
};
std::vector<SettingsItem> settings;
};
std::string gmtCreate;
std::string gmtModified;
_Parameter _parameter;
std::string name;
};
DeleteMixResult();
explicit DeleteMixResult(const std::string &payload);
~DeleteMixResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DELETEMIXRESULT_H_

View File

@@ -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_AIREC_MODEL_DELETESCENEREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DELETESCENEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DeleteSceneRequest : public RoaServiceRequest
{
public:
DeleteSceneRequest();
~DeleteSceneRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSceneId()const;
void setSceneId(const std::string& sceneId);
private:
std::string instanceId_;
std::string sceneId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DELETESCENEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DELETESCENERESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DELETESCENERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DeleteSceneResult : public ServiceResult
{
public:
struct Result
{
std::string sceneId;
};
DeleteSceneResult();
explicit DeleteSceneResult(const std::string &payload);
~DeleteSceneResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DELETESCENERESULT_H_

View File

@@ -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_AIREC_MODEL_DESCRIBEDATASETMESSAGEREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETMESSAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeDataSetMessageRequest : public RoaServiceRequest
{
public:
DescribeDataSetMessageRequest();
~DescribeDataSetMessageRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string versionId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETMESSAGEREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_AIREC_MODEL_DESCRIBEDATASETMESSAGERESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETMESSAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeDataSetMessageResult : public ServiceResult
{
public:
struct ResultItem
{
std::string message;
std::string errorType;
std::string errorLevel;
std::string timestamp;
};
DescribeDataSetMessageResult();
explicit DescribeDataSetMessageResult(const std::string &payload);
~DescribeDataSetMessageResult();
std::string getMessage()const;
std::string getCode()const;
std::vector<ResultItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::vector<ResultItem> result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETMESSAGERESULT_H_

View File

@@ -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_AIREC_MODEL_DESCRIBEDATASETREPORTREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETREPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeDataSetReportRequest : public RoaServiceRequest
{
public:
DescribeDataSetReportRequest();
~DescribeDataSetReportRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string versionId_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETREPORTREQUEST_H_

View File

@@ -0,0 +1,88 @@
/*
* 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_AIREC_MODEL_DESCRIBEDATASETREPORTRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeDataSetReportResult : public ServiceResult
{
public:
struct Result
{
struct Overall
{
float itemCompleteRate;
float itemLoginRate;
float itemLegalRate;
int userUserCount;
float userCompleteRate;
int itemItemCount;
int bhvCount;
float userLoginRate;
float userLegalRate;
float userRepetitiveRate;
float bhvLegalRate;
float itemRepetitiveRate;
};
struct DetailItem
{
float ctr;
long uv;
long clickUser;
float perUvBhv;
float perUvClick;
float uvCtr;
long pv;
long activeItem;
long click;
long bizDate;
};
Overall overall;
std::vector<DetailItem> detail;
};
DescribeDataSetReportResult();
explicit DescribeDataSetReportResult(const std::string &payload);
~DescribeDataSetReportResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEDATASETREPORTRESULT_H_

View File

@@ -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_AIREC_MODEL_DESCRIBEDIVERSIFYREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEDIVERSIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeDiversifyRequest : public RoaServiceRequest
{
public:
DescribeDiversifyRequest();
~DescribeDiversifyRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEDIVERSIFYREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEDIVERSIFYRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEDIVERSIFYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeDiversifyResult : public ServiceResult
{
public:
struct Result
{
struct _Parameter
{
int window;
int categoryIndex;
};
std::string gmtCreate;
std::string gmtModified;
_Parameter _parameter;
std::string name;
};
DescribeDiversifyResult();
explicit DescribeDiversifyResult(const std::string &payload);
~DescribeDiversifyResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEDIVERSIFYRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEEXPOSURESETTINGSREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEEXPOSURESETTINGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeExposureSettingsRequest : public RoaServiceRequest
{
public:
DescribeExposureSettingsRequest();
~DescribeExposureSettingsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEEXPOSURESETTINGSREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEEXPOSURESETTINGSRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEEXPOSURESETTINGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeExposureSettingsResult : public ServiceResult
{
public:
struct Result
{
bool scenarioBased;
int durationSeconds;
};
DescribeExposureSettingsResult();
explicit DescribeExposureSettingsResult(const std::string &payload);
~DescribeExposureSettingsResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEEXPOSURESETTINGSRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEINSTANCEREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeInstanceRequest : public RoaServiceRequest
{
public:
DescribeInstanceRequest();
~DescribeInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEINSTANCEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEINSTANCERESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeInstanceResult : public ServiceResult
{
public:
struct Result
{
std::string status;
std::string instanceId;
std::string gmtModified;
std::string lockMode;
std::string scene;
std::string name;
std::string industry;
std::string type;
std::string gmtCreate;
std::string chargeType;
std::string expiredTime;
std::string commodityCode;
std::string regionId;
std::string dataSetVersion;
};
DescribeInstanceResult();
explicit DescribeInstanceResult(const std::string &payload);
~DescribeInstanceResult();
std::string getMessage()const;
std::string getCode()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEINSTANCERESULT_H_

View File

@@ -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_AIREC_MODEL_DESCRIBEMIXREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEMIXREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeMixRequest : public RoaServiceRequest
{
public:
DescribeMixRequest();
~DescribeMixRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEMIXREQUEST_H_

View File

@@ -14,53 +14,58 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_H_
#define ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_H_
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEMIXRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEMIXRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace CCC
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PreCreateMediaResult : public ServiceResult
class ALIBABACLOUD_AIREC_EXPORT DescribeMixResult : public ServiceResult
{
public:
struct PreCreateMediaParam
struct Result
{
std::string ossFile;
std::string ossBucket;
std::string signatureUrl;
std::string ossFilePath;
struct _Parameter
{
struct SettingsItem
{
int value;
std::string name;
};
std::vector<SettingsItem> settings;
};
std::string gmtCreate;
std::string gmtModified;
_Parameter _parameter;
std::string name;
};
PreCreateMediaResult();
explicit PreCreateMediaResult(const std::string &payload);
~PreCreateMediaResult();
DescribeMixResult();
explicit DescribeMixResult(const std::string &payload);
~DescribeMixResult();
std::string getMessage()const;
int getHttpStatusCode()const;
PreCreateMediaParam getPreCreateMediaParam()const;
std::string getCode()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
PreCreateMediaParam preCreateMediaParam_;
std::string code_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_H_
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEMIXRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEQUOTAREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEQUOTAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeQuotaRequest : public RoaServiceRequest
{
public:
DescribeQuotaRequest();
~DescribeQuotaRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEQUOTAREQUEST_H_

View File

@@ -14,48 +14,51 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_H_
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEQUOTARESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEQUOTARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace CCC
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetJobFileUploadUrlResult : public ServiceResult
class ALIBABACLOUD_AIREC_EXPORT DescribeQuotaResult : public ServiceResult
{
public:
struct Result
{
int currentQps;
long userCountUsed;
int qps;
long userCount;
long itemCount;
long itemCountUsed;
};
GetJobFileUploadUrlResult();
explicit GetJobFileUploadUrlResult(const std::string &payload);
~GetJobFileUploadUrlResult();
std::string getFilePath()const;
std::string getUploadUrl()const;
DescribeQuotaResult();
explicit DescribeQuotaResult(const std::string &payload);
~DescribeQuotaResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string filePath_;
std::string uploadUrl_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_H_
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEQUOTARESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEREGIONSREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEREGIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeRegionsRequest : public RoaServiceRequest
{
public:
DescribeRegionsRequest();
~DescribeRegionsRequest();
std::string getAcceptLanguage()const;
void setAcceptLanguage(const std::string& acceptLanguage);
private:
std::string acceptLanguage_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEREGIONSREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBEREGIONSRESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBEREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
struct Item
{
std::string status;
std::string endpoint;
std::string consoleUrl;
std::string regionId;
std::string localName;
};
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
std::string getMessage()const;
std::string getCode()const;
std::vector<Item> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::vector<Item> result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBEREGIONSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_AIREC_MODEL_DESCRIBERULEREQUEST_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBERULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeRuleRequest : public RoaServiceRequest
{
public:
DescribeRuleRequest();
~DescribeRuleRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRuleType()const;
void setRuleType(const std::string& ruleType);
std::string getSceneId()const;
void setSceneId(const std::string& sceneId);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
private:
std::string instanceId_;
std::string ruleType_;
std::string sceneId_;
std::string ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBERULEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AIREC_MODEL_DESCRIBERULERESULT_H_
#define ALIBABACLOUD_AIREC_MODEL_DESCRIBERULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/airec/AirecExport.h>
namespace AlibabaCloud
{
namespace Airec
{
namespace Model
{
class ALIBABACLOUD_AIREC_EXPORT DescribeRuleResult : public ServiceResult
{
public:
struct Result
{
std::string status;
std::string gmtCreate;
std::string ruleId;
std::string gmtModified;
};
DescribeRuleResult();
explicit DescribeRuleResult(const std::string &payload);
~DescribeRuleResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_AIREC_MODEL_DESCRIBERULERESULT_H_

Some files were not shown because too many files have changed in this diff Show More