Compare commits

..

19 Commits
1.3.8 ... 1.8.2

Author SHA1 Message Date
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
856 changed files with 58434 additions and 1515 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

@@ -1,3 +1,69 @@
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.

View File

@@ -66,4 +66,8 @@ add_subdirectory(cs)
add_subdirectory(ccc)
add_subdirectory(teslamaxcompute)
add_subdirectory(push)
add_subdirectory(csb)
add_subdirectory(csb)
add_subdirectory(domain)
add_subdirectory(green)
add_subdirectory(hsm)
add_subdirectory(dcdn)

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.3.8
1.8.2

View File

@@ -45,6 +45,8 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/RegisterTagResult.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosRequest.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosResult.h
include/alibabacloud/cloudphoto/model/FetchMomentPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchMomentPhotosResult.h
include/alibabacloud/cloudphoto/model/DeletePhotosRequest.h
include/alibabacloud/cloudphoto/model/DeletePhotosResult.h
include/alibabacloud/cloudphoto/model/MergeFacesRequest.h
@@ -73,6 +75,8 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/RemoveAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/ListAlbumsRequest.h
include/alibabacloud/cloudphoto/model/ListAlbumsResult.h
include/alibabacloud/cloudphoto/model/FetchPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchPhotosResult.h
include/alibabacloud/cloudphoto/model/ListPhotoFacesRequest.h
include/alibabacloud/cloudphoto/model/ListPhotoFacesResult.h
include/alibabacloud/cloudphoto/model/RenameAlbumRequest.h
@@ -184,6 +188,8 @@ set(cloudphoto_src
src/model/RegisterTagResult.cc
src/model/ListTimeLinePhotosRequest.cc
src/model/ListTimeLinePhotosResult.cc
src/model/FetchMomentPhotosRequest.cc
src/model/FetchMomentPhotosResult.cc
src/model/DeletePhotosRequest.cc
src/model/DeletePhotosResult.cc
src/model/MergeFacesRequest.cc
@@ -212,6 +218,8 @@ set(cloudphoto_src
src/model/RemoveAlbumPhotosResult.cc
src/model/ListAlbumsRequest.cc
src/model/ListAlbumsResult.cc
src/model/FetchPhotosRequest.cc
src/model/FetchPhotosResult.cc
src/model/ListPhotoFacesRequest.cc
src/model/ListPhotoFacesResult.cc
src/model/RenameAlbumRequest.cc

View File

@@ -46,6 +46,8 @@
#include "model/RegisterTagResult.h"
#include "model/ListTimeLinePhotosRequest.h"
#include "model/ListTimeLinePhotosResult.h"
#include "model/FetchMomentPhotosRequest.h"
#include "model/FetchMomentPhotosResult.h"
#include "model/DeletePhotosRequest.h"
#include "model/DeletePhotosResult.h"
#include "model/MergeFacesRequest.h"
@@ -74,6 +76,8 @@
#include "model/RemoveAlbumPhotosResult.h"
#include "model/ListAlbumsRequest.h"
#include "model/ListAlbumsResult.h"
#include "model/FetchPhotosRequest.h"
#include "model/FetchPhotosResult.h"
#include "model/ListPhotoFacesRequest.h"
#include "model/ListPhotoFacesResult.h"
#include "model/RenameAlbumRequest.h"
@@ -203,6 +207,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListTimeLinePhotosResult> ListTimeLinePhotosOutcome;
typedef std::future<ListTimeLinePhotosOutcome> ListTimeLinePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListTimeLinePhotosRequest&, const ListTimeLinePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTimeLinePhotosAsyncHandler;
typedef Outcome<Error, Model::FetchMomentPhotosResult> FetchMomentPhotosOutcome;
typedef std::future<FetchMomentPhotosOutcome> FetchMomentPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchMomentPhotosRequest&, const FetchMomentPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchMomentPhotosAsyncHandler;
typedef Outcome<Error, Model::DeletePhotosResult> DeletePhotosOutcome;
typedef std::future<DeletePhotosOutcome> DeletePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeletePhotosRequest&, const DeletePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotosAsyncHandler;
@@ -245,6 +252,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListAlbumsResult> ListAlbumsOutcome;
typedef std::future<ListAlbumsOutcome> ListAlbumsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumsRequest&, const ListAlbumsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumsAsyncHandler;
typedef Outcome<Error, Model::FetchPhotosResult> FetchPhotosOutcome;
typedef std::future<FetchPhotosOutcome> FetchPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchPhotosRequest&, const FetchPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchPhotosAsyncHandler;
typedef Outcome<Error, Model::ListPhotoFacesResult> ListPhotoFacesOutcome;
typedef std::future<ListPhotoFacesOutcome> ListPhotoFacesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotoFacesRequest&, const ListPhotoFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoFacesAsyncHandler;
@@ -412,6 +422,9 @@ namespace AlibabaCloud
ListTimeLinePhotosOutcome listTimeLinePhotos(const Model::ListTimeLinePhotosRequest &request)const;
void listTimeLinePhotosAsync(const Model::ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTimeLinePhotosOutcomeCallable listTimeLinePhotosCallable(const Model::ListTimeLinePhotosRequest& request) const;
FetchMomentPhotosOutcome fetchMomentPhotos(const Model::FetchMomentPhotosRequest &request)const;
void fetchMomentPhotosAsync(const Model::FetchMomentPhotosRequest& request, const FetchMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchMomentPhotosOutcomeCallable fetchMomentPhotosCallable(const Model::FetchMomentPhotosRequest& request) const;
DeletePhotosOutcome deletePhotos(const Model::DeletePhotosRequest &request)const;
void deletePhotosAsync(const Model::DeletePhotosRequest& request, const DeletePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePhotosOutcomeCallable deletePhotosCallable(const Model::DeletePhotosRequest& request) const;
@@ -454,6 +467,9 @@ namespace AlibabaCloud
ListAlbumsOutcome listAlbums(const Model::ListAlbumsRequest &request)const;
void listAlbumsAsync(const Model::ListAlbumsRequest& request, const ListAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumsOutcomeCallable listAlbumsCallable(const Model::ListAlbumsRequest& request) const;
FetchPhotosOutcome fetchPhotos(const Model::FetchPhotosRequest &request)const;
void fetchPhotosAsync(const Model::FetchPhotosRequest& request, const FetchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchPhotosOutcomeCallable fetchPhotosCallable(const Model::FetchPhotosRequest& request) const;
ListPhotoFacesOutcome listPhotoFaces(const Model::ListPhotoFacesRequest &request)const;
void listPhotoFacesAsync(const Model::ListPhotoFacesRequest& request, const ListPhotoFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoFacesOutcomeCallable listPhotoFacesCallable(const Model::ListPhotoFacesRequest& request) const;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
EditPhotosRequest();
~EditPhotosRequest();
long getTakenAt()const;
void setTakenAt(long takenAt);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getShareExpireTime()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
void setTitle(const std::string& title);
private:
long takenAt_;
std::string libraryId_;
long shareExpireTime_;
std::vector<long> photoId_;

View File

@@ -35,6 +35,7 @@ namespace AlibabaCloud
struct Library
{
std::string libraryId;
long ctime;
};

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchMomentPhotosRequest : public RpcServiceRequest
{
public:
FetchMomentPhotosRequest();
~FetchMomentPhotosRequest();
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
int getPage()const;
void setPage(int page);
long getMomentId()const;
void setMomentId(long momentId);
std::string getOrder()const;
void setOrder(const std::string& order);
private:
int size_;
std::string libraryId_;
std::string orderBy_;
std::string storeName_;
int page_;
long momentId_;
std::string order_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchMomentPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
FetchMomentPhotosResult();
explicit FetchMomentPhotosResult(const std::string &payload);
~FetchMomentPhotosResult();
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchPhotosRequest : public RpcServiceRequest
{
public:
FetchPhotosRequest();
~FetchPhotosRequest();
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
int getPage()const;
void setPage(int page);
std::string getOrder()const;
void setOrder(const std::string& order);
private:
int size_;
std::string libraryId_;
std::string orderBy_;
std::string storeName_;
std::string state_;
int page_;
std::string order_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
FetchPhotosResult();
explicit FetchPhotosResult(const std::string &payload);
~FetchPhotosResult();
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
bool autoCleanEnabled;
};
Quota quota;
long ctime;
AutoCleanConfig autoCleanConfig;
};

View File

@@ -57,6 +57,7 @@ namespace AlibabaCloud
long mtime;
long id;
std::string name;
std::string remark;
};

View File

@@ -483,6 +483,42 @@ CloudPhotoClient::ListTimeLinePhotosOutcomeCallable CloudPhotoClient::listTimeLi
return task->get_future();
}
CloudPhotoClient::FetchMomentPhotosOutcome CloudPhotoClient::fetchMomentPhotos(const FetchMomentPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return FetchMomentPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return FetchMomentPhotosOutcome(FetchMomentPhotosResult(outcome.result()));
else
return FetchMomentPhotosOutcome(outcome.error());
}
void CloudPhotoClient::fetchMomentPhotosAsync(const FetchMomentPhotosRequest& request, const FetchMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, fetchMomentPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::FetchMomentPhotosOutcomeCallable CloudPhotoClient::fetchMomentPhotosCallable(const FetchMomentPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<FetchMomentPhotosOutcome()>>(
[this, request]()
{
return this->fetchMomentPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::DeletePhotosOutcome CloudPhotoClient::deletePhotos(const DeletePhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -987,6 +1023,42 @@ CloudPhotoClient::ListAlbumsOutcomeCallable CloudPhotoClient::listAlbumsCallable
return task->get_future();
}
CloudPhotoClient::FetchPhotosOutcome CloudPhotoClient::fetchPhotos(const FetchPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return FetchPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return FetchPhotosOutcome(FetchPhotosResult(outcome.result()));
else
return FetchPhotosOutcome(outcome.error());
}
void CloudPhotoClient::fetchPhotosAsync(const FetchPhotosRequest& request, const FetchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, fetchPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::FetchPhotosOutcomeCallable CloudPhotoClient::fetchPhotosCallable(const FetchPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<FetchPhotosOutcome()>>(
[this, request]()
{
return this->fetchPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::ListPhotoFacesOutcome CloudPhotoClient::listPhotoFaces(const ListPhotoFacesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -25,6 +25,17 @@ EditPhotosRequest::EditPhotosRequest() :
EditPhotosRequest::~EditPhotosRequest()
{}
long EditPhotosRequest::getTakenAt()const
{
return takenAt_;
}
void EditPhotosRequest::setTakenAt(long takenAt)
{
takenAt_ = takenAt;
setParameter("TakenAt", std::to_string(takenAt));
}
std::string EditPhotosRequest::getLibraryId()const
{
return libraryId_;

View File

@@ -46,6 +46,8 @@ void FetchLibrariesResult::parse(const std::string &payload)
Library librariesObject;
if(!value["LibraryId"].isNull())
librariesObject.libraryId = value["LibraryId"].asString();
if(!value["Ctime"].isNull())
librariesObject.ctime = std::stol(value["Ctime"].asString());
libraries_.push_back(librariesObject);
}
if(!value["Code"].isNull())

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudphoto/model/FetchMomentPhotosRequest.h>
using AlibabaCloud::CloudPhoto::Model::FetchMomentPhotosRequest;
FetchMomentPhotosRequest::FetchMomentPhotosRequest() :
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchMomentPhotos")
{}
FetchMomentPhotosRequest::~FetchMomentPhotosRequest()
{}
int FetchMomentPhotosRequest::getSize()const
{
return size_;
}
void FetchMomentPhotosRequest::setSize(int size)
{
size_ = size;
setParameter("Size", std::to_string(size));
}
std::string FetchMomentPhotosRequest::getLibraryId()const
{
return libraryId_;
}
void FetchMomentPhotosRequest::setLibraryId(const std::string& libraryId)
{
libraryId_ = libraryId;
setParameter("LibraryId", libraryId);
}
std::string FetchMomentPhotosRequest::getOrderBy()const
{
return orderBy_;
}
void FetchMomentPhotosRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setParameter("OrderBy", orderBy);
}
std::string FetchMomentPhotosRequest::getStoreName()const
{
return storeName_;
}
void FetchMomentPhotosRequest::setStoreName(const std::string& storeName)
{
storeName_ = storeName;
setParameter("StoreName", storeName);
}
int FetchMomentPhotosRequest::getPage()const
{
return page_;
}
void FetchMomentPhotosRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
long FetchMomentPhotosRequest::getMomentId()const
{
return momentId_;
}
void FetchMomentPhotosRequest::setMomentId(long momentId)
{
momentId_ = momentId;
setParameter("MomentId", std::to_string(momentId));
}
std::string FetchMomentPhotosRequest::getOrder()const
{
return order_;
}
void FetchMomentPhotosRequest::setOrder(const std::string& order)
{
order_ = order;
setParameter("Order", order);
}

View File

@@ -0,0 +1,118 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudphoto/model/FetchMomentPhotosResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CloudPhoto;
using namespace AlibabaCloud::CloudPhoto::Model;
FetchMomentPhotosResult::FetchMomentPhotosResult() :
ServiceResult()
{}
FetchMomentPhotosResult::FetchMomentPhotosResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FetchMomentPhotosResult::~FetchMomentPhotosResult()
{}
void FetchMomentPhotosResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPhotos = value["Photos"]["Photo"];
for (auto value : allPhotos)
{
Photo photosObject;
if(!value["Id"].isNull())
photosObject.id = std::stol(value["Id"].asString());
if(!value["IdStr"].isNull())
photosObject.idStr = value["IdStr"].asString();
if(!value["Title"].isNull())
photosObject.title = value["Title"].asString();
if(!value["FileId"].isNull())
photosObject.fileId = value["FileId"].asString();
if(!value["Location"].isNull())
photosObject.location = value["Location"].asString();
if(!value["State"].isNull())
photosObject.state = value["State"].asString();
if(!value["Md5"].isNull())
photosObject.md5 = value["Md5"].asString();
if(!value["IsVideo"].isNull())
photosObject.isVideo = value["IsVideo"].asString() == "true";
if(!value["Remark"].isNull())
photosObject.remark = value["Remark"].asString();
if(!value["Size"].isNull())
photosObject.size = std::stol(value["Size"].asString());
if(!value["Width"].isNull())
photosObject.width = std::stol(value["Width"].asString());
if(!value["Height"].isNull())
photosObject.height = std::stol(value["Height"].asString());
if(!value["Ctime"].isNull())
photosObject.ctime = std::stol(value["Ctime"].asString());
if(!value["Mtime"].isNull())
photosObject.mtime = std::stol(value["Mtime"].asString());
if(!value["TakenAt"].isNull())
photosObject.takenAt = std::stol(value["TakenAt"].asString());
if(!value["InactiveTime"].isNull())
photosObject.inactiveTime = std::stol(value["InactiveTime"].asString());
if(!value["ShareExpireTime"].isNull())
photosObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
photos_.push_back(photosObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["Action"].isNull())
action_ = value["Action"].asString();
}
std::vector<FetchMomentPhotosResult::Photo> FetchMomentPhotosResult::getPhotos()const
{
return photos_;
}
int FetchMomentPhotosResult::getTotalCount()const
{
return totalCount_;
}
std::string FetchMomentPhotosResult::getAction()const
{
return action_;
}
std::string FetchMomentPhotosResult::getMessage()const
{
return message_;
}
std::string FetchMomentPhotosResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudphoto/model/FetchPhotosRequest.h>
using AlibabaCloud::CloudPhoto::Model::FetchPhotosRequest;
FetchPhotosRequest::FetchPhotosRequest() :
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchPhotos")
{}
FetchPhotosRequest::~FetchPhotosRequest()
{}
int FetchPhotosRequest::getSize()const
{
return size_;
}
void FetchPhotosRequest::setSize(int size)
{
size_ = size;
setParameter("Size", std::to_string(size));
}
std::string FetchPhotosRequest::getLibraryId()const
{
return libraryId_;
}
void FetchPhotosRequest::setLibraryId(const std::string& libraryId)
{
libraryId_ = libraryId;
setParameter("LibraryId", libraryId);
}
std::string FetchPhotosRequest::getOrderBy()const
{
return orderBy_;
}
void FetchPhotosRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setParameter("OrderBy", orderBy);
}
std::string FetchPhotosRequest::getStoreName()const
{
return storeName_;
}
void FetchPhotosRequest::setStoreName(const std::string& storeName)
{
storeName_ = storeName;
setParameter("StoreName", storeName);
}
std::string FetchPhotosRequest::getState()const
{
return state_;
}
void FetchPhotosRequest::setState(const std::string& state)
{
state_ = state;
setParameter("State", state);
}
int FetchPhotosRequest::getPage()const
{
return page_;
}
void FetchPhotosRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
std::string FetchPhotosRequest::getOrder()const
{
return order_;
}
void FetchPhotosRequest::setOrder(const std::string& order)
{
order_ = order;
setParameter("Order", order);
}

View File

@@ -0,0 +1,118 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudphoto/model/FetchPhotosResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CloudPhoto;
using namespace AlibabaCloud::CloudPhoto::Model;
FetchPhotosResult::FetchPhotosResult() :
ServiceResult()
{}
FetchPhotosResult::FetchPhotosResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FetchPhotosResult::~FetchPhotosResult()
{}
void FetchPhotosResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPhotos = value["Photos"]["Photo"];
for (auto value : allPhotos)
{
Photo photosObject;
if(!value["Id"].isNull())
photosObject.id = std::stol(value["Id"].asString());
if(!value["IdStr"].isNull())
photosObject.idStr = value["IdStr"].asString();
if(!value["Title"].isNull())
photosObject.title = value["Title"].asString();
if(!value["FileId"].isNull())
photosObject.fileId = value["FileId"].asString();
if(!value["Location"].isNull())
photosObject.location = value["Location"].asString();
if(!value["State"].isNull())
photosObject.state = value["State"].asString();
if(!value["Md5"].isNull())
photosObject.md5 = value["Md5"].asString();
if(!value["IsVideo"].isNull())
photosObject.isVideo = value["IsVideo"].asString() == "true";
if(!value["Remark"].isNull())
photosObject.remark = value["Remark"].asString();
if(!value["Size"].isNull())
photosObject.size = std::stol(value["Size"].asString());
if(!value["Width"].isNull())
photosObject.width = std::stol(value["Width"].asString());
if(!value["Height"].isNull())
photosObject.height = std::stol(value["Height"].asString());
if(!value["Ctime"].isNull())
photosObject.ctime = std::stol(value["Ctime"].asString());
if(!value["Mtime"].isNull())
photosObject.mtime = std::stol(value["Mtime"].asString());
if(!value["TakenAt"].isNull())
photosObject.takenAt = std::stol(value["TakenAt"].asString());
if(!value["InactiveTime"].isNull())
photosObject.inactiveTime = std::stol(value["InactiveTime"].asString());
if(!value["ShareExpireTime"].isNull())
photosObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
photos_.push_back(photosObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["Action"].isNull())
action_ = value["Action"].asString();
}
std::vector<FetchPhotosResult::Photo> FetchPhotosResult::getPhotos()const
{
return photos_;
}
int FetchPhotosResult::getTotalCount()const
{
return totalCount_;
}
std::string FetchPhotosResult::getAction()const
{
return action_;
}
std::string FetchPhotosResult::getMessage()const
{
return message_;
}
std::string FetchPhotosResult::getCode()const
{
return code_;
}

View File

@@ -41,6 +41,8 @@ void GetLibraryResult::parse(const std::string &payload)
setRequestId(value["RequestId"].asString());
auto libraryNode = value["Library"];
if(!libraryNode["Ctime"].isNull())
library_.ctime = std::stol(libraryNode["Ctime"].asString());
auto quotaNode = libraryNode["Quota"];
if(!quotaNode["TotalQuota"].isNull())
library_.quota.totalQuota = std::stol(quotaNode["TotalQuota"].asString());

View File

@@ -52,6 +52,8 @@ void ListAlbumsResult::parse(const std::string &payload)
albumsObject.name = value["Name"].asString();
if(!value["State"].isNull())
albumsObject.state = value["State"].asString();
if(!value["Remark"].isNull())
albumsObject.remark = value["Remark"].asString();
if(!value["PhotosCount"].isNull())
albumsObject.photosCount = std::stol(value["PhotosCount"].asString());
if(!value["Ctime"].isNull())

View File

@@ -43,10 +43,10 @@ namespace AlibabaCloud
void setAlias(const std::string& alias);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
int getPageNum()const;
void setPageNum(int pageNum);
long getServiceId()const;
void setServiceId(long serviceId);
int getPageNum()const;
void setPageNum(int pageNum);
bool getOnlyPending()const;
void setOnlyPending(bool onlyPending);
@@ -55,8 +55,8 @@ namespace AlibabaCloud
std::string regionId_;
std::string alias_;
std::string serviceName_;
int pageNum_;
long serviceId_;
int pageNum_;
bool onlyPending_;
};

View File

@@ -35,10 +35,10 @@ namespace AlibabaCloud
FindApproveServiceListRequest();
~FindApproveServiceListRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
std::string getApproveLevel()const;
void setApproveLevel(const std::string& approveLevel);
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
bool getShowDelService()const;
void setShowDelService(bool showDelService);
long getCsbId()const;
@@ -51,8 +51,8 @@ namespace AlibabaCloud
void setServiceName(const std::string& serviceName);
private:
std::string projectName_;
std::string approveLevel_;
std::string projectName_;
bool showDelService_;
long csbId_;
std::string regionId_;

View File

@@ -37,10 +37,10 @@ namespace AlibabaCloud
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
bool getShowDelService()const;
void setShowDelService(bool showDelService);
int getCasShowType()const;
void setCasShowType(int casShowType);
bool getShowDelService()const;
void setShowDelService(bool showDelService);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
@@ -54,8 +54,8 @@ namespace AlibabaCloud
private:
std::string projectName_;
bool showDelService_;
int casShowType_;
bool showDelService_;
long csbId_;
std::string regionId_;
std::string alias_;

View File

@@ -56,6 +56,7 @@ namespace AlibabaCloud
std::string serviceVersion;
std::string interfaceName;
long id;
std::string casTargets;
};
int currentPage;
int pageNumber;

View File

@@ -69,17 +69,6 @@ void FindApprovalOrderListRequest::setServiceName(const std::string& serviceName
setParameter("ServiceName", serviceName);
}
int FindApprovalOrderListRequest::getPageNum()const
{
return pageNum_;
}
void FindApprovalOrderListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
long FindApprovalOrderListRequest::getServiceId()const
{
return serviceId_;
@@ -91,6 +80,17 @@ void FindApprovalOrderListRequest::setServiceId(long serviceId)
setParameter("ServiceId", std::to_string(serviceId));
}
int FindApprovalOrderListRequest::getPageNum()const
{
return pageNum_;
}
void FindApprovalOrderListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
bool FindApprovalOrderListRequest::getOnlyPending()const
{
return onlyPending_;

View File

@@ -25,17 +25,6 @@ FindApproveServiceListRequest::FindApproveServiceListRequest() :
FindApproveServiceListRequest::~FindApproveServiceListRequest()
{}
std::string FindApproveServiceListRequest::getProjectName()const
{
return projectName_;
}
void FindApproveServiceListRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setParameter("ProjectName", projectName);
}
std::string FindApproveServiceListRequest::getApproveLevel()const
{
return approveLevel_;
@@ -47,6 +36,17 @@ void FindApproveServiceListRequest::setApproveLevel(const std::string& approveLe
setParameter("ApproveLevel", approveLevel);
}
std::string FindApproveServiceListRequest::getProjectName()const
{
return projectName_;
}
void FindApproveServiceListRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setParameter("ProjectName", projectName);
}
bool FindApproveServiceListRequest::getShowDelService()const
{
return showDelService_;

View File

@@ -36,17 +36,6 @@ void FindServiceListRequest::setProjectName(const std::string& projectName)
setParameter("ProjectName", projectName);
}
bool FindServiceListRequest::getShowDelService()const
{
return showDelService_;
}
void FindServiceListRequest::setShowDelService(bool showDelService)
{
showDelService_ = showDelService;
setParameter("ShowDelService", std::to_string(showDelService));
}
int FindServiceListRequest::getCasShowType()const
{
return casShowType_;
@@ -58,6 +47,17 @@ void FindServiceListRequest::setCasShowType(int casShowType)
setParameter("CasShowType", std::to_string(casShowType));
}
bool FindServiceListRequest::getShowDelService()const
{
return showDelService_;
}
void FindServiceListRequest::setShowDelService(bool showDelService)
{
showDelService_ = showDelService;
setParameter("ShowDelService", std::to_string(showDelService));
}
long FindServiceListRequest::getCsbId()const
{
return csbId_;

View File

@@ -91,6 +91,8 @@ void FindServiceListResult::parse(const std::string &payload)
serviceObject.status = std::stoi(value["Status"].asString());
if(!value["UserId"].isNull())
serviceObject.userId = value["UserId"].asString();
if(!value["CasTargets"].isNull())
serviceObject.casTargets = value["CasTargets"].asString();
data_.serviceList.push_back(serviceObject);
}
if(!value["Message"].isNull())

194
dcdn/CMakeLists.txt Normal file
View File

@@ -0,0 +1,194 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(dcdn_public_header
include/alibabacloud/dcdn/DcdnClient.h
include/alibabacloud/dcdn/DcdnExport.h )
set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h
include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h
include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h
include/alibabacloud/dcdn/model/SetDcdnDomainCertificateResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainLogRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainLogResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksResult.h
include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h
include/alibabacloud/dcdn/model/UpdateDcdnDomainRequest.h
include/alibabacloud/dcdn/model/UpdateDcdnDomainResult.h
include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h
include/alibabacloud/dcdn/model/DeleteDcdnDomainResult.h
include/alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsRequest.h
include/alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainHitRateDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainHitRateDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateListResult.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginTrafficDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginTrafficDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainTrafficDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainTrafficDataResult.h
include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.h
include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesResult.h
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataResult.h
include/alibabacloud/dcdn/model/StartDcdnDomainRequest.h
include/alibabacloud/dcdn/model/StartDcdnDomainResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataResult.h
include/alibabacloud/dcdn/model/AddDcdnDomainRequest.h
include/alibabacloud/dcdn/model/AddDcdnDomainResult.h
include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesRequest.h
include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainCnameRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainCnameResult.h
include/alibabacloud/dcdn/model/StopDcdnDomainRequest.h
include/alibabacloud/dcdn/model/StopDcdnDomainResult.h )
set(dcdn_src
src/DcdnClient.cc
src/model/DescribeDcdnUserResourcePackageRequest.cc
src/model/DescribeDcdnUserResourcePackageResult.cc
src/model/DescribeDcdnRefreshQuotaRequest.cc
src/model/DescribeDcdnRefreshQuotaResult.cc
src/model/SetDcdnDomainCertificateRequest.cc
src/model/SetDcdnDomainCertificateResult.cc
src/model/DescribeDcdnDomainLogRequest.cc
src/model/DescribeDcdnDomainLogResult.cc
src/model/DescribeDcdnDomainOriginBpsDataRequest.cc
src/model/DescribeDcdnDomainOriginBpsDataResult.cc
src/model/DescribeDcdnRefreshTasksRequest.cc
src/model/DescribeDcdnRefreshTasksResult.cc
src/model/DescribeDcdnServiceRequest.cc
src/model/DescribeDcdnServiceResult.cc
src/model/UpdateDcdnDomainRequest.cc
src/model/UpdateDcdnDomainResult.cc
src/model/DeleteDcdnDomainRequest.cc
src/model/DeleteDcdnDomainResult.cc
src/model/BatchDeleteDcdnDomainConfigsRequest.cc
src/model/BatchDeleteDcdnDomainConfigsResult.cc
src/model/DescribeDcdnDomainDetailRequest.cc
src/model/DescribeDcdnDomainDetailResult.cc
src/model/DescribeDcdnDomainHitRateDataRequest.cc
src/model/DescribeDcdnDomainHitRateDataResult.cc
src/model/DescribeDcdnDomainConfigsRequest.cc
src/model/DescribeDcdnDomainConfigsResult.cc
src/model/DescribeDcdnDomainBpsDataRequest.cc
src/model/DescribeDcdnDomainBpsDataResult.cc
src/model/DescribeDcdnCertificateListRequest.cc
src/model/DescribeDcdnCertificateListResult.cc
src/model/DescribeDcdnCertificateDetailRequest.cc
src/model/DescribeDcdnCertificateDetailResult.cc
src/model/DescribeDcdnDomainOriginTrafficDataRequest.cc
src/model/DescribeDcdnDomainOriginTrafficDataResult.cc
src/model/DescribeDcdnDomainTrafficDataRequest.cc
src/model/DescribeDcdnDomainTrafficDataResult.cc
src/model/RefreshDcdnObjectCachesRequest.cc
src/model/RefreshDcdnObjectCachesResult.cc
src/model/DescribeUserDcdnStatusRequest.cc
src/model/DescribeUserDcdnStatusResult.cc
src/model/DescribeDcdnDomainQpsDataRequest.cc
src/model/DescribeDcdnDomainQpsDataResult.cc
src/model/StartDcdnDomainRequest.cc
src/model/StartDcdnDomainResult.cc
src/model/DescribeDcdnUserDomainsRequest.cc
src/model/DescribeDcdnUserDomainsResult.cc
src/model/DescribeDcdnDomainHttpCodeDataRequest.cc
src/model/DescribeDcdnDomainHttpCodeDataResult.cc
src/model/AddDcdnDomainRequest.cc
src/model/AddDcdnDomainResult.cc
src/model/PreloadDcdnObjectCachesRequest.cc
src/model/PreloadDcdnObjectCachesResult.cc
src/model/DescribeDcdnDomainCnameRequest.cc
src/model/DescribeDcdnDomainCnameResult.cc
src/model/StopDcdnDomainRequest.cc
src/model/StopDcdnDomainResult.cc )
add_library(dcdn ${LIB_TYPE}
${dcdn_public_header}
${dcdn_public_header_model}
${dcdn_src})
set_target_properties(dcdn
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}dcdn
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(dcdn
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_DCDN_LIBRARY)
endif()
target_include_directories(dcdn
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(dcdn
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(dcdn
jsoncpp)
target_include_directories(dcdn
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(dcdn
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(dcdn
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(dcdn
PRIVATE /usr/include/jsoncpp)
target_link_libraries(dcdn
jsoncpp)
endif()
install(FILES ${dcdn_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dcdn)
install(FILES ${dcdn_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dcdn/model)
install(TARGETS dcdn
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,270 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_DCDNCLIENT_H_
#define ALIBABACLOUD_DCDN_DCDNCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DcdnExport.h"
#include "model/DescribeDcdnUserResourcePackageRequest.h"
#include "model/DescribeDcdnUserResourcePackageResult.h"
#include "model/DescribeDcdnRefreshQuotaRequest.h"
#include "model/DescribeDcdnRefreshQuotaResult.h"
#include "model/SetDcdnDomainCertificateRequest.h"
#include "model/SetDcdnDomainCertificateResult.h"
#include "model/DescribeDcdnDomainLogRequest.h"
#include "model/DescribeDcdnDomainLogResult.h"
#include "model/DescribeDcdnDomainOriginBpsDataRequest.h"
#include "model/DescribeDcdnDomainOriginBpsDataResult.h"
#include "model/DescribeDcdnRefreshTasksRequest.h"
#include "model/DescribeDcdnRefreshTasksResult.h"
#include "model/DescribeDcdnServiceRequest.h"
#include "model/DescribeDcdnServiceResult.h"
#include "model/UpdateDcdnDomainRequest.h"
#include "model/UpdateDcdnDomainResult.h"
#include "model/DeleteDcdnDomainRequest.h"
#include "model/DeleteDcdnDomainResult.h"
#include "model/BatchDeleteDcdnDomainConfigsRequest.h"
#include "model/BatchDeleteDcdnDomainConfigsResult.h"
#include "model/DescribeDcdnDomainDetailRequest.h"
#include "model/DescribeDcdnDomainDetailResult.h"
#include "model/DescribeDcdnDomainHitRateDataRequest.h"
#include "model/DescribeDcdnDomainHitRateDataResult.h"
#include "model/DescribeDcdnDomainConfigsRequest.h"
#include "model/DescribeDcdnDomainConfigsResult.h"
#include "model/DescribeDcdnDomainBpsDataRequest.h"
#include "model/DescribeDcdnDomainBpsDataResult.h"
#include "model/DescribeDcdnCertificateListRequest.h"
#include "model/DescribeDcdnCertificateListResult.h"
#include "model/DescribeDcdnCertificateDetailRequest.h"
#include "model/DescribeDcdnCertificateDetailResult.h"
#include "model/DescribeDcdnDomainOriginTrafficDataRequest.h"
#include "model/DescribeDcdnDomainOriginTrafficDataResult.h"
#include "model/DescribeDcdnDomainTrafficDataRequest.h"
#include "model/DescribeDcdnDomainTrafficDataResult.h"
#include "model/RefreshDcdnObjectCachesRequest.h"
#include "model/RefreshDcdnObjectCachesResult.h"
#include "model/DescribeUserDcdnStatusRequest.h"
#include "model/DescribeUserDcdnStatusResult.h"
#include "model/DescribeDcdnDomainQpsDataRequest.h"
#include "model/DescribeDcdnDomainQpsDataResult.h"
#include "model/StartDcdnDomainRequest.h"
#include "model/StartDcdnDomainResult.h"
#include "model/DescribeDcdnUserDomainsRequest.h"
#include "model/DescribeDcdnUserDomainsResult.h"
#include "model/DescribeDcdnDomainHttpCodeDataRequest.h"
#include "model/DescribeDcdnDomainHttpCodeDataResult.h"
#include "model/AddDcdnDomainRequest.h"
#include "model/AddDcdnDomainResult.h"
#include "model/PreloadDcdnObjectCachesRequest.h"
#include "model/PreloadDcdnObjectCachesResult.h"
#include "model/DescribeDcdnDomainCnameRequest.h"
#include "model/DescribeDcdnDomainCnameResult.h"
#include "model/StopDcdnDomainRequest.h"
#include "model/StopDcdnDomainResult.h"
namespace AlibabaCloud
{
namespace Dcdn
{
class ALIBABACLOUD_DCDN_EXPORT DcdnClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeDcdnUserResourcePackageResult> DescribeDcdnUserResourcePackageOutcome;
typedef std::future<DescribeDcdnUserResourcePackageOutcome> DescribeDcdnUserResourcePackageOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserResourcePackageRequest&, const DescribeDcdnUserResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserResourcePackageAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnRefreshQuotaResult> DescribeDcdnRefreshQuotaOutcome;
typedef std::future<DescribeDcdnRefreshQuotaOutcome> DescribeDcdnRefreshQuotaOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnRefreshQuotaRequest&, const DescribeDcdnRefreshQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnRefreshQuotaAsyncHandler;
typedef Outcome<Error, Model::SetDcdnDomainCertificateResult> SetDcdnDomainCertificateOutcome;
typedef std::future<SetDcdnDomainCertificateOutcome> SetDcdnDomainCertificateOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnDomainCertificateRequest&, const SetDcdnDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnDomainCertificateAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainLogResult> DescribeDcdnDomainLogOutcome;
typedef std::future<DescribeDcdnDomainLogOutcome> DescribeDcdnDomainLogOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainLogRequest&, const DescribeDcdnDomainLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainLogAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainOriginBpsDataResult> DescribeDcdnDomainOriginBpsDataOutcome;
typedef std::future<DescribeDcdnDomainOriginBpsDataOutcome> DescribeDcdnDomainOriginBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainOriginBpsDataRequest&, const DescribeDcdnDomainOriginBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainOriginBpsDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnRefreshTasksResult> DescribeDcdnRefreshTasksOutcome;
typedef std::future<DescribeDcdnRefreshTasksOutcome> DescribeDcdnRefreshTasksOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnRefreshTasksRequest&, const DescribeDcdnRefreshTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnRefreshTasksAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnServiceResult> DescribeDcdnServiceOutcome;
typedef std::future<DescribeDcdnServiceOutcome> DescribeDcdnServiceOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnServiceRequest&, const DescribeDcdnServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnServiceAsyncHandler;
typedef Outcome<Error, Model::UpdateDcdnDomainResult> UpdateDcdnDomainOutcome;
typedef std::future<UpdateDcdnDomainOutcome> UpdateDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::UpdateDcdnDomainRequest&, const UpdateDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDcdnDomainAsyncHandler;
typedef Outcome<Error, Model::DeleteDcdnDomainResult> DeleteDcdnDomainOutcome;
typedef std::future<DeleteDcdnDomainOutcome> DeleteDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DeleteDcdnDomainRequest&, const DeleteDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDcdnDomainAsyncHandler;
typedef Outcome<Error, Model::BatchDeleteDcdnDomainConfigsResult> BatchDeleteDcdnDomainConfigsOutcome;
typedef std::future<BatchDeleteDcdnDomainConfigsOutcome> BatchDeleteDcdnDomainConfigsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::BatchDeleteDcdnDomainConfigsRequest&, const BatchDeleteDcdnDomainConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteDcdnDomainConfigsAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainDetailResult> DescribeDcdnDomainDetailOutcome;
typedef std::future<DescribeDcdnDomainDetailOutcome> DescribeDcdnDomainDetailOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainDetailRequest&, const DescribeDcdnDomainDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainHitRateDataResult> DescribeDcdnDomainHitRateDataOutcome;
typedef std::future<DescribeDcdnDomainHitRateDataOutcome> DescribeDcdnDomainHitRateDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainHitRateDataRequest&, const DescribeDcdnDomainHitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainHitRateDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainConfigsResult> DescribeDcdnDomainConfigsOutcome;
typedef std::future<DescribeDcdnDomainConfigsOutcome> DescribeDcdnDomainConfigsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainConfigsRequest&, const DescribeDcdnDomainConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainConfigsAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainBpsDataResult> DescribeDcdnDomainBpsDataOutcome;
typedef std::future<DescribeDcdnDomainBpsDataOutcome> DescribeDcdnDomainBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainBpsDataRequest&, const DescribeDcdnDomainBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainBpsDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnCertificateListResult> DescribeDcdnCertificateListOutcome;
typedef std::future<DescribeDcdnCertificateListOutcome> DescribeDcdnCertificateListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnCertificateListRequest&, const DescribeDcdnCertificateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnCertificateListAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnCertificateDetailResult> DescribeDcdnCertificateDetailOutcome;
typedef std::future<DescribeDcdnCertificateDetailOutcome> DescribeDcdnCertificateDetailOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnCertificateDetailRequest&, const DescribeDcdnCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnCertificateDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainOriginTrafficDataResult> DescribeDcdnDomainOriginTrafficDataOutcome;
typedef std::future<DescribeDcdnDomainOriginTrafficDataOutcome> DescribeDcdnDomainOriginTrafficDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainOriginTrafficDataRequest&, const DescribeDcdnDomainOriginTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainOriginTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainTrafficDataResult> DescribeDcdnDomainTrafficDataOutcome;
typedef std::future<DescribeDcdnDomainTrafficDataOutcome> DescribeDcdnDomainTrafficDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainTrafficDataRequest&, const DescribeDcdnDomainTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainTrafficDataAsyncHandler;
typedef Outcome<Error, Model::RefreshDcdnObjectCachesResult> RefreshDcdnObjectCachesOutcome;
typedef std::future<RefreshDcdnObjectCachesOutcome> RefreshDcdnObjectCachesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::RefreshDcdnObjectCachesRequest&, const RefreshDcdnObjectCachesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDcdnObjectCachesAsyncHandler;
typedef Outcome<Error, Model::DescribeUserDcdnStatusResult> DescribeUserDcdnStatusOutcome;
typedef std::future<DescribeUserDcdnStatusOutcome> DescribeUserDcdnStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserDcdnStatusRequest&, const DescribeUserDcdnStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDcdnStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainQpsDataResult> DescribeDcdnDomainQpsDataOutcome;
typedef std::future<DescribeDcdnDomainQpsDataOutcome> DescribeDcdnDomainQpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainQpsDataRequest&, const DescribeDcdnDomainQpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainQpsDataAsyncHandler;
typedef Outcome<Error, Model::StartDcdnDomainResult> StartDcdnDomainOutcome;
typedef std::future<StartDcdnDomainOutcome> StartDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::StartDcdnDomainRequest&, const StartDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDcdnDomainAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserDomainsResult> DescribeDcdnUserDomainsOutcome;
typedef std::future<DescribeDcdnUserDomainsOutcome> DescribeDcdnUserDomainsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserDomainsRequest&, const DescribeDcdnUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserDomainsAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainHttpCodeDataResult> DescribeDcdnDomainHttpCodeDataOutcome;
typedef std::future<DescribeDcdnDomainHttpCodeDataOutcome> DescribeDcdnDomainHttpCodeDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainHttpCodeDataRequest&, const DescribeDcdnDomainHttpCodeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainHttpCodeDataAsyncHandler;
typedef Outcome<Error, Model::AddDcdnDomainResult> AddDcdnDomainOutcome;
typedef std::future<AddDcdnDomainOutcome> AddDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::AddDcdnDomainRequest&, const AddDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDcdnDomainAsyncHandler;
typedef Outcome<Error, Model::PreloadDcdnObjectCachesResult> PreloadDcdnObjectCachesOutcome;
typedef std::future<PreloadDcdnObjectCachesOutcome> PreloadDcdnObjectCachesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::PreloadDcdnObjectCachesRequest&, const PreloadDcdnObjectCachesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreloadDcdnObjectCachesAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainCnameResult> DescribeDcdnDomainCnameOutcome;
typedef std::future<DescribeDcdnDomainCnameOutcome> DescribeDcdnDomainCnameOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainCnameRequest&, const DescribeDcdnDomainCnameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainCnameAsyncHandler;
typedef Outcome<Error, Model::StopDcdnDomainResult> StopDcdnDomainOutcome;
typedef std::future<StopDcdnDomainOutcome> StopDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::StopDcdnDomainRequest&, const StopDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopDcdnDomainAsyncHandler;
DcdnClient(const Credentials &credentials, const ClientConfiguration &configuration);
DcdnClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DcdnClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DcdnClient();
DescribeDcdnUserResourcePackageOutcome describeDcdnUserResourcePackage(const Model::DescribeDcdnUserResourcePackageRequest &request)const;
void describeDcdnUserResourcePackageAsync(const Model::DescribeDcdnUserResourcePackageRequest& request, const DescribeDcdnUserResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserResourcePackageOutcomeCallable describeDcdnUserResourcePackageCallable(const Model::DescribeDcdnUserResourcePackageRequest& request) const;
DescribeDcdnRefreshQuotaOutcome describeDcdnRefreshQuota(const Model::DescribeDcdnRefreshQuotaRequest &request)const;
void describeDcdnRefreshQuotaAsync(const Model::DescribeDcdnRefreshQuotaRequest& request, const DescribeDcdnRefreshQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnRefreshQuotaOutcomeCallable describeDcdnRefreshQuotaCallable(const Model::DescribeDcdnRefreshQuotaRequest& request) const;
SetDcdnDomainCertificateOutcome setDcdnDomainCertificate(const Model::SetDcdnDomainCertificateRequest &request)const;
void setDcdnDomainCertificateAsync(const Model::SetDcdnDomainCertificateRequest& request, const SetDcdnDomainCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDcdnDomainCertificateOutcomeCallable setDcdnDomainCertificateCallable(const Model::SetDcdnDomainCertificateRequest& request) const;
DescribeDcdnDomainLogOutcome describeDcdnDomainLog(const Model::DescribeDcdnDomainLogRequest &request)const;
void describeDcdnDomainLogAsync(const Model::DescribeDcdnDomainLogRequest& request, const DescribeDcdnDomainLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainLogOutcomeCallable describeDcdnDomainLogCallable(const Model::DescribeDcdnDomainLogRequest& request) const;
DescribeDcdnDomainOriginBpsDataOutcome describeDcdnDomainOriginBpsData(const Model::DescribeDcdnDomainOriginBpsDataRequest &request)const;
void describeDcdnDomainOriginBpsDataAsync(const Model::DescribeDcdnDomainOriginBpsDataRequest& request, const DescribeDcdnDomainOriginBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainOriginBpsDataOutcomeCallable describeDcdnDomainOriginBpsDataCallable(const Model::DescribeDcdnDomainOriginBpsDataRequest& request) const;
DescribeDcdnRefreshTasksOutcome describeDcdnRefreshTasks(const Model::DescribeDcdnRefreshTasksRequest &request)const;
void describeDcdnRefreshTasksAsync(const Model::DescribeDcdnRefreshTasksRequest& request, const DescribeDcdnRefreshTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnRefreshTasksOutcomeCallable describeDcdnRefreshTasksCallable(const Model::DescribeDcdnRefreshTasksRequest& request) const;
DescribeDcdnServiceOutcome describeDcdnService(const Model::DescribeDcdnServiceRequest &request)const;
void describeDcdnServiceAsync(const Model::DescribeDcdnServiceRequest& request, const DescribeDcdnServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnServiceOutcomeCallable describeDcdnServiceCallable(const Model::DescribeDcdnServiceRequest& request) const;
UpdateDcdnDomainOutcome updateDcdnDomain(const Model::UpdateDcdnDomainRequest &request)const;
void updateDcdnDomainAsync(const Model::UpdateDcdnDomainRequest& request, const UpdateDcdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDcdnDomainOutcomeCallable updateDcdnDomainCallable(const Model::UpdateDcdnDomainRequest& request) const;
DeleteDcdnDomainOutcome deleteDcdnDomain(const Model::DeleteDcdnDomainRequest &request)const;
void deleteDcdnDomainAsync(const Model::DeleteDcdnDomainRequest& request, const DeleteDcdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDcdnDomainOutcomeCallable deleteDcdnDomainCallable(const Model::DeleteDcdnDomainRequest& request) const;
BatchDeleteDcdnDomainConfigsOutcome batchDeleteDcdnDomainConfigs(const Model::BatchDeleteDcdnDomainConfigsRequest &request)const;
void batchDeleteDcdnDomainConfigsAsync(const Model::BatchDeleteDcdnDomainConfigsRequest& request, const BatchDeleteDcdnDomainConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchDeleteDcdnDomainConfigsOutcomeCallable batchDeleteDcdnDomainConfigsCallable(const Model::BatchDeleteDcdnDomainConfigsRequest& request) const;
DescribeDcdnDomainDetailOutcome describeDcdnDomainDetail(const Model::DescribeDcdnDomainDetailRequest &request)const;
void describeDcdnDomainDetailAsync(const Model::DescribeDcdnDomainDetailRequest& request, const DescribeDcdnDomainDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainDetailOutcomeCallable describeDcdnDomainDetailCallable(const Model::DescribeDcdnDomainDetailRequest& request) const;
DescribeDcdnDomainHitRateDataOutcome describeDcdnDomainHitRateData(const Model::DescribeDcdnDomainHitRateDataRequest &request)const;
void describeDcdnDomainHitRateDataAsync(const Model::DescribeDcdnDomainHitRateDataRequest& request, const DescribeDcdnDomainHitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainHitRateDataOutcomeCallable describeDcdnDomainHitRateDataCallable(const Model::DescribeDcdnDomainHitRateDataRequest& request) const;
DescribeDcdnDomainConfigsOutcome describeDcdnDomainConfigs(const Model::DescribeDcdnDomainConfigsRequest &request)const;
void describeDcdnDomainConfigsAsync(const Model::DescribeDcdnDomainConfigsRequest& request, const DescribeDcdnDomainConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainConfigsOutcomeCallable describeDcdnDomainConfigsCallable(const Model::DescribeDcdnDomainConfigsRequest& request) const;
DescribeDcdnDomainBpsDataOutcome describeDcdnDomainBpsData(const Model::DescribeDcdnDomainBpsDataRequest &request)const;
void describeDcdnDomainBpsDataAsync(const Model::DescribeDcdnDomainBpsDataRequest& request, const DescribeDcdnDomainBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainBpsDataOutcomeCallable describeDcdnDomainBpsDataCallable(const Model::DescribeDcdnDomainBpsDataRequest& request) const;
DescribeDcdnCertificateListOutcome describeDcdnCertificateList(const Model::DescribeDcdnCertificateListRequest &request)const;
void describeDcdnCertificateListAsync(const Model::DescribeDcdnCertificateListRequest& request, const DescribeDcdnCertificateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnCertificateListOutcomeCallable describeDcdnCertificateListCallable(const Model::DescribeDcdnCertificateListRequest& request) const;
DescribeDcdnCertificateDetailOutcome describeDcdnCertificateDetail(const Model::DescribeDcdnCertificateDetailRequest &request)const;
void describeDcdnCertificateDetailAsync(const Model::DescribeDcdnCertificateDetailRequest& request, const DescribeDcdnCertificateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnCertificateDetailOutcomeCallable describeDcdnCertificateDetailCallable(const Model::DescribeDcdnCertificateDetailRequest& request) const;
DescribeDcdnDomainOriginTrafficDataOutcome describeDcdnDomainOriginTrafficData(const Model::DescribeDcdnDomainOriginTrafficDataRequest &request)const;
void describeDcdnDomainOriginTrafficDataAsync(const Model::DescribeDcdnDomainOriginTrafficDataRequest& request, const DescribeDcdnDomainOriginTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainOriginTrafficDataOutcomeCallable describeDcdnDomainOriginTrafficDataCallable(const Model::DescribeDcdnDomainOriginTrafficDataRequest& request) const;
DescribeDcdnDomainTrafficDataOutcome describeDcdnDomainTrafficData(const Model::DescribeDcdnDomainTrafficDataRequest &request)const;
void describeDcdnDomainTrafficDataAsync(const Model::DescribeDcdnDomainTrafficDataRequest& request, const DescribeDcdnDomainTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainTrafficDataOutcomeCallable describeDcdnDomainTrafficDataCallable(const Model::DescribeDcdnDomainTrafficDataRequest& request) const;
RefreshDcdnObjectCachesOutcome refreshDcdnObjectCaches(const Model::RefreshDcdnObjectCachesRequest &request)const;
void refreshDcdnObjectCachesAsync(const Model::RefreshDcdnObjectCachesRequest& request, const RefreshDcdnObjectCachesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefreshDcdnObjectCachesOutcomeCallable refreshDcdnObjectCachesCallable(const Model::RefreshDcdnObjectCachesRequest& request) const;
DescribeUserDcdnStatusOutcome describeUserDcdnStatus(const Model::DescribeUserDcdnStatusRequest &request)const;
void describeUserDcdnStatusAsync(const Model::DescribeUserDcdnStatusRequest& request, const DescribeUserDcdnStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserDcdnStatusOutcomeCallable describeUserDcdnStatusCallable(const Model::DescribeUserDcdnStatusRequest& request) const;
DescribeDcdnDomainQpsDataOutcome describeDcdnDomainQpsData(const Model::DescribeDcdnDomainQpsDataRequest &request)const;
void describeDcdnDomainQpsDataAsync(const Model::DescribeDcdnDomainQpsDataRequest& request, const DescribeDcdnDomainQpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainQpsDataOutcomeCallable describeDcdnDomainQpsDataCallable(const Model::DescribeDcdnDomainQpsDataRequest& request) const;
StartDcdnDomainOutcome startDcdnDomain(const Model::StartDcdnDomainRequest &request)const;
void startDcdnDomainAsync(const Model::StartDcdnDomainRequest& request, const StartDcdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartDcdnDomainOutcomeCallable startDcdnDomainCallable(const Model::StartDcdnDomainRequest& request) const;
DescribeDcdnUserDomainsOutcome describeDcdnUserDomains(const Model::DescribeDcdnUserDomainsRequest &request)const;
void describeDcdnUserDomainsAsync(const Model::DescribeDcdnUserDomainsRequest& request, const DescribeDcdnUserDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserDomainsOutcomeCallable describeDcdnUserDomainsCallable(const Model::DescribeDcdnUserDomainsRequest& request) const;
DescribeDcdnDomainHttpCodeDataOutcome describeDcdnDomainHttpCodeData(const Model::DescribeDcdnDomainHttpCodeDataRequest &request)const;
void describeDcdnDomainHttpCodeDataAsync(const Model::DescribeDcdnDomainHttpCodeDataRequest& request, const DescribeDcdnDomainHttpCodeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainHttpCodeDataOutcomeCallable describeDcdnDomainHttpCodeDataCallable(const Model::DescribeDcdnDomainHttpCodeDataRequest& request) const;
AddDcdnDomainOutcome addDcdnDomain(const Model::AddDcdnDomainRequest &request)const;
void addDcdnDomainAsync(const Model::AddDcdnDomainRequest& request, const AddDcdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDcdnDomainOutcomeCallable addDcdnDomainCallable(const Model::AddDcdnDomainRequest& request) const;
PreloadDcdnObjectCachesOutcome preloadDcdnObjectCaches(const Model::PreloadDcdnObjectCachesRequest &request)const;
void preloadDcdnObjectCachesAsync(const Model::PreloadDcdnObjectCachesRequest& request, const PreloadDcdnObjectCachesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PreloadDcdnObjectCachesOutcomeCallable preloadDcdnObjectCachesCallable(const Model::PreloadDcdnObjectCachesRequest& request) const;
DescribeDcdnDomainCnameOutcome describeDcdnDomainCname(const Model::DescribeDcdnDomainCnameRequest &request)const;
void describeDcdnDomainCnameAsync(const Model::DescribeDcdnDomainCnameRequest& request, const DescribeDcdnDomainCnameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainCnameOutcomeCallable describeDcdnDomainCnameCallable(const Model::DescribeDcdnDomainCnameRequest& request) const;
StopDcdnDomainOutcome stopDcdnDomain(const Model::StopDcdnDomainRequest &request)const;
void stopDcdnDomainAsync(const Model::StopDcdnDomainRequest& request, const StopDcdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopDcdnDomainOutcomeCallable stopDcdnDomainCallable(const Model::StopDcdnDomainRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_DCDN_DCDNCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_DCDNEXPORT_H_
#define ALIBABACLOUD_DCDN_DCDNEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_DCDN_LIBRARY)
# define ALIBABACLOUD_DCDN_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_DCDN_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_DCDN_EXPORT
#endif
#endif // !ALIBABACLOUD_DCDN_DCDNEXPORT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_ADDDCDNDOMAINREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT AddDcdnDomainRequest : public RpcServiceRequest
{
public:
AddDcdnDomainRequest();
~AddDcdnDomainRequest();
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSources()const;
void setSources(const std::string& sources);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getScope()const;
void setScope(const std::string& scope);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getCheckUrl()const;
void setCheckUrl(const std::string& checkUrl);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string topLevelDomain_;
std::string resourceGroupId_;
std::string sources_;
std::string securityToken_;
std::string ownerAccount_;
std::string scope_;
std::string domainName_;
long ownerId_;
std::string checkUrl_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINREQUEST_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_DCDN_MODEL_ADDDCDNDOMAINRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT AddDcdnDomainResult : public ServiceResult
{
public:
AddDcdnDomainResult();
explicit AddDcdnDomainResult(const std::string &payload);
~AddDcdnDomainResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINRESULT_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_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnDomainConfigsRequest : public RpcServiceRequest
{
public:
BatchDeleteDcdnDomainConfigsRequest();
~BatchDeleteDcdnDomainConfigsRequest();
std::string getFunctionNames()const;
void setFunctionNames(const std::string& functionNames);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainNames()const;
void setDomainNames(const std::string& domainNames);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 domainNames_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_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_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnDomainConfigsResult : public ServiceResult
{
public:
BatchDeleteDcdnDomainConfigsResult();
explicit BatchDeleteDcdnDomainConfigsResult(const std::string &payload);
~BatchDeleteDcdnDomainConfigsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSRESULT_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_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnDomainRequest : public RpcServiceRequest
{
public:
DeleteDcdnDomainRequest();
~DeleteDcdnDomainRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 resourceGroupId_;
std::string securityToken_;
std::string ownerAccount_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_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_DCDN_MODEL_DELETEDCDNDOMAINRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnDomainResult : public ServiceResult
{
public:
DeleteDcdnDomainResult();
explicit DeleteDcdnDomainResult(const std::string &payload);
~DeleteDcdnDomainResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDOMAINRESULT_H_

View File

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

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnCertificateListRequest : public RpcServiceRequest
{
public:
DescribeDcdnCertificateListRequest();
~DescribeDcdnCertificateListRequest();
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 securityToken_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_

View File

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

View File

@@ -0,0 +1,132 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainBpsDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainBpsDataRequest();
~DescribeDcdnDomainBpsDataRequest();
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 getLocationNameEn()const;
void setLocationNameEn(const std::string& locationNameEn);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIspNameEn()const;
void setIspNameEn(const std::string& ispNameEn);
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 getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getFixTimeGap()const;
void setFixTimeGap(const std::string& fixTimeGap);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
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 getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
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 app_ip_;
std::string product_;
std::string fixTimeGap_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
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 interval_;
std::string fields_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainBpsDataResult : public ServiceResult
{
public:
struct DataModule
{
float dynamicHttpsBps;
float bps;
float dynamicHttpBps;
float staticHttpBps;
std::string timeStamp;
float staticHttpsBps;
};
DescribeDcdnDomainBpsDataResult();
explicit DescribeDcdnDomainBpsDataResult(const std::string &payload);
~DescribeDcdnDomainBpsDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<DataModule> getBpsDataPerInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<DataModule> bpsDataPerInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATARESULT_H_

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_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCnameRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainCnameRequest();
~DescribeDcdnDomainCnameRequest();
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_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMERESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCnameResult : public ServiceResult
{
public:
struct Data
{
int status;
std::string domain;
std::string cname;
};
DescribeDcdnDomainCnameResult();
explicit DescribeDcdnDomainCnameResult(const std::string &payload);
~DescribeDcdnDomainCnameResult();
std::vector<Data> getCnameDatas()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Data> cnameDatas_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMERESULT_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_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainConfigsRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainConfigsRequest();
~DescribeDcdnDomainConfigsRequest();
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_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_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_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainConfigsResult : 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;
};
DescribeDcdnDomainConfigsResult();
explicit DescribeDcdnDomainConfigsResult(const std::string &payload);
~DescribeDcdnDomainConfigsResult();
std::vector<DomainConfig> getDomainConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainConfig> domainConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainDetailRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainDetailRequest();
~DescribeDcdnDomainDetailRequest();
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 securityToken_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainDetailResult : public ServiceResult
{
public:
struct DomainDetail
{
struct Source
{
std::string type;
std::string content;
std::string priority;
int port;
std::string enabled;
};
std::string description;
std::string scope;
std::string resourceGroupId;
std::string domainName;
std::string sSLPub;
std::string gmtModified;
std::string gmtCreated;
std::string certName;
std::vector<Source> sources;
std::string cname;
std::string domainStatus;
std::string sSLProtocol;
};
DescribeDcdnDomainDetailResult();
explicit DescribeDcdnDomainDetailResult(const std::string &payload);
~DescribeDcdnDomainDetailResult();
DomainDetail getDomainDetail()const;
protected:
void parse(const std::string &payload);
private:
DomainDetail domainDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILRESULT_H_

View File

@@ -0,0 +1,120 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHitRateDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainHitRateDataRequest();
~DescribeDcdnDomainHitRateDataRequest();
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 getStartTime()const;
void setStartTime(const std::string& startTime);
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 getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
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 getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string startTime_;
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 app_ip_;
std::string product_;
std::string domainName_;
std::string endTime_;
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 interval_;
std::string fields_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHitRateDataResult : public ServiceResult
{
public:
struct DataModule
{
float reqHitRate;
float byteHitRate;
std::string timeStamp;
};
DescribeDcdnDomainHitRateDataResult();
explicit DescribeDcdnDomainHitRateDataResult(const std::string &payload);
~DescribeDcdnDomainHitRateDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<DataModule> getHitRatePerInterval()const;
std::string getStartTime()const;
std::string getDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::vector<DataModule> hitRatePerInterval_;
std::string startTime_;
std::string dataInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATARESULT_H_

View File

@@ -0,0 +1,126 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHttpCodeDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainHttpCodeDataRequest();
~DescribeDcdnDomainHttpCodeDataRequest();
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 getLocationNameEn()const;
void setLocationNameEn(const std::string& locationNameEn);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIspNameEn()const;
void setIspNameEn(const std::string& ispNameEn);
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 getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
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 getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
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 app_ip_;
std::string product_;
std::string domainName_;
std::string endTime_;
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 interval_;
std::string fields_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHttpCodeDataResult : public ServiceResult
{
public:
struct DataModule
{
struct HttpCodeDataModule
{
float proportion;
float count;
int code;
};
std::vector<DataModule::HttpCodeDataModule> httpCodeDataPerInterval;
std::string timeStamp;
};
DescribeDcdnDomainHttpCodeDataResult();
explicit DescribeDcdnDomainHttpCodeDataResult(const std::string &payload);
~DescribeDcdnDomainHttpCodeDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<DataModule> getDataPerInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<DataModule> dataPerInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATARESULT_H_

View File

@@ -0,0 +1,120 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainLogRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainLogRequest();
~DescribeDcdnDomainLogRequest();
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 getStartTime()const;
void setStartTime(const std::string& startTime);
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);
long getPageNumber()const;
void setPageNumber(long pageNumber);
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);
long getPageSize()const;
void setPageSize(long pageSize);
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 getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
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);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string startTime_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
long pageNumber_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
long pageSize_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string product_;
std::string domainName_;
std::string endTime_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainLogResult : public ServiceResult
{
public:
struct DomainLogDetail
{
struct PageInfoDetail
{
long pageSize;
long total;
long pageIndex;
};
struct LogInfoDetail
{
long logSize;
std::string endTime;
std::string startTime;
std::string logName;
std::string logPath;
};
std::vector<DomainLogDetail::LogInfoDetail> logInfos;
std::vector<DomainLogDetail::PageInfoDetail> pageInfos;
long logCount;
};
DescribeDcdnDomainLogResult();
explicit DescribeDcdnDomainLogResult(const std::string &payload);
~DescribeDcdnDomainLogResult();
std::string getDomainName()const;
std::vector<DomainLogDetail> getDomainLogDetails()const;
protected:
void parse(const std::string &payload);
private:
std::string domainName_;
std::vector<DomainLogDetail> domainLogDetails_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGRESULT_H_

View File

@@ -0,0 +1,126 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainOriginBpsDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainOriginBpsDataRequest();
~DescribeDcdnDomainOriginBpsDataRequest();
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 getStartTime()const;
void setStartTime(const std::string& startTime);
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 getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getFixTimeGap()const;
void setFixTimeGap(const std::string& fixTimeGap);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
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 getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string startTime_;
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 app_ip_;
std::string product_;
std::string fixTimeGap_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
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 interval_;
std::string fields_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainOriginBpsDataResult : public ServiceResult
{
public:
struct DataModule
{
float dynamicHttpOriginBps;
float staticHttpOriginBps;
float staticHttpsOriginBps;
float dynamicHttpsOriginBps;
std::string timeStamp;
float originBps;
};
DescribeDcdnDomainOriginBpsDataResult();
explicit DescribeDcdnDomainOriginBpsDataResult(const std::string &payload);
~DescribeDcdnDomainOriginBpsDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<DataModule> getOriginBpsDataPerInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<DataModule> originBpsDataPerInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATARESULT_H_

View File

@@ -0,0 +1,126 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainOriginTrafficDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainOriginTrafficDataRequest();
~DescribeDcdnDomainOriginTrafficDataRequest();
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 getStartTime()const;
void setStartTime(const std::string& startTime);
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 getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getFixTimeGap()const;
void setFixTimeGap(const std::string& fixTimeGap);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
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 getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string startTime_;
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 app_ip_;
std::string product_;
std::string fixTimeGap_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
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 interval_;
std::string fields_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainOriginTrafficDataResult : public ServiceResult
{
public:
struct DataModule
{
float dynamicHttpOriginTraffic;
float originTraffic;
float dynamicHttpsOriginTraffic;
float staticHttpOriginTraffic;
std::string timeStamp;
float staticHttpsOriginTraffic;
};
DescribeDcdnDomainOriginTrafficDataResult();
explicit DescribeDcdnDomainOriginTrafficDataResult(const std::string &payload);
~DescribeDcdnDomainOriginTrafficDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<DataModule> getOriginTrafficDataPerInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<DataModule> originTrafficDataPerInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATARESULT_H_

View File

@@ -0,0 +1,132 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainQpsDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainQpsDataRequest();
~DescribeDcdnDomainQpsDataRequest();
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 getLocationNameEn()const;
void setLocationNameEn(const std::string& locationNameEn);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIspNameEn()const;
void setIspNameEn(const std::string& ispNameEn);
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 getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getFixTimeGap()const;
void setFixTimeGap(const std::string& fixTimeGap);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
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 getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
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 app_ip_;
std::string product_;
std::string fixTimeGap_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
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 interval_;
std::string fields_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainQpsDataResult : public ServiceResult
{
public:
struct DataModule
{
float dynamicHttpsQps;
float staticHttpsQps;
float acc;
float dynamicHttpAcc;
float staticHttpAcc;
float staticHttpsAcc;
float dynamicHttpQps;
float qps;
float staticHttpQps;
float dynamicHttpsAcc;
std::string timeStamp;
};
DescribeDcdnDomainQpsDataResult();
explicit DescribeDcdnDomainQpsDataResult(const std::string &payload);
~DescribeDcdnDomainQpsDataResult();
std::vector<DataModule> getQpsDataPerInterval()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> qpsDataPerInterval_;
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATARESULT_H_

View File

@@ -0,0 +1,132 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainTrafficDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainTrafficDataRequest();
~DescribeDcdnDomainTrafficDataRequest();
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 getLocationNameEn()const;
void setLocationNameEn(const std::string& locationNameEn);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIspNameEn()const;
void setIspNameEn(const std::string& ispNameEn);
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 getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getFixTimeGap()const;
void setFixTimeGap(const std::string& fixTimeGap);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
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 getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
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 app_ip_;
std::string product_;
std::string fixTimeGap_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
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 interval_;
std::string fields_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainTrafficDataResult : public ServiceResult
{
public:
struct DataModule
{
float dynamicHttpTraffic;
float traffic;
float dynamicHttpsTraffic;
float staticHttpsTraffic;
std::string timeStamp;
float staticHttpTraffic;
};
DescribeDcdnDomainTrafficDataResult();
explicit DescribeDcdnDomainTrafficDataResult(const std::string &payload);
~DescribeDcdnDomainTrafficDataResult();
std::string getEndTime()const;
std::vector<DataModule> getTrafficDataPerInterval()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::vector<DataModule> trafficDataPerInterval_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATARESULT_H_

View File

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

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshQuotaResult : public ServiceResult
{
public:
DescribeDcdnRefreshQuotaResult();
explicit DescribeDcdnRefreshQuotaResult(const std::string &payload);
~DescribeDcdnRefreshQuotaResult();
std::string getUrlRemain()const;
std::string getPreloadRemain()const;
std::string getBlockRemain()const;
std::string getDirRemain()const;
std::string getBlockQuota()const;
std::string getUrlQuota()const;
std::string getDirQuota()const;
std::string getPreloadQuota()const;
protected:
void parse(const std::string &payload);
private:
std::string urlRemain_;
std::string preloadRemain_;
std::string blockRemain_;
std::string dirRemain_;
std::string blockQuota_;
std::string urlQuota_;
std::string dirQuota_;
std::string preloadQuota_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTARESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshTasksRequest : public RpcServiceRequest
{
public:
DescribeDcdnRefreshTasksRequest();
~DescribeDcdnRefreshTasksRequest();
std::string getObjectPath()const;
void setObjectPath(const std::string& objectPath);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getObjectType()const;
void setObjectType(const std::string& objectType);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string objectPath_;
std::string domainName_;
std::string endTime_;
std::string startTime_;
long ownerId_;
int pageNumber_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string securityToken_;
int pageSize_;
std::string objectType_;
std::string taskId_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshTasksResult : public ServiceResult
{
public:
struct Task
{
std::string status;
std::string objectType;
std::string objectPath;
std::string taskId;
std::string description;
std::string creationTime;
std::string process;
};
DescribeDcdnRefreshTasksResult();
explicit DescribeDcdnRefreshTasksResult(const std::string &payload);
~DescribeDcdnRefreshTasksResult();
long getTotalCount()const;
std::vector<Task> getTasks()const;
long getPageSize()const;
long getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::vector<Task> tasks_;
long pageSize_;
long pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSRESULT_H_

View File

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

View File

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

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsRequest : public RpcServiceRequest
{
public:
DescribeDcdnUserDomainsRequest();
~DescribeDcdnUserDomainsRequest();
std::string getFuncFilter()const;
void setFuncFilter(const std::string& funcFilter);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getFuncId()const;
void setFuncId(const std::string& funcId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getDomainStatus()const;
void setDomainStatus(const std::string& domainStatus);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDomainSearchType()const;
void setDomainSearchType(const std::string& domainSearchType);
bool getCheckDomainShow()const;
void setCheckDomainShow(bool checkDomainShow);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string funcFilter_;
std::string domainName_;
long ownerId_;
std::string funcId_;
int pageNumber_;
std::string domainStatus_;
std::string accessKeyId_;
std::string domainSearchType_;
bool checkDomainShow_;
std::string resourceGroupId_;
std::string securityToken_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsResult : public ServiceResult
{
public:
struct PageData
{
struct Source
{
std::string type;
std::string content;
std::string priority;
int port;
};
std::string description;
std::string resourceGroupId;
std::string domainName;
std::string gmtModified;
std::string gmtCreated;
std::vector<PageData::Source> sources;
std::string cname;
std::string domainStatus;
std::string sSLProtocol;
std::string sandbox;
};
DescribeDcdnUserDomainsResult();
explicit DescribeDcdnUserDomainsResult(const std::string &payload);
~DescribeDcdnUserDomainsResult();
std::vector<PageData> getDomains()const;
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
long getOnlineCount()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PageData> domains_;
long totalCount_;
long pageSize_;
long pageNumber_;
long onlineCount_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserResourcePackageRequest : public RpcServiceRequest
{
public:
DescribeDcdnUserResourcePackageRequest();
~DescribeDcdnUserResourcePackageRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string securityToken_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_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_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGERESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserResourcePackageResult : public ServiceResult
{
public:
struct ResourcePackageInfo
{
std::string status;
std::string initCapacity;
std::string instanceId;
std::string commodityCode;
std::string displayName;
std::string currCapacity;
};
DescribeDcdnUserResourcePackageResult();
explicit DescribeDcdnUserResourcePackageResult(const std::string &payload);
~DescribeDcdnUserResourcePackageResult();
std::vector<ResourcePackageInfo> getResourcePackageInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResourcePackageInfo> resourcePackageInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGERESULT_H_

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT PreloadDcdnObjectCachesResult : public ServiceResult
{
public:
PreloadDcdnObjectCachesResult();
explicit PreloadDcdnObjectCachesResult(const std::string &payload);
~PreloadDcdnObjectCachesResult();
std::string getPreloadTaskId()const;
protected:
void parse(const std::string &payload);
private:
std::string preloadTaskId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESRESULT_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_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT RefreshDcdnObjectCachesRequest : public RpcServiceRequest
{
public:
RefreshDcdnObjectCachesRequest();
~RefreshDcdnObjectCachesRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getObjectPath()const;
void setObjectPath(const std::string& objectPath);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getObjectType()const;
void setObjectType(const std::string& objectType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string securityToken_;
std::string objectPath_;
long ownerId_;
std::string objectType_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_

View File

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

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainCertificateRequest : public RpcServiceRequest
{
public:
SetDcdnDomainCertificateRequest();
~SetDcdnDomainCertificateRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getCertType()const;
void setCertType(const std::string& certType);
std::string getSSLPub()const;
void setSSLPub(const std::string& sSLPub);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getSSLProtocol()const;
void setSSLProtocol(const std::string& sSLProtocol);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSSLPri()const;
void setSSLPri(const std::string& sSLPri);
private:
std::string securityToken_;
std::string certType_;
std::string sSLPub_;
std::string certName_;
std::string sSLProtocol_;
std::string domainName_;
long ownerId_;
std::string region_;
std::string accessKeyId_;
std::string sSLPri_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_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_DCDN_MODEL_SETDCDNDOMAINCERTIFICATERESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainCertificateResult : public ServiceResult
{
public:
SetDcdnDomainCertificateResult();
explicit SetDcdnDomainCertificateResult(const std::string &payload);
~SetDcdnDomainCertificateResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATERESULT_H_

View File

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

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnDomainRequest : public RpcServiceRequest
{
public:
UpdateDcdnDomainRequest();
~UpdateDcdnDomainRequest();
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSources()const;
void setSources(const std::string& sources);
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 topLevelDomain_;
std::string resourceGroupId_;
std::string sources_;
std::string securityToken_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_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_DCDN_MODEL_UPDATEDCDNDOMAINRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnDomainResult : public ServiceResult
{
public:
UpdateDcdnDomainResult();
explicit UpdateDcdnDomainResult(const std::string &payload);
~UpdateDcdnDomainResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINRESULT_H_

1061
dcdn/src/DcdnClient.cc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,137 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/AddDcdnDomainRequest.h>
using AlibabaCloud::Dcdn::Model::AddDcdnDomainRequest;
AddDcdnDomainRequest::AddDcdnDomainRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "AddDcdnDomain")
{}
AddDcdnDomainRequest::~AddDcdnDomainRequest()
{}
std::string AddDcdnDomainRequest::getTopLevelDomain()const
{
return topLevelDomain_;
}
void AddDcdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain)
{
topLevelDomain_ = topLevelDomain;
setParameter("TopLevelDomain", topLevelDomain);
}
std::string AddDcdnDomainRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void AddDcdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string AddDcdnDomainRequest::getSources()const
{
return sources_;
}
void AddDcdnDomainRequest::setSources(const std::string& sources)
{
sources_ = sources;
setParameter("Sources", sources);
}
std::string AddDcdnDomainRequest::getSecurityToken()const
{
return securityToken_;
}
void AddDcdnDomainRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string AddDcdnDomainRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void AddDcdnDomainRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string AddDcdnDomainRequest::getScope()const
{
return scope_;
}
void AddDcdnDomainRequest::setScope(const std::string& scope)
{
scope_ = scope;
setParameter("Scope", scope);
}
std::string AddDcdnDomainRequest::getDomainName()const
{
return domainName_;
}
void AddDcdnDomainRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long AddDcdnDomainRequest::getOwnerId()const
{
return ownerId_;
}
void AddDcdnDomainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddDcdnDomainRequest::getCheckUrl()const
{
return checkUrl_;
}
void AddDcdnDomainRequest::setCheckUrl(const std::string& checkUrl)
{
checkUrl_ = checkUrl;
setParameter("CheckUrl", checkUrl);
}
std::string AddDcdnDomainRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AddDcdnDomainRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/AddDcdnDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
AddDcdnDomainResult::AddDcdnDomainResult() :
ServiceResult()
{}
AddDcdnDomainResult::AddDcdnDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddDcdnDomainResult::~AddDcdnDomainResult()
{}
void AddDcdnDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsRequest.h>
using AlibabaCloud::Dcdn::Model::BatchDeleteDcdnDomainConfigsRequest;
BatchDeleteDcdnDomainConfigsRequest::BatchDeleteDcdnDomainConfigsRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "BatchDeleteDcdnDomainConfigs")
{}
BatchDeleteDcdnDomainConfigsRequest::~BatchDeleteDcdnDomainConfigsRequest()
{}
std::string BatchDeleteDcdnDomainConfigsRequest::getFunctionNames()const
{
return functionNames_;
}
void BatchDeleteDcdnDomainConfigsRequest::setFunctionNames(const std::string& functionNames)
{
functionNames_ = functionNames;
setParameter("FunctionNames", functionNames);
}
std::string BatchDeleteDcdnDomainConfigsRequest::getSecurityToken()const
{
return securityToken_;
}
void BatchDeleteDcdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string BatchDeleteDcdnDomainConfigsRequest::getDomainNames()const
{
return domainNames_;
}
void BatchDeleteDcdnDomainConfigsRequest::setDomainNames(const std::string& domainNames)
{
domainNames_ = domainNames;
setParameter("DomainNames", domainNames);
}
std::string BatchDeleteDcdnDomainConfigsRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void BatchDeleteDcdnDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long BatchDeleteDcdnDomainConfigsRequest::getOwnerId()const
{
return ownerId_;
}
void BatchDeleteDcdnDomainConfigsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string BatchDeleteDcdnDomainConfigsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BatchDeleteDcdnDomainConfigsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
BatchDeleteDcdnDomainConfigsResult::BatchDeleteDcdnDomainConfigsResult() :
ServiceResult()
{}
BatchDeleteDcdnDomainConfigsResult::BatchDeleteDcdnDomainConfigsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchDeleteDcdnDomainConfigsResult::~BatchDeleteDcdnDomainConfigsResult()
{}
void BatchDeleteDcdnDomainConfigsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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