Compare commits
249 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
839effe699 | ||
|
|
4e6956c3f2 | ||
|
|
1b2fe667ba | ||
|
|
91c8eee22c | ||
|
|
fd4bd1e797 | ||
|
|
bd27e98c03 | ||
|
|
3a88e60d04 | ||
|
|
83bb5be02b | ||
|
|
beacaac234 | ||
|
|
52ee14ba5d | ||
|
|
b257cba9c3 | ||
|
|
55baab421e | ||
|
|
67f50165c9 | ||
|
|
1cce84c75f | ||
|
|
90e4ddb22a | ||
|
|
d412a52735 | ||
|
|
2960652dcb | ||
|
|
48a3320ae9 | ||
|
|
60539f067e | ||
|
|
d486d13814 | ||
|
|
2de462bea7 | ||
|
|
5d7cb923d0 | ||
|
|
8520626698 | ||
|
|
9d57625a58 | ||
|
|
b60a834a97 | ||
|
|
49e97628f4 | ||
|
|
5b5f0128c9 | ||
|
|
b5ed975753 | ||
|
|
f0c20f05b7 | ||
|
|
d769c974ab | ||
|
|
4d0d947bf1 | ||
|
|
2738249b7d | ||
|
|
6f1c636c7e | ||
|
|
70047f9bc7 | ||
|
|
6088526cd8 | ||
|
|
0e02d3bc63 | ||
|
|
f289e0290b | ||
|
|
3e25f8bde6 | ||
|
|
84d7d5b467 | ||
|
|
e57fc8314f | ||
|
|
60b042fbe6 | ||
|
|
70d2fb850d | ||
|
|
0cb799a37d | ||
|
|
812a50b07f | ||
|
|
a4f9a98de3 | ||
|
|
6f44f27802 | ||
|
|
b64262402e | ||
|
|
4d79d51820 | ||
|
|
44130b741e | ||
|
|
1ac661d847 | ||
|
|
401f5f7e4c | ||
|
|
eee5186ffd | ||
|
|
ac957846a2 | ||
|
|
bf6b90c665 | ||
|
|
499b696774 | ||
|
|
8bcded107d | ||
|
|
26788350a5 | ||
|
|
37e0116875 | ||
|
|
6a5e45a550 | ||
|
|
fd6a6949fb | ||
|
|
4cda4f477d | ||
|
|
7959141d87 | ||
|
|
53ce2f6947 | ||
|
|
161e51556b | ||
|
|
fc24f8e624 | ||
|
|
b5602fc4a4 | ||
|
|
4332019dac | ||
|
|
7107481ad3 | ||
|
|
13c3b8b414 | ||
|
|
1a401aa70a | ||
|
|
8d0bff56a9 | ||
|
|
4b39c98f5a | ||
|
|
7fecdadace | ||
|
|
8ab4232b59 | ||
|
|
882187b0e9 | ||
|
|
f0ef60d4fa | ||
|
|
f29a3fe06e | ||
|
|
9c7cbba02f | ||
|
|
65a601c5ba | ||
|
|
3ee66cb2b2 | ||
|
|
a57f6ec422 | ||
|
|
e065d50def | ||
|
|
97918475fb | ||
|
|
5a451d16d4 | ||
|
|
8bed6eecc7 | ||
|
|
db4bd7ae11 | ||
|
|
7e4fbe6210 | ||
|
|
de0798d2dd | ||
|
|
2650ca7420 | ||
|
|
59d9eaf390 | ||
|
|
1ae8883f81 | ||
|
|
30469764de | ||
|
|
aeea3c2fea | ||
|
|
743309716b | ||
|
|
c9ae7d0b7e | ||
|
|
def35a6602 | ||
|
|
da7aefe5aa | ||
|
|
243879b17f | ||
|
|
942248dfb0 | ||
|
|
8f92463d90 | ||
|
|
dbe8804b96 | ||
|
|
6e880496ba | ||
|
|
fbf5bf0457 | ||
|
|
e32ce45b9d | ||
|
|
053c0dc1a1 | ||
|
|
2070ee03ba | ||
|
|
e611ec2db4 | ||
|
|
57416bd581 | ||
|
|
2df6079b2d | ||
|
|
39221a5319 | ||
|
|
6bba61cebe | ||
|
|
a869068f77 | ||
|
|
cf9eca9516 | ||
|
|
9ae74a6524 | ||
|
|
1855010705 | ||
|
|
654af055e6 | ||
|
|
07b50e30ef | ||
|
|
767dcb5bee | ||
|
|
42b4be9e1f | ||
|
|
c811dc5d85 | ||
|
|
84659b3f3e | ||
|
|
e3faa7d285 | ||
|
|
99feb0fdea | ||
|
|
d58606d853 | ||
|
|
db4fde36ee | ||
|
|
b7d0012a43 | ||
|
|
9c23d3e24b | ||
|
|
11bf538b08 | ||
|
|
266bdb38c6 | ||
|
|
d4576ea2f3 | ||
|
|
e051f5848b | ||
|
|
bfe6e5b081 | ||
|
|
03a2cd3731 | ||
|
|
83df0154da | ||
|
|
ec5269015c | ||
|
|
95a93b89f1 | ||
|
|
bd0d4f669a | ||
|
|
c6be4b4083 | ||
|
|
dad64fbdea | ||
|
|
ff1e74581f | ||
|
|
304717df66 | ||
|
|
d4d401ed4e | ||
|
|
670f1bb324 | ||
|
|
07721caa35 | ||
|
|
9315d79274 | ||
|
|
3d5b584e84 | ||
|
|
37abc8eec5 | ||
|
|
d55b09e788 | ||
|
|
f6e57b5ea2 | ||
|
|
68d7262f25 | ||
|
|
ea41bc1249 | ||
|
|
4b3913d6cd | ||
|
|
9c95c03a45 | ||
|
|
c0ffe42087 | ||
|
|
2cc7e5ae64 | ||
|
|
1a056a97c6 | ||
|
|
46862eb08d | ||
|
|
bb4a9050b4 | ||
|
|
1cba907b97 | ||
|
|
efc5b31e28 | ||
|
|
23a40fc487 | ||
|
|
03fb512456 | ||
|
|
56c516a238 | ||
|
|
2fd4ebc0a8 | ||
|
|
735c64063a | ||
|
|
bb7f64aeb3 | ||
|
|
396541400e | ||
|
|
e312177cd9 | ||
|
|
f60556764e | ||
|
|
6c1dbc8b06 | ||
|
|
ab7e92063b | ||
|
|
92d767384b | ||
|
|
32e4dafba9 | ||
|
|
9f2fb5a595 | ||
|
|
590e1bdfaf | ||
|
|
bde21ef594 | ||
|
|
7a8130ffb0 | ||
|
|
4bb1852f8a | ||
|
|
b1e2187ca5 | ||
|
|
92be79728f | ||
|
|
e1097547c2 | ||
|
|
87957e1677 | ||
|
|
8ef38637d2 | ||
|
|
7041b32dc4 | ||
|
|
d3ae1f02a3 | ||
|
|
87fc3376cb | ||
|
|
f6ec6326cb | ||
|
|
bd43e54271 | ||
|
|
f16150baca | ||
|
|
a51834c8d0 | ||
|
|
23bea0505a | ||
|
|
8c15acf5c8 | ||
|
|
00cb41817f | ||
|
|
f90eac2a6c | ||
|
|
f69779be3f | ||
|
|
feab9dcc06 | ||
|
|
d1c3599e3d | ||
|
|
f1483f8582 | ||
|
|
d005611f56 | ||
|
|
7e80260525 | ||
|
|
4aa00d49d1 | ||
|
|
a1dd7e1dbd | ||
|
|
e6cff897c5 | ||
|
|
4d493b157c | ||
|
|
8a1c79417e | ||
|
|
ad02a00036 | ||
|
|
3dd38f70c2 | ||
|
|
cc6cea96e4 | ||
|
|
f819d8866c | ||
|
|
d53a27c55f | ||
|
|
112b1d25da | ||
|
|
f51d79f1b9 | ||
|
|
e53482d9c6 | ||
|
|
b004f4b9fa | ||
|
|
c9cf723562 | ||
|
|
b1020d412c | ||
|
|
c4d6cb06f1 | ||
|
|
eeaeed4023 | ||
|
|
d7e14e0c1b | ||
|
|
18dc3cd7d9 | ||
|
|
2dbb76d303 | ||
|
|
ae65dcf4c3 | ||
|
|
1c5ad6a48c | ||
|
|
1a13b03f29 | ||
|
|
c1e07be47e | ||
|
|
8fdb5cc851 | ||
|
|
20774ebe3a | ||
|
|
485d712ddd | ||
|
|
abfdc41f3b | ||
|
|
093332279d | ||
|
|
85daa7c446 | ||
|
|
2e465b8b77 | ||
|
|
c58d7b0968 | ||
|
|
528c5282a8 | ||
|
|
ec000a3be6 | ||
|
|
636e24a33f | ||
|
|
cc1b078ff1 | ||
|
|
30fd9f48a0 | ||
|
|
c911315170 | ||
|
|
26e49b09e1 | ||
|
|
677473908b | ||
|
|
99a35f493e | ||
|
|
2efc5c0610 | ||
|
|
773c9d68dd | ||
|
|
dab595d041 | ||
|
|
361993f224 | ||
|
|
31f2c5d410 | ||
|
|
f0c2600a26 | ||
|
|
cba94f2119 |
137
.clang-format
Normal file
137
.clang-format
Normal 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
|
||||
...
|
||||
|
||||
819
CHANGELOG
819
CHANGELOG
@@ -1,3 +1,822 @@
|
||||
2020-08-11 Version: 1.36.568
|
||||
- Update DescribeRefreshTask.
|
||||
|
||||
2020-08-11 Version: 1.36.567
|
||||
- Add ResourceGroup in resource snapshot.
|
||||
|
||||
2020-08-10 Version: 1.36.566
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-08-10 Version: 1.36.565
|
||||
- Add source id for list face detail.
|
||||
|
||||
2020-08-10 Version: 1.36.564
|
||||
- Add extend value for list event detail.
|
||||
|
||||
2020-08-09 Version: 1.36.563
|
||||
- Add extend value for list event detail.
|
||||
|
||||
2020-08-08 Version: 1.36.562
|
||||
- Update SearchImage.
|
||||
|
||||
2020-08-07 Version: 1.36.561
|
||||
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
|
||||
|
||||
2020-08-07 Version: 1.36.560
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-08-07 Version: 1.36.559
|
||||
- GetTitleDiagnose GetTitleGenerate GetImageTranslate supported.
|
||||
|
||||
2020-08-07 Version: 1.36.558
|
||||
- Add FindServiceList and GetService qps.
|
||||
|
||||
2020-08-06 Version: 1.36.557
|
||||
- Add Smart Cloudauth API.
|
||||
|
||||
2020-08-04 Version: 1.36.556
|
||||
- Update RecognizeTable.
|
||||
|
||||
2020-08-04 Version: 1.36.555
|
||||
- Add Image Url parameter for invoke motor algorithm.
|
||||
|
||||
2020-08-04 Version: 1.36.554
|
||||
- Add source picture url for Monitor.
|
||||
|
||||
2020-08-03 Version: 1.36.553
|
||||
- Add source picture url for Monitor.
|
||||
|
||||
2020-08-03 Version: 1.36.552
|
||||
- Fix Some API Response Define.
|
||||
|
||||
2020-08-03 Version: 1.36.551
|
||||
- Add source picture url for Monitor.
|
||||
|
||||
2020-08-03 Version: 1.36.550
|
||||
- Add Voice Synchronous Scan API.
|
||||
|
||||
2020-08-03 Version: 1.36.549
|
||||
- Add ExtractPedestrianFeatureAttribute.
|
||||
|
||||
2020-07-31 Version: 1.36.548
|
||||
- Update DetectCelebrity.
|
||||
|
||||
2020-07-31 Version: 1.36.547
|
||||
- Edit GetStack api.
|
||||
|
||||
2020-07-30 Version: 1.36.546
|
||||
- Add Smart Cloudauth API.
|
||||
|
||||
2020-07-30 Version: 1.36.545
|
||||
- Supported ChatApp for SDK.
|
||||
|
||||
2020-07-30 Version: 1.36.544
|
||||
- Generated 2020-06-29 for `alinlp`.
|
||||
|
||||
2020-07-29 Version: 1.36.543
|
||||
- Add CreateGetDBListFromAgentTask.
|
||||
- Add GetDBListFromAgent.
|
||||
|
||||
2020-07-29 Version: 1.36.542
|
||||
- API GetTaskStatus return task detail.
|
||||
|
||||
2020-07-29 Version: 1.36.541
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-07-27 Version: 1.36.540
|
||||
- Supported CheckCloudResourceAuthorized API.
|
||||
|
||||
2020-07-27 Version: 1.36.539
|
||||
- Add HSF apis.
|
||||
|
||||
2020-07-24 Version: 1.36.538
|
||||
- Edit ListTraceApp api with add tags.
|
||||
- Edit SearchTraceAppByName api with add tags.
|
||||
- Edut SearchTraceAppByPage api with add tags.
|
||||
|
||||
2020-07-24 Version: 1.36.537
|
||||
- Add DescribeBackupTasks.
|
||||
|
||||
2020-07-24 Version: 1.36.536
|
||||
- Support GetImageCroppingSuggestions API.
|
||||
- Add Remarks to face group related APIs.
|
||||
- Add Model parameter to blind watermark related APIs.
|
||||
|
||||
2020-07-24 Version: 1.36.535
|
||||
- First build.
|
||||
|
||||
2020-07-23 Version: 1.36.534
|
||||
- Supported CloudGame.
|
||||
|
||||
2020-07-23 Version: 1.36.533
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-07-23 Version: 1.36.532
|
||||
- Add AddSecretBlacklist and DeleteSecretBlacklist.
|
||||
- Suppoort ASR.
|
||||
|
||||
2020-07-23 Version: 1.36.531
|
||||
- Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api.
|
||||
|
||||
2020-07-23 Version: 1.36.530
|
||||
- Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api.
|
||||
|
||||
2020-07-22 Version: 1.36.529
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
- Add SyncDtsStatus API.
|
||||
|
||||
2020-07-22 Version: 1.36.528
|
||||
- Add snapshot settings.
|
||||
- Add ElasticTask.
|
||||
|
||||
2020-07-22 Version: 1.36.527
|
||||
- Add SourceId for SearchFace.
|
||||
|
||||
2020-07-22 Version: 1.36.526
|
||||
- Add source id for file uploader.
|
||||
|
||||
2020-07-22 Version: 1.36.525
|
||||
- Add source id for file uploader.
|
||||
|
||||
2020-07-21 Version: 1.36.524
|
||||
- Support Tag API.
|
||||
|
||||
2020-07-21 Version: 1.36.523
|
||||
- Add algorithm type for ListPerson.
|
||||
|
||||
2020-07-17 Version: 1.36.522
|
||||
- Add DescribeRegions.
|
||||
- Modify DescribeFullBackupList.
|
||||
- Modify DescribeBackupPlanList.
|
||||
- Modify DescribeRestoreRangeInfo.
|
||||
|
||||
2020-07-17 Version: 1.36.521
|
||||
- Add DescribeDBClusterAuditLogCollector.
|
||||
- Add DescribeBackupPolicy.
|
||||
- Support polardb for pgsql and oracle customize endpoints.
|
||||
|
||||
2020-07-17 Version: 1.36.520
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-07-15 Version: 1.36.519
|
||||
- Edit ListTraceApp api.
|
||||
- Edit SearchTraceAppByName api.
|
||||
- Edut SearchTraceAppByPage api.
|
||||
|
||||
2020-07-15 Version: 1.36.518
|
||||
- Modify ConfigureBackupPlan.
|
||||
- Modify DescribeFullBackupList.
|
||||
- Modify DescribeBackupPlanList.
|
||||
- Modify DescribeRestoreRangeInfo.
|
||||
|
||||
2020-07-15 Version: 1.36.517
|
||||
- Support ModifyImageAttribute by LaunchPermission.
|
||||
- Support ImageFamily.
|
||||
|
||||
2020-07-14 Version: 1.36.516
|
||||
- Add ListEventAlgorithmResult API.
|
||||
|
||||
2020-07-14 Version: 1.36.515
|
||||
- Add ListEventAlgorithmResult API.
|
||||
|
||||
2020-07-14 Version: 1.36.514
|
||||
- Add ListBodyAlgorithmResult API.
|
||||
|
||||
2020-07-14 Version: 1.36.513
|
||||
- Add ListBodyAlgorithmResult API.
|
||||
|
||||
2020-07-14 Version: 1.36.512
|
||||
- Add ListBodyAlgorithmResult API.
|
||||
|
||||
2020-07-10 Version: 1.36.511
|
||||
- Add ListBodyAlgorithmResult API.
|
||||
|
||||
2020-07-10 Version: 1.36.510
|
||||
- Add ListBodyAlgorithmResult API.
|
||||
|
||||
2020-07-08 Version: 1.36.509
|
||||
- Remove GetFootwearPosition PullTakeShoesEvent PullTryOnShoesEvent.
|
||||
- Add GetFootwearEvent.
|
||||
- Please ignore the pd s pot.
|
||||
|
||||
2020-07-08 Version: 1.36.508
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-07-08 Version: 1.36.507
|
||||
- Add video compose api.
|
||||
|
||||
2020-07-08 Version: 1.36.506
|
||||
- Add video summarization related API.
|
||||
|
||||
2020-07-07 Version: 1.36.505
|
||||
- Add video summarization related API.
|
||||
|
||||
2020-07-07 Version: 1.36.504
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-07-03 Version: 1.36.503
|
||||
- Supported UpdateUserBucketConfig.
|
||||
|
||||
2020-07-03 Version: 1.36.502
|
||||
- Generated 2017-05-25 for `Dypnsapi`.
|
||||
|
||||
2020-07-03 Version: 1.36.501
|
||||
- Generated 2017-05-25 for `Dypnsapi`.
|
||||
|
||||
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`.
|
||||
|
||||
2020-04-03 Version: 1.36.340
|
||||
- Add trace api.
|
||||
- Add prometheus api.
|
||||
|
||||
2020-04-03 Version: 1.36.339
|
||||
- Support shelf type for planogram position.
|
||||
|
||||
2020-04-03 Version: 1.36.338
|
||||
- Support namespaces.
|
||||
|
||||
2020-04-02 Version: 1.36.337
|
||||
- Add API ContrastFaceVerify.
|
||||
|
||||
2020-04-02 Version: 1.36.336
|
||||
- Support for WaitTimeSeconds for DescribeExecution.
|
||||
|
||||
2020-04-01 Version: 1.36.335
|
||||
- DescribeVerifyToken API Add Parameters-UserIp and UserPhoneNumber and UserRegistTime.
|
||||
|
||||
2020-04-01 Version: 1.36.334
|
||||
- Parameters is string in StartExecution Response.
|
||||
|
||||
2020-04-01 Version: 1.36.333
|
||||
- Counters and Parameters are changed to Map in ListExections and StartExecution.
|
||||
|
||||
2020-03-24 Version: 1.36.332
|
||||
- DescribeInstanceTypes Supports EniIpv6AddressQuantity.
|
||||
|
||||
2020-03-24 Version: 1.36.331
|
||||
- DescribeInstanceTypes Supports EniIpv6AddressQuantity.
|
||||
|
||||
|
||||
102
CMakeLists.txt
102
CMakeLists.txt
@@ -9,11 +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)
|
||||
|
||||
set(LIB_TYPE STATIC)
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(LIB_TYPE SHARED)
|
||||
add_definitions(-DALIBABACLOUD_SHARED)
|
||||
@@ -29,15 +32,23 @@ include(ExternalProject)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
add_subdirectory(core)
|
||||
|
||||
if(BUILD_UNIT_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(test/core)
|
||||
enable_testing()
|
||||
add_subdirectory(core)
|
||||
add_subdirectory(test/core)
|
||||
endif()
|
||||
|
||||
if(BUILD_FUNCTION_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(core)
|
||||
add_subdirectory(cdn)
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(ecs)
|
||||
add_subdirectory(nlp)
|
||||
add_subdirectory(rds)
|
||||
add_subdirectory(slb)
|
||||
add_subdirectory(vpc)
|
||||
add_subdirectory(test/function_test/cdn)
|
||||
add_subdirectory(test/function_test/core)
|
||||
add_subdirectory(test/function_test/cs)
|
||||
@@ -48,79 +59,12 @@ if(BUILD_FUNCTION_TESTS)
|
||||
add_subdirectory(test/function_test/vpc)
|
||||
endif()
|
||||
|
||||
add_subdirectory(ecs)
|
||||
add_subdirectory(slb)
|
||||
add_subdirectory(vpc)
|
||||
add_subdirectory(cdn)
|
||||
add_subdirectory(rds)
|
||||
add_subdirectory(cloudphoto)
|
||||
add_subdirectory(tesladam)
|
||||
add_subdirectory(cms)
|
||||
add_subdirectory(afs)
|
||||
add_subdirectory(aegis)
|
||||
add_subdirectory(ehpc)
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(ccc)
|
||||
add_subdirectory(teslamaxcompute)
|
||||
add_subdirectory(push)
|
||||
add_subdirectory(csb)
|
||||
add_subdirectory(domain)
|
||||
add_subdirectory(hsm)
|
||||
add_subdirectory(dcdn)
|
||||
add_subdirectory(pvtz)
|
||||
add_subdirectory(cloudauth)
|
||||
add_subdirectory(dyvmsapi)
|
||||
add_subdirectory(drds)
|
||||
add_subdirectory(jarvis)
|
||||
add_subdirectory(scdn)
|
||||
add_subdirectory(live)
|
||||
add_subdirectory(rtc)
|
||||
add_subdirectory(chatbot)
|
||||
add_subdirectory(teslastream)
|
||||
add_subdirectory(mopen)
|
||||
add_subdirectory(iot)
|
||||
add_subdirectory(linkface)
|
||||
add_subdirectory(ots)
|
||||
add_subdirectory(smartag)
|
||||
add_subdirectory(vod)
|
||||
add_subdirectory(ccs)
|
||||
add_subdirectory(saf)
|
||||
add_subdirectory(arms)
|
||||
add_subdirectory(lubancloud)
|
||||
add_subdirectory(alimt)
|
||||
add_subdirectory(xspace)
|
||||
add_subdirectory(cbn)
|
||||
add_subdirectory(ram)
|
||||
add_subdirectory(sts)
|
||||
add_subdirectory(gpdb)
|
||||
add_subdirectory(cr)
|
||||
add_subdirectory(openanalytics)
|
||||
add_subdirectory(snsuapi)
|
||||
add_subdirectory(ubsms)
|
||||
add_subdirectory(yundun)
|
||||
add_subdirectory(arms4finance)
|
||||
add_subdirectory(imagesearch)
|
||||
add_subdirectory(cas)
|
||||
add_subdirectory(cloudwf)
|
||||
add_subdirectory(alidns)
|
||||
add_subdirectory(httpdns)
|
||||
|
||||
add_subdirectory(crm)
|
||||
add_subdirectory(kms)
|
||||
add_subdirectory(sas-api)
|
||||
add_subdirectory(jarvis-public)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(dysmsapi)
|
||||
add_subdirectory(ons)
|
||||
add_subdirectory(ivision)
|
||||
add_subdirectory(imm)
|
||||
add_subdirectory(bssopenapi)
|
||||
|
||||
add_subdirectory(sas)
|
||||
|
||||
add_subdirectory(dbs)
|
||||
add_subdirectory(r-kvstore)
|
||||
add_subdirectory(dds)
|
||||
add_subdirectory(yundun-ds)
|
||||
add_subdirectory(trademark)
|
||||
add_subdirectory(sddp)
|
||||
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()
|
||||
|
||||
@@ -77,7 +77,11 @@ sudo make install
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
sudo sh easyinstall.sh <lower name of product (like 'ecs')>
|
||||
|
||||
# example
|
||||
sudo sh easyinstall.sh core
|
||||
sudo sh easyinstall.sh ecs
|
||||
```
|
||||
|
||||
**Alibaba Cloud SDK for C++ 将被安装在 `/usr` .**
|
||||
@@ -99,6 +103,7 @@ sudo sh easyinstall.sh
|
||||
* 选择 `Browse Source` 为 `源代码目录(aliyun-openapi-cpp-sdk)`
|
||||
* 选择 `Browse build` 为 `构建目录(sdk_build)`
|
||||
* 点击 `configure`
|
||||
* 使用小写的产品名称,设置 `BUILD_PRODUCT` 参数的值
|
||||
* 点击 `generate`, 构建 VS 解决方案。
|
||||
|
||||
4. 编译安装 C++ SDK
|
||||
|
||||
12
README.md
12
README.md
@@ -21,9 +21,9 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
|
||||
|
||||
- To use this SDK, you must have an Alibaba Cloud account and an AccessKey.
|
||||
|
||||
The AccessKey is required when initializing the client. You can create an AccessKey in the Alibaba Cloud console. For more information, see [Create an AccessKey](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak).
|
||||
The AccessKey is required when initializing the client. You can create an AccessKey in the Alibaba Cloud console. For more information, see [Create an AccessKey](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak).
|
||||
|
||||
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
|
||||
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
|
||||
|
||||
- To use this SDK to access the APIs of a product, you must first activate the product on the [Alibaba Cloud console](https://home.console.aliyun.com/?spm=5176.doc52740.2.4.QKZk8w) if required.
|
||||
|
||||
@@ -78,7 +78,11 @@ sudo make install
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
sudo sh easyinstall.sh <lower name of product (like 'ecs')>
|
||||
|
||||
# example
|
||||
sudo sh easyinstall.sh core
|
||||
sudo sh easyinstall.sh ecs
|
||||
```
|
||||
|
||||
**The Alibaba Cloud SDK for C++ will be installed to `/usr`.**
|
||||
@@ -105,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
|
||||
|
||||
@@ -35,6 +35,8 @@ set(acm_public_header_model
|
||||
include/alibabacloud/acm/model/DescribeConfigurationResult.h
|
||||
include/alibabacloud/acm/model/DescribeNamespaceRequest.h
|
||||
include/alibabacloud/acm/model/DescribeNamespaceResult.h
|
||||
include/alibabacloud/acm/model/DescribeNamespacesRequest.h
|
||||
include/alibabacloud/acm/model/DescribeNamespacesResult.h
|
||||
include/alibabacloud/acm/model/UpdateNamespaceRequest.h
|
||||
include/alibabacloud/acm/model/UpdateNamespaceResult.h )
|
||||
|
||||
@@ -54,6 +56,8 @@ set(acm_src
|
||||
src/model/DescribeConfigurationResult.cc
|
||||
src/model/DescribeNamespaceRequest.cc
|
||||
src/model/DescribeNamespaceResult.cc
|
||||
src/model/DescribeNamespacesRequest.cc
|
||||
src/model/DescribeNamespacesResult.cc
|
||||
src/model/UpdateNamespaceRequest.cc
|
||||
src/model/UpdateNamespaceResult.cc )
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#include "model/DescribeConfigurationResult.h"
|
||||
#include "model/DescribeNamespaceRequest.h"
|
||||
#include "model/DescribeNamespaceResult.h"
|
||||
#include "model/DescribeNamespacesRequest.h"
|
||||
#include "model/DescribeNamespacesResult.h"
|
||||
#include "model/UpdateNamespaceRequest.h"
|
||||
#include "model/UpdateNamespaceResult.h"
|
||||
|
||||
@@ -68,6 +70,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeNamespaceResult> DescribeNamespaceOutcome;
|
||||
typedef std::future<DescribeNamespaceOutcome> DescribeNamespaceOutcomeCallable;
|
||||
typedef std::function<void(const AcmClient*, const Model::DescribeNamespaceRequest&, const DescribeNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNamespacesResult> DescribeNamespacesOutcome;
|
||||
typedef std::future<DescribeNamespacesOutcome> DescribeNamespacesOutcomeCallable;
|
||||
typedef std::function<void(const AcmClient*, const Model::DescribeNamespacesRequest&, const DescribeNamespacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespacesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateNamespaceResult> UpdateNamespaceOutcome;
|
||||
typedef std::future<UpdateNamespaceOutcome> UpdateNamespaceOutcomeCallable;
|
||||
typedef std::function<void(const AcmClient*, const Model::UpdateNamespaceRequest&, const UpdateNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNamespaceAsyncHandler;
|
||||
@@ -97,6 +102,9 @@ namespace AlibabaCloud
|
||||
DescribeNamespaceOutcome describeNamespace(const Model::DescribeNamespaceRequest &request)const;
|
||||
void describeNamespaceAsync(const Model::DescribeNamespaceRequest& request, const DescribeNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNamespaceOutcomeCallable describeNamespaceCallable(const Model::DescribeNamespaceRequest& request) const;
|
||||
DescribeNamespacesOutcome describeNamespaces(const Model::DescribeNamespacesRequest &request)const;
|
||||
void describeNamespacesAsync(const Model::DescribeNamespacesRequest& request, const DescribeNamespacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNamespacesOutcomeCallable describeNamespacesCallable(const Model::DescribeNamespacesRequest& request) const;
|
||||
UpdateNamespaceOutcome updateNamespace(const Model::UpdateNamespaceRequest &request)const;
|
||||
void updateNamespaceAsync(const Model::UpdateNamespaceRequest& request, const UpdateNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateNamespaceOutcomeCallable updateNamespaceCallable(const Model::UpdateNamespaceRequest& request) const;
|
||||
|
||||
@@ -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_ACM_MODEL_DESCRIBENAMESPACESREQUEST_H_
|
||||
#define ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/acm/AcmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Acm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACM_EXPORT DescribeNamespacesRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeNamespacesRequest();
|
||||
~DescribeNamespacesRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESRESULT_H_
|
||||
#define ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/acm/AcmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Acm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACM_EXPORT DescribeNamespacesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Namespace
|
||||
{
|
||||
std::string namespaceName;
|
||||
int type;
|
||||
int quota;
|
||||
int configCount;
|
||||
std::string namespaceId;
|
||||
};
|
||||
|
||||
|
||||
DescribeNamespacesResult();
|
||||
explicit DescribeNamespacesResult(const std::string &payload);
|
||||
~DescribeNamespacesResult();
|
||||
std::vector<_Namespace> getNamespaces()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<_Namespace> namespaces_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESRESULT_H_
|
||||
@@ -303,6 +303,42 @@ AcmClient::DescribeNamespaceOutcomeCallable AcmClient::describeNamespaceCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AcmClient::DescribeNamespacesOutcome AcmClient::describeNamespaces(const DescribeNamespacesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeNamespacesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeNamespacesOutcome(DescribeNamespacesResult(outcome.result()));
|
||||
else
|
||||
return DescribeNamespacesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AcmClient::describeNamespacesAsync(const DescribeNamespacesRequest& request, const DescribeNamespacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeNamespaces(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AcmClient::DescribeNamespacesOutcomeCallable AcmClient::describeNamespacesCallable(const DescribeNamespacesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeNamespacesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeNamespaces(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AcmClient::UpdateNamespaceOutcome AcmClient::updateNamespace(const UpdateNamespaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
30
acm/src/model/DescribeNamespacesRequest.cc
Normal file
30
acm/src/model/DescribeNamespacesRequest.cc
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 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/acm/model/DescribeNamespacesRequest.h>
|
||||
|
||||
using AlibabaCloud::Acm::Model::DescribeNamespacesRequest;
|
||||
|
||||
DescribeNamespacesRequest::DescribeNamespacesRequest() :
|
||||
RoaServiceRequest("acm", "2020-02-06")
|
||||
{
|
||||
setResourcePath("/diamond-ops/pop/namespace/list");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeNamespacesRequest::~DescribeNamespacesRequest()
|
||||
{}
|
||||
|
||||
79
acm/src/model/DescribeNamespacesResult.cc
Normal file
79
acm/src/model/DescribeNamespacesResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/acm/model/DescribeNamespacesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Acm;
|
||||
using namespace AlibabaCloud::Acm::Model;
|
||||
|
||||
DescribeNamespacesResult::DescribeNamespacesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeNamespacesResult::DescribeNamespacesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeNamespacesResult::~DescribeNamespacesResult()
|
||||
{}
|
||||
|
||||
void DescribeNamespacesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNamespacesNode = value["Namespaces"]["Namespace"];
|
||||
for (auto valueNamespacesNamespace : allNamespacesNode)
|
||||
{
|
||||
_Namespace namespacesObject;
|
||||
if(!valueNamespacesNamespace["ConfigCount"].isNull())
|
||||
namespacesObject.configCount = std::stoi(valueNamespacesNamespace["ConfigCount"].asString());
|
||||
if(!valueNamespacesNamespace["NamespaceId"].isNull())
|
||||
namespacesObject.namespaceId = valueNamespacesNamespace["NamespaceId"].asString();
|
||||
if(!valueNamespacesNamespace["NamespaceName"].isNull())
|
||||
namespacesObject.namespaceName = valueNamespacesNamespace["NamespaceName"].asString();
|
||||
if(!valueNamespacesNamespace["Quota"].isNull())
|
||||
namespacesObject.quota = std::stoi(valueNamespacesNamespace["Quota"].asString());
|
||||
if(!valueNamespacesNamespace["Type"].isNull())
|
||||
namespacesObject.type = std::stoi(valueNamespacesNamespace["Type"].asString());
|
||||
namespaces_.push_back(namespacesObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeNamespacesResult::_Namespace> DescribeNamespacesResult::getNamespaces()const
|
||||
{
|
||||
return namespaces_;
|
||||
}
|
||||
|
||||
std::string DescribeNamespacesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DescribeNamespacesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -35,6 +35,10 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeAccountsResult.h
|
||||
include/alibabacloud/adb/model/DescribeAllDataSourceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAllDataSourceResult.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogConfigRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogConfigResult.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogRecordsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAuditLogRecordsResult.h
|
||||
include/alibabacloud/adb/model/DescribeAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAutoRenewAttributeResult.h
|
||||
include/alibabacloud/adb/model/DescribeAvailableResourceRequest.h
|
||||
@@ -57,10 +61,6 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeDBClustersResult.h
|
||||
include/alibabacloud/adb/model/DescribeInclinedTablesRequest.h
|
||||
include/alibabacloud/adb/model/DescribeInclinedTablesResult.h
|
||||
include/alibabacloud/adb/model/DescribeLogStoreKeysRequest.h
|
||||
include/alibabacloud/adb/model/DescribeLogStoreKeysResult.h
|
||||
include/alibabacloud/adb/model/DescribeLoghubDetailRequest.h
|
||||
include/alibabacloud/adb/model/DescribeLoghubDetailResult.h
|
||||
include/alibabacloud/adb/model/DescribeOperatorPermissionRequest.h
|
||||
include/alibabacloud/adb/model/DescribeOperatorPermissionResult.h
|
||||
include/alibabacloud/adb/model/DescribeProcessListRequest.h
|
||||
@@ -75,8 +75,12 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeSlowLogTrendResult.h
|
||||
include/alibabacloud/adb/model/DescribeTableDetailRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTableDetailResult.h
|
||||
include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h
|
||||
include/alibabacloud/adb/model/DescribeTablesRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTablesResult.h
|
||||
include/alibabacloud/adb/model/DescribeTaskInfoRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTaskInfoResult.h
|
||||
include/alibabacloud/adb/model/GrantOperatorPermissionRequest.h
|
||||
include/alibabacloud/adb/model/GrantOperatorPermissionResult.h
|
||||
include/alibabacloud/adb/model/KillProcessRequest.h
|
||||
@@ -85,10 +89,14 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/adb/model/ModifyAccountDescriptionRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAccountDescriptionResult.h
|
||||
include/alibabacloud/adb/model/ModifyAuditLogConfigRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAuditLogConfigResult.h
|
||||
include/alibabacloud/adb/model/ModifyAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAutoRenewAttributeResult.h
|
||||
include/alibabacloud/adb/model/ModifyBackupPolicyRequest.h
|
||||
include/alibabacloud/adb/model/ModifyBackupPolicyResult.h
|
||||
include/alibabacloud/adb/model/ModifyClusterConnectionStringRequest.h
|
||||
include/alibabacloud/adb/model/ModifyClusterConnectionStringResult.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterRequest.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterResult.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterAccessWhiteListRequest.h
|
||||
@@ -126,6 +134,10 @@ set(adb_src
|
||||
src/model/DescribeAccountsResult.cc
|
||||
src/model/DescribeAllDataSourceRequest.cc
|
||||
src/model/DescribeAllDataSourceResult.cc
|
||||
src/model/DescribeAuditLogConfigRequest.cc
|
||||
src/model/DescribeAuditLogConfigResult.cc
|
||||
src/model/DescribeAuditLogRecordsRequest.cc
|
||||
src/model/DescribeAuditLogRecordsResult.cc
|
||||
src/model/DescribeAutoRenewAttributeRequest.cc
|
||||
src/model/DescribeAutoRenewAttributeResult.cc
|
||||
src/model/DescribeAvailableResourceRequest.cc
|
||||
@@ -148,10 +160,6 @@ set(adb_src
|
||||
src/model/DescribeDBClustersResult.cc
|
||||
src/model/DescribeInclinedTablesRequest.cc
|
||||
src/model/DescribeInclinedTablesResult.cc
|
||||
src/model/DescribeLogStoreKeysRequest.cc
|
||||
src/model/DescribeLogStoreKeysResult.cc
|
||||
src/model/DescribeLoghubDetailRequest.cc
|
||||
src/model/DescribeLoghubDetailResult.cc
|
||||
src/model/DescribeOperatorPermissionRequest.cc
|
||||
src/model/DescribeOperatorPermissionResult.cc
|
||||
src/model/DescribeProcessListRequest.cc
|
||||
@@ -166,8 +174,12 @@ set(adb_src
|
||||
src/model/DescribeSlowLogTrendResult.cc
|
||||
src/model/DescribeTableDetailRequest.cc
|
||||
src/model/DescribeTableDetailResult.cc
|
||||
src/model/DescribeTablePartitionDiagnoseRequest.cc
|
||||
src/model/DescribeTablePartitionDiagnoseResult.cc
|
||||
src/model/DescribeTablesRequest.cc
|
||||
src/model/DescribeTablesResult.cc
|
||||
src/model/DescribeTaskInfoRequest.cc
|
||||
src/model/DescribeTaskInfoResult.cc
|
||||
src/model/GrantOperatorPermissionRequest.cc
|
||||
src/model/GrantOperatorPermissionResult.cc
|
||||
src/model/KillProcessRequest.cc
|
||||
@@ -176,10 +188,14 @@ set(adb_src
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyAccountDescriptionRequest.cc
|
||||
src/model/ModifyAccountDescriptionResult.cc
|
||||
src/model/ModifyAuditLogConfigRequest.cc
|
||||
src/model/ModifyAuditLogConfigResult.cc
|
||||
src/model/ModifyAutoRenewAttributeRequest.cc
|
||||
src/model/ModifyAutoRenewAttributeResult.cc
|
||||
src/model/ModifyBackupPolicyRequest.cc
|
||||
src/model/ModifyBackupPolicyResult.cc
|
||||
src/model/ModifyClusterConnectionStringRequest.cc
|
||||
src/model/ModifyClusterConnectionStringResult.cc
|
||||
src/model/ModifyDBClusterRequest.cc
|
||||
src/model/ModifyDBClusterResult.cc
|
||||
src/model/ModifyDBClusterAccessWhiteListRequest.cc
|
||||
|
||||
@@ -36,6 +36,10 @@
|
||||
#include "model/DescribeAccountsResult.h"
|
||||
#include "model/DescribeAllDataSourceRequest.h"
|
||||
#include "model/DescribeAllDataSourceResult.h"
|
||||
#include "model/DescribeAuditLogConfigRequest.h"
|
||||
#include "model/DescribeAuditLogConfigResult.h"
|
||||
#include "model/DescribeAuditLogRecordsRequest.h"
|
||||
#include "model/DescribeAuditLogRecordsResult.h"
|
||||
#include "model/DescribeAutoRenewAttributeRequest.h"
|
||||
#include "model/DescribeAutoRenewAttributeResult.h"
|
||||
#include "model/DescribeAvailableResourceRequest.h"
|
||||
@@ -58,10 +62,6 @@
|
||||
#include "model/DescribeDBClustersResult.h"
|
||||
#include "model/DescribeInclinedTablesRequest.h"
|
||||
#include "model/DescribeInclinedTablesResult.h"
|
||||
#include "model/DescribeLogStoreKeysRequest.h"
|
||||
#include "model/DescribeLogStoreKeysResult.h"
|
||||
#include "model/DescribeLoghubDetailRequest.h"
|
||||
#include "model/DescribeLoghubDetailResult.h"
|
||||
#include "model/DescribeOperatorPermissionRequest.h"
|
||||
#include "model/DescribeOperatorPermissionResult.h"
|
||||
#include "model/DescribeProcessListRequest.h"
|
||||
@@ -76,8 +76,12 @@
|
||||
#include "model/DescribeSlowLogTrendResult.h"
|
||||
#include "model/DescribeTableDetailRequest.h"
|
||||
#include "model/DescribeTableDetailResult.h"
|
||||
#include "model/DescribeTablePartitionDiagnoseRequest.h"
|
||||
#include "model/DescribeTablePartitionDiagnoseResult.h"
|
||||
#include "model/DescribeTablesRequest.h"
|
||||
#include "model/DescribeTablesResult.h"
|
||||
#include "model/DescribeTaskInfoRequest.h"
|
||||
#include "model/DescribeTaskInfoResult.h"
|
||||
#include "model/GrantOperatorPermissionRequest.h"
|
||||
#include "model/GrantOperatorPermissionResult.h"
|
||||
#include "model/KillProcessRequest.h"
|
||||
@@ -86,10 +90,14 @@
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyAccountDescriptionRequest.h"
|
||||
#include "model/ModifyAccountDescriptionResult.h"
|
||||
#include "model/ModifyAuditLogConfigRequest.h"
|
||||
#include "model/ModifyAuditLogConfigResult.h"
|
||||
#include "model/ModifyAutoRenewAttributeRequest.h"
|
||||
#include "model/ModifyAutoRenewAttributeResult.h"
|
||||
#include "model/ModifyBackupPolicyRequest.h"
|
||||
#include "model/ModifyBackupPolicyResult.h"
|
||||
#include "model/ModifyClusterConnectionStringRequest.h"
|
||||
#include "model/ModifyClusterConnectionStringResult.h"
|
||||
#include "model/ModifyDBClusterRequest.h"
|
||||
#include "model/ModifyDBClusterResult.h"
|
||||
#include "model/ModifyDBClusterAccessWhiteListRequest.h"
|
||||
@@ -140,6 +148,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAllDataSourceResult> DescribeAllDataSourceOutcome;
|
||||
typedef std::future<DescribeAllDataSourceOutcome> DescribeAllDataSourceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAllDataSourceRequest&, const DescribeAllDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAllDataSourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAuditLogConfigResult> DescribeAuditLogConfigOutcome;
|
||||
typedef std::future<DescribeAuditLogConfigOutcome> DescribeAuditLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAuditLogConfigRequest&, const DescribeAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAuditLogRecordsResult> DescribeAuditLogRecordsOutcome;
|
||||
typedef std::future<DescribeAuditLogRecordsOutcome> DescribeAuditLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAuditLogRecordsRequest&, const DescribeAuditLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAutoRenewAttributeResult> DescribeAutoRenewAttributeOutcome;
|
||||
typedef std::future<DescribeAutoRenewAttributeOutcome> DescribeAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAutoRenewAttributeRequest&, const DescribeAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoRenewAttributeAsyncHandler;
|
||||
@@ -173,12 +187,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeInclinedTablesResult> DescribeInclinedTablesOutcome;
|
||||
typedef std::future<DescribeInclinedTablesOutcome> DescribeInclinedTablesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeInclinedTablesRequest&, const DescribeInclinedTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInclinedTablesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLogStoreKeysResult> DescribeLogStoreKeysOutcome;
|
||||
typedef std::future<DescribeLogStoreKeysOutcome> DescribeLogStoreKeysOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeLogStoreKeysRequest&, const DescribeLogStoreKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogStoreKeysAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLoghubDetailResult> DescribeLoghubDetailOutcome;
|
||||
typedef std::future<DescribeLoghubDetailOutcome> DescribeLoghubDetailOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeLoghubDetailRequest&, const DescribeLoghubDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoghubDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOperatorPermissionResult> DescribeOperatorPermissionOutcome;
|
||||
typedef std::future<DescribeOperatorPermissionOutcome> DescribeOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeOperatorPermissionRequest&, const DescribeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOperatorPermissionAsyncHandler;
|
||||
@@ -200,9 +208,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeTableDetailResult> DescribeTableDetailOutcome;
|
||||
typedef std::future<DescribeTableDetailOutcome> DescribeTableDetailOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTableDetailRequest&, const DescribeTableDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTableDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTablePartitionDiagnoseResult> DescribeTablePartitionDiagnoseOutcome;
|
||||
typedef std::future<DescribeTablePartitionDiagnoseOutcome> DescribeTablePartitionDiagnoseOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTablePartitionDiagnoseRequest&, const DescribeTablePartitionDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablePartitionDiagnoseAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
|
||||
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTaskInfoResult> DescribeTaskInfoOutcome;
|
||||
typedef std::future<DescribeTaskInfoOutcome> DescribeTaskInfoOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTaskInfoRequest&, const DescribeTaskInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTaskInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GrantOperatorPermissionResult> GrantOperatorPermissionOutcome;
|
||||
typedef std::future<GrantOperatorPermissionOutcome> GrantOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::GrantOperatorPermissionRequest&, const GrantOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GrantOperatorPermissionAsyncHandler;
|
||||
@@ -215,12 +229,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyAccountDescriptionResult> ModifyAccountDescriptionOutcome;
|
||||
typedef std::future<ModifyAccountDescriptionOutcome> ModifyAccountDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyAccountDescriptionRequest&, const ModifyAccountDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountDescriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAuditLogConfigResult> ModifyAuditLogConfigOutcome;
|
||||
typedef std::future<ModifyAuditLogConfigOutcome> ModifyAuditLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyAuditLogConfigRequest&, const ModifyAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAuditLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAutoRenewAttributeResult> ModifyAutoRenewAttributeOutcome;
|
||||
typedef std::future<ModifyAutoRenewAttributeOutcome> ModifyAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyAutoRenewAttributeRequest&, const ModifyAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAutoRenewAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyBackupPolicyResult> ModifyBackupPolicyOutcome;
|
||||
typedef std::future<ModifyBackupPolicyOutcome> ModifyBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyBackupPolicyRequest&, const ModifyBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyClusterConnectionStringResult> ModifyClusterConnectionStringOutcome;
|
||||
typedef std::future<ModifyClusterConnectionStringOutcome> ModifyClusterConnectionStringOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyClusterConnectionStringRequest&, const ModifyClusterConnectionStringOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterConnectionStringAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBClusterResult> ModifyDBClusterOutcome;
|
||||
typedef std::future<ModifyDBClusterOutcome> ModifyDBClusterOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterRequest&, const ModifyDBClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterAsyncHandler;
|
||||
@@ -277,6 +297,12 @@ namespace AlibabaCloud
|
||||
DescribeAllDataSourceOutcome describeAllDataSource(const Model::DescribeAllDataSourceRequest &request)const;
|
||||
void describeAllDataSourceAsync(const Model::DescribeAllDataSourceRequest& request, const DescribeAllDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAllDataSourceOutcomeCallable describeAllDataSourceCallable(const Model::DescribeAllDataSourceRequest& request) const;
|
||||
DescribeAuditLogConfigOutcome describeAuditLogConfig(const Model::DescribeAuditLogConfigRequest &request)const;
|
||||
void describeAuditLogConfigAsync(const Model::DescribeAuditLogConfigRequest& request, const DescribeAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuditLogConfigOutcomeCallable describeAuditLogConfigCallable(const Model::DescribeAuditLogConfigRequest& request) const;
|
||||
DescribeAuditLogRecordsOutcome describeAuditLogRecords(const Model::DescribeAuditLogRecordsRequest &request)const;
|
||||
void describeAuditLogRecordsAsync(const Model::DescribeAuditLogRecordsRequest& request, const DescribeAuditLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuditLogRecordsOutcomeCallable describeAuditLogRecordsCallable(const Model::DescribeAuditLogRecordsRequest& request) const;
|
||||
DescribeAutoRenewAttributeOutcome describeAutoRenewAttribute(const Model::DescribeAutoRenewAttributeRequest &request)const;
|
||||
void describeAutoRenewAttributeAsync(const Model::DescribeAutoRenewAttributeRequest& request, const DescribeAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAutoRenewAttributeOutcomeCallable describeAutoRenewAttributeCallable(const Model::DescribeAutoRenewAttributeRequest& request) const;
|
||||
@@ -310,12 +336,6 @@ namespace AlibabaCloud
|
||||
DescribeInclinedTablesOutcome describeInclinedTables(const Model::DescribeInclinedTablesRequest &request)const;
|
||||
void describeInclinedTablesAsync(const Model::DescribeInclinedTablesRequest& request, const DescribeInclinedTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInclinedTablesOutcomeCallable describeInclinedTablesCallable(const Model::DescribeInclinedTablesRequest& request) const;
|
||||
DescribeLogStoreKeysOutcome describeLogStoreKeys(const Model::DescribeLogStoreKeysRequest &request)const;
|
||||
void describeLogStoreKeysAsync(const Model::DescribeLogStoreKeysRequest& request, const DescribeLogStoreKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLogStoreKeysOutcomeCallable describeLogStoreKeysCallable(const Model::DescribeLogStoreKeysRequest& request) const;
|
||||
DescribeLoghubDetailOutcome describeLoghubDetail(const Model::DescribeLoghubDetailRequest &request)const;
|
||||
void describeLoghubDetailAsync(const Model::DescribeLoghubDetailRequest& request, const DescribeLoghubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLoghubDetailOutcomeCallable describeLoghubDetailCallable(const Model::DescribeLoghubDetailRequest& request) const;
|
||||
DescribeOperatorPermissionOutcome describeOperatorPermission(const Model::DescribeOperatorPermissionRequest &request)const;
|
||||
void describeOperatorPermissionAsync(const Model::DescribeOperatorPermissionRequest& request, const DescribeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOperatorPermissionOutcomeCallable describeOperatorPermissionCallable(const Model::DescribeOperatorPermissionRequest& request) const;
|
||||
@@ -337,9 +357,15 @@ namespace AlibabaCloud
|
||||
DescribeTableDetailOutcome describeTableDetail(const Model::DescribeTableDetailRequest &request)const;
|
||||
void describeTableDetailAsync(const Model::DescribeTableDetailRequest& request, const DescribeTableDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTableDetailOutcomeCallable describeTableDetailCallable(const Model::DescribeTableDetailRequest& request) const;
|
||||
DescribeTablePartitionDiagnoseOutcome describeTablePartitionDiagnose(const Model::DescribeTablePartitionDiagnoseRequest &request)const;
|
||||
void describeTablePartitionDiagnoseAsync(const Model::DescribeTablePartitionDiagnoseRequest& request, const DescribeTablePartitionDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTablePartitionDiagnoseOutcomeCallable describeTablePartitionDiagnoseCallable(const Model::DescribeTablePartitionDiagnoseRequest& request) const;
|
||||
DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const;
|
||||
void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
|
||||
DescribeTaskInfoOutcome describeTaskInfo(const Model::DescribeTaskInfoRequest &request)const;
|
||||
void describeTaskInfoAsync(const Model::DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTaskInfoOutcomeCallable describeTaskInfoCallable(const Model::DescribeTaskInfoRequest& request) const;
|
||||
GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const;
|
||||
void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GrantOperatorPermissionOutcomeCallable grantOperatorPermissionCallable(const Model::GrantOperatorPermissionRequest& request) const;
|
||||
@@ -352,12 +378,18 @@ namespace AlibabaCloud
|
||||
ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const;
|
||||
void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& request) const;
|
||||
ModifyAuditLogConfigOutcome modifyAuditLogConfig(const Model::ModifyAuditLogConfigRequest &request)const;
|
||||
void modifyAuditLogConfigAsync(const Model::ModifyAuditLogConfigRequest& request, const ModifyAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAuditLogConfigOutcomeCallable modifyAuditLogConfigCallable(const Model::ModifyAuditLogConfigRequest& request) const;
|
||||
ModifyAutoRenewAttributeOutcome modifyAutoRenewAttribute(const Model::ModifyAutoRenewAttributeRequest &request)const;
|
||||
void modifyAutoRenewAttributeAsync(const Model::ModifyAutoRenewAttributeRequest& request, const ModifyAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAutoRenewAttributeOutcomeCallable modifyAutoRenewAttributeCallable(const Model::ModifyAutoRenewAttributeRequest& request) const;
|
||||
ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const;
|
||||
void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyBackupPolicyOutcomeCallable modifyBackupPolicyCallable(const Model::ModifyBackupPolicyRequest& request) const;
|
||||
ModifyClusterConnectionStringOutcome modifyClusterConnectionString(const Model::ModifyClusterConnectionStringRequest &request)const;
|
||||
void modifyClusterConnectionStringAsync(const Model::ModifyClusterConnectionStringRequest& request, const ModifyClusterConnectionStringAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyClusterConnectionStringOutcomeCallable modifyClusterConnectionStringCallable(const Model::ModifyClusterConnectionStringRequest& request) const;
|
||||
ModifyDBClusterOutcome modifyDBCluster(const Model::ModifyDBClusterRequest &request)const;
|
||||
void modifyDBClusterAsync(const Model::ModifyDBClusterRequest& request, const ModifyDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBClusterOutcomeCallable modifyDBClusterCallable(const Model::ModifyDBClusterRequest& request) const;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccountType()const;
|
||||
void setAccountType(const std::string& accountType);
|
||||
std::string getAccountDescription()const;
|
||||
void setAccountDescription(const std::string& accountDescription);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accountType_;
|
||||
std::string accountDescription_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
|
||||
@@ -37,10 +37,14 @@ namespace AlibabaCloud
|
||||
CreateAccountResult();
|
||||
explicit CreateAccountResult(const std::string &payload);
|
||||
~CreateAccountResult();
|
||||
int getTaskId()const;
|
||||
std::string getDBClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int taskId_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,8 +41,16 @@ namespace AlibabaCloud
|
||||
void setDBClusterDescription(const std::string& dBClusterDescription);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getStorageType()const;
|
||||
void setStorageType(const std::string& storageType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getMode()const;
|
||||
void setMode(const std::string& mode);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getStorageResource()const;
|
||||
void setStorageResource(const std::string& storageResource);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBClusterCategory()const;
|
||||
@@ -69,10 +77,14 @@ namespace AlibabaCloud
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getDBNodeStorage()const;
|
||||
void setDBNodeStorage(const std::string& dBNodeStorage);
|
||||
std::string getExecutorCount()const;
|
||||
void setExecutorCount(const std::string& executorCount);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getComputeResource()const;
|
||||
void setComputeResource(const std::string& computeResource);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
|
||||
@@ -80,7 +92,11 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string dBClusterDescription_;
|
||||
std::string clientToken_;
|
||||
std::string storageType_;
|
||||
std::string accessKeyId_;
|
||||
std::string mode_;
|
||||
std::string resourceGroupId_;
|
||||
std::string storageResource_;
|
||||
std::string regionId_;
|
||||
std::string dBClusterCategory_;
|
||||
std::string dBClusterNetworkType_;
|
||||
@@ -94,8 +110,10 @@ namespace AlibabaCloud
|
||||
std::string usedTime_;
|
||||
std::string vSwitchId_;
|
||||
std::string dBNodeStorage_;
|
||||
std::string executorCount_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string computeResource_;
|
||||
std::string payType_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,12 +37,14 @@ namespace AlibabaCloud
|
||||
CreateDBClusterResult();
|
||||
explicit CreateDBClusterResult(const std::string &payload);
|
||||
~CreateDBClusterResult();
|
||||
std::string getResourceGroupId()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string dBClusterId_;
|
||||
std::string orderId_;
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccountType()const;
|
||||
void setAccountType(const std::string& accountType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accountType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccountType()const;
|
||||
void setAccountType(const std::string& accountType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accountType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string tableName;
|
||||
std::string columnName;
|
||||
std::string type;
|
||||
bool autoIncrementColumn;
|
||||
std::string dBClusterId;
|
||||
bool primaryKey;
|
||||
std::string schemaName;
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAuditLogConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAuditLogConfigRequest();
|
||||
~DescribeAuditLogConfigRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAuditLogConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeAuditLogConfigResult();
|
||||
explicit DescribeAuditLogConfigResult(const std::string &payload);
|
||||
~DescribeAuditLogConfigResult();
|
||||
std::string getAuditLogStatus()const;
|
||||
std::string getDBClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string auditLogStatus_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGCONFIGRESULT_H_
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAuditLogRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAuditLogRecordsRequest();
|
||||
~DescribeAuditLogRecordsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getHostAddress()const;
|
||||
void setHostAddress(const std::string& hostAddress);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getSqlType()const;
|
||||
void setSqlType(const std::string& sqlType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getQueryKeyword()const;
|
||||
void setQueryKeyword(const std::string& queryKeyword);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBName()const;
|
||||
void setDBName(const std::string& dBName);
|
||||
std::string getSucceed()const;
|
||||
void setSucceed(const std::string& succeed);
|
||||
std::string getUser()const;
|
||||
void setUser(const std::string& user);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string hostAddress_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string sqlType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string queryKeyword_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string dBName_;
|
||||
std::string succeed_;
|
||||
std::string user_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAuditLogRecordsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SlowLogRecord
|
||||
{
|
||||
std::string connId;
|
||||
std::string executeTime;
|
||||
std::string totalTime;
|
||||
std::string dBName;
|
||||
std::string processID;
|
||||
std::string hostAddress;
|
||||
std::string sQLType;
|
||||
std::string sQLText;
|
||||
std::string succeed;
|
||||
};
|
||||
|
||||
|
||||
DescribeAuditLogRecordsResult();
|
||||
explicit DescribeAuditLogRecordsResult(const std::string &payload);
|
||||
~DescribeAuditLogRecordsResult();
|
||||
std::string getTotalCount()const;
|
||||
std::string getPageSize()const;
|
||||
std::string getPageNumber()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::vector<SlowLogRecord> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string totalCount_;
|
||||
std::string pageSize_;
|
||||
std::string pageNumber_;
|
||||
std::string dBClusterId_;
|
||||
std::vector<SlowLogRecord> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAUDITLOGRECORDSRESULT_H_
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
@@ -58,6 +60,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -35,15 +35,33 @@ namespace AlibabaCloud
|
||||
DescribeAvailableResourceRequest();
|
||||
~DescribeAvailableResourceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAcceptLanguage()const;
|
||||
void setAcceptLanguage(const std::string& acceptLanguage);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getChargeType()const;
|
||||
void setChargeType(const std::string& chargeType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string acceptLanguage_;
|
||||
std::string zoneId_;
|
||||
std::string chargeType_;
|
||||
|
||||
|
||||
@@ -34,24 +34,53 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct AvailableZone
|
||||
{
|
||||
struct SupportedSerial
|
||||
struct SupportedModeItem
|
||||
{
|
||||
struct SupportedInstanceClass
|
||||
struct SupportedSerialListItem
|
||||
{
|
||||
struct SupportedNodeCount
|
||||
struct SupportedFlexibleResourceItem
|
||||
{
|
||||
std::string nodeCount;
|
||||
std::vector<std::string> storageSize;
|
||||
std::string storageType;
|
||||
std::vector<std::string> supportedStorageResource;
|
||||
std::vector<std::string> supportedComputeResource;
|
||||
};
|
||||
std::string instanceClass;
|
||||
std::vector<SupportedInstanceClass::SupportedNodeCount> supportedNodeCountList;
|
||||
std::string tips;
|
||||
struct SupportedInstanceClass
|
||||
{
|
||||
struct SupportedNodeCount
|
||||
{
|
||||
struct NodeCount
|
||||
{
|
||||
std::string maxCount;
|
||||
std::string step;
|
||||
std::string minCount;
|
||||
};
|
||||
NodeCount nodeCount;
|
||||
std::vector<std::string> storageSize;
|
||||
};
|
||||
struct SupportedExecutor
|
||||
{
|
||||
struct NodeCount1
|
||||
{
|
||||
std::string maxCount;
|
||||
std::string step;
|
||||
std::string minCount;
|
||||
};
|
||||
NodeCount1 nodeCount1;
|
||||
};
|
||||
std::vector<SupportedInstanceClass::SupportedExecutor> supportedExecutorList;
|
||||
std::string instanceClass;
|
||||
std::vector<SupportedInstanceClass::SupportedNodeCount> supportedNodeCountList;
|
||||
std::string tips;
|
||||
};
|
||||
std::string serial;
|
||||
std::vector<SupportedSerialListItem::SupportedFlexibleResourceItem> supportedFlexibleResource;
|
||||
std::vector<SupportedSerialListItem::SupportedInstanceClass> supportedInstanceClassList;
|
||||
};
|
||||
std::string serial;
|
||||
std::vector<SupportedSerial::SupportedInstanceClass> supportedInstanceClassList;
|
||||
std::string mode;
|
||||
std::vector<SupportedModeItem::SupportedSerialListItem> supportedSerialList;
|
||||
};
|
||||
std::string zoneId;
|
||||
std::vector<AvailableZone::SupportedSerial> supportedSerialList;
|
||||
std::vector<AvailableZone::SupportedModeItem> supportedMode;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace AlibabaCloud
|
||||
std::string tableName;
|
||||
std::string columnName;
|
||||
std::string type;
|
||||
bool autoIncrementColumn;
|
||||
std::string dBClusterId;
|
||||
bool primaryKey;
|
||||
std::string schemaName;
|
||||
|
||||
@@ -39,13 +39,19 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string storageResource;
|
||||
std::string category;
|
||||
std::string resourceGroupId;
|
||||
int port;
|
||||
std::string dBClusterId;
|
||||
std::string dBClusterNetworkType;
|
||||
std::string dBClusterType;
|
||||
std::string diskType;
|
||||
std::string dBVersion;
|
||||
std::string dtsJobId;
|
||||
long dBNodeCount;
|
||||
std::string commodityCode;
|
||||
std::string executorCount;
|
||||
std::string lockReason;
|
||||
std::string maintainTime;
|
||||
std::vector<DBCluster::Tag> tags;
|
||||
@@ -55,7 +61,9 @@ namespace AlibabaCloud
|
||||
std::string vPCId;
|
||||
std::string dBClusterStatus;
|
||||
std::string vSwitchId;
|
||||
std::string mode;
|
||||
std::string dBClusterDescription;
|
||||
std::string computeResource;
|
||||
std::string expired;
|
||||
std::string lockMode;
|
||||
std::string payType;
|
||||
@@ -64,6 +72,8 @@ namespace AlibabaCloud
|
||||
std::string creationTime;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string connectionString;
|
||||
std::string rdsInstanceId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeDBClustersRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
@@ -50,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
@@ -71,6 +74,7 @@ namespace AlibabaCloud
|
||||
std::string dBClusterStatus_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
@@ -39,24 +39,40 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
long dBNodeStorage;
|
||||
std::string storageResource;
|
||||
std::string category;
|
||||
std::string resourceGroupId;
|
||||
std::string port;
|
||||
std::string dBClusterId;
|
||||
std::string dBClusterNetworkType;
|
||||
std::string dBClusterType;
|
||||
std::string diskType;
|
||||
std::string dBVersion;
|
||||
std::string dtsJobId;
|
||||
long dBNodeCount;
|
||||
std::string commodityCode;
|
||||
std::string executorCount;
|
||||
std::string lockReason;
|
||||
std::vector<DBCluster::Tag> tags;
|
||||
std::string engine;
|
||||
long dBNodeStorage;
|
||||
std::string zoneId;
|
||||
std::string vPCId;
|
||||
std::string dBClusterStatus;
|
||||
std::string createTime;
|
||||
std::string dBClusterId;
|
||||
std::string vSwitchId;
|
||||
std::string mode;
|
||||
std::string dBClusterDescription;
|
||||
std::string computeResource;
|
||||
std::string expired;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string dBNodeClass;
|
||||
std::string dBClusterType;
|
||||
std::string dBVersion;
|
||||
long dBNodeCount;
|
||||
std::string commodityCode;
|
||||
std::string vPCCloudInstanceId;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string lockReason;
|
||||
std::vector<DBCluster::Tag> tags;
|
||||
std::string connectionString;
|
||||
std::string rdsInstanceId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLogStoreKeysRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLogStoreKeysRequest();
|
||||
~DescribeLogStoreKeysRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getLogStoreName()const;
|
||||
void setLogStoreName(const std::string& logStoreName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string projectName_;
|
||||
std::string logStoreName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLogStoreKeysResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeLogStoreKeysResult();
|
||||
explicit DescribeLogStoreKeysResult(const std::string &payload);
|
||||
~DescribeLogStoreKeysResult();
|
||||
std::vector<std::string> getLogStoreKeys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> logStoreKeys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLoghubDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLoghubDetailRequest();
|
||||
~DescribeLoghubDetailRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getExportName()const;
|
||||
void setExportName(const std::string& exportName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string projectName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string exportName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
@@ -1,78 +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_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLoghubDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LoghubInfo
|
||||
{
|
||||
struct LogHubStore
|
||||
{
|
||||
std::string type;
|
||||
std::string logKey;
|
||||
std::string fieldKey;
|
||||
};
|
||||
std::string description;
|
||||
std::string userName;
|
||||
std::string zoneId;
|
||||
std::string projectName;
|
||||
std::string deliverName;
|
||||
std::string deliverTime;
|
||||
std::string dBClusterId;
|
||||
std::string dBType;
|
||||
std::string tableName;
|
||||
bool filterDirtyData;
|
||||
std::string accessSecret;
|
||||
std::string logStoreName;
|
||||
std::string domainUrl;
|
||||
std::vector<LogHubStore> logHubStores;
|
||||
std::string regionId;
|
||||
std::string accessKey;
|
||||
std::string schemaName;
|
||||
std::string password;
|
||||
};
|
||||
|
||||
|
||||
DescribeLoghubDetailResult();
|
||||
explicit DescribeLoghubDetailResult(const std::string &payload);
|
||||
~DescribeLoghubDetailResult();
|
||||
LoghubInfo getLoghubInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
LoghubInfo loghubInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
@@ -35,14 +35,18 @@ namespace AlibabaCloud
|
||||
struct SlowLogRecord
|
||||
{
|
||||
std::string userName;
|
||||
std::string peakMemoryUsage;
|
||||
std::string executionStartTime;
|
||||
long returnRowCounts;
|
||||
std::string dBName;
|
||||
long queryTime;
|
||||
long parseRowCounts;
|
||||
std::string processID;
|
||||
std::string hostAddress;
|
||||
std::string sQLText;
|
||||
std::string state;
|
||||
long returnRowCounts;
|
||||
std::string dBName;
|
||||
long queueTime;
|
||||
std::string processID;
|
||||
std::string scanSize;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTablePartitionDiagnoseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTablePartitionDiagnoseRequest();
|
||||
~DescribeTablePartitionDiagnoseRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSEREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTablePartitionDiagnoseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TablePartitionDiagnose
|
||||
{
|
||||
std::string tableName;
|
||||
int partitionNumber;
|
||||
std::string partitionDetail;
|
||||
std::string schemaName;
|
||||
};
|
||||
|
||||
|
||||
DescribeTablePartitionDiagnoseResult();
|
||||
explicit DescribeTablePartitionDiagnoseResult(const std::string &payload);
|
||||
~DescribeTablePartitionDiagnoseResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getDBClusterId()const;
|
||||
long getSuggestMaxRecordsPerPartition()const;
|
||||
std::vector<TablePartitionDiagnose> getItems()const;
|
||||
long getSuggestMinRecordsPerPartition()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int dBClusterId_;
|
||||
long suggestMaxRecordsPerPartition_;
|
||||
std::vector<TablePartitionDiagnose> items_;
|
||||
long suggestMinRecordsPerPartition_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEPARTITIONDIAGNOSERESULT_H_
|
||||
66
adb/include/alibabacloud/adb/model/DescribeTaskInfoRequest.h
Normal file
66
adb/include/alibabacloud/adb/model/DescribeTaskInfoRequest.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBETASKINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETASKINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTaskInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTaskInfoRequest();
|
||||
~DescribeTaskInfoRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getTaskId()const;
|
||||
void setTaskId(int taskId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
int taskId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETASKINFOREQUEST_H_
|
||||
59
adb/include/alibabacloud/adb/model/DescribeTaskInfoResult.h
Normal file
59
adb/include/alibabacloud/adb/model/DescribeTaskInfoResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_DESCRIBETASKINFORESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETASKINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTaskInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TaskInfo
|
||||
{
|
||||
std::string status;
|
||||
std::string progress;
|
||||
int taskId;
|
||||
std::string finishTime;
|
||||
std::string beginTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeTaskInfoResult();
|
||||
explicit DescribeTaskInfoResult(const std::string &payload);
|
||||
~DescribeTaskInfoResult();
|
||||
TaskInfo getTaskInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TaskInfo taskInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETASKINFORESULT_H_
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ListTagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyAuditLogConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyAuditLogConfigRequest();
|
||||
~ModifyAuditLogConfigRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAuditLogStatus()const;
|
||||
void setAuditLogStatus(const std::string& auditLogStatus);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string auditLogStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyAuditLogConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyAuditLogConfigResult();
|
||||
explicit ModifyAuditLogConfigResult(const std::string &payload);
|
||||
~ModifyAuditLogConfigResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYAUDITLOGCONFIGRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYCLUSTERCONNECTIONSTRINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYCLUSTERCONNECTIONSTRINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyClusterConnectionStringRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyClusterConnectionStringRequest();
|
||||
~ModifyClusterConnectionStringRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getConnectionStringPrefix()const;
|
||||
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCurrentConnectionString()const;
|
||||
void setCurrentConnectionString(const std::string& currentConnectionString);
|
||||
int getPort()const;
|
||||
void setPort(int port);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string connectionStringPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string currentConnectionString_;
|
||||
int port_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYCLUSTERCONNECTIONSTRINGREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYCLUSTERCONNECTIONSTRINGRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYCLUSTERCONNECTIONSTRINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyClusterConnectionStringResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyClusterConnectionStringResult();
|
||||
explicit ModifyClusterConnectionStringResult(const std::string &payload);
|
||||
~ModifyClusterConnectionStringResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYCLUSTERCONNECTIONSTRINGRESULT_H_
|
||||
@@ -37,10 +37,14 @@ namespace AlibabaCloud
|
||||
ModifyDBClusterAccessWhiteListResult();
|
||||
explicit ModifyDBClusterAccessWhiteListResult(const std::string &payload);
|
||||
~ModifyDBClusterAccessWhiteListResult();
|
||||
int getTaskId()const;
|
||||
std::string getDBClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int taskId_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,8 +39,12 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getStorageResource()const;
|
||||
void setStorageResource(const std::string& storageResource);
|
||||
std::string getDBNodeClass()const;
|
||||
void setDBNodeClass(const std::string& dBNodeClass);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -53,20 +57,28 @@ namespace AlibabaCloud
|
||||
void setDBNodeGroupCount(const std::string& dBNodeGroupCount);
|
||||
std::string getDBNodeStorage()const;
|
||||
void setDBNodeStorage(const std::string& dBNodeStorage);
|
||||
std::string getExecutorCount()const;
|
||||
void setExecutorCount(const std::string& executorCount);
|
||||
std::string getModifyType()const;
|
||||
void setModifyType(const std::string& modifyType);
|
||||
std::string getComputeResource()const;
|
||||
void setComputeResource(const std::string& computeResource);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string storageResource_;
|
||||
std::string dBNodeClass_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string dBNodeGroupCount_;
|
||||
std::string dBNodeStorage_;
|
||||
std::string executorCount_;
|
||||
std::string modifyType_;
|
||||
std::string computeResource_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccountType()const;
|
||||
void setAccountType(const std::string& accountType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accountType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -37,10 +37,14 @@ namespace AlibabaCloud
|
||||
ResetAccountPasswordResult();
|
||||
explicit ResetAccountPasswordResult(const std::string &payload);
|
||||
~ResetAccountPasswordResult();
|
||||
int getTaskId()const;
|
||||
std::string getDBClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int taskId_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -303,6 +303,78 @@ AdbClient::DescribeAllDataSourceOutcomeCallable AdbClient::describeAllDataSource
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogConfigOutcome AdbClient::describeAuditLogConfig(const DescribeAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAuditLogConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAuditLogConfigOutcome(DescribeAuditLogConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeAuditLogConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAuditLogConfigAsync(const DescribeAuditLogConfigRequest& request, const DescribeAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAuditLogConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogConfigOutcomeCallable AdbClient::describeAuditLogConfigCallable(const DescribeAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAuditLogConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAuditLogConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogRecordsOutcome AdbClient::describeAuditLogRecords(const DescribeAuditLogRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAuditLogRecordsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAuditLogRecordsOutcome(DescribeAuditLogRecordsResult(outcome.result()));
|
||||
else
|
||||
return DescribeAuditLogRecordsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAuditLogRecordsAsync(const DescribeAuditLogRecordsRequest& request, const DescribeAuditLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAuditLogRecords(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAuditLogRecordsOutcomeCallable AdbClient::describeAuditLogRecordsCallable(const DescribeAuditLogRecordsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAuditLogRecordsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAuditLogRecords(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAutoRenewAttributeOutcome AdbClient::describeAutoRenewAttribute(const DescribeAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,78 +771,6 @@ AdbClient::DescribeInclinedTablesOutcomeCallable AdbClient::describeInclinedTabl
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeLogStoreKeysOutcome AdbClient::describeLogStoreKeys(const DescribeLogStoreKeysRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLogStoreKeysOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLogStoreKeysOutcome(DescribeLogStoreKeysResult(outcome.result()));
|
||||
else
|
||||
return DescribeLogStoreKeysOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeLogStoreKeysAsync(const DescribeLogStoreKeysRequest& request, const DescribeLogStoreKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLogStoreKeys(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeLogStoreKeysOutcomeCallable AdbClient::describeLogStoreKeysCallable(const DescribeLogStoreKeysRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLogStoreKeysOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLogStoreKeys(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeLoghubDetailOutcome AdbClient::describeLoghubDetail(const DescribeLoghubDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLoghubDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLoghubDetailOutcome(DescribeLoghubDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeLoghubDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeLoghubDetailAsync(const DescribeLoghubDetailRequest& request, const DescribeLoghubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLoghubDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeLoghubDetailOutcomeCallable AdbClient::describeLoghubDetailCallable(const DescribeLoghubDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLoghubDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLoghubDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeOperatorPermissionOutcome AdbClient::describeOperatorPermission(const DescribeOperatorPermissionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1023,6 +1023,42 @@ AdbClient::DescribeTableDetailOutcomeCallable AdbClient::describeTableDetailCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeTablePartitionDiagnoseOutcome AdbClient::describeTablePartitionDiagnose(const DescribeTablePartitionDiagnoseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTablePartitionDiagnoseOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTablePartitionDiagnoseOutcome(DescribeTablePartitionDiagnoseResult(outcome.result()));
|
||||
else
|
||||
return DescribeTablePartitionDiagnoseOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeTablePartitionDiagnoseAsync(const DescribeTablePartitionDiagnoseRequest& request, const DescribeTablePartitionDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTablePartitionDiagnose(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeTablePartitionDiagnoseOutcomeCallable AdbClient::describeTablePartitionDiagnoseCallable(const DescribeTablePartitionDiagnoseRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTablePartitionDiagnoseOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTablePartitionDiagnose(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeTablesOutcome AdbClient::describeTables(const DescribeTablesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,6 +1095,42 @@ AdbClient::DescribeTablesOutcomeCallable AdbClient::describeTablesCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeTaskInfoOutcome AdbClient::describeTaskInfo(const DescribeTaskInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTaskInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTaskInfoOutcome(DescribeTaskInfoResult(outcome.result()));
|
||||
else
|
||||
return DescribeTaskInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeTaskInfoAsync(const DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTaskInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeTaskInfoOutcomeCallable AdbClient::describeTaskInfoCallable(const DescribeTaskInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTaskInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTaskInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::GrantOperatorPermissionOutcome AdbClient::grantOperatorPermission(const GrantOperatorPermissionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,6 +1275,42 @@ AdbClient::ModifyAccountDescriptionOutcomeCallable AdbClient::modifyAccountDescr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyAuditLogConfigOutcome AdbClient::modifyAuditLogConfig(const ModifyAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAuditLogConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAuditLogConfigOutcome(ModifyAuditLogConfigResult(outcome.result()));
|
||||
else
|
||||
return ModifyAuditLogConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::modifyAuditLogConfigAsync(const ModifyAuditLogConfigRequest& request, const ModifyAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyAuditLogConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::ModifyAuditLogConfigOutcomeCallable AdbClient::modifyAuditLogConfigCallable(const ModifyAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAuditLogConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyAuditLogConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyAutoRenewAttributeOutcome AdbClient::modifyAutoRenewAttribute(const ModifyAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1275,6 +1383,42 @@ AdbClient::ModifyBackupPolicyOutcomeCallable AdbClient::modifyBackupPolicyCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyClusterConnectionStringOutcome AdbClient::modifyClusterConnectionString(const ModifyClusterConnectionStringRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyClusterConnectionStringOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyClusterConnectionStringOutcome(ModifyClusterConnectionStringResult(outcome.result()));
|
||||
else
|
||||
return ModifyClusterConnectionStringOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::modifyClusterConnectionStringAsync(const ModifyClusterConnectionStringRequest& request, const ModifyClusterConnectionStringAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyClusterConnectionString(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::ModifyClusterConnectionStringOutcomeCallable AdbClient::modifyClusterConnectionStringCallable(const ModifyClusterConnectionStringRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyClusterConnectionStringOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyClusterConnectionString(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyDBClusterOutcome AdbClient::modifyDBCluster(const ModifyDBClusterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -35,7 +35,7 @@ long AllocateClusterPublicConnectionRequest::getResourceOwnerId()const
|
||||
void AllocateClusterPublicConnectionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateClusterPublicConnectionRequest::getConnectionStringPrefix()const
|
||||
@@ -46,7 +46,7 @@ std::string AllocateClusterPublicConnectionRequest::getConnectionStringPrefix()c
|
||||
void AllocateClusterPublicConnectionRequest::setConnectionStringPrefix(const std::string& connectionStringPrefix)
|
||||
{
|
||||
connectionStringPrefix_ = connectionStringPrefix;
|
||||
setCoreParameter("ConnectionStringPrefix", connectionStringPrefix);
|
||||
setParameter("ConnectionStringPrefix", connectionStringPrefix);
|
||||
}
|
||||
|
||||
std::string AllocateClusterPublicConnectionRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string AllocateClusterPublicConnectionRequest::getAccessKeyId()const
|
||||
void AllocateClusterPublicConnectionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AllocateClusterPublicConnectionRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AllocateClusterPublicConnectionRequest::getResourceOwnerAccount()con
|
||||
void AllocateClusterPublicConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateClusterPublicConnectionRequest::getDBClusterId()const
|
||||
@@ -79,7 +79,7 @@ std::string AllocateClusterPublicConnectionRequest::getDBClusterId()const
|
||||
void AllocateClusterPublicConnectionRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string AllocateClusterPublicConnectionRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string AllocateClusterPublicConnectionRequest::getOwnerAccount()const
|
||||
void AllocateClusterPublicConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AllocateClusterPublicConnectionRequest::getOwnerId()const
|
||||
@@ -101,6 +101,6 @@ long AllocateClusterPublicConnectionRequest::getOwnerId()const
|
||||
void AllocateClusterPublicConnectionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,18 @@ long CreateAccountRequest::getResourceOwnerId()const
|
||||
void CreateAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountType(const std::string& accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setParameter("AccountType", accountType);
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountDescription()const
|
||||
@@ -46,7 +57,7 @@ std::string CreateAccountRequest::getAccountDescription()const
|
||||
void CreateAccountRequest::setAccountDescription(const std::string& accountDescription)
|
||||
{
|
||||
accountDescription_ = accountDescription;
|
||||
setCoreParameter("AccountDescription", accountDescription);
|
||||
setParameter("AccountDescription", accountDescription);
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccessKeyId()const
|
||||
@@ -57,7 +68,7 @@ std::string CreateAccountRequest::getAccessKeyId()const
|
||||
void CreateAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountName()const
|
||||
@@ -68,7 +79,7 @@ std::string CreateAccountRequest::getAccountName()const
|
||||
void CreateAccountRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setCoreParameter("AccountName", accountName);
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +90,7 @@ std::string CreateAccountRequest::getResourceOwnerAccount()const
|
||||
void CreateAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getDBClusterId()const
|
||||
@@ -90,7 +101,7 @@ std::string CreateAccountRequest::getDBClusterId()const
|
||||
void CreateAccountRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getOwnerAccount()const
|
||||
@@ -101,7 +112,7 @@ std::string CreateAccountRequest::getOwnerAccount()const
|
||||
void CreateAccountRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateAccountRequest::getOwnerId()const
|
||||
@@ -112,7 +123,7 @@ long CreateAccountRequest::getOwnerId()const
|
||||
void CreateAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountPassword()const
|
||||
@@ -123,6 +134,6 @@ std::string CreateAccountRequest::getAccountPassword()const
|
||||
void CreateAccountRequest::setAccountPassword(const std::string& accountPassword)
|
||||
{
|
||||
accountPassword_ = accountPassword;
|
||||
setCoreParameter("AccountPassword", accountPassword);
|
||||
setParameter("AccountPassword", accountPassword);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,20 @@ void CreateAccountResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stoi(value["TaskId"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateAccountResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
std::string CreateAccountResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CreateDBClusterRequest::getResourceOwnerId()const
|
||||
void CreateDBClusterRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBClusterDescription()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateDBClusterRequest::getDBClusterDescription()const
|
||||
void CreateDBClusterRequest::setDBClusterDescription(const std::string& dBClusterDescription)
|
||||
{
|
||||
dBClusterDescription_ = dBClusterDescription;
|
||||
setCoreParameter("DBClusterDescription", dBClusterDescription);
|
||||
setParameter("DBClusterDescription", dBClusterDescription);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getClientToken()const
|
||||
@@ -57,7 +57,18 @@ std::string CreateDBClusterRequest::getClientToken()const
|
||||
void CreateDBClusterRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setStorageType(const std::string& storageType)
|
||||
{
|
||||
storageType_ = storageType;
|
||||
setParameter("StorageType", storageType);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getAccessKeyId()const
|
||||
@@ -68,7 +79,40 @@ std::string CreateDBClusterRequest::getAccessKeyId()const
|
||||
void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setMode(const std::string& mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
setParameter("Mode", mode);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getStorageResource()const
|
||||
{
|
||||
return storageResource_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setStorageResource(const std::string& storageResource)
|
||||
{
|
||||
storageResource_ = storageResource;
|
||||
setParameter("StorageResource", storageResource);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getRegionId()const
|
||||
@@ -79,7 +123,7 @@ std::string CreateDBClusterRequest::getRegionId()const
|
||||
void CreateDBClusterRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBClusterCategory()const
|
||||
@@ -90,7 +134,7 @@ std::string CreateDBClusterRequest::getDBClusterCategory()const
|
||||
void CreateDBClusterRequest::setDBClusterCategory(const std::string& dBClusterCategory)
|
||||
{
|
||||
dBClusterCategory_ = dBClusterCategory;
|
||||
setCoreParameter("DBClusterCategory", dBClusterCategory);
|
||||
setParameter("DBClusterCategory", dBClusterCategory);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBClusterNetworkType()const
|
||||
@@ -101,7 +145,7 @@ std::string CreateDBClusterRequest::getDBClusterNetworkType()const
|
||||
void CreateDBClusterRequest::setDBClusterNetworkType(const std::string& dBClusterNetworkType)
|
||||
{
|
||||
dBClusterNetworkType_ = dBClusterNetworkType;
|
||||
setCoreParameter("DBClusterNetworkType", dBClusterNetworkType);
|
||||
setParameter("DBClusterNetworkType", dBClusterNetworkType);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getPeriod()const
|
||||
@@ -112,7 +156,7 @@ std::string CreateDBClusterRequest::getPeriod()const
|
||||
void CreateDBClusterRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setCoreParameter("Period", period);
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getResourceOwnerAccount()const
|
||||
@@ -123,7 +167,7 @@ std::string CreateDBClusterRequest::getResourceOwnerAccount()const
|
||||
void CreateDBClusterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getOwnerAccount()const
|
||||
@@ -134,7 +178,7 @@ std::string CreateDBClusterRequest::getOwnerAccount()const
|
||||
void CreateDBClusterRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBClusterVersion()const
|
||||
@@ -145,7 +189,7 @@ std::string CreateDBClusterRequest::getDBClusterVersion()const
|
||||
void CreateDBClusterRequest::setDBClusterVersion(const std::string& dBClusterVersion)
|
||||
{
|
||||
dBClusterVersion_ = dBClusterVersion;
|
||||
setCoreParameter("DBClusterVersion", dBClusterVersion);
|
||||
setParameter("DBClusterVersion", dBClusterVersion);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBClusterClass()const
|
||||
@@ -156,7 +200,7 @@ std::string CreateDBClusterRequest::getDBClusterClass()const
|
||||
void CreateDBClusterRequest::setDBClusterClass(const std::string& dBClusterClass)
|
||||
{
|
||||
dBClusterClass_ = dBClusterClass;
|
||||
setCoreParameter("DBClusterClass", dBClusterClass);
|
||||
setParameter("DBClusterClass", dBClusterClass);
|
||||
}
|
||||
|
||||
long CreateDBClusterRequest::getOwnerId()const
|
||||
@@ -167,7 +211,7 @@ long CreateDBClusterRequest::getOwnerId()const
|
||||
void CreateDBClusterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBNodeGroupCount()const
|
||||
@@ -178,7 +222,7 @@ std::string CreateDBClusterRequest::getDBNodeGroupCount()const
|
||||
void CreateDBClusterRequest::setDBNodeGroupCount(const std::string& dBNodeGroupCount)
|
||||
{
|
||||
dBNodeGroupCount_ = dBNodeGroupCount;
|
||||
setCoreParameter("DBNodeGroupCount", dBNodeGroupCount);
|
||||
setParameter("DBNodeGroupCount", dBNodeGroupCount);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getUsedTime()const
|
||||
@@ -189,7 +233,7 @@ std::string CreateDBClusterRequest::getUsedTime()const
|
||||
void CreateDBClusterRequest::setUsedTime(const std::string& usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setCoreParameter("UsedTime", usedTime);
|
||||
setParameter("UsedTime", usedTime);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getVSwitchId()const
|
||||
@@ -200,7 +244,7 @@ std::string CreateDBClusterRequest::getVSwitchId()const
|
||||
void CreateDBClusterRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setCoreParameter("VSwitchId", vSwitchId);
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBNodeStorage()const
|
||||
@@ -211,7 +255,18 @@ std::string CreateDBClusterRequest::getDBNodeStorage()const
|
||||
void CreateDBClusterRequest::setDBNodeStorage(const std::string& dBNodeStorage)
|
||||
{
|
||||
dBNodeStorage_ = dBNodeStorage;
|
||||
setCoreParameter("DBNodeStorage", dBNodeStorage);
|
||||
setParameter("DBNodeStorage", dBNodeStorage);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getExecutorCount()const
|
||||
{
|
||||
return executorCount_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setExecutorCount(const std::string& executorCount)
|
||||
{
|
||||
executorCount_ = executorCount;
|
||||
setParameter("ExecutorCount", executorCount);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getVPCId()const
|
||||
@@ -222,7 +277,7 @@ std::string CreateDBClusterRequest::getVPCId()const
|
||||
void CreateDBClusterRequest::setVPCId(const std::string& vPCId)
|
||||
{
|
||||
vPCId_ = vPCId;
|
||||
setCoreParameter("VPCId", vPCId);
|
||||
setParameter("VPCId", vPCId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getZoneId()const
|
||||
@@ -233,7 +288,18 @@ std::string CreateDBClusterRequest::getZoneId()const
|
||||
void CreateDBClusterRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getComputeResource()const
|
||||
{
|
||||
return computeResource_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setComputeResource(const std::string& computeResource)
|
||||
{
|
||||
computeResource_ = computeResource;
|
||||
setParameter("ComputeResource", computeResource);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getPayType()const
|
||||
@@ -244,6 +310,6 @@ std::string CreateDBClusterRequest::getPayType()const
|
||||
void CreateDBClusterRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setCoreParameter("PayType", payType);
|
||||
setParameter("PayType", payType);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,9 +43,16 @@ void CreateDBClusterResult::parse(const std::string &payload)
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateDBClusterResult::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
|
||||
@@ -35,7 +35,18 @@ long DeleteAccountRequest::getResourceOwnerId()const
|
||||
void DeleteAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setAccountType(const std::string& accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setParameter("AccountType", accountType);
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getAccessKeyId()const
|
||||
@@ -46,7 +57,7 @@ std::string DeleteAccountRequest::getAccessKeyId()const
|
||||
void DeleteAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getAccountName()const
|
||||
@@ -57,7 +68,7 @@ std::string DeleteAccountRequest::getAccountName()const
|
||||
void DeleteAccountRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setCoreParameter("AccountName", accountName);
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +79,7 @@ std::string DeleteAccountRequest::getResourceOwnerAccount()const
|
||||
void DeleteAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getDBClusterId()const
|
||||
@@ -79,7 +90,7 @@ std::string DeleteAccountRequest::getDBClusterId()const
|
||||
void DeleteAccountRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getOwnerAccount()const
|
||||
@@ -90,7 +101,7 @@ std::string DeleteAccountRequest::getOwnerAccount()const
|
||||
void DeleteAccountRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteAccountRequest::getOwnerId()const
|
||||
@@ -101,6 +112,6 @@ long DeleteAccountRequest::getOwnerId()const
|
||||
void DeleteAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DeleteDBClusterRequest::getResourceOwnerId()const
|
||||
void DeleteDBClusterRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DeleteDBClusterRequest::getAccessKeyId()const
|
||||
void DeleteDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string DeleteDBClusterRequest::getResourceOwnerAccount()const
|
||||
void DeleteDBClusterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getDBClusterId()const
|
||||
@@ -68,7 +68,7 @@ std::string DeleteDBClusterRequest::getDBClusterId()const
|
||||
void DeleteDBClusterRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DeleteDBClusterRequest::getOwnerAccount()const
|
||||
void DeleteDBClusterRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteDBClusterRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long DeleteDBClusterRequest::getOwnerId()const
|
||||
void DeleteDBClusterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,18 @@ long DescribeAccountsRequest::getResourceOwnerId()const
|
||||
void DescribeAccountsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setAccountType(const std::string& accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setParameter("AccountType", accountType);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getAccessKeyId()const
|
||||
@@ -46,7 +57,7 @@ std::string DescribeAccountsRequest::getAccessKeyId()const
|
||||
void DescribeAccountsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getAccountName()const
|
||||
@@ -57,7 +68,7 @@ std::string DescribeAccountsRequest::getAccountName()const
|
||||
void DescribeAccountsRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setCoreParameter("AccountName", accountName);
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +79,7 @@ std::string DescribeAccountsRequest::getResourceOwnerAccount()const
|
||||
void DescribeAccountsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getDBClusterId()const
|
||||
@@ -79,7 +90,7 @@ std::string DescribeAccountsRequest::getDBClusterId()const
|
||||
void DescribeAccountsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getOwnerAccount()const
|
||||
@@ -90,7 +101,7 @@ std::string DescribeAccountsRequest::getOwnerAccount()const
|
||||
void DescribeAccountsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAccountsRequest::getOwnerId()const
|
||||
@@ -101,6 +112,6 @@ long DescribeAccountsRequest::getOwnerId()const
|
||||
void DescribeAccountsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeAllDataSourceRequest::getResourceOwnerId()const
|
||||
void DescribeAllDataSourceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeAllDataSourceRequest::getAccessKeyId()const
|
||||
void DescribeAllDataSourceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getTableName()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeAllDataSourceRequest::getTableName()const
|
||||
void DescribeAllDataSourceRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setCoreParameter("TableName", tableName);
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getSchemaName()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeAllDataSourceRequest::getSchemaName()const
|
||||
void DescribeAllDataSourceRequest::setSchemaName(const std::string& schemaName)
|
||||
{
|
||||
schemaName_ = schemaName;
|
||||
setCoreParameter("SchemaName", schemaName);
|
||||
setParameter("SchemaName", schemaName);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeAllDataSourceRequest::getResourceOwnerAccount()const
|
||||
void DescribeAllDataSourceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getDBClusterId()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeAllDataSourceRequest::getDBClusterId()const
|
||||
void DescribeAllDataSourceRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeAllDataSourceRequest::getOwnerAccount()const
|
||||
void DescribeAllDataSourceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAllDataSourceRequest::getOwnerId()const
|
||||
@@ -112,6 +112,6 @@ long DescribeAllDataSourceRequest::getOwnerId()const
|
||||
void DescribeAllDataSourceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -77,6 +77,8 @@ void DescribeAllDataSourceResult::parse(const std::string &payload)
|
||||
columnsObject.type = valueColumnsColumn["Type"].asString();
|
||||
if(!valueColumnsColumn["PrimaryKey"].isNull())
|
||||
columnsObject.primaryKey = valueColumnsColumn["PrimaryKey"].asString() == "true";
|
||||
if(!valueColumnsColumn["AutoIncrementColumn"].isNull())
|
||||
columnsObject.autoIncrementColumn = valueColumnsColumn["AutoIncrementColumn"].asString() == "true";
|
||||
columns_.push_back(columnsObject);
|
||||
}
|
||||
|
||||
|
||||
106
adb/src/model/DescribeAuditLogConfigRequest.cc
Normal file
106
adb/src/model/DescribeAuditLogConfigRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAuditLogConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAuditLogConfigRequest;
|
||||
|
||||
DescribeAuditLogConfigRequest::DescribeAuditLogConfigRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeAuditLogConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAuditLogConfigRequest::~DescribeAuditLogConfigRequest()
|
||||
{}
|
||||
|
||||
long DescribeAuditLogConfigRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAuditLogConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
58
adb/src/model/DescribeAuditLogConfigResult.cc
Normal file
58
adb/src/model/DescribeAuditLogConfigResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeAuditLogConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeAuditLogConfigResult::DescribeAuditLogConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAuditLogConfigResult::DescribeAuditLogConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAuditLogConfigResult::~DescribeAuditLogConfigResult()
|
||||
{}
|
||||
|
||||
void DescribeAuditLogConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AuditLogStatus"].isNull())
|
||||
auditLogStatus_ = value["AuditLogStatus"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigResult::getAuditLogStatus()const
|
||||
{
|
||||
return auditLogStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogConfigResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
227
adb/src/model/DescribeAuditLogRecordsRequest.cc
Normal file
227
adb/src/model/DescribeAuditLogRecordsRequest.cc
Normal file
@@ -0,0 +1,227 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAuditLogRecordsRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAuditLogRecordsRequest;
|
||||
|
||||
DescribeAuditLogRecordsRequest::DescribeAuditLogRecordsRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeAuditLogRecords")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAuditLogRecordsRequest::~DescribeAuditLogRecordsRequest()
|
||||
{}
|
||||
|
||||
long DescribeAuditLogRecordsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int DescribeAuditLogRecordsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getHostAddress()const
|
||||
{
|
||||
return hostAddress_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setHostAddress(const std::string& hostAddress)
|
||||
{
|
||||
hostAddress_ = hostAddress;
|
||||
setParameter("HostAddress", hostAddress);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeAuditLogRecordsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getSqlType()const
|
||||
{
|
||||
return sqlType_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setSqlType(const std::string& sqlType)
|
||||
{
|
||||
sqlType_ = sqlType;
|
||||
setParameter("SqlType", sqlType);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getQueryKeyword()const
|
||||
{
|
||||
return queryKeyword_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setQueryKeyword(const std::string& queryKeyword)
|
||||
{
|
||||
queryKeyword_ = queryKeyword;
|
||||
setParameter("QueryKeyword", queryKeyword);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeAuditLogRecordsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getSucceed()const
|
||||
{
|
||||
return succeed_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setSucceed(const std::string& succeed)
|
||||
{
|
||||
succeed_ = succeed;
|
||||
setParameter("Succeed", succeed);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getUser()const
|
||||
{
|
||||
return user_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setUser(const std::string& user)
|
||||
{
|
||||
user_ = user;
|
||||
setParameter("User", user);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsRequest::getOrderType()const
|
||||
{
|
||||
return orderType_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogRecordsRequest::setOrderType(const std::string& orderType)
|
||||
{
|
||||
orderType_ = orderType;
|
||||
setParameter("OrderType", orderType);
|
||||
}
|
||||
|
||||
101
adb/src/model/DescribeAuditLogRecordsResult.cc
Normal file
101
adb/src/model/DescribeAuditLogRecordsResult.cc
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAuditLogRecordsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeAuditLogRecordsResult::DescribeAuditLogRecordsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAuditLogRecordsResult::DescribeAuditLogRecordsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAuditLogRecordsResult::~DescribeAuditLogRecordsResult()
|
||||
{}
|
||||
|
||||
void DescribeAuditLogRecordsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["SlowLogRecord"];
|
||||
for (auto valueItemsSlowLogRecord : allItemsNode)
|
||||
{
|
||||
SlowLogRecord itemsObject;
|
||||
if(!valueItemsSlowLogRecord["HostAddress"].isNull())
|
||||
itemsObject.hostAddress = valueItemsSlowLogRecord["HostAddress"].asString();
|
||||
if(!valueItemsSlowLogRecord["DBName"].isNull())
|
||||
itemsObject.dBName = valueItemsSlowLogRecord["DBName"].asString();
|
||||
if(!valueItemsSlowLogRecord["SQLText"].isNull())
|
||||
itemsObject.sQLText = valueItemsSlowLogRecord["SQLText"].asString();
|
||||
if(!valueItemsSlowLogRecord["SQLType"].isNull())
|
||||
itemsObject.sQLType = valueItemsSlowLogRecord["SQLType"].asString();
|
||||
if(!valueItemsSlowLogRecord["ConnId"].isNull())
|
||||
itemsObject.connId = valueItemsSlowLogRecord["ConnId"].asString();
|
||||
if(!valueItemsSlowLogRecord["ExecuteTime"].isNull())
|
||||
itemsObject.executeTime = valueItemsSlowLogRecord["ExecuteTime"].asString();
|
||||
if(!valueItemsSlowLogRecord["Succeed"].isNull())
|
||||
itemsObject.succeed = valueItemsSlowLogRecord["Succeed"].asString();
|
||||
if(!valueItemsSlowLogRecord["TotalTime"].isNull())
|
||||
itemsObject.totalTime = valueItemsSlowLogRecord["TotalTime"].asString();
|
||||
if(!valueItemsSlowLogRecord["ProcessID"].isNull())
|
||||
itemsObject.processID = valueItemsSlowLogRecord["ProcessID"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = value["TotalCount"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = value["PageNumber"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = value["PageSize"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogRecordsResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAuditLogRecordsResult::SlowLogRecord> DescribeAuditLogRecordsResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeAutoRenewAttributeRequest::getResourceOwnerId()const
|
||||
void DescribeAutoRenewAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeAutoRenewAttributeRequest::getPageNumber()const
|
||||
@@ -46,7 +46,7 @@ int DescribeAutoRenewAttributeRequest::getPageNumber()const
|
||||
void DescribeAutoRenewAttributeRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,18 @@ std::string DescribeAutoRenewAttributeRequest::getAccessKeyId()const
|
||||
void DescribeAutoRenewAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getRegionId()const
|
||||
@@ -68,7 +79,7 @@ std::string DescribeAutoRenewAttributeRequest::getRegionId()const
|
||||
void DescribeAutoRenewAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeAutoRenewAttributeRequest::getPageSize()const
|
||||
@@ -79,7 +90,7 @@ int DescribeAutoRenewAttributeRequest::getPageSize()const
|
||||
void DescribeAutoRenewAttributeRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +101,7 @@ std::string DescribeAutoRenewAttributeRequest::getResourceOwnerAccount()const
|
||||
void DescribeAutoRenewAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getOwnerAccount()const
|
||||
@@ -101,7 +112,7 @@ std::string DescribeAutoRenewAttributeRequest::getOwnerAccount()const
|
||||
void DescribeAutoRenewAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAutoRenewAttributeRequest::getOwnerId()const
|
||||
@@ -112,7 +123,7 @@ long DescribeAutoRenewAttributeRequest::getOwnerId()const
|
||||
void DescribeAutoRenewAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getDBClusterIds()const
|
||||
@@ -123,6 +134,6 @@ std::string DescribeAutoRenewAttributeRequest::getDBClusterIds()const
|
||||
void DescribeAutoRenewAttributeRequest::setDBClusterIds(const std::string& dBClusterIds)
|
||||
{
|
||||
dBClusterIds_ = dBClusterIds;
|
||||
setCoreParameter("DBClusterIds", dBClusterIds);
|
||||
setParameter("DBClusterIds", dBClusterIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,28 @@ DescribeAvailableResourceRequest::DescribeAvailableResourceRequest() :
|
||||
DescribeAvailableResourceRequest::~DescribeAvailableResourceRequest()
|
||||
{}
|
||||
|
||||
long DescribeAvailableResourceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -35,7 +57,51 @@ std::string DescribeAvailableResourceRequest::getRegionId()const
|
||||
void DescribeAvailableResourceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAvailableResourceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getAcceptLanguage()const
|
||||
{
|
||||
return acceptLanguage_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setAcceptLanguage(const std::string& acceptLanguage)
|
||||
{
|
||||
acceptLanguage_ = acceptLanguage;
|
||||
setParameter("AcceptLanguage", acceptLanguage);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getZoneId()const
|
||||
@@ -46,7 +112,7 @@ std::string DescribeAvailableResourceRequest::getZoneId()const
|
||||
void DescribeAvailableResourceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getChargeType()const
|
||||
@@ -57,6 +123,6 @@ std::string DescribeAvailableResourceRequest::getChargeType()const
|
||||
void DescribeAvailableResourceRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setCoreParameter("ChargeType", chargeType);
|
||||
setParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,34 +45,74 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
AvailableZone availableZoneListObject;
|
||||
if(!valueAvailableZoneListAvailableZone["ZoneId"].isNull())
|
||||
availableZoneListObject.zoneId = valueAvailableZoneListAvailableZone["ZoneId"].asString();
|
||||
auto allSupportedSerialListNode = allAvailableZoneListNode["SupportedSerialList"]["SupportedSerial"];
|
||||
for (auto allAvailableZoneListNodeSupportedSerialListSupportedSerial : allSupportedSerialListNode)
|
||||
auto allSupportedModeNode = allAvailableZoneListNode["SupportedMode"]["SupportedModeItem"];
|
||||
for (auto allAvailableZoneListNodeSupportedModeSupportedModeItem : allSupportedModeNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial supportedSerialListObject;
|
||||
if(!allAvailableZoneListNodeSupportedSerialListSupportedSerial["Serial"].isNull())
|
||||
supportedSerialListObject.serial = allAvailableZoneListNodeSupportedSerialListSupportedSerial["Serial"].asString();
|
||||
auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"];
|
||||
for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
|
||||
AvailableZone::SupportedModeItem supportedModeObject;
|
||||
if(!allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].isNull())
|
||||
supportedModeObject.mode = allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].asString();
|
||||
auto allSupportedSerialListNode = allSupportedModeNode["SupportedSerialList"]["SupportedSerialListItem"];
|
||||
for (auto allSupportedModeNodeSupportedSerialListSupportedSerialListItem : allSupportedSerialListNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial::SupportedInstanceClass supportedInstanceClassListObject;
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
|
||||
supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
|
||||
supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
|
||||
auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"];
|
||||
for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem supportedSerialListObject;
|
||||
if(!allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].isNull())
|
||||
supportedSerialListObject.serial = allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].asString();
|
||||
auto allSupportedFlexibleResourceNode = allSupportedSerialListNode["SupportedFlexibleResource"]["SupportedFlexibleResourceItem"];
|
||||
for (auto allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem : allSupportedFlexibleResourceNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject;
|
||||
if(!allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount["NodeCount"].isNull())
|
||||
supportedNodeCountListObject.nodeCount = allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount["NodeCount"].asString();
|
||||
auto allStorageSize = value["StorageSize"]["StorageSize"];
|
||||
for (auto value : allStorageSize)
|
||||
supportedNodeCountListObject.storageSize.push_back(value.asString());
|
||||
supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject);
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedFlexibleResourceItem supportedFlexibleResourceObject;
|
||||
if(!allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].isNull())
|
||||
supportedFlexibleResourceObject.storageType = allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].asString();
|
||||
auto allSupportedStorageResource = value["SupportedStorageResource"]["SupportedStorageResource"];
|
||||
for (auto value : allSupportedStorageResource)
|
||||
supportedFlexibleResourceObject.supportedStorageResource.push_back(value.asString());
|
||||
auto allSupportedComputeResource = value["SupportedComputeResource"]["SupportedComputeResource"];
|
||||
for (auto value : allSupportedComputeResource)
|
||||
supportedFlexibleResourceObject.supportedComputeResource.push_back(value.asString());
|
||||
supportedSerialListObject.supportedFlexibleResource.push_back(supportedFlexibleResourceObject);
|
||||
}
|
||||
supportedSerialListObject.supportedInstanceClassList.push_back(supportedInstanceClassListObject);
|
||||
auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"];
|
||||
for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
|
||||
{
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass supportedInstanceClassListObject;
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
|
||||
supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
|
||||
supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
|
||||
auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"];
|
||||
for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
|
||||
{
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject;
|
||||
auto nodeCountNode = value["NodeCount"];
|
||||
if(!nodeCountNode["MinCount"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.minCount = nodeCountNode["MinCount"].asString();
|
||||
if(!nodeCountNode["MaxCount"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.maxCount = nodeCountNode["MaxCount"].asString();
|
||||
if(!nodeCountNode["Step"].isNull())
|
||||
supportedNodeCountListObject.nodeCount.step = nodeCountNode["Step"].asString();
|
||||
auto allStorageSize = value["StorageSize"]["StorageSize"];
|
||||
for (auto value : allStorageSize)
|
||||
supportedNodeCountListObject.storageSize.push_back(value.asString());
|
||||
supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject);
|
||||
}
|
||||
auto allSupportedExecutorListNode = allSupportedInstanceClassListNode["SupportedExecutorList"]["SupportedExecutor"];
|
||||
for (auto allSupportedInstanceClassListNodeSupportedExecutorListSupportedExecutor : allSupportedExecutorListNode)
|
||||
{
|
||||
AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedExecutor supportedExecutorListObject;
|
||||
auto nodeCount1Node = value["NodeCount"];
|
||||
if(!nodeCount1Node["MinCount"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.minCount = nodeCount1Node["MinCount"].asString();
|
||||
if(!nodeCount1Node["MaxCount"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.maxCount = nodeCount1Node["MaxCount"].asString();
|
||||
if(!nodeCount1Node["Step"].isNull())
|
||||
supportedExecutorListObject.nodeCount1.step = nodeCount1Node["Step"].asString();
|
||||
supportedInstanceClassListObject.supportedExecutorList.push_back(supportedExecutorListObject);
|
||||
}
|
||||
supportedSerialListObject.supportedInstanceClassList.push_back(supportedInstanceClassListObject);
|
||||
}
|
||||
supportedModeObject.supportedSerialList.push_back(supportedSerialListObject);
|
||||
}
|
||||
availableZoneListObject.supportedSerialList.push_back(supportedSerialListObject);
|
||||
availableZoneListObject.supportedMode.push_back(supportedModeObject);
|
||||
}
|
||||
availableZoneList_.push_back(availableZoneListObject);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeBackupPolicyRequest::getResourceOwnerId()const
|
||||
void DescribeBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeBackupPolicyRequest::getAccessKeyId()const
|
||||
void DescribeBackupPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeBackupPolicyRequest::getResourceOwnerAccount()const
|
||||
void DescribeBackupPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getDBClusterId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeBackupPolicyRequest::getDBClusterId()const
|
||||
void DescribeBackupPolicyRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeBackupPolicyRequest::getOwnerAccount()const
|
||||
void DescribeBackupPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeBackupPolicyRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long DescribeBackupPolicyRequest::getOwnerId()const
|
||||
void DescribeBackupPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeBackupsRequest::getResourceOwnerId()const
|
||||
void DescribeBackupsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getStartTime()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeBackupsRequest::getStartTime()const
|
||||
void DescribeBackupsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int DescribeBackupsRequest::getPageNumber()const
|
||||
@@ -57,7 +57,7 @@ int DescribeBackupsRequest::getPageNumber()const
|
||||
void DescribeBackupsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeBackupsRequest::getAccessKeyId()const
|
||||
void DescribeBackupsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeBackupsRequest::getPageSize()const
|
||||
@@ -79,7 +79,7 @@ int DescribeBackupsRequest::getPageSize()const
|
||||
void DescribeBackupsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeBackupsRequest::getResourceOwnerAccount()const
|
||||
void DescribeBackupsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getDBClusterId()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeBackupsRequest::getDBClusterId()const
|
||||
void DescribeBackupsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getOwnerAccount()const
|
||||
@@ -112,7 +112,7 @@ std::string DescribeBackupsRequest::getOwnerAccount()const
|
||||
void DescribeBackupsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getBackupId()const
|
||||
@@ -123,7 +123,7 @@ std::string DescribeBackupsRequest::getBackupId()const
|
||||
void DescribeBackupsRequest::setBackupId(const std::string& backupId)
|
||||
{
|
||||
backupId_ = backupId;
|
||||
setCoreParameter("BackupId", backupId);
|
||||
setParameter("BackupId", backupId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getEndTime()const
|
||||
@@ -134,7 +134,7 @@ std::string DescribeBackupsRequest::getEndTime()const
|
||||
void DescribeBackupsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeBackupsRequest::getOwnerId()const
|
||||
@@ -145,6 +145,6 @@ long DescribeBackupsRequest::getOwnerId()const
|
||||
void DescribeBackupsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeColumnsRequest::getResourceOwnerId()const
|
||||
void DescribeColumnsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeColumnsRequest::getAccessKeyId()const
|
||||
void DescribeColumnsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getTableName()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeColumnsRequest::getTableName()const
|
||||
void DescribeColumnsRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setCoreParameter("TableName", tableName);
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getSchemaName()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeColumnsRequest::getSchemaName()const
|
||||
void DescribeColumnsRequest::setSchemaName(const std::string& schemaName)
|
||||
{
|
||||
schemaName_ = schemaName;
|
||||
setCoreParameter("SchemaName", schemaName);
|
||||
setParameter("SchemaName", schemaName);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeColumnsRequest::getResourceOwnerAccount()const
|
||||
void DescribeColumnsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getDBClusterId()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeColumnsRequest::getDBClusterId()const
|
||||
void DescribeColumnsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeColumnsRequest::getOwnerAccount()const
|
||||
void DescribeColumnsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeColumnsRequest::getOwnerId()const
|
||||
@@ -112,6 +112,6 @@ long DescribeColumnsRequest::getOwnerId()const
|
||||
void DescribeColumnsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -55,6 +55,8 @@ void DescribeColumnsResult::parse(const std::string &payload)
|
||||
itemsObject.type = valueItemsColumn["Type"].asString();
|
||||
if(!valueItemsColumn["PrimaryKey"].isNull())
|
||||
itemsObject.primaryKey = valueItemsColumn["PrimaryKey"].asString() == "true";
|
||||
if(!valueItemsColumn["AutoIncrementColumn"].isNull())
|
||||
itemsObject.autoIncrementColumn = valueItemsColumn["AutoIncrementColumn"].asString() == "true";
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeDBClusterAccessWhiteListRequest::getResourceOwnerId()const
|
||||
void DescribeDBClusterAccessWhiteListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAccessWhiteListRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeDBClusterAccessWhiteListRequest::getAccessKeyId()const
|
||||
void DescribeDBClusterAccessWhiteListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAccessWhiteListRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeDBClusterAccessWhiteListRequest::getResourceOwnerAccount()co
|
||||
void DescribeDBClusterAccessWhiteListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAccessWhiteListRequest::getDBClusterId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeDBClusterAccessWhiteListRequest::getDBClusterId()const
|
||||
void DescribeDBClusterAccessWhiteListRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAccessWhiteListRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeDBClusterAccessWhiteListRequest::getOwnerAccount()const
|
||||
void DescribeDBClusterAccessWhiteListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterAccessWhiteListRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long DescribeDBClusterAccessWhiteListRequest::getOwnerId()const
|
||||
void DescribeDBClusterAccessWhiteListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeDBClusterAttributeRequest::getResourceOwnerId()const
|
||||
void DescribeDBClusterAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeDBClusterAttributeRequest::getAccessKeyId()const
|
||||
void DescribeDBClusterAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeDBClusterAttributeRequest::getResourceOwnerAccount()const
|
||||
void DescribeDBClusterAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeRequest::getDBClusterId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeDBClusterAttributeRequest::getDBClusterId()const
|
||||
void DescribeDBClusterAttributeRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeDBClusterAttributeRequest::getOwnerAccount()const
|
||||
void DescribeDBClusterAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long DescribeDBClusterAttributeRequest::getOwnerId()const
|
||||
void DescribeDBClusterAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -91,6 +91,26 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
itemsObject.commodityCode = valueItemsDBCluster["CommodityCode"].asString();
|
||||
if(!valueItemsDBCluster["DBClusterNetworkType"].isNull())
|
||||
itemsObject.dBClusterNetworkType = valueItemsDBCluster["DBClusterNetworkType"].asString();
|
||||
if(!valueItemsDBCluster["ConnectionString"].isNull())
|
||||
itemsObject.connectionString = valueItemsDBCluster["ConnectionString"].asString();
|
||||
if(!valueItemsDBCluster["Port"].isNull())
|
||||
itemsObject.port = std::stoi(valueItemsDBCluster["Port"].asString());
|
||||
if(!valueItemsDBCluster["RdsInstanceId"].isNull())
|
||||
itemsObject.rdsInstanceId = valueItemsDBCluster["RdsInstanceId"].asString();
|
||||
if(!valueItemsDBCluster["DtsJobId"].isNull())
|
||||
itemsObject.dtsJobId = valueItemsDBCluster["DtsJobId"].asString();
|
||||
if(!valueItemsDBCluster["ExecutorCount"].isNull())
|
||||
itemsObject.executorCount = valueItemsDBCluster["ExecutorCount"].asString();
|
||||
if(!valueItemsDBCluster["DiskType"].isNull())
|
||||
itemsObject.diskType = valueItemsDBCluster["DiskType"].asString();
|
||||
if(!valueItemsDBCluster["ComputeResource"].isNull())
|
||||
itemsObject.computeResource = valueItemsDBCluster["ComputeResource"].asString();
|
||||
if(!valueItemsDBCluster["StorageResource"].isNull())
|
||||
itemsObject.storageResource = valueItemsDBCluster["StorageResource"].asString();
|
||||
if(!valueItemsDBCluster["Mode"].isNull())
|
||||
itemsObject.mode = valueItemsDBCluster["Mode"].asString();
|
||||
if(!valueItemsDBCluster["ResourceGroupId"].isNull())
|
||||
itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString();
|
||||
auto allTagsNode = allItemsNode["Tags"]["Tag"];
|
||||
for (auto allItemsNodeTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeDBClusterNetInfoRequest::getResourceOwnerId()const
|
||||
void DescribeDBClusterNetInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeDBClusterNetInfoRequest::getAccessKeyId()const
|
||||
void DescribeDBClusterNetInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeDBClusterNetInfoRequest::getResourceOwnerAccount()const
|
||||
void DescribeDBClusterNetInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getDBClusterId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeDBClusterNetInfoRequest::getDBClusterId()const
|
||||
void DescribeDBClusterNetInfoRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeDBClusterNetInfoRequest::getOwnerAccount()const
|
||||
void DescribeDBClusterNetInfoRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterNetInfoRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long DescribeDBClusterNetInfoRequest::getOwnerId()const
|
||||
void DescribeDBClusterNetInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeDBClusterPerformanceRequest::getResourceOwnerId()const
|
||||
void DescribeDBClusterPerformanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getStartTime()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeDBClusterPerformanceRequest::getStartTime()const
|
||||
void DescribeDBClusterPerformanceRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeDBClusterPerformanceRequest::getAccessKeyId()const
|
||||
void DescribeDBClusterPerformanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getKey()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeDBClusterPerformanceRequest::getKey()const
|
||||
void DescribeDBClusterPerformanceRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setCoreParameter("Key", key);
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeDBClusterPerformanceRequest::getResourceOwnerAccount()const
|
||||
void DescribeDBClusterPerformanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getDBClusterId()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeDBClusterPerformanceRequest::getDBClusterId()const
|
||||
void DescribeDBClusterPerformanceRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeDBClusterPerformanceRequest::getOwnerAccount()const
|
||||
void DescribeDBClusterPerformanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getEndTime()const
|
||||
@@ -112,7 +112,7 @@ std::string DescribeDBClusterPerformanceRequest::getEndTime()const
|
||||
void DescribeDBClusterPerformanceRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDBClusterPerformanceRequest::getOwnerId()const
|
||||
@@ -123,6 +123,6 @@ long DescribeDBClusterPerformanceRequest::getOwnerId()const
|
||||
void DescribeDBClusterPerformanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeDBClustersRequest::getResourceOwnerId()const
|
||||
void DescribeDBClustersRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getDBClusterDescription()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeDBClustersRequest::getDBClusterDescription()const
|
||||
void DescribeDBClustersRequest::setDBClusterDescription(const std::string& dBClusterDescription)
|
||||
{
|
||||
dBClusterDescription_ = dBClusterDescription;
|
||||
setCoreParameter("DBClusterDescription", dBClusterDescription);
|
||||
setParameter("DBClusterDescription", dBClusterDescription);
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getDBClusterStatus()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeDBClustersRequest::getDBClusterStatus()const
|
||||
void DescribeDBClustersRequest::setDBClusterStatus(const std::string& dBClusterStatus)
|
||||
{
|
||||
dBClusterStatus_ = dBClusterStatus;
|
||||
setCoreParameter("DBClusterStatus", dBClusterStatus);
|
||||
setParameter("DBClusterStatus", dBClusterStatus);
|
||||
}
|
||||
|
||||
int DescribeDBClustersRequest::getPageNumber()const
|
||||
@@ -68,7 +68,7 @@ int DescribeDBClustersRequest::getPageNumber()const
|
||||
void DescribeDBClustersRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getAccessKeyId()const
|
||||
@@ -79,7 +79,18 @@ std::string DescribeDBClustersRequest::getAccessKeyId()const
|
||||
void DescribeDBClustersRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeDBClustersRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getRegionId()const
|
||||
@@ -90,7 +101,7 @@ std::string DescribeDBClustersRequest::getRegionId()const
|
||||
void DescribeDBClustersRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeDBClustersRequest::getPageSize()const
|
||||
@@ -101,7 +112,7 @@ int DescribeDBClustersRequest::getPageSize()const
|
||||
void DescribeDBClustersRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClustersRequest::Tag> DescribeDBClustersRequest::getTag()const
|
||||
@@ -114,9 +125,9 @@ void DescribeDBClustersRequest::setTag(const std::vector<Tag>& tag)
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,7 +139,7 @@ std::string DescribeDBClustersRequest::getResourceOwnerAccount()const
|
||||
void DescribeDBClustersRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getOwnerAccount()const
|
||||
@@ -139,7 +150,7 @@ std::string DescribeDBClustersRequest::getOwnerAccount()const
|
||||
void DescribeDBClustersRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClustersRequest::getOwnerId()const
|
||||
@@ -150,7 +161,7 @@ long DescribeDBClustersRequest::getOwnerId()const
|
||||
void DescribeDBClustersRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClustersRequest::getDBClusterIds()const
|
||||
@@ -161,6 +172,6 @@ std::string DescribeDBClustersRequest::getDBClusterIds()const
|
||||
void DescribeDBClustersRequest::setDBClusterIds(const std::string& dBClusterIds)
|
||||
{
|
||||
dBClusterIds_ = dBClusterIds;
|
||||
setCoreParameter("DBClusterIds", dBClusterIds);
|
||||
setParameter("DBClusterIds", dBClusterIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -77,6 +77,38 @@ void DescribeDBClustersResult::parse(const std::string &payload)
|
||||
itemsObject.commodityCode = valueItemsDBCluster["CommodityCode"].asString();
|
||||
if(!valueItemsDBCluster["Category"].isNull())
|
||||
itemsObject.category = valueItemsDBCluster["Category"].asString();
|
||||
if(!valueItemsDBCluster["RdsInstanceId"].isNull())
|
||||
itemsObject.rdsInstanceId = valueItemsDBCluster["RdsInstanceId"].asString();
|
||||
if(!valueItemsDBCluster["DtsJobId"].isNull())
|
||||
itemsObject.dtsJobId = valueItemsDBCluster["DtsJobId"].asString();
|
||||
if(!valueItemsDBCluster["ExecutorCount"].isNull())
|
||||
itemsObject.executorCount = valueItemsDBCluster["ExecutorCount"].asString();
|
||||
if(!valueItemsDBCluster["DiskType"].isNull())
|
||||
itemsObject.diskType = valueItemsDBCluster["DiskType"].asString();
|
||||
if(!valueItemsDBCluster["VPCCloudInstanceId"].isNull())
|
||||
itemsObject.vPCCloudInstanceId = valueItemsDBCluster["VPCCloudInstanceId"].asString();
|
||||
if(!valueItemsDBCluster["Engine"].isNull())
|
||||
itemsObject.engine = valueItemsDBCluster["Engine"].asString();
|
||||
if(!valueItemsDBCluster["DBClusterNetworkType"].isNull())
|
||||
itemsObject.dBClusterNetworkType = valueItemsDBCluster["DBClusterNetworkType"].asString();
|
||||
if(!valueItemsDBCluster["VPCId"].isNull())
|
||||
itemsObject.vPCId = valueItemsDBCluster["VPCId"].asString();
|
||||
if(!valueItemsDBCluster["VSwitchId"].isNull())
|
||||
itemsObject.vSwitchId = valueItemsDBCluster["VSwitchId"].asString();
|
||||
if(!valueItemsDBCluster["ZoneId"].isNull())
|
||||
itemsObject.zoneId = valueItemsDBCluster["ZoneId"].asString();
|
||||
if(!valueItemsDBCluster["ConnectionString"].isNull())
|
||||
itemsObject.connectionString = valueItemsDBCluster["ConnectionString"].asString();
|
||||
if(!valueItemsDBCluster["Port"].isNull())
|
||||
itemsObject.port = valueItemsDBCluster["Port"].asString();
|
||||
if(!valueItemsDBCluster["ComputeResource"].isNull())
|
||||
itemsObject.computeResource = valueItemsDBCluster["ComputeResource"].asString();
|
||||
if(!valueItemsDBCluster["StorageResource"].isNull())
|
||||
itemsObject.storageResource = valueItemsDBCluster["StorageResource"].asString();
|
||||
if(!valueItemsDBCluster["Mode"].isNull())
|
||||
itemsObject.mode = valueItemsDBCluster["Mode"].asString();
|
||||
if(!valueItemsDBCluster["ResourceGroupId"].isNull())
|
||||
itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString();
|
||||
auto allTagsNode = allItemsNode["Tags"]["Tag"];
|
||||
for (auto allItemsNodeTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string DescribeInclinedTablesRequest::getTableType()const
|
||||
void DescribeInclinedTablesRequest::setTableType(const std::string& tableType)
|
||||
{
|
||||
tableType_ = tableType;
|
||||
setCoreParameter("TableType", tableType);
|
||||
setParameter("TableType", tableType);
|
||||
}
|
||||
|
||||
long DescribeInclinedTablesRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long DescribeInclinedTablesRequest::getResourceOwnerId()const
|
||||
void DescribeInclinedTablesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeInclinedTablesRequest::getPageNumber()const
|
||||
@@ -57,7 +57,7 @@ int DescribeInclinedTablesRequest::getPageNumber()const
|
||||
void DescribeInclinedTablesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeInclinedTablesRequest::getAccessKeyId()const
|
||||
void DescribeInclinedTablesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeInclinedTablesRequest::getPageSize()const
|
||||
@@ -79,7 +79,7 @@ int DescribeInclinedTablesRequest::getPageSize()const
|
||||
void DescribeInclinedTablesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getOrder()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeInclinedTablesRequest::getOrder()const
|
||||
void DescribeInclinedTablesRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getResourceOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeInclinedTablesRequest::getResourceOwnerAccount()const
|
||||
void DescribeInclinedTablesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getDBClusterId()const
|
||||
@@ -112,7 +112,7 @@ std::string DescribeInclinedTablesRequest::getDBClusterId()const
|
||||
void DescribeInclinedTablesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getOwnerAccount()const
|
||||
@@ -123,7 +123,7 @@ std::string DescribeInclinedTablesRequest::getOwnerAccount()const
|
||||
void DescribeInclinedTablesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeInclinedTablesRequest::getOwnerId()const
|
||||
@@ -134,6 +134,6 @@ long DescribeInclinedTablesRequest::getOwnerId()const
|
||||
void DescribeInclinedTablesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +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/adb/model/DescribeLogStoreKeysRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeLogStoreKeysRequest;
|
||||
|
||||
DescribeLogStoreKeysRequest::DescribeLogStoreKeysRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeLogStoreKeys")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLogStoreKeysRequest::~DescribeLogStoreKeysRequest()
|
||||
{}
|
||||
|
||||
long DescribeLogStoreKeysRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setCoreParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getLogStoreName()const
|
||||
{
|
||||
return logStoreName_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setLogStoreName(const std::string& logStoreName)
|
||||
{
|
||||
logStoreName_ = logStoreName;
|
||||
setCoreParameter("LogStoreName", logStoreName);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeLogStoreKeysRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,52 +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/adb/model/DescribeLogStoreKeysResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeLogStoreKeysResult::DescribeLogStoreKeysResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLogStoreKeysResult::DescribeLogStoreKeysResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLogStoreKeysResult::~DescribeLogStoreKeysResult()
|
||||
{}
|
||||
|
||||
void DescribeLogStoreKeysResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLogStoreKeys = value["LogStoreKeys"]["LogStoreKey"];
|
||||
for (const auto &item : allLogStoreKeys)
|
||||
logStoreKeys_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeLogStoreKeysResult::getLogStoreKeys()const
|
||||
{
|
||||
return logStoreKeys_;
|
||||
}
|
||||
|
||||
@@ -1,117 +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/adb/model/DescribeLoghubDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeLoghubDetailRequest;
|
||||
|
||||
DescribeLoghubDetailRequest::DescribeLoghubDetailRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeLoghubDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLoghubDetailRequest::~DescribeLoghubDetailRequest()
|
||||
{}
|
||||
|
||||
long DescribeLoghubDetailRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setCoreParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeLoghubDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getExportName()const
|
||||
{
|
||||
return exportName_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setExportName(const std::string& exportName)
|
||||
{
|
||||
exportName_ = exportName;
|
||||
setCoreParameter("ExportName", exportName);
|
||||
}
|
||||
|
||||
@@ -1,96 +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/adb/model/DescribeLoghubDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeLoghubDetailResult::DescribeLoghubDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLoghubDetailResult::DescribeLoghubDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLoghubDetailResult::~DescribeLoghubDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeLoghubDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto loghubInfoNode = value["LoghubInfo"];
|
||||
if(!loghubInfoNode["ProjectName"].isNull())
|
||||
loghubInfo_.projectName = loghubInfoNode["ProjectName"].asString();
|
||||
if(!loghubInfoNode["LogStoreName"].isNull())
|
||||
loghubInfo_.logStoreName = loghubInfoNode["LogStoreName"].asString();
|
||||
if(!loghubInfoNode["DeliverName"].isNull())
|
||||
loghubInfo_.deliverName = loghubInfoNode["DeliverName"].asString();
|
||||
if(!loghubInfoNode["DeliverTime"].isNull())
|
||||
loghubInfo_.deliverTime = loghubInfoNode["DeliverTime"].asString();
|
||||
if(!loghubInfoNode["DomainUrl"].isNull())
|
||||
loghubInfo_.domainUrl = loghubInfoNode["DomainUrl"].asString();
|
||||
if(!loghubInfoNode["Description"].isNull())
|
||||
loghubInfo_.description = loghubInfoNode["Description"].asString();
|
||||
if(!loghubInfoNode["SchemaName"].isNull())
|
||||
loghubInfo_.schemaName = loghubInfoNode["SchemaName"].asString();
|
||||
if(!loghubInfoNode["TableName"].isNull())
|
||||
loghubInfo_.tableName = loghubInfoNode["TableName"].asString();
|
||||
if(!loghubInfoNode["RegionId"].isNull())
|
||||
loghubInfo_.regionId = loghubInfoNode["RegionId"].asString();
|
||||
if(!loghubInfoNode["ZoneId"].isNull())
|
||||
loghubInfo_.zoneId = loghubInfoNode["ZoneId"].asString();
|
||||
if(!loghubInfoNode["UserName"].isNull())
|
||||
loghubInfo_.userName = loghubInfoNode["UserName"].asString();
|
||||
if(!loghubInfoNode["Password"].isNull())
|
||||
loghubInfo_.password = loghubInfoNode["Password"].asString();
|
||||
if(!loghubInfoNode["FilterDirtyData"].isNull())
|
||||
loghubInfo_.filterDirtyData = loghubInfoNode["FilterDirtyData"].asString() == "true";
|
||||
if(!loghubInfoNode["AccessKey"].isNull())
|
||||
loghubInfo_.accessKey = loghubInfoNode["AccessKey"].asString();
|
||||
if(!loghubInfoNode["AccessSecret"].isNull())
|
||||
loghubInfo_.accessSecret = loghubInfoNode["AccessSecret"].asString();
|
||||
if(!loghubInfoNode["DBType"].isNull())
|
||||
loghubInfo_.dBType = loghubInfoNode["DBType"].asString();
|
||||
if(!loghubInfoNode["DBClusterId"].isNull())
|
||||
loghubInfo_.dBClusterId = loghubInfoNode["DBClusterId"].asString();
|
||||
auto allLogHubStoresNode = loghubInfoNode["LogHubStores"]["LogHubStore"];
|
||||
for (auto loghubInfoNodeLogHubStoresLogHubStore : allLogHubStoresNode)
|
||||
{
|
||||
LoghubInfo::LogHubStore logHubStoreObject;
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["LogKey"].isNull())
|
||||
logHubStoreObject.logKey = loghubInfoNodeLogHubStoresLogHubStore["LogKey"].asString();
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["FieldKey"].isNull())
|
||||
logHubStoreObject.fieldKey = loghubInfoNodeLogHubStoresLogHubStore["FieldKey"].asString();
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["Type"].isNull())
|
||||
logHubStoreObject.type = loghubInfoNodeLogHubStoresLogHubStore["Type"].asString();
|
||||
loghubInfo_.logHubStores.push_back(logHubStoreObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeLoghubDetailResult::LoghubInfo DescribeLoghubDetailResult::getLoghubInfo()const
|
||||
{
|
||||
return loghubInfo_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeOperatorPermissionRequest::getResourceOwnerId()const
|
||||
void DescribeOperatorPermissionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeOperatorPermissionRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeOperatorPermissionRequest::getAccessKeyId()const
|
||||
void DescribeOperatorPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeOperatorPermissionRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeOperatorPermissionRequest::getResourceOwnerAccount()const
|
||||
void DescribeOperatorPermissionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeOperatorPermissionRequest::getDBClusterId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeOperatorPermissionRequest::getDBClusterId()const
|
||||
void DescribeOperatorPermissionRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeOperatorPermissionRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeOperatorPermissionRequest::getOwnerAccount()const
|
||||
void DescribeOperatorPermissionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeOperatorPermissionRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long DescribeOperatorPermissionRequest::getOwnerId()const
|
||||
void DescribeOperatorPermissionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeProcessListRequest::getResourceOwnerId()const
|
||||
void DescribeProcessListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeProcessListRequest::getPageNumber()const
|
||||
@@ -46,7 +46,7 @@ int DescribeProcessListRequest::getPageNumber()const
|
||||
void DescribeProcessListRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeProcessListRequest::getAccessKeyId()const
|
||||
void DescribeProcessListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeProcessListRequest::getPageSize()const
|
||||
@@ -68,7 +68,7 @@ int DescribeProcessListRequest::getPageSize()const
|
||||
void DescribeProcessListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
bool DescribeProcessListRequest::getShowFull()const
|
||||
@@ -79,7 +79,7 @@ bool DescribeProcessListRequest::getShowFull()const
|
||||
void DescribeProcessListRequest::setShowFull(bool showFull)
|
||||
{
|
||||
showFull_ = showFull;
|
||||
setCoreParameter("ShowFull", showFull ? "true" : "false");
|
||||
setParameter("ShowFull", showFull ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeProcessListRequest::getRunningTime()const
|
||||
@@ -90,7 +90,7 @@ int DescribeProcessListRequest::getRunningTime()const
|
||||
void DescribeProcessListRequest::setRunningTime(int runningTime)
|
||||
{
|
||||
runningTime_ = runningTime;
|
||||
setCoreParameter("RunningTime", std::to_string(runningTime));
|
||||
setParameter("RunningTime", std::to_string(runningTime));
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getKeyword()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeProcessListRequest::getKeyword()const
|
||||
void DescribeProcessListRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
setParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getOrder()const
|
||||
@@ -112,7 +112,7 @@ std::string DescribeProcessListRequest::getOrder()const
|
||||
void DescribeProcessListRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getResourceOwnerAccount()const
|
||||
@@ -123,7 +123,7 @@ std::string DescribeProcessListRequest::getResourceOwnerAccount()const
|
||||
void DescribeProcessListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getDBClusterId()const
|
||||
@@ -134,7 +134,7 @@ std::string DescribeProcessListRequest::getDBClusterId()const
|
||||
void DescribeProcessListRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getOwnerAccount()const
|
||||
@@ -145,7 +145,7 @@ std::string DescribeProcessListRequest::getOwnerAccount()const
|
||||
void DescribeProcessListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeProcessListRequest::getOwnerId()const
|
||||
@@ -156,7 +156,7 @@ long DescribeProcessListRequest::getOwnerId()const
|
||||
void DescribeProcessListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getUser()const
|
||||
@@ -167,6 +167,6 @@ std::string DescribeProcessListRequest::getUser()const
|
||||
void DescribeProcessListRequest::setUser(const std::string& user)
|
||||
{
|
||||
user_ = user;
|
||||
setCoreParameter("User", user);
|
||||
setParameter("User", user);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeRegionsRequest::getResourceOwnerId()const
|
||||
void DescribeRegionsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeRegionsRequest::getAccessKeyId()const
|
||||
void DescribeRegionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeRegionsRequest::getResourceOwnerAccount()const
|
||||
void DescribeRegionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeRegionsRequest::getOwnerAccount()const
|
||||
void DescribeRegionsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeRegionsRequest::getOwnerId()const
|
||||
@@ -79,7 +79,7 @@ long DescribeRegionsRequest::getOwnerId()const
|
||||
void DescribeRegionsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getAcceptLanguage()const
|
||||
@@ -90,6 +90,6 @@ std::string DescribeRegionsRequest::getAcceptLanguage()const
|
||||
void DescribeRegionsRequest::setAcceptLanguage(const std::string& acceptLanguage)
|
||||
{
|
||||
acceptLanguage_ = acceptLanguage;
|
||||
setCoreParameter("AcceptLanguage", acceptLanguage);
|
||||
setParameter("AcceptLanguage", acceptLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeSchemasRequest::getResourceOwnerId()const
|
||||
void DescribeSchemasRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSchemasRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeSchemasRequest::getAccessKeyId()const
|
||||
void DescribeSchemasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSchemasRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeSchemasRequest::getResourceOwnerAccount()const
|
||||
void DescribeSchemasRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSchemasRequest::getDBClusterId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeSchemasRequest::getDBClusterId()const
|
||||
void DescribeSchemasRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeSchemasRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeSchemasRequest::getOwnerAccount()const
|
||||
void DescribeSchemasRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSchemasRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long DescribeSchemasRequest::getOwnerId()const
|
||||
void DescribeSchemasRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeSlowLogRecordsRequest::getResourceOwnerId()const
|
||||
void DescribeSlowLogRecordsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogRecordsRequest::getStartTime()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeSlowLogRecordsRequest::getStartTime()const
|
||||
void DescribeSlowLogRecordsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int DescribeSlowLogRecordsRequest::getPageNumber()const
|
||||
@@ -57,7 +57,7 @@ int DescribeSlowLogRecordsRequest::getPageNumber()const
|
||||
void DescribeSlowLogRecordsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogRecordsRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeSlowLogRecordsRequest::getAccessKeyId()const
|
||||
void DescribeSlowLogRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeSlowLogRecordsRequest::getPageSize()const
|
||||
@@ -79,7 +79,7 @@ int DescribeSlowLogRecordsRequest::getPageSize()const
|
||||
void DescribeSlowLogRecordsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogRecordsRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeSlowLogRecordsRequest::getResourceOwnerAccount()const
|
||||
void DescribeSlowLogRecordsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogRecordsRequest::getDBClusterId()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeSlowLogRecordsRequest::getDBClusterId()const
|
||||
void DescribeSlowLogRecordsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogRecordsRequest::getOwnerAccount()const
|
||||
@@ -112,7 +112,7 @@ std::string DescribeSlowLogRecordsRequest::getOwnerAccount()const
|
||||
void DescribeSlowLogRecordsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogRecordsRequest::getEndTime()const
|
||||
@@ -123,7 +123,7 @@ std::string DescribeSlowLogRecordsRequest::getEndTime()const
|
||||
void DescribeSlowLogRecordsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeSlowLogRecordsRequest::getOwnerId()const
|
||||
@@ -134,7 +134,7 @@ long DescribeSlowLogRecordsRequest::getOwnerId()const
|
||||
void DescribeSlowLogRecordsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogRecordsRequest::getDBName()const
|
||||
@@ -145,6 +145,6 @@ std::string DescribeSlowLogRecordsRequest::getDBName()const
|
||||
void DescribeSlowLogRecordsRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setCoreParameter("DBName", dBName);
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,14 @@ void DescribeSlowLogRecordsResult::parse(const std::string &payload)
|
||||
itemsObject.processID = valueItemsSlowLogRecord["ProcessID"].asString();
|
||||
if(!valueItemsSlowLogRecord["UserName"].isNull())
|
||||
itemsObject.userName = valueItemsSlowLogRecord["UserName"].asString();
|
||||
if(!valueItemsSlowLogRecord["ScanSize"].isNull())
|
||||
itemsObject.scanSize = valueItemsSlowLogRecord["ScanSize"].asString();
|
||||
if(!valueItemsSlowLogRecord["PeakMemoryUsage"].isNull())
|
||||
itemsObject.peakMemoryUsage = valueItemsSlowLogRecord["PeakMemoryUsage"].asString();
|
||||
if(!valueItemsSlowLogRecord["QueueTime"].isNull())
|
||||
itemsObject.queueTime = std::stol(valueItemsSlowLogRecord["QueueTime"].asString());
|
||||
if(!valueItemsSlowLogRecord["State"].isNull())
|
||||
itemsObject.state = valueItemsSlowLogRecord["State"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeSlowLogTrendRequest::getResourceOwnerId()const
|
||||
void DescribeSlowLogTrendRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogTrendRequest::getStartTime()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeSlowLogTrendRequest::getStartTime()const
|
||||
void DescribeSlowLogTrendRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogTrendRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeSlowLogTrendRequest::getAccessKeyId()const
|
||||
void DescribeSlowLogTrendRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogTrendRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeSlowLogTrendRequest::getResourceOwnerAccount()const
|
||||
void DescribeSlowLogTrendRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogTrendRequest::getDBClusterId()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeSlowLogTrendRequest::getDBClusterId()const
|
||||
void DescribeSlowLogTrendRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogTrendRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeSlowLogTrendRequest::getOwnerAccount()const
|
||||
void DescribeSlowLogTrendRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogTrendRequest::getEndTime()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeSlowLogTrendRequest::getEndTime()const
|
||||
void DescribeSlowLogTrendRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeSlowLogTrendRequest::getOwnerId()const
|
||||
@@ -112,7 +112,7 @@ long DescribeSlowLogTrendRequest::getOwnerId()const
|
||||
void DescribeSlowLogTrendRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogTrendRequest::getDBName()const
|
||||
@@ -123,6 +123,6 @@ std::string DescribeSlowLogTrendRequest::getDBName()const
|
||||
void DescribeSlowLogTrendRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setCoreParameter("DBName", dBName);
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeTableDetailRequest::getResourceOwnerId()const
|
||||
void DescribeTableDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeTableDetailRequest::getAccessKeyId()const
|
||||
void DescribeTableDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getTableName()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeTableDetailRequest::getTableName()const
|
||||
void DescribeTableDetailRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setCoreParameter("TableName", tableName);
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getSchemaName()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeTableDetailRequest::getSchemaName()const
|
||||
void DescribeTableDetailRequest::setSchemaName(const std::string& schemaName)
|
||||
{
|
||||
schemaName_ = schemaName;
|
||||
setCoreParameter("SchemaName", schemaName);
|
||||
setParameter("SchemaName", schemaName);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeTableDetailRequest::getResourceOwnerAccount()const
|
||||
void DescribeTableDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getDBClusterId()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeTableDetailRequest::getDBClusterId()const
|
||||
void DescribeTableDetailRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string DescribeTableDetailRequest::getOwnerAccount()const
|
||||
void DescribeTableDetailRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeTableDetailRequest::getOwnerId()const
|
||||
@@ -112,6 +112,6 @@ long DescribeTableDetailRequest::getOwnerId()const
|
||||
void DescribeTableDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
128
adb/src/model/DescribeTablePartitionDiagnoseRequest.cc
Normal file
128
adb/src/model/DescribeTablePartitionDiagnoseRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeTablePartitionDiagnoseRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeTablePartitionDiagnoseRequest;
|
||||
|
||||
DescribeTablePartitionDiagnoseRequest::DescribeTablePartitionDiagnoseRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeTablePartitionDiagnose")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTablePartitionDiagnoseRequest::~DescribeTablePartitionDiagnoseRequest()
|
||||
{}
|
||||
|
||||
long DescribeTablePartitionDiagnoseRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeTablePartitionDiagnoseRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeTablePartitionDiagnoseRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeTablePartitionDiagnoseRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
105
adb/src/model/DescribeTablePartitionDiagnoseResult.cc
Normal file
105
adb/src/model/DescribeTablePartitionDiagnoseResult.cc
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeTablePartitionDiagnoseResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeTablePartitionDiagnoseResult::DescribeTablePartitionDiagnoseResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTablePartitionDiagnoseResult::DescribeTablePartitionDiagnoseResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTablePartitionDiagnoseResult::~DescribeTablePartitionDiagnoseResult()
|
||||
{}
|
||||
|
||||
void DescribeTablePartitionDiagnoseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["TablePartitionDiagnose"];
|
||||
for (auto valueItemsTablePartitionDiagnose : allItemsNode)
|
||||
{
|
||||
TablePartitionDiagnose itemsObject;
|
||||
if(!valueItemsTablePartitionDiagnose["SchemaName"].isNull())
|
||||
itemsObject.schemaName = valueItemsTablePartitionDiagnose["SchemaName"].asString();
|
||||
if(!valueItemsTablePartitionDiagnose["TableName"].isNull())
|
||||
itemsObject.tableName = valueItemsTablePartitionDiagnose["TableName"].asString();
|
||||
if(!valueItemsTablePartitionDiagnose["PartitionNumber"].isNull())
|
||||
itemsObject.partitionNumber = std::stoi(valueItemsTablePartitionDiagnose["PartitionNumber"].asString());
|
||||
if(!valueItemsTablePartitionDiagnose["PartitionDetail"].isNull())
|
||||
itemsObject.partitionDetail = valueItemsTablePartitionDiagnose["PartitionDetail"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = std::stoi(value["DBClusterId"].asString());
|
||||
if(!value["SuggestMinRecordsPerPartition"].isNull())
|
||||
suggestMinRecordsPerPartition_ = std::stol(value["SuggestMinRecordsPerPartition"].asString());
|
||||
if(!value["SuggestMaxRecordsPerPartition"].isNull())
|
||||
suggestMaxRecordsPerPartition_ = std::stol(value["SuggestMaxRecordsPerPartition"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeTablePartitionDiagnoseResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
long DescribeTablePartitionDiagnoseResult::getSuggestMaxRecordsPerPartition()const
|
||||
{
|
||||
return suggestMaxRecordsPerPartition_;
|
||||
}
|
||||
|
||||
std::vector<DescribeTablePartitionDiagnoseResult::TablePartitionDiagnose> DescribeTablePartitionDiagnoseResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
long DescribeTablePartitionDiagnoseResult::getSuggestMinRecordsPerPartition()const
|
||||
{
|
||||
return suggestMinRecordsPerPartition_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ long DescribeTablesRequest::getResourceOwnerId()const
|
||||
void DescribeTablesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeTablesRequest::getAccessKeyId()const
|
||||
void DescribeTablesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getSchemaName()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeTablesRequest::getSchemaName()const
|
||||
void DescribeTablesRequest::setSchemaName(const std::string& schemaName)
|
||||
{
|
||||
schemaName_ = schemaName;
|
||||
setCoreParameter("SchemaName", schemaName);
|
||||
setParameter("SchemaName", schemaName);
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string DescribeTablesRequest::getResourceOwnerAccount()const
|
||||
void DescribeTablesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getDBClusterId()const
|
||||
@@ -79,7 +79,7 @@ std::string DescribeTablesRequest::getDBClusterId()const
|
||||
void DescribeTablesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string DescribeTablesRequest::getOwnerAccount()const
|
||||
void DescribeTablesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeTablesRequest::getOwnerId()const
|
||||
@@ -101,6 +101,6 @@ long DescribeTablesRequest::getOwnerId()const
|
||||
void DescribeTablesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
106
adb/src/model/DescribeTaskInfoRequest.cc
Normal file
106
adb/src/model/DescribeTaskInfoRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeTaskInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeTaskInfoRequest;
|
||||
|
||||
DescribeTaskInfoRequest::DescribeTaskInfoRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeTaskInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTaskInfoRequest::~DescribeTaskInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeTaskInfoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTaskInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeTaskInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTaskInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeTaskInfoRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DescribeTaskInfoRequest::setTaskId(int taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string DescribeTaskInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTaskInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeTaskInfoRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeTaskInfoRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeTaskInfoRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTaskInfoRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeTaskInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeTaskInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
60
adb/src/model/DescribeTaskInfoResult.cc
Normal file
60
adb/src/model/DescribeTaskInfoResult.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeTaskInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeTaskInfoResult::DescribeTaskInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTaskInfoResult::DescribeTaskInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTaskInfoResult::~DescribeTaskInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeTaskInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto taskInfoNode = value["TaskInfo"];
|
||||
if(!taskInfoNode["TaskId"].isNull())
|
||||
taskInfo_.taskId = std::stoi(taskInfoNode["TaskId"].asString());
|
||||
if(!taskInfoNode["BeginTime"].isNull())
|
||||
taskInfo_.beginTime = taskInfoNode["BeginTime"].asString();
|
||||
if(!taskInfoNode["FinishTime"].isNull())
|
||||
taskInfo_.finishTime = taskInfoNode["FinishTime"].asString();
|
||||
if(!taskInfoNode["Progress"].isNull())
|
||||
taskInfo_.progress = taskInfoNode["Progress"].asString();
|
||||
if(!taskInfoNode["Status"].isNull())
|
||||
taskInfo_.status = taskInfoNode["Status"].asString();
|
||||
|
||||
}
|
||||
|
||||
DescribeTaskInfoResult::TaskInfo DescribeTaskInfoResult::getTaskInfo()const
|
||||
{
|
||||
return taskInfo_;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string GrantOperatorPermissionRequest::getPrivileges()const
|
||||
void GrantOperatorPermissionRequest::setPrivileges(const std::string& privileges)
|
||||
{
|
||||
privileges_ = privileges;
|
||||
setCoreParameter("Privileges", privileges);
|
||||
setParameter("Privileges", privileges);
|
||||
}
|
||||
|
||||
long GrantOperatorPermissionRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long GrantOperatorPermissionRequest::getResourceOwnerId()const
|
||||
void GrantOperatorPermissionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GrantOperatorPermissionRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string GrantOperatorPermissionRequest::getAccessKeyId()const
|
||||
void GrantOperatorPermissionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GrantOperatorPermissionRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string GrantOperatorPermissionRequest::getResourceOwnerAccount()const
|
||||
void GrantOperatorPermissionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string GrantOperatorPermissionRequest::getDBClusterId()const
|
||||
@@ -79,7 +79,7 @@ std::string GrantOperatorPermissionRequest::getDBClusterId()const
|
||||
void GrantOperatorPermissionRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string GrantOperatorPermissionRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string GrantOperatorPermissionRequest::getOwnerAccount()const
|
||||
void GrantOperatorPermissionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long GrantOperatorPermissionRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long GrantOperatorPermissionRequest::getOwnerId()const
|
||||
void GrantOperatorPermissionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GrantOperatorPermissionRequest::getExpiredTime()const
|
||||
@@ -112,6 +112,6 @@ std::string GrantOperatorPermissionRequest::getExpiredTime()const
|
||||
void GrantOperatorPermissionRequest::setExpiredTime(const std::string& expiredTime)
|
||||
{
|
||||
expiredTime_ = expiredTime;
|
||||
setCoreParameter("ExpiredTime", expiredTime);
|
||||
setParameter("ExpiredTime", expiredTime);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user