Compare commits

..

63 Commits

Author SHA1 Message Date
haowei.yao
ff2fa8f66f ECS SDK Auto Released By wujin.lhr,Version:1.17.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-14 12:33:06 +08:00
haowei.yao
a6256086a8 LIVE SDK Auto Released By renrang.yl,Version:1.17.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-13 15:38:41 +08:00
haowei.yao
9e756213fa ESS SDK Auto Released By wujin.lhr,Version:1.17.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-13 10:33:41 +08:00
haowei.yao
87f2db5065 SCDN SDK Auto Released By xiaoyao,Version:1.17.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-08 10:47:08 +08:00
haowei.yao
8bc596cc81 JARVIS SDK Auto Released By mainri.mxy,Version:1.17.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-06 17:52:36 +08:00
haowei.yao
dacb1c69b7 JARVIS SDK Auto Released By mainri.mxy,Version:1.17.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-06-06 14:08:02 +08:00
haowei.yao
4c89122ae8 mainri.mxy SDK Auto Released By JARVIS,Version:1.16.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-29 12:59:29 +08:00
haowei.yao
b333d4f03c GREEN SDK Auto Released By Alibaba Cloud,Version:1.15.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-28 19:21:02 +08:00
haowei.yao
b1d844c587 ECS SDK Auto Released By Alibaba Cloud,Version:1.14.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-28 14:50:47 +08:00
haowei.yao
383f1e0cd3 JARVIS SDK Auto Released By Alibaba Cloud,Version:1.13.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-28 13:43:12 +08:00
haowei.yao
6d41511442 由燧木发起的DRDS SDK自动发布, 版本号:1.12.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-23 19:57:18 +08:00
haowei.yao
d3de3f8736 由谦正发起的EHPC SDK自动发布, 版本号:1.11.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-23 12:30:50 +08:00
haowei.yao
02c620b5a5 由峰远发起的DYVMSAPI SDK自动发布, 版本号:1.10.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-23 11:55:37 +08:00
haowei.yao
459c875c7d 由秒本发起的RDS SDK自动发布, 版本号:1.10.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-22 17:28:21 +08:00
haowei.yao
3d5f029c8a 由云金发起的CLOUDAUTH SDK自动发布, 版本号:1.10.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-17 17:56:00 +08:00
haowei.yao
62e3b9762a 由空木发起的PVTZ SDK自动发布, 版本号:1.10.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-17 16:51:56 +08:00
haowei.yao
134bd61cdc 由智久发起的CDN SDK自动发布, 版本号:1.9.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-11 11:31:29 +08:00
haowei.yao
6d9e7147f1 由铁琴发起的DOMAIN SDK自动发布, 版本号:1.9.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-09 12:51:19 +08:00
haowei.yao
d63881daa0 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, 版本号:1.8.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-08 20:33:13 +08:00
haowei.yao
06552e53d8 由武进发起的ESS SDK自动发布, 版本号:1.8.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-08 00:13:36 +08:00
jxyowen
d29cf439dd add readme 2018-05-05 20:41:47 +08:00
jxyowen
4782139aab add readme 2018-05-05 20:40:49 +08:00
jxyowen
07e2b81c13 add readme 2018-05-05 20:37:58 +08:00
haowei.yao
1911aed209 由厚勇发起的ECS SDK自动发布, 版本号:1.8.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-02 15:45:52 +08:00
haowei.yao
af057eb153 由逸雄发起的DCDN SDK自动发布, 版本号:1.7.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-28 16:13:49 +08:00
haowei.yao
76c5ad81b7 由智久发起的DCDN SDK自动发布, 版本号:1.7.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-28 13:53:10 +08:00
haowei.yao
339cf28edd 由鸿逸发起的HSM SDK自动发布, 版本号:1.7.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-27 19:48:27 +08:00
haowei.yao
6ecfd8332a 由洛衡发起的DOMAIN SDK自动发布, 版本号:1.7.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-26 19:31:18 +08:00
haowei.yao
1c441b53f5 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-24 11:21:28 +08:00
haowei.yao
482abf2f25 由柏霜发起的ECS SDK自动发布, 版本号:1.6.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-23 20:36:09 +08:00
haowei.yao
8968d04f56 由武进发起的ESS SDK自动发布, 版本号:1.6.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-23 11:56:04 +08:00
haowei.yao
a28f39fd8c 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-17 14:55:21 +08:00
haowei.yao
ff129e3660 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-11 14:12:59 +08:00
haowei.yao
3ea4f50703 由楚俊发起的ECS SDK自动发布, 版本号:1.6.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-10 17:18:16 +08:00
haowei.yao
7f8b47c92f 由颍川发起的CSB SDK自动发布, 版本号:1.5.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-10 15:07:36 +08:00
haowei.yao
4fa1912a54 由尛宏发起的GREEN SDK自动发布, 版本号:1.5.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-08 16:20:52 +08:00
haowei.yao
c3794202f0 由洛衡发起的DOMAIN SDK自动发布, 版本号:1.4.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-03 14:43:49 +08:00
haowei.yao
442f784284 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, 版本号:1.3.8
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-30 19:17:39 +08:00
haowei.yao
9c389f5683 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.3.7
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-29 22:29:52 +08:00
haowei.yao
a1ba8b4381 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, BUILD_ID=338, 版本号:1.3.6
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 17:49:21 +08:00
haowei.yao
74bebe2a77 由颍川发起的CSB SDK自动发布, BUILD_ID=503, 版本号:1.3.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 12:55:15 +08:00
haowei.yao
d27410f202 由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=502, 版本号:1.3.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 10:29:39 +08:00
haowei.yao
3b1093ffe3 由楚俊发起的ECS SDK自动发布, BUILD_ID=499, 版本号:1.3.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 21:40:22 +08:00
haowei.yao
f2c01c7abe 由楚俊发起的ECS SDK自动发布, BUILD_ID=498, 版本号:1.3.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 21:01:01 +08:00
haowei.yao
e34557650b 由楚俊发起的ECS SDK自动发布, BUILD_ID=335, 版本号:1.3.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 12:40:46 +08:00
haowei.yao
c3ff60fd73 由释一发起的PUSH SDK自动发布, BUILD_ID=490, 版本号:1.3.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 11:38:17 +08:00
haowei.yao
4caef74421 由丰鲁成发起的CLOUDPHOTO SDK自动发布, BUILD_ID=482, 版本号:1.2.16
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-20 18:24:08 +08:00
haowei.yao
0dd42f38c4 由温仰发起的ECS SDK自动发布, BUILD_ID=473, 版本号:1.2.15
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-16 15:46:44 +08:00
fenglc
b61a72e58e Fix build failed 2018-03-16 14:18:15 +08:00
fenglc
b11cedef5e Update 3rdparty/CMakeLists.txt 2018-03-16 12:19:43 +08:00
fenglc
e19f2fa847 add 3rdparty package files 2018-03-15 17:02:50 +08:00
haowei.yao
4a15d5788a 由温仰发起的SLB SDK自动发布, BUILD_ID=467, 版本号:1.2.14
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 16:58:30 +08:00
haowei.yao
85da4ff587 由温仰发起的VPC SDK自动发布, BUILD_ID=466, 版本号:1.2.13
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 15:18:48 +08:00
haowei.yao
7721032f82 由温仰发起的CDN SDK自动发布, BUILD_ID=465, 版本号:1.2.12
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 14:58:26 +08:00
haowei.yao
2d1a1c0e06 由温仰发起的RDS SDK自动发布, BUILD_ID=464, 版本号:1.2.11
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 14:40:06 +08:00
haowei.yao
7bf9e855c8 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, BUILD_ID=329, 版本号:1.2.10
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 11:32:52 +08:00
fenglc
b87f210c4c Fix setEndpoint bug 2018-03-14 17:58:26 +08:00
fenglc
24a354cffd Merge pull request #1 from aliyun/pre-release
merge pre-release into master
2018-03-14 15:48:21 +08:00
fenglc
7be1f34dae Fix build failed on windows 2018-03-14 15:43:03 +08:00
haowei.yao
89523ed659 由丰鲁成发起的CORE SDK自动发布, BUILD_ID=186, 版本号:1.2.9
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-14 14:39:25 +08:00
haowei.yao
6b7af1732d 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, BUILD_ID=325, 版本号:1.2.8
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-13 11:25:52 +08:00
haowei.yao
f725320265 由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=460, 版本号:1.2.7
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-07 17:07:15 +08:00
haowei.yao
728ece9cd1 由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=459, 版本号:1.2.6
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-06 13:58:46 +08:00
3176 changed files with 219256 additions and 34579 deletions

9
.idea/aliyun-openapi-cpp-sdk.iml generated Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

8
.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" filepath="$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

316
.idea/workspace.xml generated Normal file
View File

@@ -0,0 +1,316 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="0b8685e8-e176-4bd1-aecd-39914b115815" name="Default" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileEditorManager">
<leaf>
<file leaf-file-name="README_zh.md" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/README_zh.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="97">
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="139">
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="GradleLocalSettings">
<option name="externalProjectsViewState">
<projects_view />
</option>
<option name="projectSyncType">
<map>
<entry key="$PROJECT_DIR$/../../study/swagger2markup" value="PREVIEW" />
</map>
</option>
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/README_zh.md" />
<option value="$PROJECT_DIR$/README.md" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="ProjectFrameBounds">
<option name="y" value="23" />
<option name="width" value="1440" />
<option name="height" value="828" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1">
<flattenPackages />
<showMembers />
<showModules />
<showLibraryContents />
<hideEmptyPackages />
<abbreviatePackageNames />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType />
<manualOrder />
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="PackagesPane" />
<pane id="Scratches" />
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="aliyun-openapi-cpp-sdk" type="b2602c69:ProjectViewProjectNode" />
<item name="aliyun-openapi-cpp-sdk" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="AndroidView" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="RunManager">
<configuration default="true" type="Applet" factoryName="Applet">
<option name="WIDTH" value="400" />
<option name="HEIGHT" value="300" />
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<module />
</configuration>
<configuration default="true" type="Application" factoryName="Application">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" />
<option name="VM_PARAMETERS" />
<option name="PROGRAM_PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="" />
<envs />
</configuration>
<configuration default="true" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="TEST_OBJECT" value="class" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<envs />
<patterns />
</configuration>
<configuration default="true" type="Remote" factoryName="Remote">
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="false" />
<option name="SHMEM_ADDRESS" value="javadebug" />
<option name="HOST" value="localhost" />
<option name="PORT" value="5005" />
</configuration>
<configuration default="true" type="TestNG" factoryName="TestNG">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="SUITE_NAME" />
<option name="PACKAGE_NAME" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="GROUP_NAME" />
<option name="TEST_OBJECT" value="CLASS" />
<option name="VM_PARAMETERS" value="-ea" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
<option name="OUTPUT_DIRECTORY" />
<option name="ANNOTATION_TYPE" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="singleModule" />
</option>
<option name="USE_DEFAULT_REPORTERS" value="false" />
<option name="PROPERTIES_FILE" />
<envs />
<properties />
<listeners />
</configuration>
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
<module name="" />
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
<option name="PROGRAM_PARAMETERS" />
<predefined_log_file id="idea.log" enabled="true" />
</configuration>
</component>
<component name="ShelveChangesManager" show_recycled="false">
<option name="remove_strategy" value="false" />
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="0b8685e8-e176-4bd1-aecd-39914b115815" name="Default" comment="" />
<created>1525523789426</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1525523789426</updated>
<workItem from="1525523790774" duration="312000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="312000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="23" width="1440" height="828" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3287858" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager />
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/README_zh.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="97">
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="139">
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</component>
<component name="masterDetails">
<states>
<state key="ProjectJDKs.UI">
<settings>
<last-edited>1.6</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>

View File

@@ -16,7 +16,8 @@
if(CMAKE_HOST_WIN32)
ExternalProject_Add(jsoncpp
URL https://github.com/open-source-parsers/jsoncpp/archive/0.10.5.tar.gz
URL ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp-0.10.5.tar.gz
URL_HASH MD5=db146bac5a126ded9bd728ab7b61ed6b
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
-DJSONCPP_WITH_TESTS=OFF
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
@@ -28,7 +29,8 @@ if(CMAKE_HOST_WIN32)
)
ExternalProject_Add(curl
URL https://github.com/curl/curl/releases/download/curl-7_55_1/curl-7.55.1.tar.gz
URL ${CMAKE_CURRENT_SOURCE_DIR}/curl-7.55.1.tar.gz
URL_HASH MD5=3b832160a8c9c40075fd71191960307c
CMAKE_ARGS -DBUILD_CURL_EXE=OFF
-DBUILD_TESTING=OFF
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
@@ -40,10 +42,11 @@ ExternalProject_Add(curl
endif()
ExternalProject_Add(catch
URL https://github.com/catchorg/Catch2/releases/download/v2.0.1/catch.hpp
URL ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp
URL_HASH MD5=9b3d2cb5c0f9532cddfbbfd0a622f0af
DOWNLOAD_NO_EXTRACT 1
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND
${CMAKE_COMMAND} -E copy_if_different <DOWNLOADED_FILE> <INSTALL_DIR>
${CMAKE_COMMAND} -E copy_if_different <DOWNLOADED_FILE> <INSTALL_DIR>/catch.hpp
)

12012
3rdparty/catch-2.0.1.hpp vendored Normal file

File diff suppressed because it is too large Load Diff

BIN
3rdparty/curl-7.55.1.tar.gz vendored Normal file

Binary file not shown.

BIN
3rdparty/jsoncpp-0.10.5.tar.gz vendored Normal file

Binary file not shown.

204
CHANGELOG
View File

@@ -1,3 +1,207 @@
2018-06-14 Version: 1.17.5
1, Add passwordInherit.
2018-06-13 Version: 1.17.4
1, Add API AddCasterEpisodeGroupContent,CreateCaster.
2, Add Parameter fillMode for AddCasterLayout,ModifyCasterLayout.
3, Add return value fillMode DescribeCasterLayouts.
4, Update ErrorCode for StartCaster,StartCasterScene,DescribeCasters,CopyCaster.
5, Update ErrorCode for ModifyCasterLayout,DeleteCasterLayout,DeleteLiveAppRecordConfig.
6, Update ForbidLiveStream,DescribeLiveStreamsPublishList,DescribeLiveStreamsOnlineList.
2018-06-13 Version: 1.17.3
1, Add lifecycleHook.
2018-06-08 Version: 1.17.2
1, Add scdn interfacesupport scdn.
2018-06-06 Version: 1.17.1
1, Change the type of srcUid to int.
2018-06-06 Version: 1.17.0
1, Add interface DescribePhoneInfo, DescribeDdosDefenseInfo, DescribeRiskListDetail, DescribePunishList.
2018-05-29 Version: 1.16.0
1, Add new interface DescribePhoneInfo to SDK.
2018-05-28 Version: 1.15.0
1, Add face 1-N,1-1 scan interface.
2018-05-28 Version: 1.14.0
1, ValidateSecurityGroup API
2018-05-28 Version: 1.13.0
1, This is an example of release-log.
2, Please strictly follow this format to edit in English.
3, FormatNumber + , + Space + Description
2018-05-23 Version: 1.12.0
1, Add CreateDrdsAccount API, to support creating account for all databases of a DRDS instance.
2018-05-23 Version: 1.11.0
1, Update API version to 2018-04-12.
2, New APIs in this new version: StartCluster, StopCluster, RecoverCluster, StartNodes, StopNodes, ListCustomImages. Support stopping a post-paid cluster or partial nodes of a cluster to save cost.
3, New parameters for CreateCluster API: EcsChargeType. Support creating a pre-paid cluster.
4, New parameters for CreateCluster API: DeploymentMode. Support creating a cluster with fewer manager nodes.
2018-05-23 Version: 1.10.3
1, This is an example of release-log.
2, Please strictly follow this format to edit in English.
3, FormatNumber + , + Space + Description
2018-05-22 Version: 1.10.2
1, add DescribeMigrateTasks,DescribeOssDownloads,CheckRecoveryConditions.
2, modify DescribeDBInstanceAttribute.
2018-05-17 Version: 1.10.1
1, Supporting ethnicGroup and idCardStartDate fields in GetMaterials api
2018-05-17 Version: 1.10.0
1, the first version of private dns SDK
2018-05-11 Version: 1.9.1
1, Add Function Compute interface,support Function Compute.
2018-05-09 Version: 1.9.0
1, Add apis for domain broker.
2018-05-08 Version: 1.8.2
1, Add instance params.
2018-05-08 Version: 1.8.1
1, Remove DescribeAccountAttributes.
2018-05-02 Version: 1.8.0
1, Add new interface InstallCloudAssistant, support Cloud Assistant client installation.
2, Add new interface DescribeCloudAssistantStatus, support Cloud Assistant client status detection.
2018-04-28 Version: 1.7.3
1, Add dcdn domain interfaceSupport add、modify、delete、query dcdn domain.
2, Add dcdn config interfaceSupport set、delete、query domain config.
2018-04-28 Version: 1.7.2
1, Add dcdn domain interfaceSupport add、modify、delete、query dcdn domain.
2, Add dcdn config interfaceSupport set、delete、query domain config.
2018-04-27 Version: 1.7.1
1, release hsm open api
2, hsm open api includes DescribeRegions, DescribeInstances, ModityInstance, ConfigNetwork, ConfigWhiteList
2018-04-26 Version: 1.7.0
1, Add apis for domain group.
3, Add fields for QueryDomainList.
2018-04-24 Version: 1.6.5
1, add interface FetchPhotos
2, add xflush log param unixTimestamp
2018-04-23 Version: 1.6.4
1, DescribeInstanceHistoryEvents adds parameter instanceEventTypes and instanceEventCycleStatuss.
2, InstanceId parameter is not necessary for DescribeInstanceHistoryEvents now.
3, DescribeInstancesFullStatus adds parameter instanceEventTypes.
2018-04-23 Version: 1.6.3
1, Add notificationConfiguration.
2, Add standby status.
2018-04-17 Version: 1.6.2
1, EditPhotos add input param TakenAt
2, add FetchMomentPhotos
3, ListAlbums add return param Remark
2018-04-11 Version: 1.6.1
1, GetLibrary/FetchLibraries add return ctime
2, Editphotos add input param takenAt
2018-04-10 Version: 1.6.0
1, Add three interfaces CreateNetworkInterfacePermission DeleteNetworkInterfacePermission DescribeNetworkInterfacePermissions.
2018-04-10 Version: 1.5.1
1, publish Project API.
2, publish Service API.
3, publish Service order API.
4, publish Credential API.
5, publish CAS API.
2018-04-08 Version: 1.5.0
1, Add voice asynchronous scan interface.
2018-04-03 Version: 1.4.0
1, Add APIs for domain transfer in and transfer out.
2, Add APIs for poll and acknowledge domain task.
3, Add API for query domain group list.
2018-03-30 Version: 1.3.8
1, API QueryCustomerSaleInfo arguments update.
2018-03-29 Version: 1.3.7
1, edit FetchLibraries return param format
2018-03-27 Version: 1.3.6
1, Rename QueryCustomerSaleInfo to RegionName.
2018-03-27 Version: 1.3.5
1, publish Project API.
2, publish Service API.
3, publish Service order API.
4, publish Credential API.
5, publish CAS API.
2018-03-27 Version: 1.3.4
1, add interface FetchLibraries
2018-03-23 Version: 1.3.3
1, interface DescribeInstanceTypes output InstancePpsRx InstancePpsTx
2018-03-23 Version: 1.3.2
1, interface DescribeInstanceTypes output InstancePpsRx InstancePpsTx
2018-03-23 Version: 1.3.1
1, ModifyPrepayInstanceSpec support migrateAcrossZone.
2018-03-23 Version: 1.3.0
1, Add 'QueryDevicesByAccount' and 'QueryDevicesByAlias' Api.
2, Remove 'QueryPushDetail' Api.
2018-03-20 Version: 1.2.16
1, add FetchAlbumTagPhotos
2, CreatePhoto add optional param TakenAt
2018-03-16 Version: 1.2.15
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.14
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.13
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.12
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.11
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.10
1, Add QueryCustomerSaleInfo API.
2018-03-14 Version: 1.2.9
1, Support predefine endpoints parse
2018-03-13 Version: 1.2.8
1, API GetQuotaHistoryInfo fix field error.
2018-03-07 Version: 1.2.7
1, add GetAlbumsByNames
2, add ListEvent/CreateEvent/EditEvent/DeleteEvent/GetEvent
3, add return IdStr for string
2018-03-06 Version: 1.2.6
1, add GetAlbumsByNames
2, add ListEvent/CreateEvent/EditEvent/DeleteEvent/GetEvent
3, add return IdStr for string
2018-03-06 Version: 1.2.5
1, add GetAlbumsByNames
2, add ListEvent/CreateEvent/EditEvent/DeleteEvent/GetEvent

View File

@@ -64,4 +64,17 @@ add_subdirectory(aegis)
add_subdirectory(ehpc)
add_subdirectory(cs)
add_subdirectory(ccc)
add_subdirectory(teslamaxcompute)
add_subdirectory(teslamaxcompute)
add_subdirectory(push)
add_subdirectory(csb)
add_subdirectory(domain)
add_subdirectory(green)
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)

199
README.md Normal file → Executable file
View File

@@ -1,118 +1,81 @@
# Alibaba Cloud SDK for C++
欢迎使用阿里云开发者工具套件SDK
适用于阿里云的 C++ SDK 提供了一组现代化的 C++C++ 11 或更高版本)接口,让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。
完成本文档中的操作开始使用 C++ SDK。
## 前提条件
在使用 C++ SDK 前,确保您已经:
* 注册了阿里云账号并获取了访问密钥AccessKey
> **说明:** 为了保证您的账号安全建议您使用RAM账号来访问阿里云服务。阿里云账号对拥有的资源有全部权限。RAM账号由阿里云账号授权创建仅有对特定资源限定的操作权限。详情[参见RAM](https://help.aliyun.com/document_detail/28647.html)。
* 开通了云产品服务。有些云产品如对象存储OSS需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
* 安装支持 C++ 11 或更高版本的编译器:
* Visual Studio 2015 或以上版本
* 或 GCC 4.9 或以上版本
## 从源代码构建 SDK
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
* 使用 Git 命令获取
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
2. 安装 cmake 3.0 或以上版本,进入 SDK 创建生成必要的构建文件
```
cd <path/to/aliyun-openapi-cpp-sdk>
mkdir sdk_build
cd sdk_build
cmake ..
```
### Windows
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 生成解决方案。
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
```
msbuild ALL_BUILD.vcxproj
msbuild INSTALL.vcxproj
```
### Linux
要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
例如:在基于 Redhat / Fedora 的系统上安装这些软件包
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
在安装依赖库后执行以下命令编译并安装:
```
make
sudo make install
```
## 如何使用 C++ SDK
在调用 C++ SDK时您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
```
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv)
{
// 初始化 SDK
AlibabaCloud::InitializeSdk();
// 配置 ecs 实例
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// 创建API请求并设置参数
Model::DescribeInstancesRequest request;
request.setPageSize(10);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess())
{
// 异常处理
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// 关闭 SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
## 许可协议
请参阅 LICENSE 文件Apache 2.0 许可证)。
# Alibaba Cloud C++ Software Development Kit
[中文文档](./README_zh.md)
The Alibaba Cloud C++ Software Development Kit (SDK) allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.
This document introduces how to obtain and call Alibaba Cloud C++ SDK.
If you have any problem while using C++ SDK, please join the **DingTalk group: 11771185 (the official SDK customer service group of Alibaba Cloud)** for consultation.
## Prerequisites
- To use Alibaba Cloud C++ 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).
>**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 Alibaba Cloud C++ 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.
## Install C++ SDK
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
- Run the following commands on the Redhat/Fedora system to install third-party libraries.
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
- Run the following commands on the Debian/Ubuntu system to install third-party libraries.
```
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
```
2. Run the following commands to clone source codes from GitHub.
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
## Use the C++ SDK
Before using C++ SDK, you must first configure the preprocessor to define `ALIBABACLOUD_SHARED` to achieve dynamic linking with Alibaba Cloud C++ SDK shared libraries. Then you must create a client instance, specify the region of cloud services and provide authentication parameters before sending API requests.
The following code shows how to call the [DescribeInstances](~~25506~~) API of ECS to query detailed information of all ECS instances in a specific region.
```
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv)
{
// Initialize the SDK
AlibabaCloud::InitializeSdk();
// Configure the ECS instance
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess())
{
// Handle exceptions
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// Close the SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```

118
README_zh.md Normal file
View File

@@ -0,0 +1,118 @@
# 阿里云开发者C++工具套件
欢迎使用阿里云开发者工具套件SDK
适用于阿里云的 C++ SDK 提供了一组现代化的 C++C++ 11 或更高版本)接口,让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。
完成本文档中的操作开始使用 C++ SDK。
## 前提条件
在使用 C++ SDK 前,确保您已经:
* 注册了阿里云账号并获取了访问密钥AccessKey
> **说明:** 为了保证您的账号安全建议您使用RAM账号来访问阿里云服务。阿里云账号对拥有的资源有全部权限。RAM账号由阿里云账号授权创建仅有对特定资源限定的操作权限。详情[参见RAM](https://help.aliyun.com/document_detail/28647.html)。
* 开通了云产品服务。有些云产品如对象存储OSS需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
* 安装支持 C++ 11 或更高版本的编译器:
* Visual Studio 2015 或以上版本
* 或 GCC 4.9 或以上版本
## 从源代码构建 SDK
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
* 使用 Git 命令获取
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
2. 安装 cmake 3.0 或以上版本,进入 SDK 创建生成必要的构建文件
```
cd <path/to/aliyun-openapi-cpp-sdk>
mkdir sdk_build
cd sdk_build
cmake ..
```
### Windows
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 生成解决方案。
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
```
msbuild ALL_BUILD.vcxproj
msbuild INSTALL.vcxproj
```
### Linux
要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
例如:在基于 Redhat / Fedora 的系统上安装这些软件包
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
在安装依赖库后执行以下命令编译并安装:
```
make
sudo make install
```
## 如何使用 C++ SDK
在调用 C++ SDK时您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
```
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv)
{
// 初始化 SDK
AlibabaCloud::InitializeSdk();
// 配置 ecs 实例
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// 创建API请求并设置参数
Model::DescribeInstancesRequest request;
request.setPageSize(10);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess())
{
// 异常处理
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// 关闭 SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
## 许可协议
请参阅 LICENSE 文件Apache 2.0 许可证)。

View File

@@ -1 +1 @@
1.2.5
1.17.5

View File

@@ -230,7 +230,6 @@ namespace AlibabaCloud
QueryCrackEventOutcomeCallable queryCrackEventCallable(const Model::QueryCrackEventRequest& request) const;
private:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}

View File

@@ -22,46 +22,38 @@ using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Aegis;
using namespace AlibabaCloud::Aegis::Model;
namespace
{
const std::string SERVICE_NAME = "aegis";
}
AegisClient::AegisClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "vipaegis");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "vipaegis");
}
AegisClient::AegisClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(credentialsProvider, configuration)
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "vipaegis");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "vipaegis");
}
AegisClient::AegisClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "vipaegis");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "vipaegis");
}
AegisClient::~AegisClient()
{}
CoreClient::EndpointOutcome AegisClient::endpoint()const
{
if(!configuration().endpoint().empty())
return CoreClient::EndpointOutcome(configuration().endpoint());
auto endpoint = endpointProvider_->getEndpoint();
if (endpoint.empty())
return CoreClient::EndpointOutcome(Error("InvalidEndpoint",""));
else
return CoreClient::EndpointOutcome(endpoint);
}
AegisClient::GetEntityListOutcome AegisClient::getEntityList(const GetEntityListRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetEntityListOutcome(endpointOutcome.error());
@@ -97,7 +89,7 @@ AegisClient::GetEntityListOutcomeCallable AegisClient::getEntityListCallable(con
AegisClient::GetStatisticsByUuidOutcome AegisClient::getStatisticsByUuid(const GetStatisticsByUuidRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStatisticsByUuidOutcome(endpointOutcome.error());
@@ -133,7 +125,7 @@ AegisClient::GetStatisticsByUuidOutcomeCallable AegisClient::getStatisticsByUuid
AegisClient::GetStatisticsOutcome AegisClient::getStatistics(const GetStatisticsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStatisticsOutcome(endpointOutcome.error());
@@ -169,7 +161,7 @@ AegisClient::GetStatisticsOutcomeCallable AegisClient::getStatisticsCallable(con
AegisClient::DescribeVulDetailsOutcome AegisClient::describeVulDetails(const DescribeVulDetailsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVulDetailsOutcome(endpointOutcome.error());
@@ -205,7 +197,7 @@ AegisClient::DescribeVulDetailsOutcomeCallable AegisClient::describeVulDetailsCa
AegisClient::DeleteStrategyOutcome AegisClient::deleteStrategy(const DeleteStrategyRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteStrategyOutcome(endpointOutcome.error());
@@ -241,7 +233,7 @@ AegisClient::DeleteStrategyOutcomeCallable AegisClient::deleteStrategyCallable(c
AegisClient::GetCrackStatisticsOutcome AegisClient::getCrackStatistics(const GetCrackStatisticsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetCrackStatisticsOutcome(endpointOutcome.error());
@@ -277,7 +269,7 @@ AegisClient::GetCrackStatisticsOutcomeCallable AegisClient::getCrackStatisticsCa
AegisClient::DescribeWarningOutcome AegisClient::describeWarning(const DescribeWarningRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeWarningOutcome(endpointOutcome.error());
@@ -313,7 +305,7 @@ AegisClient::DescribeWarningOutcomeCallable AegisClient::describeWarningCallable
AegisClient::ReleaseInstanceOutcome AegisClient::releaseInstance(const ReleaseInstanceRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ReleaseInstanceOutcome(endpointOutcome.error());
@@ -349,7 +341,7 @@ AegisClient::ReleaseInstanceOutcomeCallable AegisClient::releaseInstanceCallable
AegisClient::DescribeSuspiciousEventsOutcome AegisClient::describeSuspiciousEvents(const DescribeSuspiciousEventsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeSuspiciousEventsOutcome(endpointOutcome.error());
@@ -385,7 +377,7 @@ AegisClient::DescribeSuspiciousEventsOutcomeCallable AegisClient::describeSuspic
AegisClient::CreateInstanceOutcome AegisClient::createInstance(const CreateInstanceRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateInstanceOutcome(endpointOutcome.error());
@@ -421,7 +413,7 @@ AegisClient::CreateInstanceOutcomeCallable AegisClient::createInstanceCallable(c
AegisClient::DescribeVulListOutcome AegisClient::describeVulList(const DescribeVulListRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVulListOutcome(endpointOutcome.error());
@@ -457,7 +449,7 @@ AegisClient::DescribeVulListOutcomeCallable AegisClient::describeVulListCallable
AegisClient::UpgradeInstanceOutcome AegisClient::upgradeInstance(const UpgradeInstanceRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpgradeInstanceOutcome(endpointOutcome.error());
@@ -493,7 +485,7 @@ AegisClient::UpgradeInstanceOutcomeCallable AegisClient::upgradeInstanceCallable
AegisClient::RenewInstanceOutcome AegisClient::renewInstance(const RenewInstanceRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RenewInstanceOutcome(endpointOutcome.error());
@@ -529,7 +521,7 @@ AegisClient::RenewInstanceOutcomeCallable AegisClient::renewInstanceCallable(con
AegisClient::DescribeStrategyTargetOutcome AegisClient::describeStrategyTarget(const DescribeStrategyTargetRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeStrategyTargetOutcome(endpointOutcome.error());
@@ -565,7 +557,7 @@ AegisClient::DescribeStrategyTargetOutcomeCallable AegisClient::describeStrategy
AegisClient::QueryLoginEventOutcome AegisClient::queryLoginEvent(const QueryLoginEventRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryLoginEventOutcome(endpointOutcome.error());
@@ -601,7 +593,7 @@ AegisClient::QueryLoginEventOutcomeCallable AegisClient::queryLoginEventCallable
AegisClient::GetAccountStatisticsOutcome AegisClient::getAccountStatistics(const GetAccountStatisticsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAccountStatisticsOutcome(endpointOutcome.error());
@@ -637,7 +629,7 @@ AegisClient::GetAccountStatisticsOutcomeCallable AegisClient::getAccountStatisti
AegisClient::ModifyStrategyOutcome AegisClient::modifyStrategy(const ModifyStrategyRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyStrategyOutcome(endpointOutcome.error());
@@ -673,7 +665,7 @@ AegisClient::ModifyStrategyOutcomeCallable AegisClient::modifyStrategyCallable(c
AegisClient::ModifyStrategyTargetOutcome AegisClient::modifyStrategyTarget(const ModifyStrategyTargetRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyStrategyTargetOutcome(endpointOutcome.error());
@@ -709,7 +701,7 @@ AegisClient::ModifyStrategyTargetOutcomeCallable AegisClient::modifyStrategyTarg
AegisClient::ModifyBatchIgnoreVulOutcome AegisClient::modifyBatchIgnoreVul(const ModifyBatchIgnoreVulRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyBatchIgnoreVulOutcome(endpointOutcome.error());
@@ -745,7 +737,7 @@ AegisClient::ModifyBatchIgnoreVulOutcomeCallable AegisClient::modifyBatchIgnoreV
AegisClient::DescribeWebshellOutcome AegisClient::describeWebshell(const DescribeWebshellRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeWebshellOutcome(endpointOutcome.error());
@@ -781,7 +773,7 @@ AegisClient::DescribeWebshellOutcomeCallable AegisClient::describeWebshellCallab
AegisClient::DescribeStratetyDetailOutcome AegisClient::describeStratetyDetail(const DescribeStratetyDetailRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeStratetyDetailOutcome(endpointOutcome.error());
@@ -817,7 +809,7 @@ AegisClient::DescribeStratetyDetailOutcomeCallable AegisClient::describeStratety
AegisClient::DescribeStratetyOutcome AegisClient::describeStratety(const DescribeStratetyRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeStratetyOutcome(endpointOutcome.error());
@@ -853,7 +845,7 @@ AegisClient::DescribeStratetyOutcomeCallable AegisClient::describeStratetyCallab
AegisClient::DescribeLoginLogsOutcome AegisClient::describeLoginLogs(const DescribeLoginLogsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeLoginLogsOutcome(endpointOutcome.error());
@@ -889,7 +881,7 @@ AegisClient::DescribeLoginLogsOutcomeCallable AegisClient::describeLoginLogsCall
AegisClient::QueryCrackEventOutcome AegisClient::queryCrackEvent(const QueryCrackEventRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryCrackEventOutcome(endpointOutcome.error());

View File

@@ -134,7 +134,6 @@ namespace AlibabaCloud
AnalyzeNvcOutcomeCallable analyzeNvcCallable(const Model::AnalyzeNvcRequest& request) const;
private:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}

View File

@@ -22,46 +22,38 @@ using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Afs;
using namespace AlibabaCloud::Afs::Model;
namespace
{
const std::string SERVICE_NAME = "afs";
}
AfsClient::AfsClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AfsClient::AfsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(credentialsProvider, configuration)
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AfsClient::AfsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AfsClient::~AfsClient()
{}
CoreClient::EndpointOutcome AfsClient::endpoint()const
{
if(!configuration().endpoint().empty())
return CoreClient::EndpointOutcome(configuration().endpoint());
auto endpoint = endpointProvider_->getEndpoint();
if (endpoint.empty())
return CoreClient::EndpointOutcome(Error("InvalidEndpoint",""));
else
return CoreClient::EndpointOutcome(endpoint);
}
AfsClient::DescribeEarlyWarningOutcome AfsClient::describeEarlyWarning(const DescribeEarlyWarningRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeEarlyWarningOutcome(endpointOutcome.error());
@@ -94,10 +86,10 @@ AfsClient::DescribeEarlyWarningOutcomeCallable AfsClient::describeEarlyWarningCa
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::SetEarlyWarningOutcome AfsClient::setEarlyWarning(const SetEarlyWarningRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetEarlyWarningOutcome(endpointOutcome.error());
@@ -130,10 +122,10 @@ AfsClient::SetEarlyWarningOutcomeCallable AfsClient::setEarlyWarningCallable(con
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaIpCityOutcome AfsClient::describeCaptchaIpCity(const DescribeCaptchaIpCityRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaIpCityOutcome(endpointOutcome.error());
@@ -166,10 +158,10 @@ AfsClient::DescribeCaptchaIpCityOutcomeCallable AfsClient::describeCaptchaIpCity
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::ConfigurationStyleOutcome AfsClient::configurationStyle(const ConfigurationStyleRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ConfigurationStyleOutcome(endpointOutcome.error());
@@ -202,10 +194,10 @@ AfsClient::ConfigurationStyleOutcomeCallable AfsClient::configurationStyleCallab
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaMinOutcome AfsClient::describeCaptchaMin(const DescribeCaptchaMinRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaMinOutcome(endpointOutcome.error());
@@ -238,10 +230,10 @@ AfsClient::DescribeCaptchaMinOutcomeCallable AfsClient::describeCaptchaMinCallab
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaRiskOutcome AfsClient::describeCaptchaRisk(const DescribeCaptchaRiskRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaRiskOutcome(endpointOutcome.error());
@@ -274,10 +266,10 @@ AfsClient::DescribeCaptchaRiskOutcomeCallable AfsClient::describeCaptchaRiskCall
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::AuthenticateSigOutcome AfsClient::authenticateSig(const AuthenticateSigRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AuthenticateSigOutcome(endpointOutcome.error());
@@ -310,10 +302,10 @@ AfsClient::AuthenticateSigOutcomeCallable AfsClient::authenticateSigCallable(con
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeConfigNameOutcome AfsClient::describeConfigName(const DescribeConfigNameRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeConfigNameOutcome(endpointOutcome.error());
@@ -346,10 +338,10 @@ AfsClient::DescribeConfigNameOutcomeCallable AfsClient::describeConfigNameCallab
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaDayOutcome AfsClient::describeCaptchaDay(const DescribeCaptchaDayRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaDayOutcome(endpointOutcome.error());
@@ -382,10 +374,10 @@ AfsClient::DescribeCaptchaDayOutcomeCallable AfsClient::describeCaptchaDayCallab
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribePersonMachineListOutcome AfsClient::describePersonMachineList(const DescribePersonMachineListRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribePersonMachineListOutcome(endpointOutcome.error());
@@ -418,10 +410,10 @@ AfsClient::DescribePersonMachineListOutcomeCallable AfsClient::describePersonMac
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::CreateConfigurationOutcome AfsClient::createConfiguration(const CreateConfigurationRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateConfigurationOutcome(endpointOutcome.error());
@@ -454,10 +446,10 @@ AfsClient::CreateConfigurationOutcomeCallable AfsClient::createConfigurationCall
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::AnalyzeNvcOutcome AfsClient::analyzeNvc(const AnalyzeNvcRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AnalyzeNvcOutcome(endpointOutcome.error());
@@ -490,4 +482,4 @@ AfsClient::AnalyzeNvcOutcomeCallable AfsClient::analyzeNvcCallable(const Analyze
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -198,7 +198,6 @@ namespace AlibabaCloud
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
private:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}

View File

@@ -22,46 +22,38 @@ using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
namespace
{
const std::string SERVICE_NAME = "CCC";
}
CCCClient::CCCClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
}
CCCClient::CCCClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(credentialsProvider, configuration)
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
}
CCCClient::CCCClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
}
CCCClient::~CCCClient()
{}
CoreClient::EndpointOutcome CCCClient::endpoint()const
{
if(!configuration().endpoint().empty())
return CoreClient::EndpointOutcome(configuration().endpoint());
auto endpoint = endpointProvider_->getEndpoint();
if (endpoint.empty())
return CoreClient::EndpointOutcome(Error("InvalidEndpoint",""));
else
return CoreClient::EndpointOutcome(endpoint);
}
CCCClient::ListRecordingsByContactIdOutcome CCCClient::listRecordingsByContactId(const ListRecordingsByContactIdRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListRecordingsByContactIdOutcome(endpointOutcome.error());
@@ -94,10 +86,10 @@ CCCClient::ListRecordingsByContactIdOutcomeCallable CCCClient::listRecordingsByC
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListUsersOfSkillGroupOutcome CCCClient::listUsersOfSkillGroup(const ListUsersOfSkillGroupRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListUsersOfSkillGroupOutcome(endpointOutcome.error());
@@ -130,10 +122,10 @@ CCCClient::ListUsersOfSkillGroupOutcomeCallable CCCClient::listUsersOfSkillGroup
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::DeleteSkillGroupOutcome CCCClient::deleteSkillGroup(const DeleteSkillGroupRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteSkillGroupOutcome(endpointOutcome.error());
@@ -166,10 +158,10 @@ CCCClient::DeleteSkillGroupOutcomeCallable CCCClient::deleteSkillGroupCallable(c
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ModifyPhoneNumberOutcome CCCClient::modifyPhoneNumber(const ModifyPhoneNumberRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyPhoneNumberOutcome(endpointOutcome.error());
@@ -202,10 +194,10 @@ CCCClient::ModifyPhoneNumberOutcomeCallable CCCClient::modifyPhoneNumberCallable
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListUsersOutcome CCCClient::listUsers(const ListUsersRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListUsersOutcome(endpointOutcome.error());
@@ -238,10 +230,10 @@ CCCClient::ListUsersOutcomeCallable CCCClient::listUsersCallable(const ListUsers
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListSkillGroupsOutcome CCCClient::listSkillGroups(const ListSkillGroupsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListSkillGroupsOutcome(endpointOutcome.error());
@@ -274,10 +266,10 @@ CCCClient::ListSkillGroupsOutcomeCallable CCCClient::listSkillGroupsCallable(con
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListSkillGroupsOfUserOutcome CCCClient::listSkillGroupsOfUser(const ListSkillGroupsOfUserRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListSkillGroupsOfUserOutcome(endpointOutcome.error());
@@ -310,10 +302,10 @@ CCCClient::ListSkillGroupsOfUserOutcomeCallable CCCClient::listSkillGroupsOfUser
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::RemovePhoneNumberOutcome CCCClient::removePhoneNumber(const RemovePhoneNumberRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RemovePhoneNumberOutcome(endpointOutcome.error());
@@ -346,10 +338,10 @@ CCCClient::RemovePhoneNumberOutcomeCallable CCCClient::removePhoneNumberCallable
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListCallDetailRecordsOutcome CCCClient::listCallDetailRecords(const ListCallDetailRecordsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListCallDetailRecordsOutcome(endpointOutcome.error());
@@ -382,10 +374,10 @@ CCCClient::ListCallDetailRecordsOutcomeCallable CCCClient::listCallDetailRecords
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::AddPhoneNumberOutcome CCCClient::addPhoneNumber(const AddPhoneNumberRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddPhoneNumberOutcome(endpointOutcome.error());
@@ -418,10 +410,10 @@ CCCClient::AddPhoneNumberOutcomeCallable CCCClient::addPhoneNumberCallable(const
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListRecordingsOutcome CCCClient::listRecordings(const ListRecordingsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListRecordingsOutcome(endpointOutcome.error());
@@ -454,10 +446,10 @@ CCCClient::ListRecordingsOutcomeCallable CCCClient::listRecordingsCallable(const
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::GetConfigOutcome CCCClient::getConfig(const GetConfigRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetConfigOutcome(endpointOutcome.error());
@@ -490,10 +482,10 @@ CCCClient::GetConfigOutcomeCallable CCCClient::getConfigCallable(const GetConfig
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::DownloadRecordingOutcome CCCClient::downloadRecording(const DownloadRecordingRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DownloadRecordingOutcome(endpointOutcome.error());
@@ -526,10 +518,10 @@ CCCClient::DownloadRecordingOutcomeCallable CCCClient::downloadRecordingCallable
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListPhoneNumbersOutcome CCCClient::listPhoneNumbers(const ListPhoneNumbersRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListPhoneNumbersOutcome(endpointOutcome.error());
@@ -562,10 +554,10 @@ CCCClient::ListPhoneNumbersOutcomeCallable CCCClient::listPhoneNumbersCallable(c
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::RefreshTokenOutcome CCCClient::refreshToken(const RefreshTokenRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RefreshTokenOutcome(endpointOutcome.error());
@@ -598,10 +590,10 @@ CCCClient::RefreshTokenOutcomeCallable CCCClient::refreshTokenCallable(const Ref
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::RequestLoginInfoOutcome CCCClient::requestLoginInfo(const RequestLoginInfoRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RequestLoginInfoOutcome(endpointOutcome.error());
@@ -634,10 +626,10 @@ CCCClient::RequestLoginInfoOutcomeCallable CCCClient::requestLoginInfoCallable(c
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::GetServiceExtensionsOutcome CCCClient::getServiceExtensions(const GetServiceExtensionsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetServiceExtensionsOutcome(endpointOutcome.error());
@@ -670,10 +662,10 @@ CCCClient::GetServiceExtensionsOutcomeCallable CCCClient::getServiceExtensionsCa
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListContactFlowsOutcome CCCClient::listContactFlows(const ListContactFlowsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListContactFlowsOutcome(endpointOutcome.error());
@@ -706,10 +698,10 @@ CCCClient::ListContactFlowsOutcomeCallable CCCClient::listContactFlowsCallable(c
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListRolesOutcome CCCClient::listRoles(const ListRolesRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListRolesOutcome(endpointOutcome.error());
@@ -742,10 +734,10 @@ CCCClient::ListRolesOutcomeCallable CCCClient::listRolesCallable(const ListRoles
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::GetUserOutcome CCCClient::getUser(const GetUserRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetUserOutcome(endpointOutcome.error());
@@ -778,4 +770,4 @@ CCCClient::GetUserOutcomeCallable CCCClient::getUserCallable(const GetUserReques
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -25,10 +25,14 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/SetPathCacheExpiredConfigResult.h
include/alibabacloud/cdn/model/DescribeCdnServiceRequest.h
include/alibabacloud/cdn/model/DescribeCdnServiceResult.h
include/alibabacloud/cdn/model/AddFCTriggerRequest.h
include/alibabacloud/cdn/model/AddFCTriggerResult.h
include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h
include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h
include/alibabacloud/cdn/model/ModifyUserCustomLogConfigRequest.h
include/alibabacloud/cdn/model/ModifyUserCustomLogConfigResult.h
include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h
include/alibabacloud/cdn/model/DescribeCdnDomainConfigsResult.h
include/alibabacloud/cdn/model/SetWafConfigRequest.h
include/alibabacloud/cdn/model/SetWafConfigResult.h
include/alibabacloud/cdn/model/DescribeCdnDomainDetailRequest.h
@@ -217,6 +221,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h
include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h
include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h
include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h
include/alibabacloud/cdn/model/DeleteFCTriggerResult.h
include/alibabacloud/cdn/model/DescribeRefreshQuotaRequest.h
include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h
include/alibabacloud/cdn/model/SetForwardSchemeConfigRequest.h
@@ -237,6 +243,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeUserConfigsResult.h
include/alibabacloud/cdn/model/DescribeLiveStreamStreamStatusRequest.h
include/alibabacloud/cdn/model/DescribeLiveStreamStreamStatusResult.h
include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h
include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesRequest.h
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h
include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h
@@ -299,6 +307,10 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeDomainRealTimeDataResult.h
include/alibabacloud/cdn/model/ResumeLiveStreamRequest.h
include/alibabacloud/cdn/model/ResumeLiveStreamResult.h
include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h
include/alibabacloud/cdn/model/UpdateFCTriggerResult.h
include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h
include/alibabacloud/cdn/model/DescribeFCTriggerResult.h
include/alibabacloud/cdn/model/SetUserBlackListRequest.h
include/alibabacloud/cdn/model/SetUserBlackListResult.h
include/alibabacloud/cdn/model/GetUserDomainBlackListRequest.h
@@ -364,10 +376,14 @@ set(cdn_src
src/model/SetPathCacheExpiredConfigResult.cc
src/model/DescribeCdnServiceRequest.cc
src/model/DescribeCdnServiceResult.cc
src/model/AddFCTriggerRequest.cc
src/model/AddFCTriggerResult.cc
src/model/CreateLiveStreamRecordIndexFilesRequest.cc
src/model/CreateLiveStreamRecordIndexFilesResult.cc
src/model/ModifyUserCustomLogConfigRequest.cc
src/model/ModifyUserCustomLogConfigResult.cc
src/model/DescribeCdnDomainConfigsRequest.cc
src/model/DescribeCdnDomainConfigsResult.cc
src/model/SetWafConfigRequest.cc
src/model/SetWafConfigResult.cc
src/model/DescribeCdnDomainDetailRequest.cc
@@ -556,6 +572,8 @@ set(cdn_src
src/model/DescribeLiveSnapshotConfigResult.cc
src/model/DescribeRefreshTasksRequest.cc
src/model/DescribeRefreshTasksResult.cc
src/model/DeleteFCTriggerRequest.cc
src/model/DeleteFCTriggerResult.cc
src/model/DescribeRefreshQuotaRequest.cc
src/model/DescribeRefreshQuotaResult.cc
src/model/SetForwardSchemeConfigRequest.cc
@@ -576,6 +594,8 @@ set(cdn_src
src/model/DescribeUserConfigsResult.cc
src/model/DescribeLiveStreamStreamStatusRequest.cc
src/model/DescribeLiveStreamStreamStatusResult.cc
src/model/DescribeDomainCertificateInfoRequest.cc
src/model/DescribeDomainCertificateInfoResult.cc
src/model/DescribeLiveStreamRecordIndexFilesRequest.cc
src/model/DescribeLiveStreamRecordIndexFilesResult.cc
src/model/ModifyCdnDomainRequest.cc
@@ -638,6 +658,10 @@ set(cdn_src
src/model/DescribeDomainRealTimeDataResult.cc
src/model/ResumeLiveStreamRequest.cc
src/model/ResumeLiveStreamResult.cc
src/model/UpdateFCTriggerRequest.cc
src/model/UpdateFCTriggerResult.cc
src/model/DescribeFCTriggerRequest.cc
src/model/DescribeFCTriggerResult.cc
src/model/SetUserBlackListRequest.cc
src/model/SetUserBlackListResult.cc
src/model/GetUserDomainBlackListRequest.cc

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,123 @@
/*
* 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_CDN_MODEL_ADDFCTRIGGERREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT AddFCTriggerRequest : public RpcServiceRequest
{
public:
AddFCTriggerRequest();
~AddFCTriggerRequest();
std::string getNotes()const;
void setNotes(const std::string& notes);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
std::string getEventMetaVersion()const;
void setEventMetaVersion(const std::string& eventMetaVersion);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getTriggerARN()const;
void setTriggerARN(const std::string& triggerARN);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getSourceARN()const;
void setSourceARN(const std::string& sourceARN);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRoleARN()const;
void setRoleARN(const std::string& roleARN);
std::string getEventMetaName()const;
void setEventMetaName(const std::string& eventMetaName);
private:
std::string notes_;
long callerParentId_;
std::string eventMetaVersion_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string triggerARN_;
std::string app_ip_;
std::string product_;
std::string sourceARN_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string roleARN_;
std::string eventMetaName_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_ADDFCTRIGGERREQUEST_H_

View File

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

View File

@@ -32,31 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT BatchDescribeDomainBpsDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string domainName;
float l1Bps;
float l1InnerBps;
float l1OutBps;
std::string timestamp;
};
struct DataModule
{
std::string domainName;
float l1Bps;
float l1InnerBps;
float l1OutBps;
std::string timestamp;
};
BatchDescribeDomainBpsDataResult();
explicit BatchDescribeDomainBpsDataResult(const std::string &payload);
~BatchDescribeDomainBpsDataResult();
int getTotalCount()const;
std::vector<DataModule> getBpsDatas()const;
int getPageSize()const;
int getPageNumber()const;
int getTotalCount()const;
std::vector<DataModule> getBpsDatas()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<DataModule> bpsDatas_;
int pageSize_;
int pageNumber_;
int totalCount_;
std::vector<DataModule> bpsDatas_;
int pageSize_;
int pageNumber_;
};
}

View File

@@ -32,26 +32,26 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT CreateLiveStreamRecordIndexFilesResult : public ServiceResult
{
public:
struct RecordInfo
{
std::string recordUrl;
std::string createTime;
float duration;
int height;
std::string recordId;
int width;
};
struct RecordInfo
{
std::string recordUrl;
std::string createTime;
float duration;
int height;
std::string recordId;
int width;
};
CreateLiveStreamRecordIndexFilesResult();
explicit CreateLiveStreamRecordIndexFilesResult(const std::string &payload);
~CreateLiveStreamRecordIndexFilesResult();
std::vector<RecordInfo> getRecordInfo()const;
RecordInfo getRecordInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RecordInfo> recordInfo_;
RecordInfo recordInfo_;
};
}

View File

@@ -0,0 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DeleteFCTriggerRequest : public RpcServiceRequest
{
public:
DeleteFCTriggerRequest();
~DeleteFCTriggerRequest();
std::string getTriggerARN()const;
void setTriggerARN(const std::string& triggerARN);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string triggerARN_;
std::string app_ip_;
std::string product_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
long ownerId_;
std::string proxy_original_source_ip_;
std::string version_;
std::string ownerIdLoginEmail_;
std::string callerType_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
std::string accessKeyId_;
bool security_transport_;
std::string securityToken_;
std::string requestId_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERREQUEST_H_

View File

@@ -14,29 +14,29 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCERESULT_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Rds
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT RenewDBInstanceResult : public ServiceResult
class ALIBABACLOUD_CDN_EXPORT DeleteFCTriggerResult : public ServiceResult
{
public:
RenewDBInstanceResult();
explicit RenewDBInstanceResult(const std::string &payload);
~RenewDBInstanceResult();
DeleteFCTriggerResult();
explicit DeleteFCTriggerResult(const std::string &payload);
~DeleteFCTriggerResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCERESULT_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEFCTRIGGERRESULT_H_

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainBaseDetailResult : public ServiceResult
{
public:
struct DomainBaseDetailModel
{
std::string domainName;
std::string sourceType;
std::string gmtModified;
std::string region;
std::string cdnType;
std::string gmtCreated;
std::string cname;
std::vector<std::string> sources;
std::string domainStatus;
std::string remark;
};
struct DomainBaseDetailModel
{
std::string domainName;
std::string sourceType;
std::string gmtModified;
std::string region;
std::string cdnType;
std::string gmtCreated;
std::string cname;
std::vector<std::string> sources;
std::string domainStatus;
std::string remark;
};
DescribeCdnDomainBaseDetailResult();
explicit DescribeCdnDomainBaseDetailResult(const std::string &payload);
~DescribeCdnDomainBaseDetailResult();
std::vector<DomainBaseDetailModel> getDomainBaseDetailModel()const;
DomainBaseDetailModel getDomainBaseDetailModel()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainBaseDetailModel> domainBaseDetailModel_;
DomainBaseDetailModel domainBaseDetailModel_;
};
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainConfigsRequest : public RpcServiceRequest
{
public:
DescribeCdnDomainConfigsRequest();
~DescribeCdnDomainConfigsRequest();
std::string getFunctionNames()const;
void setFunctionNames(const std::string& functionNames);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string functionNames_;
std::string securityToken_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainConfigsResult : public ServiceResult
{
public:
struct DomainConfig
{
struct FunctionArg
{
std::string argValue;
std::string argName;
};
std::string status;
std::string functionName;
std::vector<DomainConfig::FunctionArg> functionArgs;
std::string configId;
};
DescribeCdnDomainConfigsResult();
explicit DescribeCdnDomainConfigsResult(const std::string &payload);
~DescribeCdnDomainConfigsResult();
std::vector<DomainConfig> getDomainConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainConfig> domainConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINCONFIGSRESULT_H_

View File

@@ -32,46 +32,46 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainDetailResult : public ServiceResult
{
public:
struct GetDomainDetailModel
{
struct SourceModel
{
std::string type;
std::string content;
std::string priority;
int port;
std::string enabled;
};
std::vector<SourceModel> sourceModels;
std::string description;
std::string resourceGroupId;
std::string domainName;
std::string sourceType;
std::string gmtModified;
std::string gmtCreated;
int sourcePort;
std::string cname;
std::string serverCertificateStatus;
std::vector<std::string> sources;
std::string httpsCname;
std::string serverCertificate;
std::string scope;
std::string region;
std::string cdnType;
std::string certificateName;
std::string domainStatus;
};
struct GetDomainDetailModel
{
struct SourceModel
{
std::string type;
std::string content;
std::string priority;
int port;
std::string enabled;
};
std::vector<SourceModel> sourceModels;
std::string description;
std::string resourceGroupId;
std::string domainName;
std::string sourceType;
std::string gmtModified;
std::string gmtCreated;
int sourcePort;
std::string cname;
std::string serverCertificateStatus;
std::vector<std::string> sources;
std::string httpsCname;
std::string serverCertificate;
std::string scope;
std::string region;
std::string cdnType;
std::string certificateName;
std::string domainStatus;
};
DescribeCdnDomainDetailResult();
explicit DescribeCdnDomainDetailResult(const std::string &payload);
~DescribeCdnDomainDetailResult();
std::vector<GetDomainDetailModel> getGetDomainDetailModel()const;
GetDomainDetailModel getGetDomainDetailModel()const;
protected:
void parse(const std::string &payload);
private:
std::vector<GetDomainDetailModel> getDomainDetailModel_;
GetDomainDetailModel getDomainDetailModel_;
};
}

View File

@@ -32,36 +32,36 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainLogsResult : public ServiceResult
{
public:
struct DomainLogModel
{
struct DomainLogDetail
{
long logSize;
std::string endTime;
std::string startTime;
std::string logName;
std::string logPath;
};
std::string domainName;
std::vector<DomainLogDetail> domainLogDetails;
};
struct DomainLogModel
{
struct DomainLogDetail
{
long logSize;
std::string endTime;
std::string startTime;
std::string logName;
std::string logPath;
};
std::string domainName;
std::vector<DomainLogDetail> domainLogDetails;
};
DescribeCdnDomainLogsResult();
explicit DescribeCdnDomainLogsResult(const std::string &payload);
~DescribeCdnDomainLogsResult();
long getTotalCount()const;
long getPageSize()const;
std::vector<DomainLogModel> getDomainLogModel()const;
long getPageNumber()const;
long getTotalCount()const;
long getPageSize()const;
DomainLogModel getDomainLogModel()const;
long getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
long pageSize_;
std::vector<DomainLogModel> domainLogModel_;
long pageNumber_;
long totalCount_;
long pageSize_;
DomainLogModel domainLogModel_;
long pageNumber_;
};
}

View File

@@ -32,34 +32,34 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeCdnMonitorDataResult : public ServiceResult
{
public:
struct CDNMonitorData
{
std::string bytesHitRate;
std::string bytesPerSecond;
std::string requestHitRate;
std::string queryPerSecond;
std::string timeStamp;
std::string averageObjectSize;
};
struct CDNMonitorData
{
std::string bytesHitRate;
std::string bytesPerSecond;
std::string requestHitRate;
std::string queryPerSecond;
std::string timeStamp;
std::string averageObjectSize;
};
DescribeCdnMonitorDataResult();
explicit DescribeCdnMonitorDataResult(const std::string &payload);
~DescribeCdnMonitorDataResult();
long getMonitorInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<CDNMonitorData> getMonitorDatas()const;
std::string getStartTime()const;
long getMonitorInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<CDNMonitorData> getMonitorDatas()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
long monitorInterval_;
std::string endTime_;
std::string domainName_;
std::vector<CDNMonitorData> monitorDatas_;
std::string startTime_;
long monitorInterval_;
std::string endTime_;
std::string domainName_;
std::vector<CDNMonitorData> monitorDatas_;
std::string startTime_;
};
}

View File

@@ -32,29 +32,29 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeCdnRegionAndIspResult : public ServiceResult
{
public:
struct Region
{
std::string nameEn;
std::string nameZh;
};
struct Isp
{
std::string nameEn;
std::string nameZh;
};
struct Region
{
std::string nameEn;
std::string nameZh;
};
struct Isp
{
std::string nameEn;
std::string nameZh;
};
DescribeCdnRegionAndIspResult();
explicit DescribeCdnRegionAndIspResult(const std::string &payload);
~DescribeCdnRegionAndIspResult();
std::vector<Region> getRegions()const;
std::vector<Isp> getIsps()const;
std::vector<Region> getRegions()const;
std::vector<Isp> getIsps()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Region> regions_;
std::vector<Isp> isps_;
std::vector<Region> regions_;
std::vector<Isp> isps_;
};
}

View File

@@ -32,31 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeCdnServiceResult : public ServiceResult
{
public:
struct LockReason
{
std::string lockReason;
};
struct LockReason
{
std::string lockReason;
};
DescribeCdnServiceResult();
explicit DescribeCdnServiceResult(const std::string &payload);
~DescribeCdnServiceResult();
std::string getChangingChargeType()const;
std::string getInstanceId()const;
std::string getOpeningTime()const;
std::vector<LockReason> getOperationLocks()const;
std::string getChangingAffectTime()const;
std::string getInternetChargeType()const;
std::string getChangingChargeType()const;
std::string getInstanceId()const;
std::string getOpeningTime()const;
std::vector<LockReason> getOperationLocks()const;
std::string getChangingAffectTime()const;
std::string getInternetChargeType()const;
protected:
void parse(const std::string &payload);
private:
std::string changingChargeType_;
std::string instanceId_;
std::string openingTime_;
std::vector<LockReason> operationLocks_;
std::string changingAffectTime_;
std::string internetChargeType_;
std::string changingChargeType_;
std::string instanceId_;
std::string openingTime_;
std::vector<LockReason> operationLocks_;
std::string changingAffectTime_;
std::string internetChargeType_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeCdnTypesResult : public ServiceResult
{
public:
struct CdnType
{
std::string desc;
std::string type;
};
struct CdnType
{
std::string desc;
std::string type;
};
DescribeCdnTypesResult();
explicit DescribeCdnTypesResult(const std::string &payload);
~DescribeCdnTypesResult();
std::vector<CdnType> getCdnTypes()const;
std::vector<CdnType> getCdnTypes()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CdnType> cdnTypes_;
std::vector<CdnType> cdnTypes_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DescribeCustomLogConfigResult();
explicit DescribeCustomLogConfigResult(const std::string &payload);
~DescribeCustomLogConfigResult();
std::string getSample()const;
std::string getTag()const;
std::string getRemark()const;
std::string getSample()const;
std::string getTag()const;
std::string getRemark()const;
protected:
void parse(const std::string &payload);
private:
std::string sample_;
std::string tag_;
std::string remark_;
std::string sample_;
std::string tag_;
std::string remark_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainAverageResponseTimeResult : public ServiceResult
{
public:
struct DataModule
{
std::string value;
std::string timeStamp;
};
struct DataModule
{
std::string value;
std::string timeStamp;
};
DescribeDomainAverageResponseTimeResult();
explicit DescribeDomainAverageResponseTimeResult(const std::string &payload);
~DescribeDomainAverageResponseTimeResult();
std::vector<DataModule> getAvgRTPerInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<DataModule> getAvgRTPerInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataModule> avgRTPerInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<DataModule> avgRTPerInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -32,27 +32,27 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainBpsDataByTimeStampResult : public ServiceResult
{
public:
struct BpsDataModel
{
std::string ispName;
long bps;
std::string locationName;
};
struct BpsDataModel
{
std::string ispName;
long bps;
std::string locationName;
};
DescribeDomainBpsDataByTimeStampResult();
explicit DescribeDomainBpsDataByTimeStampResult(const std::string &payload);
~DescribeDomainBpsDataByTimeStampResult();
std::vector<BpsDataModel> getBpsDataList()const;
std::string getDomainName()const;
std::string getTimeStamp()const;
std::vector<BpsDataModel> getBpsDataList()const;
std::string getDomainName()const;
std::string getTimeStamp()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BpsDataModel> bpsDataList_;
std::string domainName_;
std::string timeStamp_;
std::vector<BpsDataModel> bpsDataList_;
std::string domainName_;
std::string timeStamp_;
};
}

View File

@@ -32,56 +32,56 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainBpsDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string overseasValue;
std::string staticOverseasValue;
std::string staticValue;
std::string staticDomesticValue;
std::string overseasL2Value;
std::string timeStamp;
std::string domesticValue;
std::string dynamicOverseasValue;
std::string value;
std::string dynamicDomesticValue;
std::string domesticL2Value;
std::string dynamicValue;
std::string l2Value;
};
struct DataModule1
{
std::string value;
std::string timeStamp;
};
struct DataModule
{
std::string overseasValue;
std::string staticOverseasValue;
std::string staticValue;
std::string staticDomesticValue;
std::string overseasL2Value;
std::string timeStamp;
std::string domesticValue;
std::string dynamicOverseasValue;
std::string value;
std::string dynamicDomesticValue;
std::string domesticL2Value;
std::string dynamicValue;
std::string l2Value;
};
struct DataModule1
{
std::string value;
std::string timeStamp;
};
DescribeDomainBpsDataResult();
explicit DescribeDomainBpsDataResult(const std::string &payload);
~DescribeDomainBpsDataResult();
std::string getIspNameEn()const;
std::string getIspName()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<DataModule1> getSupplyBpsDatas()const;
std::string getLocationNameEn()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<DataModule> getBpsDataPerInterval()const;
std::string getLocationName()const;
std::string getIspNameEn()const;
std::string getIspName()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<DataModule1> getSupplyBpsDatas()const;
std::string getLocationNameEn()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<DataModule> getBpsDataPerInterval()const;
std::string getLocationName()const;
protected:
void parse(const std::string &payload);
private:
std::string ispNameEn_;
std::string ispName_;
std::string endTime_;
std::string domainName_;
std::vector<DataModule1> supplyBpsDatas_;
std::string locationNameEn_;
std::string dataInterval_;
std::string startTime_;
std::vector<DataModule> bpsDataPerInterval_;
std::string locationName_;
std::string ispNameEn_;
std::string ispName_;
std::string endTime_;
std::string domainName_;
std::vector<DataModule1> supplyBpsDatas_;
std::string locationNameEn_;
std::string dataInterval_;
std::string startTime_;
std::vector<DataModule> bpsDataPerInterval_;
std::string locationName_;
};
}

View File

@@ -32,37 +32,37 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCCAttackInfoResult : public ServiceResult
{
public:
struct AttackIpDatas
{
std::string ip;
std::string attackCount;
std::string result;
};
struct AttackedUrlDatas
{
std::string attackCount;
std::string url;
std::string result;
};
struct AttackIpDatas
{
std::string ip;
std::string attackCount;
std::string result;
};
struct AttackedUrlDatas
{
std::string attackCount;
std::string url;
std::string result;
};
DescribeDomainCCAttackInfoResult();
explicit DescribeDomainCCAttackInfoResult(const std::string &payload);
~DescribeDomainCCAttackInfoResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<AttackIpDatas> getAttackIpDataList()const;
std::string getStartTime()const;
std::vector<AttackedUrlDatas> getAttackedUrlDataList()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<AttackIpDatas> getAttackIpDataList()const;
std::string getStartTime()const;
std::vector<AttackedUrlDatas> getAttackedUrlDataList()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::vector<AttackIpDatas> attackIpDataList_;
std::string startTime_;
std::vector<AttackedUrlDatas> attackedUrlDataList_;
std::string endTime_;
std::string domainName_;
std::vector<AttackIpDatas> attackIpDataList_;
std::string startTime_;
std::vector<AttackedUrlDatas> attackedUrlDataList_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCCDataResult : public ServiceResult
{
public:
struct CCDatas
{
std::string count;
std::string timeStamp;
};
struct CCDatas
{
std::string count;
std::string timeStamp;
};
DescribeDomainCCDataResult();
explicit DescribeDomainCCDataResult(const std::string &payload);
~DescribeDomainCCDataResult();
std::vector<CCDatas> getCCDataList()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<CCDatas> getCCDataList()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CCDatas> cCDataList_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<CCDatas> cCDataList_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -0,0 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCertificateInfoRequest : public RpcServiceRequest
{
public:
DescribeDomainCertificateInfoRequest();
~DescribeDomainCertificateInfoRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string app_ip_;
std::string product_;
long callerParentId_;
std::string domainName_;
bool proxy_original_security_transport_;
std::string callerBid_;
long ownerId_;
std::string proxy_original_source_ip_;
std::string version_;
std::string ownerIdLoginEmail_;
std::string callerType_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
std::string accessKeyId_;
bool security_transport_;
std::string securityToken_;
std::string requestId_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFOREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFORESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCertificateInfoResult : public ServiceResult
{
public:
struct CertInfo
{
std::string status;
std::string certLife;
std::string domainName;
std::string certDomainName;
std::string certOrg;
std::string certType;
std::string certExpireTime;
std::string certName;
std::string serverCertificateStatus;
};
DescribeDomainCertificateInfoResult();
explicit DescribeDomainCertificateInfoResult(const std::string &payload);
~DescribeDomainCertificateInfoResult();
std::vector<CertInfo> getCertInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CertInfo> certInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCERTIFICATEINFORESULT_H_

View File

@@ -32,23 +32,23 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCnameResult : public ServiceResult
{
public:
struct Data
{
int status;
std::string domain;
std::string cname;
};
struct Data
{
int status;
std::string domain;
std::string cname;
};
DescribeDomainCnameResult();
explicit DescribeDomainCnameResult(const std::string &payload);
~DescribeDomainCnameResult();
std::vector<Data> getCnameDatas()const;
std::vector<Data> getCnameDatas()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Data> cnameDatas_;
std::vector<Data> cnameDatas_;
};
}

View File

@@ -32,238 +32,239 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainConfigsResult : public ServiceResult
{
public:
struct DomainConfigs
{
struct CcConfig
{
std::string status;
std::string blockIps;
std::string enable;
std::string configId;
std::string allowIps;
};
struct ErrorPageConfig
{
std::string status;
std::string customPageUrl;
std::string configId;
std::string errorCode;
std::string pageType;
};
struct OptimizeConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct PageCompressConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct IgnoreQueryStringConfig
{
std::string status;
std::string enable;
std::string configId;
std::string hashKeyArgs;
};
struct RangeConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct RefererConfig
{
std::string status;
std::string allowEmpty;
std::string disableAst;
std::string configId;
std::string referType;
std::string referList;
};
struct ReqAuthConfig
{
std::string key2;
std::string status;
std::string key1;
std::string authM3u8;
std::string timeOut;
std::string authAddr;
std::string authRemoteDesc;
std::string configId;
std::string authType;
std::string aliAuthWhiteList;
};
struct SrcHostConfig
{
std::string status;
std::string domainName;
std::string configId;
};
struct VideoSeekConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct WafConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct NotifyUrlConfig
{
std::string notifyUrl;
std::string enable;
};
struct RedirectTypeConfig
{
std::string redirectType;
};
struct ForwardSchemeConfig
{
std::string schemeOrigin;
std::string status;
std::string enable;
std::string configId;
std::string schemeOriginPort;
};
struct RemoveQueryStringConfig
{
std::string status;
std::string aliRemoveArgs;
std::string configId;
};
struct L2OssKeyConfig
{
std::string status;
std::string configId;
std::string privateOssAuth;
};
struct MacServiceConfig
{
std::string status;
std::string processResult;
std::string enabled;
std::string configId;
std::string appList;
};
struct GreenManagerConfig
{
std::string status;
std::string enabled;
std::string configId;
};
struct HttpsOptionConfig
{
std::string status;
std::string http2;
std::string configId;
};
struct AliBusinessConfig
{
std::string status;
std::string aliBusinessTable;
std::string configId;
std::string aliBusinessType;
};
struct IpAllowListConfig
{
std::string status;
std::string ipList;
std::string ipAclXfwd;
std::string configId;
};
struct CacheExpiredConfig
{
std::string status;
std::string cacheContent;
std::string configId;
std::string tTL;
std::string weight;
std::string cacheType;
};
struct HttpErrorPageConfig
{
std::string status;
std::string pageUrl;
std::string configId;
std::string errorCode;
};
struct HttpHeaderConfig
{
std::string status;
std::string headerValue;
std::string headerKey;
std::string configId;
};
struct DynamicConfig
{
std::string status;
std::string staticUri;
std::string dynamicCacheControl;
std::string staticType;
std::string configId;
std::string dynamicOrigin;
std::string staticPath;
};
struct ReqHeaderConfig
{
std::string status;
std::string value;
std::string configId;
std::string key;
};
struct SetVarsConfig
{
std::string status;
std::string varValue;
std::string configId;
std::string varName;
};
std::vector<IpAllowListConfig> ipAllowListConfig;
std::vector<MacServiceConfig> macServiceConfig;
std::vector<RedirectTypeConfig> redirectTypeConfig;
std::vector<SetVarsConfig> setVarsConfigs;
std::vector<ReqAuthConfig> reqAuthConfig;
std::vector<GreenManagerConfig> greenManagerConfig;
std::vector<RefererConfig> refererConfig;
std::vector<SrcHostConfig> srcHostConfig;
std::vector<ForwardSchemeConfig> forwardSchemeConfig;
std::vector<HttpHeaderConfig> httpHeaderConfigs;
std::vector<AliBusinessConfig> aliBusinessConfig;
std::vector<HttpsOptionConfig> httpsOptionConfig;
std::vector<ReqHeaderConfig> reqHeaderConfigs;
std::vector<CacheExpiredConfig> cacheExpiredConfigs;
std::vector<ErrorPageConfig> errorPageConfig;
std::vector<RemoveQueryStringConfig> removeQueryStringConfig;
std::vector<L2OssKeyConfig> l2OssKeyConfig;
std::vector<HttpErrorPageConfig> httpErrorPageConfigs;
std::vector<WafConfig> wafConfig;
std::vector<OptimizeConfig> optimizeConfig;
std::vector<IgnoreQueryStringConfig> ignoreQueryStringConfig;
std::vector<RangeConfig> rangeConfig;
std::vector<NotifyUrlConfig> notifyUrlConfig;
std::vector<VideoSeekConfig> videoSeekConfig;
std::vector<DynamicConfig> dynamicConfigs;
std::vector<PageCompressConfig> pageCompressConfig;
std::vector<CcConfig> ccConfig;
};
struct DomainConfigs
{
struct CcConfig
{
std::string status;
std::string blockIps;
std::string enable;
std::string configId;
std::string allowIps;
};
struct ErrorPageConfig
{
std::string status;
std::string customPageUrl;
std::string configId;
std::string errorCode;
std::string pageType;
};
struct OptimizeConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct PageCompressConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct IgnoreQueryStringConfig
{
std::string status;
std::string enable;
std::string configId;
std::string hashKeyArgs;
};
struct RangeConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct RefererConfig
{
std::string status;
std::string allowEmpty;
std::string disableAst;
std::string configId;
std::string referType;
std::string referList;
};
struct ReqAuthConfig
{
std::string key2;
std::string status;
std::string key1;
std::string authM3u8;
std::string timeOut;
std::string authAddr;
std::string authRemoteDesc;
std::string configId;
std::string authType;
std::string aliAuthWhiteList;
};
struct SrcHostConfig
{
std::string status;
std::string domainName;
std::string configId;
};
struct VideoSeekConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct WafConfig
{
std::string status;
std::string enable;
std::string configId;
};
struct NotifyUrlConfig
{
std::string notifyUrl;
std::string enable;
};
struct RedirectTypeConfig
{
std::string redirectType;
};
struct ForwardSchemeConfig
{
std::string schemeOrigin;
std::string status;
std::string enable;
std::string configId;
std::string schemeOriginPort;
};
struct RemoveQueryStringConfig
{
std::string status;
std::string aliRemoveArgs;
std::string configId;
};
struct L2OssKeyConfig
{
std::string status;
std::string configId;
std::string privateOssAuth;
};
struct MacServiceConfig
{
std::string status;
std::string processResult;
std::string enabled;
std::string configId;
std::string appList;
};
struct GreenManagerConfig
{
std::string status;
std::string enabled;
std::string configId;
};
struct HttpsOptionConfig
{
std::string status;
std::string http2;
std::string configId;
};
struct AliBusinessConfig
{
std::string status;
std::string aliBusinessTable;
std::string configId;
std::string aliBusinessType;
};
struct IpAllowListConfig
{
std::string status;
std::string ipList;
std::string ipAclXfwd;
std::string configId;
};
struct CacheExpiredConfig
{
std::string status;
std::string cacheContent;
std::string configId;
std::string tTL;
std::string weight;
std::string cacheType;
};
struct HttpErrorPageConfig
{
std::string status;
std::string pageUrl;
std::string configId;
std::string errorCode;
};
struct HttpHeaderConfig
{
std::string status;
std::string headerValue;
std::string headerKey;
std::string configId;
};
struct DynamicConfig
{
std::string status;
std::string staticUri;
std::string dynamicCacheControl;
std::string staticType;
std::string enable;
std::string configId;
std::string dynamicOrigin;
std::string staticPath;
};
struct ReqHeaderConfig
{
std::string status;
std::string value;
std::string configId;
std::string key;
};
struct SetVarsConfig
{
std::string status;
std::string varValue;
std::string configId;
std::string varName;
};
IpAllowListConfig ipAllowListConfig;
MacServiceConfig macServiceConfig;
RedirectTypeConfig redirectTypeConfig;
std::vector<SetVarsConfig> setVarsConfigs;
ReqAuthConfig reqAuthConfig;
GreenManagerConfig greenManagerConfig;
RefererConfig refererConfig;
SrcHostConfig srcHostConfig;
ForwardSchemeConfig forwardSchemeConfig;
std::vector<HttpHeaderConfig> httpHeaderConfigs;
AliBusinessConfig aliBusinessConfig;
HttpsOptionConfig httpsOptionConfig;
std::vector<ReqHeaderConfig> reqHeaderConfigs;
std::vector<CacheExpiredConfig> cacheExpiredConfigs;
ErrorPageConfig errorPageConfig;
RemoveQueryStringConfig removeQueryStringConfig;
L2OssKeyConfig l2OssKeyConfig;
std::vector<HttpErrorPageConfig> httpErrorPageConfigs;
WafConfig wafConfig;
OptimizeConfig optimizeConfig;
IgnoreQueryStringConfig ignoreQueryStringConfig;
RangeConfig rangeConfig;
NotifyUrlConfig notifyUrlConfig;
VideoSeekConfig videoSeekConfig;
std::vector<DynamicConfig> dynamicConfigs;
PageCompressConfig pageCompressConfig;
CcConfig ccConfig;
};
DescribeDomainConfigsResult();
explicit DescribeDomainConfigsResult(const std::string &payload);
~DescribeDomainConfigsResult();
std::vector<DomainConfigs> getDomainConfigs()const;
DomainConfigs getDomainConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainConfigs> domainConfigs_;
DomainConfigs domainConfigs_;
};
}

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
DescribeDomainCustomLogConfigResult();
explicit DescribeDomainCustomLogConfigResult(const std::string &payload);
~DescribeDomainCustomLogConfigResult();
std::string getSample()const;
std::string getConfigId()const;
std::string getTag()const;
std::string getRemark()const;
std::string getSample()const;
std::string getConfigId()const;
std::string getTag()const;
std::string getRemark()const;
protected:
void parse(const std::string &payload);
private:
std::string sample_;
std::string configId_;
std::string tag_;
std::string remark_;
std::string sample_;
std::string configId_;
std::string tag_;
std::string remark_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainDownstreamBpsOfEdgeResult : public ServiceResult
{
public:
struct DomainBpsModel
{
float bps;
std::string time;
};
struct DomainBpsModel
{
float bps;
std::string time;
};
DescribeDomainDownstreamBpsOfEdgeResult();
explicit DescribeDomainDownstreamBpsOfEdgeResult(const std::string &payload);
~DescribeDomainDownstreamBpsOfEdgeResult();
std::vector<DomainBpsModel> getBpsDatas()const;
std::vector<DomainBpsModel> getBpsDatas()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainBpsModel> bpsDatas_;
std::vector<DomainBpsModel> bpsDatas_;
};
}

View File

@@ -32,35 +32,35 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainFileSizeProportionDataResult : public ServiceResult
{
public:
struct UsageData
{
struct FileSizeProportionData
{
std::string proportion;
std::string fileSize;
};
std::vector<UsageData::FileSizeProportionData> value;
std::string timeStamp;
};
struct UsageData
{
struct FileSizeProportionData
{
std::string proportion;
std::string fileSize;
};
std::vector<UsageData::FileSizeProportionData> value;
std::string timeStamp;
};
DescribeDomainFileSizeProportionDataResult();
explicit DescribeDomainFileSizeProportionDataResult(const std::string &payload);
~DescribeDomainFileSizeProportionDataResult();
std::vector<UsageData> getFileSizeProportionDataInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageData> getFileSizeProportionDataInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::vector<UsageData> fileSizeProportionDataInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageData> fileSizeProportionDataInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -32,38 +32,38 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainFlowDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string overseasValue;
std::string dynamicOverseasValue;
std::string staticOverseasValue;
std::string value;
std::string dynamicDomesticValue;
std::string staticValue;
std::string staticDomesticValue;
std::string timeStamp;
std::string dynamicValue;
std::string domesticValue;
};
struct DataModule
{
std::string overseasValue;
std::string dynamicOverseasValue;
std::string staticOverseasValue;
std::string value;
std::string dynamicDomesticValue;
std::string staticValue;
std::string staticDomesticValue;
std::string timeStamp;
std::string dynamicValue;
std::string domesticValue;
};
DescribeDomainFlowDataResult();
explicit DescribeDomainFlowDataResult(const std::string &payload);
~DescribeDomainFlowDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<DataModule> getFlowDataPerInterval()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<DataModule> getFlowDataPerInterval()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::vector<DataModule> flowDataPerInterval_;
std::string dataInterval_;
std::string startTime_;
std::string endTime_;
std::string domainName_;
std::vector<DataModule> flowDataPerInterval_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainHitRateDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string value;
std::string timeStamp;
};
struct DataModule
{
std::string value;
std::string timeStamp;
};
DescribeDomainHitRateDataResult();
explicit DescribeDomainHitRateDataResult(const std::string &payload);
~DescribeDomainHitRateDataResult();
std::vector<DataModule> getHitRateInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<DataModule> getHitRateInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataModule> hitRateInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<DataModule> hitRateInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -32,36 +32,36 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainHttpCodeDataResult : public ServiceResult
{
public:
struct UsageData
{
struct CodeProportionData
{
std::string proportion;
std::string count;
std::string code;
};
std::vector<UsageData::CodeProportionData> value;
std::string timeStamp;
};
struct UsageData
{
struct CodeProportionData
{
std::string proportion;
std::string count;
std::string code;
};
std::vector<UsageData::CodeProportionData> value;
std::string timeStamp;
};
DescribeDomainHttpCodeDataResult();
explicit DescribeDomainHttpCodeDataResult(const std::string &payload);
~DescribeDomainHttpCodeDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageData> getHttpCodeData()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageData> getHttpCodeData()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageData> httpCodeData_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageData> httpCodeData_;
};
}

View File

@@ -32,66 +32,66 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainHttpsDataResult : public ServiceResult
{
public:
struct HttpsStatisticsInfo
{
float l1StHttpsQps;
long l1HttpsOutQps;
float l1StHttpsInnerBps;
float l1DyHttpsAcc;
std::string time;
float l1DyHttpsOutQps;
float l1StHttpsOutAcc;
long l1HttpsOutTraf;
float l1StHttpsBps;
float l1HttpsOut_acc;
float l1StHttpsAcc;
float l1DyHttpsQps;
float l1DyHttpsOutBps;
float l1HttpsInnerBps;
float l1StHttpsOutQps;
float l1HttpsTacc;
float l1HttpsBps;
long l1HttpsInnerTraf;
float l1StHttpsTraf;
float l1StHttpsInnerAcc;
long httpsSrcTraf;
float l1DyHttpsBps;
float l1DyHttpsInnerTraf;
float l1HttpsInner_acc;
float l1StHttpsOutTraf;
float l1DyHttpsInnerQps;
float l1DyHttpsTraf;
long l1HttpsInnerQps;
float httpsReqHitRate;
float l1DyHttpsInnerBps;
long l1HttpsQps;
long httpsSrcBps;
float httpsByteHitRate;
float l1StHttpsOutBps;
long l1HttpsTtraf;
float l1StHttpsInnerQps;
float l1HttpsHitRate;
float l1HttpsOutBps;
float l1DyHttpsInnerAcc;
float l1DyHttpsOutTraf;
float l1DyHttpsOutAcc;
float l1StHttpsInnerTraf;
};
struct HttpsStatisticsInfo
{
float l1StHttpsQps;
long l1HttpsOutQps;
float l1StHttpsInnerBps;
float l1DyHttpsAcc;
std::string time;
float l1DyHttpsOutQps;
float l1StHttpsOutAcc;
long l1HttpsOutTraf;
float l1StHttpsBps;
float l1HttpsOut_acc;
float l1StHttpsAcc;
float l1DyHttpsQps;
float l1DyHttpsOutBps;
float l1HttpsInnerBps;
float l1StHttpsOutQps;
float l1HttpsTacc;
float l1HttpsBps;
long l1HttpsInnerTraf;
float l1StHttpsTraf;
float l1StHttpsInnerAcc;
long httpsSrcTraf;
float l1DyHttpsBps;
float l1DyHttpsInnerTraf;
float l1HttpsInner_acc;
float l1StHttpsOutTraf;
float l1DyHttpsInnerQps;
float l1DyHttpsTraf;
long l1HttpsInnerQps;
float httpsReqHitRate;
float l1DyHttpsInnerBps;
long l1HttpsQps;
long httpsSrcBps;
float httpsByteHitRate;
float l1StHttpsOutBps;
long l1HttpsTtraf;
float l1StHttpsInnerQps;
float l1HttpsHitRate;
float l1HttpsOutBps;
float l1DyHttpsInnerAcc;
float l1DyHttpsOutTraf;
float l1DyHttpsOutAcc;
float l1StHttpsInnerTraf;
};
DescribeDomainHttpsDataResult();
explicit DescribeDomainHttpsDataResult(const std::string &payload);
~DescribeDomainHttpsDataResult();
std::string getDataInterval()const;
std::string getDomainNames()const;
std::vector<HttpsStatisticsInfo> getHttpsStatisticsInfos()const;
std::string getDataInterval()const;
std::string getDomainNames()const;
std::vector<HttpsStatisticsInfo> getHttpsStatisticsInfos()const;
protected:
void parse(const std::string &payload);
private:
std::string dataInterval_;
std::string domainNames_;
std::vector<HttpsStatisticsInfo> httpsStatisticsInfos_;
std::string dataInterval_;
std::string domainNames_;
std::vector<HttpsStatisticsInfo> httpsStatisticsInfos_;
};
}

View File

@@ -32,42 +32,42 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainISPDataResult : public ServiceResult
{
public:
struct ISPProportionData
{
std::string avgObjectSize;
std::string bytesProportion;
std::string bps;
std::string totalQuery;
std::string iSP;
std::string avgResponseRate;
std::string reqErrRate;
std::string ispEname;
std::string reqHitRate;
std::string proportion;
std::string qps;
std::string byteHitRate;
std::string totalBytes;
std::string avgResponseTime;
};
struct ISPProportionData
{
std::string avgObjectSize;
std::string bytesProportion;
std::string bps;
std::string totalQuery;
std::string iSP;
std::string avgResponseRate;
std::string reqErrRate;
std::string ispEname;
std::string reqHitRate;
std::string proportion;
std::string qps;
std::string byteHitRate;
std::string totalBytes;
std::string avgResponseTime;
};
DescribeDomainISPDataResult();
explicit DescribeDomainISPDataResult(const std::string &payload);
~DescribeDomainISPDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<ISPProportionData> getValue()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<ISPProportionData> getValue()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::vector<ISPProportionData> value_;
std::string dataInterval_;
std::string startTime_;
std::string endTime_;
std::string domainName_;
std::vector<ISPProportionData> value_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -37,22 +37,22 @@ namespace AlibabaCloud
DescribeDomainMax95BpsDataResult();
explicit DescribeDomainMax95BpsDataResult(const std::string &payload);
~DescribeDomainMax95BpsDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDomesticMax95Bps()const;
std::string getMax95Bps()const;
std::string getOverseasMax95Bps()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDomesticMax95Bps()const;
std::string getMax95Bps()const;
std::string getOverseasMax95Bps()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string domesticMax95Bps_;
std::string max95Bps_;
std::string overseasMax95Bps_;
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string domesticMax95Bps_;
std::string max95Bps_;
std::string overseasMax95Bps_;
};
}

View File

@@ -37,34 +37,34 @@ namespace AlibabaCloud
DescribeDomainMonthBillingBpsDataResult();
explicit DescribeDomainMonthBillingBpsDataResult(const std::string &payload);
~DescribeDomainMonthBillingBpsDataResult();
float getOverseasBandwidth95Bps()const;
float getDomesticMonth4thBps()const;
std::string getEndTime()const;
std::string getDomainName()const;
float getOverseasMonthavgBps()const;
float getMonth4thBps()const;
float getDomesticMonthavgBps()const;
std::string getStartTime()const;
float getBandwidth95Bps()const;
float getMonthavgBps()const;
float getOverseasMonth4thBps()const;
float getDomesticBandwidth95Bps()const;
float getOverseasBandwidth95Bps()const;
float getDomesticMonth4thBps()const;
std::string getEndTime()const;
std::string getDomainName()const;
float getOverseasMonthavgBps()const;
float getMonth4thBps()const;
float getDomesticMonthavgBps()const;
std::string getStartTime()const;
float getBandwidth95Bps()const;
float getMonthavgBps()const;
float getOverseasMonth4thBps()const;
float getDomesticBandwidth95Bps()const;
protected:
void parse(const std::string &payload);
private:
float overseasBandwidth95Bps_;
float domesticMonth4thBps_;
std::string endTime_;
std::string domainName_;
float overseasMonthavgBps_;
float month4thBps_;
float domesticMonthavgBps_;
std::string startTime_;
float bandwidth95Bps_;
float monthavgBps_;
float overseasMonth4thBps_;
float domesticBandwidth95Bps_;
float overseasBandwidth95Bps_;
float domesticMonth4thBps_;
std::string endTime_;
std::string domainName_;
float overseasMonthavgBps_;
float month4thBps_;
float domesticMonthavgBps_;
std::string startTime_;
float bandwidth95Bps_;
float monthavgBps_;
float overseasMonth4thBps_;
float domesticBandwidth95Bps_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainOnlineUserNumberResult : public ServiceResult
{
public:
struct LiveStreamOnlineUserNumInfo
{
std::string time;
long userNumber;
};
struct LiveStreamOnlineUserNumInfo
{
std::string time;
long userNumber;
};
DescribeDomainOnlineUserNumberResult();
explicit DescribeDomainOnlineUserNumberResult(const std::string &payload);
~DescribeDomainOnlineUserNumberResult();
std::vector<LiveStreamOnlineUserNumInfo> getLiveStreamOnlineUserNumInfos()const;
std::vector<LiveStreamOnlineUserNumInfo> getLiveStreamOnlineUserNumInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LiveStreamOnlineUserNumInfo> liveStreamOnlineUserNumInfos_;
std::vector<LiveStreamOnlineUserNumInfo> liveStreamOnlineUserNumInfos_;
};
}

View File

@@ -32,38 +32,38 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainPathDataResult : public ServiceResult
{
public:
struct UsageData
{
int acc;
std::string path;
int traffic;
std::string time;
};
struct UsageData
{
int acc;
std::string path;
int traffic;
std::string time;
};
DescribeDomainPathDataResult();
explicit DescribeDomainPathDataResult(const std::string &payload);
~DescribeDomainPathDataResult();
int getTotalCount()const;
std::string getEndTime()const;
int getPageSize()const;
std::string getDomainName()const;
int getPageNumber()const;
std::vector<UsageData> getPathDataPerInterval()const;
std::string getStartTime()const;
std::string getDataInterval()const;
int getTotalCount()const;
std::string getEndTime()const;
int getPageSize()const;
std::string getDomainName()const;
int getPageNumber()const;
std::vector<UsageData> getPathDataPerInterval()const;
std::string getStartTime()const;
std::string getDataInterval()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string endTime_;
int pageSize_;
std::string domainName_;
int pageNumber_;
std::vector<UsageData> pathDataPerInterval_;
std::string startTime_;
std::string dataInterval_;
int totalCount_;
std::string endTime_;
int pageSize_;
std::string domainName_;
int pageNumber_;
std::vector<UsageData> pathDataPerInterval_;
std::string startTime_;
std::string dataInterval_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainPvDataResult : public ServiceResult
{
public:
struct UsageData
{
std::string value;
std::string timeStamp;
};
struct UsageData
{
std::string value;
std::string timeStamp;
};
DescribeDomainPvDataResult();
explicit DescribeDomainPvDataResult(const std::string &payload);
~DescribeDomainPvDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageData> getPvDataInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageData> getPvDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageData> pvDataInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageData> pvDataInterval_;
};
}

View File

@@ -32,31 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainQoSRtResult : public ServiceResult
{
public:
struct Data
{
std::string more3s;
std::string more5s;
std::string time;
};
struct Data
{
std::string more3s;
std::string more5s;
std::string time;
};
DescribeDomainQoSRtResult();
explicit DescribeDomainQoSRtResult(const std::string &payload);
~DescribeDomainQoSRtResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<Data> getContent()const;
std::string getIp()const;
std::string getStartTime()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<Data> getContent()const;
std::string getIp()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::vector<Data> content_;
std::string ip_;
std::string startTime_;
std::string endTime_;
std::string domainName_;
std::vector<Data> content_;
std::string ip_;
std::string startTime_;
};
}

View File

@@ -32,41 +32,41 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainQpsDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string overseasValue;
std::string staticOverseasValue;
std::string staticValue;
std::string staticDomesticValue;
std::string timeStamp;
std::string domesticValue;
std::string dynamicOverseasValue;
std::string accDomesticValue;
std::string value;
std::string accOverseasValue;
std::string dynamicDomesticValue;
std::string accValue;
std::string dynamicValue;
};
struct DataModule
{
std::string overseasValue;
std::string staticOverseasValue;
std::string staticValue;
std::string staticDomesticValue;
std::string timeStamp;
std::string domesticValue;
std::string dynamicOverseasValue;
std::string accDomesticValue;
std::string value;
std::string accOverseasValue;
std::string dynamicDomesticValue;
std::string accValue;
std::string dynamicValue;
};
DescribeDomainQpsDataResult();
explicit DescribeDomainQpsDataResult(const std::string &payload);
~DescribeDomainQpsDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<DataModule> getQpsDataInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<DataModule> getQpsDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<DataModule> qpsDataInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<DataModule> qpsDataInterval_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeBpsDataResult : public ServiceResult
{
public:
struct BpsModel
{
float bps;
std::string timeStamp;
};
struct BpsModel
{
float bps;
std::string timeStamp;
};
DescribeDomainRealTimeBpsDataResult();
explicit DescribeDomainRealTimeBpsDataResult(const std::string &payload);
~DescribeDomainRealTimeBpsDataResult();
std::vector<BpsModel> getData()const;
std::vector<BpsModel> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BpsModel> data_;
std::vector<BpsModel> data_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeByteHitRateDataResult : public ServiceResult
{
public:
struct ByteHitRateDataModel
{
float byteHitRate;
std::string timeStamp;
};
struct ByteHitRateDataModel
{
float byteHitRate;
std::string timeStamp;
};
DescribeDomainRealTimeByteHitRateDataResult();
explicit DescribeDomainRealTimeByteHitRateDataResult(const std::string &payload);
~DescribeDomainRealTimeByteHitRateDataResult();
std::vector<ByteHitRateDataModel> getData()const;
std::vector<ByteHitRateDataModel> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ByteHitRateDataModel> data_;
std::vector<ByteHitRateDataModel> data_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string value;
std::string timeStamp;
};
struct DataModule
{
std::string value;
std::string timeStamp;
};
DescribeDomainRealTimeDataResult();
explicit DescribeDomainRealTimeDataResult(const std::string &payload);
~DescribeDomainRealTimeDataResult();
std::string getField()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::vector<DataModule> getDataPerInterval()const;
std::string getField()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::vector<DataModule> getDataPerInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string field_;
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::vector<DataModule> dataPerInterval_;
std::string field_;
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::vector<DataModule> dataPerInterval_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeQpsDataResult : public ServiceResult
{
public:
struct QpsModel
{
float qps;
std::string timeStamp;
};
struct QpsModel
{
float qps;
std::string timeStamp;
};
DescribeDomainRealTimeQpsDataResult();
explicit DescribeDomainRealTimeQpsDataResult(const std::string &payload);
~DescribeDomainRealTimeQpsDataResult();
std::vector<QpsModel> getData()const;
std::vector<QpsModel> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<QpsModel> data_;
std::vector<QpsModel> data_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeReqHitRateDataResult : public ServiceResult
{
public:
struct ReqHitRateDataModel
{
float reqHitRate;
std::string timeStamp;
};
struct ReqHitRateDataModel
{
float reqHitRate;
std::string timeStamp;
};
DescribeDomainRealTimeReqHitRateDataResult();
explicit DescribeDomainRealTimeReqHitRateDataResult(const std::string &payload);
~DescribeDomainRealTimeReqHitRateDataResult();
std::vector<ReqHitRateDataModel> getData()const;
std::vector<ReqHitRateDataModel> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ReqHitRateDataModel> data_;
std::vector<ReqHitRateDataModel> data_;
};
}

View File

@@ -32,42 +32,42 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRegionDataResult : public ServiceResult
{
public:
struct RegionProportionData
{
std::string avgObjectSize;
std::string bytesProportion;
std::string bps;
std::string totalQuery;
std::string avgResponseRate;
std::string reqErrRate;
std::string reqHitRate;
std::string proportion;
std::string qps;
std::string byteHitRate;
std::string totalBytes;
std::string region;
std::string regionEname;
std::string avgResponseTime;
};
struct RegionProportionData
{
std::string avgObjectSize;
std::string bytesProportion;
std::string bps;
std::string totalQuery;
std::string avgResponseRate;
std::string reqErrRate;
std::string reqHitRate;
std::string proportion;
std::string qps;
std::string byteHitRate;
std::string totalBytes;
std::string region;
std::string regionEname;
std::string avgResponseTime;
};
DescribeDomainRegionDataResult();
explicit DescribeDomainRegionDataResult(const std::string &payload);
~DescribeDomainRegionDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<RegionProportionData> getValue()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<RegionProportionData> getValue()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::vector<RegionProportionData> value_;
std::string dataInterval_;
std::string startTime_;
std::string endTime_;
std::string domainName_;
std::vector<RegionProportionData> value_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainReqHitRateDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string value;
std::string timeStamp;
};
struct DataModule
{
std::string value;
std::string timeStamp;
};
DescribeDomainReqHitRateDataResult();
explicit DescribeDomainReqHitRateDataResult(const std::string &payload);
~DescribeDomainReqHitRateDataResult();
std::vector<DataModule> getReqHitRateInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<DataModule> getReqHitRateInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataModule> reqHitRateInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<DataModule> reqHitRateInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -32,40 +32,40 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainSlowRatioResult : public ServiceResult
{
public:
struct SlowRatioData
{
int slowUsers;
std::string ispNameEn;
std::string ispNameZh;
std::string time;
std::string regionNameEn;
int totalUsers;
float slowRatio;
std::string regionNameZh;
};
struct SlowRatioData
{
int slowUsers;
std::string ispNameEn;
std::string ispNameZh;
std::string time;
std::string regionNameEn;
int totalUsers;
float slowRatio;
std::string regionNameZh;
};
DescribeDomainSlowRatioResult();
explicit DescribeDomainSlowRatioResult(const std::string &payload);
~DescribeDomainSlowRatioResult();
int getTotalCount()const;
std::string getEndTime()const;
int getPageSize()const;
int getPageNumber()const;
int getDataInterval()const;
std::string getStartTime()const;
std::vector<SlowRatioData> getSlowRatioDataPerInterval()const;
int getTotalCount()const;
std::string getEndTime()const;
int getPageSize()const;
int getPageNumber()const;
int getDataInterval()const;
std::string getStartTime()const;
std::vector<SlowRatioData> getSlowRatioDataPerInterval()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string endTime_;
int pageSize_;
int pageNumber_;
int dataInterval_;
std::string startTime_;
std::vector<SlowRatioData> slowRatioDataPerInterval_;
int totalCount_;
std::string endTime_;
int pageSize_;
int pageNumber_;
int dataInterval_;
std::string startTime_;
std::vector<SlowRatioData> slowRatioDataPerInterval_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcBpsDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string value;
std::string timeStamp;
};
struct DataModule
{
std::string value;
std::string timeStamp;
};
DescribeDomainSrcBpsDataResult();
explicit DescribeDomainSrcBpsDataResult(const std::string &payload);
~DescribeDomainSrcBpsDataResult();
std::vector<DataModule> getSrcBpsDataPerInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<DataModule> getSrcBpsDataPerInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataModule> srcBpsDataPerInterval_;
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<DataModule> srcBpsDataPerInterval_;
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcFlowDataResult : public ServiceResult
{
public:
struct DataModule
{
std::string value;
std::string timeStamp;
};
struct DataModule
{
std::string value;
std::string timeStamp;
};
DescribeDomainSrcFlowDataResult();
explicit DescribeDomainSrcFlowDataResult(const std::string &payload);
~DescribeDomainSrcFlowDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<DataModule> getSrcFlowDataPerInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<DataModule> getSrcFlowDataPerInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<DataModule> srcFlowDataPerInterval_;
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<DataModule> srcFlowDataPerInterval_;
};
}

View File

@@ -32,29 +32,29 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainTopReferVisitResult : public ServiceResult
{
public:
struct ReferList
{
std::string visitData;
float visitProportion;
float flowProportion;
std::string referDetail;
std::string flow;
};
struct ReferList
{
std::string visitData;
float visitProportion;
float flowProportion;
std::string referDetail;
std::string flow;
};
DescribeDomainTopReferVisitResult();
explicit DescribeDomainTopReferVisitResult(const std::string &payload);
~DescribeDomainTopReferVisitResult();
std::string getDomainName()const;
std::string getStartTime()const;
std::vector<ReferList> getTopReferList()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::vector<ReferList> getTopReferList()const;
protected:
void parse(const std::string &payload);
private:
std::string domainName_;
std::string startTime_;
std::vector<ReferList> topReferList_;
std::string domainName_;
std::string startTime_;
std::vector<ReferList> topReferList_;
};
}

View File

@@ -32,37 +32,37 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainTopUrlVisitResult : public ServiceResult
{
public:
struct UrlList
{
std::string visitData;
float visitProportion;
float flowProportion;
std::string urlDetail;
std::string flow;
};
struct UrlList
{
std::string visitData;
float visitProportion;
float flowProportion;
std::string urlDetail;
std::string flow;
};
DescribeDomainTopUrlVisitResult();
explicit DescribeDomainTopUrlVisitResult(const std::string &payload);
~DescribeDomainTopUrlVisitResult();
std::vector<UrlList> getUrl200List()const;
std::vector<UrlList> getUrl500List()const;
std::vector<UrlList> getUrl400List()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::vector<UrlList> getUrl300List()const;
std::vector<UrlList> getAllUrlList()const;
std::vector<UrlList> getUrl200List()const;
std::vector<UrlList> getUrl500List()const;
std::vector<UrlList> getUrl400List()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::vector<UrlList> getUrl300List()const;
std::vector<UrlList> getAllUrlList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<UrlList> url200List_;
std::vector<UrlList> url500List_;
std::vector<UrlList> url400List_;
std::string domainName_;
std::string startTime_;
std::vector<UrlList> url300List_;
std::vector<UrlList> allUrlList_;
std::vector<UrlList> url200List_;
std::vector<UrlList> url500List_;
std::vector<UrlList> url400List_;
std::string domainName_;
std::string startTime_;
std::vector<UrlList> url300List_;
std::vector<UrlList> allUrlList_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainUpstreamBpsOfEdgeResult : public ServiceResult
{
public:
struct DomainBpsModel
{
float bps;
std::string time;
};
struct DomainBpsModel
{
float bps;
std::string time;
};
DescribeDomainUpstreamBpsOfEdgeResult();
explicit DescribeDomainUpstreamBpsOfEdgeResult(const std::string &payload);
~DescribeDomainUpstreamBpsOfEdgeResult();
std::vector<DomainBpsModel> getBpsDatas()const;
std::vector<DomainBpsModel> getBpsDatas()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainBpsModel> bpsDatas_;
std::vector<DomainBpsModel> bpsDatas_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainUpstreamOfCenterResult : public ServiceResult
{
public:
struct DomainBpsModel
{
float bps;
std::string time;
};
struct DomainBpsModel
{
float bps;
std::string time;
};
DescribeDomainUpstreamOfCenterResult();
explicit DescribeDomainUpstreamOfCenterResult(const std::string &payload);
~DescribeDomainUpstreamOfCenterResult();
std::vector<DomainBpsModel> getBpsDatas()const;
std::vector<DomainBpsModel> getBpsDatas()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainBpsModel> bpsDatas_;
std::vector<DomainBpsModel> bpsDatas_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainUvDataResult : public ServiceResult
{
public:
struct UsageData
{
std::string value;
std::string timeStamp;
};
struct UsageData
{
std::string value;
std::string timeStamp;
};
DescribeDomainUvDataResult();
explicit DescribeDomainUvDataResult(const std::string &payload);
~DescribeDomainUvDataResult();
std::vector<UsageData> getUvDataInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageData> getUvDataInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::vector<UsageData> uvDataInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageData> uvDataInterval_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -32,33 +32,33 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainsBySourceResult : public ServiceResult
{
public:
struct DomainsData
{
struct DomainInfo
{
std::string status;
std::string domainName;
std::string createTime;
std::string updateTime;
std::string domainCname;
};
std::vector<std::string> domains;
std::vector<DomainsData::DomainInfo> domainInfos;
std::string source;
};
struct DomainsData
{
struct DomainInfo
{
std::string status;
std::string domainName;
std::string createTime;
std::string updateTime;
std::string domainCname;
};
std::vector<std::string> domains;
std::vector<DomainsData::DomainInfo> domainInfos;
std::string source;
};
DescribeDomainsBySourceResult();
explicit DescribeDomainsBySourceResult(const std::string &payload);
~DescribeDomainsBySourceResult();
std::vector<DomainsData> getDomainsList()const;
std::string getSources()const;
std::vector<DomainsData> getDomainsList()const;
std::string getSources()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainsData> domainsList_;
std::string sources_;
std::vector<DomainsData> domainsList_;
std::string sources_;
};
}

View File

@@ -32,51 +32,51 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeDomainsUsageByDayResult : public ServiceResult
{
public:
struct UsageTotal
{
std::string bytesHitRate;
std::string maxBps;
std::string maxSrcBpsTime;
std::string requestHitRate;
std::string maxBpsTime;
std::string totalTraffic;
std::string maxSrcBps;
std::string totalAccess;
};
struct UsageByDay
{
std::string bytesHitRate;
std::string maxBps;
std::string maxSrcBpsTime;
std::string qps;
std::string requestHitRate;
std::string maxBpsTime;
std::string totalTraffic;
std::string maxSrcBps;
std::string totalAccess;
std::string timeStamp;
};
struct UsageTotal
{
std::string bytesHitRate;
std::string maxBps;
std::string maxSrcBpsTime;
std::string requestHitRate;
std::string maxBpsTime;
std::string totalTraffic;
std::string maxSrcBps;
std::string totalAccess;
};
struct UsageByDay
{
std::string bytesHitRate;
std::string maxBps;
std::string maxSrcBpsTime;
std::string qps;
std::string requestHitRate;
std::string maxBpsTime;
std::string totalTraffic;
std::string maxSrcBps;
std::string totalAccess;
std::string timeStamp;
};
DescribeDomainsUsageByDayResult();
explicit DescribeDomainsUsageByDayResult(const std::string &payload);
~DescribeDomainsUsageByDayResult();
std::vector<UsageTotal> getUsageTotal()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageByDay> getUsageByDays()const;
UsageTotal getUsageTotal()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageByDay> getUsageByDays()const;
protected:
void parse(const std::string &payload);
private:
std::vector<UsageTotal> usageTotal_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageByDay> usageByDays_;
UsageTotal usageTotal_;
std::string endTime_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageByDay> usageByDays_;
};
}

View File

@@ -32,38 +32,38 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeExtensiveDomainDataResult : public ServiceResult
{
public:
struct UsageData
{
std::string acc;
std::string exactDomain;
std::string timeStamp;
std::string flow;
};
struct UsageData
{
std::string acc;
std::string exactDomain;
std::string timeStamp;
std::string flow;
};
DescribeExtensiveDomainDataResult();
explicit DescribeExtensiveDomainDataResult(const std::string &payload);
~DescribeExtensiveDomainDataResult();
std::string getTotalCount()const;
std::string getEndTime()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageData> getDataPerInterval()const;
std::string getExtensiveDomain()const;
std::string getTotalCount()const;
std::string getEndTime()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::vector<UsageData> getDataPerInterval()const;
std::string getExtensiveDomain()const;
protected:
void parse(const std::string &payload);
private:
std::string totalCount_;
std::string endTime_;
std::string pageSize_;
std::string pageNumber_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageData> dataPerInterval_;
std::string extensiveDomain_;
std::string totalCount_;
std::string endTime_;
std::string pageSize_;
std::string pageNumber_;
std::string dataInterval_;
std::string startTime_;
std::vector<UsageData> dataPerInterval_;
std::string extensiveDomain_;
};
}

View File

@@ -0,0 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeFCTriggerRequest : public RpcServiceRequest
{
public:
DescribeFCTriggerRequest();
~DescribeFCTriggerRequest();
std::string getTriggerARN()const;
void setTriggerARN(const std::string& triggerARN);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string triggerARN_;
std::string app_ip_;
std::string product_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
long ownerId_;
std::string proxy_original_source_ip_;
std::string version_;
std::string ownerIdLoginEmail_;
std::string callerType_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
std::string accessKeyId_;
bool security_transport_;
std::string securityToken_;
std::string requestId_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeFCTriggerResult : public ServiceResult
{
public:
struct FCTrigger
{
std::string triggerARN;
std::string sourceArn;
std::string eventMetaName;
std::string eventMetaVersion;
std::string roleARN;
std::string notes;
};
DescribeFCTriggerResult();
explicit DescribeFCTriggerResult(const std::string &payload);
~DescribeFCTriggerResult();
FCTrigger getFCTrigger()const;
protected:
void parse(const std::string &payload);
private:
FCTrigger fCTrigger_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEFCTRIGGERRESULT_H_

View File

@@ -37,20 +37,20 @@ namespace AlibabaCloud
DescribeIpInfoResult();
explicit DescribeIpInfoResult(const std::string &payload);
~DescribeIpInfoResult();
std::string getISP()const;
std::string getRegion()const;
std::string getIspEname()const;
std::string getCdnIp()const;
std::string getRegionEname()const;
std::string getISP()const;
std::string getRegion()const;
std::string getIspEname()const;
std::string getCdnIp()const;
std::string getRegionEname()const;
protected:
void parse(const std::string &payload);
private:
std::string iSP_;
std::string region_;
std::string ispEname_;
std::string cdnIp_;
std::string regionEname_;
std::string iSP_;
std::string region_;
std::string ispEname_;
std::string cdnIp_;
std::string regionEname_;
};
}

View File

@@ -37,14 +37,14 @@ namespace AlibabaCloud
DescribeL2VipsByDomainResult();
explicit DescribeL2VipsByDomainResult(const std::string &payload);
~DescribeL2VipsByDomainResult();
std::string getDomainName()const;
std::vector<std::string> getVips()const;
std::string getDomainName()const;
std::vector<std::string> getVips()const;
protected:
void parse(const std::string &payload);
private:
std::string domainName_;
std::vector<std::string> vips_;
std::string domainName_;
std::vector<std::string> vips_;
};
}

View File

@@ -32,26 +32,26 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveAppRecordConfigResult : public ServiceResult
{
public:
struct LiveAppRecord
{
std::string ossEndpoint;
std::string domainName;
std::string createTime;
std::string ossBucket;
std::string ossObjectPrefix;
std::string appName;
};
struct LiveAppRecord
{
std::string ossEndpoint;
std::string domainName;
std::string createTime;
std::string ossBucket;
std::string ossObjectPrefix;
std::string appName;
};
DescribeLiveAppRecordConfigResult();
explicit DescribeLiveAppRecordConfigResult(const std::string &payload);
~DescribeLiveAppRecordConfigResult();
std::vector<LiveAppRecord> getLiveAppRecord()const;
LiveAppRecord getLiveAppRecord()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LiveAppRecord> liveAppRecord_;
LiveAppRecord liveAppRecord_;
};
}

View File

@@ -32,25 +32,25 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLivePullStreamConfigResult : public ServiceResult
{
public:
struct LiveAppRecord
{
std::string sourceUrl;
std::string streamName;
std::string endTime;
std::string domainName;
std::string startTime;
};
struct LiveAppRecord
{
std::string sourceUrl;
std::string streamName;
std::string endTime;
std::string domainName;
std::string startTime;
};
DescribeLivePullStreamConfigResult();
explicit DescribeLivePullStreamConfigResult(const std::string &payload);
~DescribeLivePullStreamConfigResult();
std::vector<LiveAppRecord> getLiveAppRecordList()const;
std::vector<LiveAppRecord> getLiveAppRecordList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LiveAppRecord> liveAppRecordList_;
std::vector<LiveAppRecord> liveAppRecordList_;
};
}

View File

@@ -32,26 +32,26 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveRecordConfigResult : public ServiceResult
{
public:
struct LiveAppRecord
{
std::string ossEndpoint;
std::string domainName;
std::string createTime;
std::string ossBucket;
std::string ossObjectPrefix;
std::string appName;
};
struct LiveAppRecord
{
std::string ossEndpoint;
std::string domainName;
std::string createTime;
std::string ossBucket;
std::string ossObjectPrefix;
std::string appName;
};
DescribeLiveRecordConfigResult();
explicit DescribeLiveRecordConfigResult(const std::string &payload);
~DescribeLiveRecordConfigResult();
std::vector<LiveAppRecord> getLiveAppRecordList()const;
std::vector<LiveAppRecord> getLiveAppRecordList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LiveAppRecord> liveAppRecordList_;
std::vector<LiveAppRecord> liveAppRecordList_;
};
}

View File

@@ -32,38 +32,38 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveSnapshotConfigResult : public ServiceResult
{
public:
struct LiveStreamSnapshotConfig
{
std::string overwriteOssObject;
std::string sequenceOssObject;
int timeInterval;
std::string ossEndpoint;
std::string domainName;
std::string createTime;
std::string ossBucket;
std::string appName;
};
struct LiveStreamSnapshotConfig
{
std::string overwriteOssObject;
std::string sequenceOssObject;
int timeInterval;
std::string ossEndpoint;
std::string domainName;
std::string createTime;
std::string ossBucket;
std::string appName;
};
DescribeLiveSnapshotConfigResult();
explicit DescribeLiveSnapshotConfigResult(const std::string &payload);
~DescribeLiveSnapshotConfigResult();
std::string getOrder()const;
int getTotalNum()const;
int getPageNum()const;
int getPageSize()const;
int getTotalPage()const;
std::vector<LiveStreamSnapshotConfig> getLiveStreamSnapshotConfigList()const;
std::string getOrder()const;
int getTotalNum()const;
int getPageNum()const;
int getPageSize()const;
int getTotalPage()const;
std::vector<LiveStreamSnapshotConfig> getLiveStreamSnapshotConfigList()const;
protected:
void parse(const std::string &payload);
private:
std::string order_;
int totalNum_;
int pageNum_;
int pageSize_;
int totalPage_;
std::vector<LiveStreamSnapshotConfig> liveStreamSnapshotConfigList_;
std::string order_;
int totalNum_;
int pageNum_;
int pageSize_;
int totalPage_;
std::vector<LiveStreamSnapshotConfig> liveStreamSnapshotConfigList_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveSpecificDomainMappingResult : public ServiceResult
{
public:
struct DomainMappingModel
{
std::string pullDomain;
std::string pushDomain;
};
struct DomainMappingModel
{
std::string pullDomain;
std::string pushDomain;
};
DescribeLiveSpecificDomainMappingResult();
explicit DescribeLiveSpecificDomainMappingResult(const std::string &payload);
~DescribeLiveSpecificDomainMappingResult();
std::vector<DomainMappingModel> getDomainMappingModels()const;
std::vector<DomainMappingModel> getDomainMappingModels()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainMappingModel> domainMappingModels_;
std::vector<DomainMappingModel> domainMappingModels_;
};
}

View File

@@ -32,25 +32,25 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamBitRateDataResult : public ServiceResult
{
public:
struct FrameRateAndBitRateInfo
{
float videoFrameRate;
std::string time;
float audioFrameRate;
float bitRate;
std::string streamUrl;
};
struct FrameRateAndBitRateInfo
{
float videoFrameRate;
std::string time;
float audioFrameRate;
float bitRate;
std::string streamUrl;
};
DescribeLiveStreamBitRateDataResult();
explicit DescribeLiveStreamBitRateDataResult(const std::string &payload);
~DescribeLiveStreamBitRateDataResult();
std::vector<FrameRateAndBitRateInfo> getFrameRateAndBitRateInfos()const;
std::vector<FrameRateAndBitRateInfo> getFrameRateAndBitRateInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<FrameRateAndBitRateInfo> frameRateAndBitRateInfos_;
std::vector<FrameRateAndBitRateInfo> frameRateAndBitRateInfos_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamBpsDataResult : public ServiceResult
{
public:
struct DomainBpsModel
{
float bps;
std::string time;
};
struct DomainBpsModel
{
float bps;
std::string time;
};
DescribeLiveStreamBpsDataResult();
explicit DescribeLiveStreamBpsDataResult(const std::string &payload);
~DescribeLiveStreamBpsDataResult();
std::vector<DomainBpsModel> getBpsDatas()const;
std::vector<DomainBpsModel> getBpsDatas()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainBpsModel> bpsDatas_;
std::vector<DomainBpsModel> bpsDatas_;
};
}

View File

@@ -32,28 +32,28 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamDomainAppInfoResult : public ServiceResult
{
public:
struct DomainAppInfo
{
std::string appDomain;
std::string appOssBucket;
std::string appId;
std::string appKey;
std::string updateTime;
std::string appOwnerId;
std::string appOssHost;
std::string appSecret;
};
struct DomainAppInfo
{
std::string appDomain;
std::string appOssBucket;
std::string appId;
std::string appKey;
std::string updateTime;
std::string appOwnerId;
std::string appOssHost;
std::string appSecret;
};
DescribeLiveStreamDomainAppInfoResult();
explicit DescribeLiveStreamDomainAppInfoResult(const std::string &payload);
~DescribeLiveStreamDomainAppInfoResult();
std::vector<DomainAppInfo> getDomainAppList()const;
std::vector<DomainAppInfo> getDomainAppList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainAppInfo> domainAppList_;
std::vector<DomainAppInfo> domainAppList_;
};
}

View File

@@ -32,31 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamFrameAndBitRateByDomainResult : public ServiceResult
{
public:
struct FrameRateAndBitRateInfo
{
float videoFrameRate;
std::string time;
float audioFrameRate;
float bitRate;
std::string streamUrl;
};
struct FrameRateAndBitRateInfo
{
float videoFrameRate;
std::string time;
float audioFrameRate;
float bitRate;
std::string streamUrl;
};
DescribeLiveStreamFrameAndBitRateByDomainResult();
explicit DescribeLiveStreamFrameAndBitRateByDomainResult(const std::string &payload);
~DescribeLiveStreamFrameAndBitRateByDomainResult();
long getPageSize()const;
long getPageNumber()const;
long getCount()const;
std::vector<FrameRateAndBitRateInfo> getFrameRateAndBitRateInfos()const;
long getPageSize()const;
long getPageNumber()const;
long getCount()const;
std::vector<FrameRateAndBitRateInfo> getFrameRateAndBitRateInfos()const;
protected:
void parse(const std::string &payload);
private:
long pageSize_;
long pageNumber_;
long count_;
std::vector<FrameRateAndBitRateInfo> frameRateAndBitRateInfos_;
long pageSize_;
long pageNumber_;
long count_;
std::vector<FrameRateAndBitRateInfo> frameRateAndBitRateInfos_;
};
}

View File

@@ -32,28 +32,28 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamFrameInfoResult : public ServiceResult
{
public:
struct FrameDataModel
{
float frameRate;
std::string clientAddr;
std::string server;
std::string time;
std::string stream;
float frameByte;
float audioRate;
float audioByte;
};
struct FrameDataModel
{
float frameRate;
std::string clientAddr;
std::string server;
std::string time;
std::string stream;
float frameByte;
float audioRate;
float audioByte;
};
DescribeLiveStreamFrameInfoResult();
explicit DescribeLiveStreamFrameInfoResult(const std::string &payload);
~DescribeLiveStreamFrameInfoResult();
std::vector<FrameDataModel> getFrameDataInfos()const;
std::vector<FrameDataModel> getFrameDataInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<FrameDataModel> frameDataInfos_;
std::vector<FrameDataModel> frameDataInfos_;
};
}

View File

@@ -32,23 +32,23 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamFrameLossRatioResult : public ServiceResult
{
public:
struct FrameLossRatioInfo
{
std::string time;
float frameLossRatio;
std::string streamUrl;
};
struct FrameLossRatioInfo
{
std::string time;
float frameLossRatio;
std::string streamUrl;
};
DescribeLiveStreamFrameLossRatioResult();
explicit DescribeLiveStreamFrameLossRatioResult(const std::string &payload);
~DescribeLiveStreamFrameLossRatioResult();
std::vector<FrameLossRatioInfo> getFrameLossRatioInfos()const;
std::vector<FrameLossRatioInfo> getFrameLossRatioInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<FrameLossRatioInfo> frameLossRatioInfos_;
std::vector<FrameLossRatioInfo> frameLossRatioInfos_;
};
}

View File

@@ -32,31 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamHlsOnlineUserNumByDomainResult : public ServiceResult
{
public:
struct LiveStreamOnlineUserNumInfo
{
std::string time;
std::string streamUrl;
long userNumber;
};
struct LiveStreamOnlineUserNumInfo
{
std::string time;
std::string streamUrl;
long userNumber;
};
DescribeLiveStreamHlsOnlineUserNumByDomainResult();
explicit DescribeLiveStreamHlsOnlineUserNumByDomainResult(const std::string &payload);
~DescribeLiveStreamHlsOnlineUserNumByDomainResult();
std::vector<LiveStreamOnlineUserNumInfo> getOnlineUserInfo()const;
long getPageSize()const;
long getPageNumber()const;
long getTotalUserNumber()const;
long getCount()const;
std::vector<LiveStreamOnlineUserNumInfo> getOnlineUserInfo()const;
long getPageSize()const;
long getPageNumber()const;
long getTotalUserNumber()const;
long getCount()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LiveStreamOnlineUserNumInfo> onlineUserInfo_;
long pageSize_;
long pageNumber_;
long totalUserNumber_;
long count_;
std::vector<LiveStreamOnlineUserNumInfo> onlineUserInfo_;
long pageSize_;
long pageNumber_;
long totalUserNumber_;
long count_;
};
}

View File

@@ -32,23 +32,23 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamLimitInfoResult : public ServiceResult
{
public:
struct UserLimitMode
{
std::string limitTranscodeNum;
std::string limitDomain;
std::string limitNum;
};
struct UserLimitMode
{
std::string limitTranscodeNum;
std::string limitDomain;
std::string limitNum;
};
DescribeLiveStreamLimitInfoResult();
explicit DescribeLiveStreamLimitInfoResult(const std::string &payload);
~DescribeLiveStreamLimitInfoResult();
std::vector<UserLimitMode> getUserLimitLists()const;
std::vector<UserLimitMode> getUserLimitLists()const;
protected:
void parse(const std::string &payload);
private:
std::vector<UserLimitMode> userLimitLists_;
std::vector<UserLimitMode> userLimitLists_;
};
}

View File

@@ -32,24 +32,24 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamNumberListResult : public ServiceResult
{
public:
struct StreamNumberInfo
{
int number;
std::string time;
};
struct StreamNumberInfo
{
int number;
std::string time;
};
DescribeLiveStreamNumberListResult();
explicit DescribeLiveStreamNumberListResult(const std::string &payload);
~DescribeLiveStreamNumberListResult();
std::string getDomainName()const;
std::vector<StreamNumberInfo> getStreamNumberInfos()const;
std::string getDomainName()const;
std::vector<StreamNumberInfo> getStreamNumberInfos()const;
protected:
void parse(const std::string &payload);
private:
std::string domainName_;
std::vector<StreamNumberInfo> streamNumberInfos_;
std::string domainName_;
std::vector<StreamNumberInfo> streamNumberInfos_;
};
}

View File

@@ -32,30 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamOnlineBpsResult : public ServiceResult
{
public:
struct LiveStreamOnlineBpsInfo
{
float downBps;
std::string time;
float upBps;
std::string streamUrl;
};
struct LiveStreamOnlineBpsInfo
{
float downBps;
std::string time;
float upBps;
std::string streamUrl;
};
DescribeLiveStreamOnlineBpsResult();
explicit DescribeLiveStreamOnlineBpsResult(const std::string &payload);
~DescribeLiveStreamOnlineBpsResult();
std::vector<LiveStreamOnlineBpsInfo> getLiveStreamOnlineBpsInfos()const;
float getHlsBps()const;
long getTotalUserNumber()const;
float getFlvBps()const;
std::vector<LiveStreamOnlineBpsInfo> getLiveStreamOnlineBpsInfos()const;
float getHlsBps()const;
long getTotalUserNumber()const;
float getFlvBps()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LiveStreamOnlineBpsInfo> liveStreamOnlineBpsInfos_;
float hlsBps_;
long totalUserNumber_;
float flvBps_;
std::vector<LiveStreamOnlineBpsInfo> liveStreamOnlineBpsInfos_;
float hlsBps_;
long totalUserNumber_;
float flvBps_;
};
}

View File

@@ -32,31 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamOnlineUserNumByDomainResult : public ServiceResult
{
public:
struct LiveStreamOnlineUserNumInfo
{
std::string time;
std::string streamUrl;
long userNumber;
};
struct LiveStreamOnlineUserNumInfo
{
std::string time;
std::string streamUrl;
long userNumber;
};
DescribeLiveStreamOnlineUserNumByDomainResult();
explicit DescribeLiveStreamOnlineUserNumByDomainResult(const std::string &payload);
~DescribeLiveStreamOnlineUserNumByDomainResult();
std::vector<LiveStreamOnlineUserNumInfo> getOnlineUserInfo()const;
long getPageSize()const;
long getPageNumber()const;
long getTotalUserNumber()const;
long getCount()const;
std::vector<LiveStreamOnlineUserNumInfo> getOnlineUserInfo()const;
long getPageSize()const;
long getPageNumber()const;
long getTotalUserNumber()const;
long getCount()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LiveStreamOnlineUserNumInfo> onlineUserInfo_;
long pageSize_;
long pageNumber_;
long totalUserNumber_;
long count_;
std::vector<LiveStreamOnlineUserNumInfo> onlineUserInfo_;
long pageSize_;
long pageNumber_;
long totalUserNumber_;
long count_;
};
}

View File

@@ -32,25 +32,25 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamOnlineUserNumResult : public ServiceResult
{
public:
struct LiveStreamOnlineUserNumInfo
{
std::string time;
std::string streamUrl;
long userNumber;
};
struct LiveStreamOnlineUserNumInfo
{
std::string time;
std::string streamUrl;
long userNumber;
};
DescribeLiveStreamOnlineUserNumResult();
explicit DescribeLiveStreamOnlineUserNumResult(const std::string &payload);
~DescribeLiveStreamOnlineUserNumResult();
std::vector<LiveStreamOnlineUserNumInfo> getOnlineUserInfo()const;
long getTotalUserNumber()const;
std::vector<LiveStreamOnlineUserNumInfo> getOnlineUserInfo()const;
long getTotalUserNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<LiveStreamOnlineUserNumInfo> onlineUserInfo_;
long totalUserNumber_;
std::vector<LiveStreamOnlineUserNumInfo> onlineUserInfo_;
long totalUserNumber_;
};
}

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