Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d63881daa0 | ||
|
|
06552e53d8 | ||
|
|
d29cf439dd | ||
|
|
4782139aab | ||
|
|
07e2b81c13 | ||
|
|
1911aed209 | ||
|
|
af057eb153 | ||
|
|
76c5ad81b7 | ||
|
|
339cf28edd | ||
|
|
6ecfd8332a | ||
|
|
1c441b53f5 | ||
|
|
482abf2f25 | ||
|
|
8968d04f56 |
9
.idea/aliyun-openapi-cpp-sdk.iml
generated
Normal file
9
.idea/aliyun-openapi-cpp-sdk.iml
generated
Normal 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
8
.idea/modules.xml
generated
Normal 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
6
.idea/vcs.xml
generated
Normal 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
316
.idea/workspace.xml
generated
Normal 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	" 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>
|
||||
39
CHANGELOG
39
CHANGELOG
@@ -1,3 +1,42 @@
|
||||
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 interface,Support add、modify、delete、query dcdn domain.
|
||||
2, Add dcdn config interface,Support set、delete、query domain config.
|
||||
|
||||
2018-04-28 Version: 1.7.2
|
||||
1, Add dcdn domain interface,Support add、modify、delete、query dcdn domain.
|
||||
2, Add dcdn config interface,Support 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
|
||||
|
||||
@@ -68,4 +68,6 @@ add_subdirectory(teslamaxcompute)
|
||||
add_subdirectory(push)
|
||||
add_subdirectory(csb)
|
||||
add_subdirectory(domain)
|
||||
add_subdirectory(green)
|
||||
add_subdirectory(green)
|
||||
add_subdirectory(hsm)
|
||||
add_subdirectory(dcdn)
|
||||
199
README.md
Normal file → Executable file
199
README.md
Normal file → Executable 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
118
README_zh.md
Normal 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 许可证)。
|
||||
@@ -75,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
|
||||
@@ -216,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
|
||||
|
||||
@@ -76,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"
|
||||
@@ -250,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;
|
||||
@@ -462,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;
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -1023,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();
|
||||
|
||||
104
cloudphoto/src/model/FetchPhotosRequest.cc
Normal file
104
cloudphoto/src/model/FetchPhotosRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
118
cloudphoto/src/model/FetchPhotosResult.cc
Normal file
118
cloudphoto/src/model/FetchPhotosResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
194
dcdn/CMakeLists.txt
Normal file
194
dcdn/CMakeLists.txt
Normal 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}
|
||||
)
|
||||
270
dcdn/include/alibabacloud/dcdn/DcdnClient.h
Normal file
270
dcdn/include/alibabacloud/dcdn/DcdnClient.h
Normal 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_
|
||||
32
dcdn/include/alibabacloud/dcdn/DcdnExport.h
Normal file
32
dcdn/include/alibabacloud/dcdn/DcdnExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_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_
|
||||
75
dcdn/include/alibabacloud/dcdn/model/AddDcdnDomainRequest.h
Normal file
75
dcdn/include/alibabacloud/dcdn/model/AddDcdnDomainRequest.h
Normal 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_
|
||||
49
dcdn/include/alibabacloud/dcdn/model/AddDcdnDomainResult.h
Normal file
49
dcdn/include/alibabacloud/dcdn/model/AddDcdnDomainResult.h
Normal 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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
49
dcdn/include/alibabacloud/dcdn/model/StartDcdnDomainResult.h
Normal file
49
dcdn/include/alibabacloud/dcdn/model/StartDcdnDomainResult.h
Normal 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_
|
||||
57
dcdn/include/alibabacloud/dcdn/model/StopDcdnDomainRequest.h
Normal file
57
dcdn/include/alibabacloud/dcdn/model/StopDcdnDomainRequest.h
Normal 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_
|
||||
49
dcdn/include/alibabacloud/dcdn/model/StopDcdnDomainResult.h
Normal file
49
dcdn/include/alibabacloud/dcdn/model/StopDcdnDomainResult.h
Normal 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_
|
||||
@@ -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_
|
||||
@@ -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
1061
dcdn/src/DcdnClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
137
dcdn/src/model/AddDcdnDomainRequest.cc
Normal file
137
dcdn/src/model/AddDcdnDomainRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
45
dcdn/src/model/AddDcdnDomainResult.cc
Normal file
45
dcdn/src/model/AddDcdnDomainResult.cc
Normal 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());
|
||||
|
||||
}
|
||||
|
||||
93
dcdn/src/model/BatchDeleteDcdnDomainConfigsRequest.cc
Normal file
93
dcdn/src/model/BatchDeleteDcdnDomainConfigsRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
45
dcdn/src/model/BatchDeleteDcdnDomainConfigsResult.cc
Normal file
45
dcdn/src/model/BatchDeleteDcdnDomainConfigsResult.cc
Normal 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());
|
||||
|
||||
}
|
||||
|
||||
93
dcdn/src/model/DeleteDcdnDomainRequest.cc
Normal file
93
dcdn/src/model/DeleteDcdnDomainRequest.cc
Normal 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/DeleteDcdnDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DeleteDcdnDomainRequest;
|
||||
|
||||
DeleteDcdnDomainRequest::DeleteDcdnDomainRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnDomain")
|
||||
{}
|
||||
|
||||
DeleteDcdnDomainRequest::~DeleteDcdnDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDcdnDomainRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DeleteDcdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteDcdnDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteDcdnDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteDcdnDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteDcdnDomainRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteDcdnDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteDcdnDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteDcdnDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteDcdnDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteDcdnDomainRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteDcdnDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
dcdn/src/model/DeleteDcdnDomainResult.cc
Normal file
45
dcdn/src/model/DeleteDcdnDomainResult.cc
Normal 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/DeleteDcdnDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DeleteDcdnDomainResult::DeleteDcdnDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDcdnDomainResult::DeleteDcdnDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDcdnDomainResult::~DeleteDcdnDomainResult()
|
||||
{}
|
||||
|
||||
void DeleteDcdnDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
71
dcdn/src/model/DescribeDcdnCertificateDetailRequest.cc
Normal file
71
dcdn/src/model/DescribeDcdnCertificateDetailRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnCertificateDetailRequest;
|
||||
|
||||
DescribeDcdnCertificateDetailRequest::DescribeDcdnCertificateDetailRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnCertificateDetail")
|
||||
{}
|
||||
|
||||
DescribeDcdnCertificateDetailRequest::~DescribeDcdnCertificateDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnCertificateDetailRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnCertificateDetailRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnCertificateDetailRequest::getCertName()const
|
||||
{
|
||||
return certName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnCertificateDetailRequest::setCertName(const std::string& certName)
|
||||
{
|
||||
certName_ = certName;
|
||||
setParameter("CertName", certName);
|
||||
}
|
||||
|
||||
long DescribeDcdnCertificateDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnCertificateDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnCertificateDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnCertificateDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
73
dcdn/src/model/DescribeDcdnCertificateDetailResult.cc
Normal file
73
dcdn/src/model/DescribeDcdnCertificateDetailResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnCertificateDetailResult::DescribeDcdnCertificateDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnCertificateDetailResult::DescribeDcdnCertificateDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnCertificateDetailResult::~DescribeDcdnCertificateDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnCertificateDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Cert"].isNull())
|
||||
cert_ = value["Cert"].asString();
|
||||
if(!value["Key"].isNull())
|
||||
key_ = value["Key"].asString();
|
||||
if(!value["CertId"].isNull())
|
||||
certId_ = std::stol(value["CertId"].asString());
|
||||
if(!value["CertName"].isNull())
|
||||
certName_ = value["CertName"].asString();
|
||||
|
||||
}
|
||||
|
||||
long DescribeDcdnCertificateDetailResult::getCertId()const
|
||||
{
|
||||
return certId_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnCertificateDetailResult::getCert()const
|
||||
{
|
||||
return cert_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnCertificateDetailResult::getCertName()const
|
||||
{
|
||||
return certName_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnCertificateDetailResult::getKey()const
|
||||
{
|
||||
return key_;
|
||||
}
|
||||
|
||||
71
dcdn/src/model/DescribeDcdnCertificateListRequest.cc
Normal file
71
dcdn/src/model/DescribeDcdnCertificateListRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnCertificateListRequest;
|
||||
|
||||
DescribeDcdnCertificateListRequest::DescribeDcdnCertificateListRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnCertificateList")
|
||||
{}
|
||||
|
||||
DescribeDcdnCertificateListRequest::~DescribeDcdnCertificateListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnCertificateListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnCertificateListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnCertificateListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnCertificateListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeDcdnCertificateListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnCertificateListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnCertificateListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnCertificateListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
71
dcdn/src/model/DescribeDcdnCertificateListResult.cc
Normal file
71
dcdn/src/model/DescribeDcdnCertificateListResult.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnCertificateListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnCertificateListResult::DescribeDcdnCertificateListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnCertificateListResult::DescribeDcdnCertificateListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnCertificateListResult::~DescribeDcdnCertificateListResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnCertificateListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto certificateListModelNode = value["CertificateListModel"];
|
||||
if(!certificateListModelNode["Count"].isNull())
|
||||
certificateListModel_.count = std::stoi(certificateListModelNode["Count"].asString());
|
||||
auto allCertList = value["CertList"]["Cert"];
|
||||
for (auto value : allCertList)
|
||||
{
|
||||
CertificateListModel::Cert certObject;
|
||||
if(!value["CertName"].isNull())
|
||||
certObject.certName = value["CertName"].asString();
|
||||
if(!value["CertId"].isNull())
|
||||
certObject.certId = std::stol(value["CertId"].asString());
|
||||
if(!value["Fingerprint"].isNull())
|
||||
certObject.fingerprint = value["Fingerprint"].asString();
|
||||
if(!value["Common"].isNull())
|
||||
certObject.common = value["Common"].asString();
|
||||
if(!value["Issuer"].isNull())
|
||||
certObject.issuer = value["Issuer"].asString();
|
||||
if(!value["LastTime"].isNull())
|
||||
certObject.lastTime = std::stol(value["LastTime"].asString());
|
||||
certificateListModel_.certList.push_back(certObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeDcdnCertificateListResult::CertificateListModel DescribeDcdnCertificateListResult::getCertificateListModel()const
|
||||
{
|
||||
return certificateListModel_;
|
||||
}
|
||||
|
||||
346
dcdn/src/model/DescribeDcdnDomainBpsDataRequest.cc
Normal file
346
dcdn/src/model/DescribeDcdnDomainBpsDataRequest.cc
Normal file
@@ -0,0 +1,346 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainBpsDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainBpsDataRequest;
|
||||
|
||||
DescribeDcdnDomainBpsDataRequest::DescribeDcdnDomainBpsDataRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainBpsData")
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainBpsDataRequest::~DescribeDcdnDomainBpsDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnDomainBpsDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainBpsDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getLocationNameEn()const
|
||||
{
|
||||
return locationNameEn_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setLocationNameEn(const std::string& locationNameEn)
|
||||
{
|
||||
locationNameEn_ = locationNameEn;
|
||||
setParameter("LocationNameEn", locationNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getIspNameEn()const
|
||||
{
|
||||
return ispNameEn_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn)
|
||||
{
|
||||
ispNameEn_ = ispNameEn;
|
||||
setParameter("IspNameEn", ispNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainBpsDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getFixTimeGap()const
|
||||
{
|
||||
return fixTimeGap_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setFixTimeGap(const std::string& fixTimeGap)
|
||||
{
|
||||
fixTimeGap_ = fixTimeGap;
|
||||
setParameter("FixTimeGap", fixTimeGap);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getTimeMerge()const
|
||||
{
|
||||
return timeMerge_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setTimeMerge(const std::string& timeMerge)
|
||||
{
|
||||
timeMerge_ = timeMerge;
|
||||
setParameter("TimeMerge", timeMerge);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainBpsDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainBpsDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainBpsDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainBpsDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", interval);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataRequest::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainBpsDataRequest::setFields(const std::string& fields)
|
||||
{
|
||||
fields_ = fields;
|
||||
setParameter("Fields", fields);
|
||||
}
|
||||
|
||||
96
dcdn/src/model/DescribeDcdnDomainBpsDataResult.cc
Normal file
96
dcdn/src/model/DescribeDcdnDomainBpsDataResult.cc
Normal file
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainBpsDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnDomainBpsDataResult::DescribeDcdnDomainBpsDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainBpsDataResult::DescribeDcdnDomainBpsDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnDomainBpsDataResult::~DescribeDcdnDomainBpsDataResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnDomainBpsDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBpsDataPerInterval = value["BpsDataPerInterval"]["DataModule"];
|
||||
for (auto value : allBpsDataPerInterval)
|
||||
{
|
||||
DataModule bpsDataPerIntervalObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
bpsDataPerIntervalObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["Bps"].isNull())
|
||||
bpsDataPerIntervalObject.bps = std::stof(value["Bps"].asString());
|
||||
if(!value["DynamicHttpBps"].isNull())
|
||||
bpsDataPerIntervalObject.dynamicHttpBps = std::stof(value["DynamicHttpBps"].asString());
|
||||
if(!value["DynamicHttpsBps"].isNull())
|
||||
bpsDataPerIntervalObject.dynamicHttpsBps = std::stof(value["DynamicHttpsBps"].asString());
|
||||
if(!value["StaticHttpBps"].isNull())
|
||||
bpsDataPerIntervalObject.staticHttpBps = std::stof(value["StaticHttpBps"].asString());
|
||||
if(!value["StaticHttpsBps"].isNull())
|
||||
bpsDataPerIntervalObject.staticHttpsBps = std::stof(value["StaticHttpsBps"].asString());
|
||||
bpsDataPerInterval_.push_back(bpsDataPerIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainBpsDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnDomainBpsDataResult::DataModule> DescribeDcdnDomainBpsDataResult::getBpsDataPerInterval()const
|
||||
{
|
||||
return bpsDataPerInterval_;
|
||||
}
|
||||
|
||||
258
dcdn/src/model/DescribeDcdnDomainCnameRequest.cc
Normal file
258
dcdn/src/model/DescribeDcdnDomainCnameRequest.cc
Normal file
@@ -0,0 +1,258 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainCnameRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainCnameRequest;
|
||||
|
||||
DescribeDcdnDomainCnameRequest::DescribeDcdnDomainCnameRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainCname")
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainCnameRequest::~DescribeDcdnDomainCnameRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainCnameRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainCnameRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainCnameRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainCnameRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainCnameRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainCnameRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainCnameRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainCnameRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainCnameRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
62
dcdn/src/model/DescribeDcdnDomainCnameResult.cc
Normal file
62
dcdn/src/model/DescribeDcdnDomainCnameResult.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnDomainCnameResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnDomainCnameResult::DescribeDcdnDomainCnameResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainCnameResult::DescribeDcdnDomainCnameResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnDomainCnameResult::~DescribeDcdnDomainCnameResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnDomainCnameResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCnameDatas = value["CnameDatas"]["Data"];
|
||||
for (auto value : allCnameDatas)
|
||||
{
|
||||
Data cnameDatasObject;
|
||||
if(!value["Domain"].isNull())
|
||||
cnameDatasObject.domain = value["Domain"].asString();
|
||||
if(!value["Cname"].isNull())
|
||||
cnameDatasObject.cname = value["Cname"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
cnameDatasObject.status = std::stoi(value["Status"].asString());
|
||||
cnameDatas_.push_back(cnameDatasObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnDomainCnameResult::Data> DescribeDcdnDomainCnameResult::getCnameDatas()const
|
||||
{
|
||||
return cnameDatas_;
|
||||
}
|
||||
|
||||
82
dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc
Normal file
82
dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainConfigsRequest;
|
||||
|
||||
DescribeDcdnDomainConfigsRequest::DescribeDcdnDomainConfigsRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainConfigs")
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainConfigsRequest::~DescribeDcdnDomainConfigsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnDomainConfigsRequest::getFunctionNames()const
|
||||
{
|
||||
return functionNames_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainConfigsRequest::setFunctionNames(const std::string& functionNames)
|
||||
{
|
||||
functionNames_ = functionNames;
|
||||
setParameter("FunctionNames", functionNames);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainConfigsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainConfigsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainConfigsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainConfigsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainConfigsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
72
dcdn/src/model/DescribeDcdnDomainConfigsResult.cc
Normal file
72
dcdn/src/model/DescribeDcdnDomainConfigsResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnDomainConfigsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnDomainConfigsResult::DescribeDcdnDomainConfigsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainConfigsResult::DescribeDcdnDomainConfigsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnDomainConfigsResult::~DescribeDcdnDomainConfigsResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnDomainConfigsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainConfigs = value["DomainConfigs"]["DomainConfig"];
|
||||
for (auto value : allDomainConfigs)
|
||||
{
|
||||
DomainConfig domainConfigsObject;
|
||||
if(!value["FunctionName"].isNull())
|
||||
domainConfigsObject.functionName = value["FunctionName"].asString();
|
||||
if(!value["ConfigId"].isNull())
|
||||
domainConfigsObject.configId = value["ConfigId"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
domainConfigsObject.status = value["Status"].asString();
|
||||
auto allFunctionArgs = value["FunctionArgs"]["FunctionArg"];
|
||||
for (auto value : allFunctionArgs)
|
||||
{
|
||||
DomainConfig::FunctionArg functionArgsObject;
|
||||
if(!value["ArgName"].isNull())
|
||||
functionArgsObject.argName = value["ArgName"].asString();
|
||||
if(!value["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = value["ArgValue"].asString();
|
||||
domainConfigsObject.functionArgs.push_back(functionArgsObject);
|
||||
}
|
||||
domainConfigs_.push_back(domainConfigsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnDomainConfigsResult::DomainConfig> DescribeDcdnDomainConfigsResult::getDomainConfigs()const
|
||||
{
|
||||
return domainConfigs_;
|
||||
}
|
||||
|
||||
71
dcdn/src/model/DescribeDcdnDomainDetailRequest.cc
Normal file
71
dcdn/src/model/DescribeDcdnDomainDetailRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnDomainDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainDetailRequest;
|
||||
|
||||
DescribeDcdnDomainDetailRequest::DescribeDcdnDomainDetailRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainDetail")
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainDetailRequest::~DescribeDcdnDomainDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnDomainDetailRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainDetailRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainDetailRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainDetailRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
89
dcdn/src/model/DescribeDcdnDomainDetailResult.cc
Normal file
89
dcdn/src/model/DescribeDcdnDomainDetailResult.cc
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnDomainDetailResult::DescribeDcdnDomainDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainDetailResult::DescribeDcdnDomainDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnDomainDetailResult::~DescribeDcdnDomainDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnDomainDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto domainDetailNode = value["DomainDetail"];
|
||||
if(!domainDetailNode["GmtCreated"].isNull())
|
||||
domainDetail_.gmtCreated = domainDetailNode["GmtCreated"].asString();
|
||||
if(!domainDetailNode["GmtModified"].isNull())
|
||||
domainDetail_.gmtModified = domainDetailNode["GmtModified"].asString();
|
||||
if(!domainDetailNode["DomainStatus"].isNull())
|
||||
domainDetail_.domainStatus = domainDetailNode["DomainStatus"].asString();
|
||||
if(!domainDetailNode["Cname"].isNull())
|
||||
domainDetail_.cname = domainDetailNode["Cname"].asString();
|
||||
if(!domainDetailNode["DomainName"].isNull())
|
||||
domainDetail_.domainName = domainDetailNode["DomainName"].asString();
|
||||
if(!domainDetailNode["Description"].isNull())
|
||||
domainDetail_.description = domainDetailNode["Description"].asString();
|
||||
if(!domainDetailNode["SSLProtocol"].isNull())
|
||||
domainDetail_.sSLProtocol = domainDetailNode["SSLProtocol"].asString();
|
||||
if(!domainDetailNode["SSLPub"].isNull())
|
||||
domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString();
|
||||
if(!domainDetailNode["Scope"].isNull())
|
||||
domainDetail_.scope = domainDetailNode["Scope"].asString();
|
||||
if(!domainDetailNode["CertName"].isNull())
|
||||
domainDetail_.certName = domainDetailNode["CertName"].asString();
|
||||
if(!domainDetailNode["ResourceGroupId"].isNull())
|
||||
domainDetail_.resourceGroupId = domainDetailNode["ResourceGroupId"].asString();
|
||||
auto allSources = value["Sources"]["Source"];
|
||||
for (auto value : allSources)
|
||||
{
|
||||
DomainDetail::Source sourceObject;
|
||||
if(!value["Content"].isNull())
|
||||
sourceObject.content = value["Content"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
sourceObject.type = value["Type"].asString();
|
||||
if(!value["Port"].isNull())
|
||||
sourceObject.port = std::stoi(value["Port"].asString());
|
||||
if(!value["Enabled"].isNull())
|
||||
sourceObject.enabled = value["Enabled"].asString();
|
||||
if(!value["Priority"].isNull())
|
||||
sourceObject.priority = value["Priority"].asString();
|
||||
domainDetail_.sources.push_back(sourceObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeDcdnDomainDetailResult::DomainDetail DescribeDcdnDomainDetailResult::getDomainDetail()const
|
||||
{
|
||||
return domainDetail_;
|
||||
}
|
||||
|
||||
302
dcdn/src/model/DescribeDcdnDomainHitRateDataRequest.cc
Normal file
302
dcdn/src/model/DescribeDcdnDomainHitRateDataRequest.cc
Normal file
@@ -0,0 +1,302 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainHitRateDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainHitRateDataRequest;
|
||||
|
||||
DescribeDcdnDomainHitRateDataRequest::DescribeDcdnDomainHitRateDataRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainHitRateData")
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainHitRateDataRequest::~DescribeDcdnDomainHitRateDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnDomainHitRateDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainHitRateDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainHitRateDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainHitRateDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainHitRateDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainHitRateDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainHitRateDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", interval);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataRequest::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataRequest::setFields(const std::string& fields)
|
||||
{
|
||||
fields_ = fields;
|
||||
setParameter("Fields", fields);
|
||||
}
|
||||
|
||||
90
dcdn/src/model/DescribeDcdnDomainHitRateDataResult.cc
Normal file
90
dcdn/src/model/DescribeDcdnDomainHitRateDataResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainHitRateDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnDomainHitRateDataResult::DescribeDcdnDomainHitRateDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainHitRateDataResult::DescribeDcdnDomainHitRateDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnDomainHitRateDataResult::~DescribeDcdnDomainHitRateDataResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnDomainHitRateDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allHitRatePerInterval = value["HitRatePerInterval"]["DataModule"];
|
||||
for (auto value : allHitRatePerInterval)
|
||||
{
|
||||
DataModule hitRatePerIntervalObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
hitRatePerIntervalObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["ReqHitRate"].isNull())
|
||||
hitRatePerIntervalObject.reqHitRate = std::stof(value["ReqHitRate"].asString());
|
||||
if(!value["ByteHitRate"].isNull())
|
||||
hitRatePerIntervalObject.byteHitRate = std::stof(value["ByteHitRate"].asString());
|
||||
hitRatePerInterval_.push_back(hitRatePerIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnDomainHitRateDataResult::DataModule> DescribeDcdnDomainHitRateDataResult::getHitRatePerInterval()const
|
||||
{
|
||||
return hitRatePerInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHitRateDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
324
dcdn/src/model/DescribeDcdnDomainHttpCodeDataRequest.cc
Normal file
324
dcdn/src/model/DescribeDcdnDomainHttpCodeDataRequest.cc
Normal file
@@ -0,0 +1,324 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainHttpCodeDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainHttpCodeDataRequest;
|
||||
|
||||
DescribeDcdnDomainHttpCodeDataRequest::DescribeDcdnDomainHttpCodeDataRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainHttpCodeData")
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainHttpCodeDataRequest::~DescribeDcdnDomainHttpCodeDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnDomainHttpCodeDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainHttpCodeDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getLocationNameEn()const
|
||||
{
|
||||
return locationNameEn_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn)
|
||||
{
|
||||
locationNameEn_ = locationNameEn;
|
||||
setParameter("LocationNameEn", locationNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getIspNameEn()const
|
||||
{
|
||||
return ispNameEn_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn)
|
||||
{
|
||||
ispNameEn_ = ispNameEn;
|
||||
setParameter("IspNameEn", ispNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainHttpCodeDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainHttpCodeDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainHttpCodeDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainHttpCodeDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainHttpCodeDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", interval);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataRequest::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataRequest::setFields(const std::string& fields)
|
||||
{
|
||||
fields_ = fields;
|
||||
setParameter("Fields", fields);
|
||||
}
|
||||
|
||||
98
dcdn/src/model/DescribeDcdnDomainHttpCodeDataResult.cc
Normal file
98
dcdn/src/model/DescribeDcdnDomainHttpCodeDataResult.cc
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainHttpCodeDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnDomainHttpCodeDataResult::DescribeDcdnDomainHttpCodeDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainHttpCodeDataResult::DescribeDcdnDomainHttpCodeDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnDomainHttpCodeDataResult::~DescribeDcdnDomainHttpCodeDataResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnDomainHttpCodeDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataPerInterval = value["DataPerInterval"]["DataModule"];
|
||||
for (auto value : allDataPerInterval)
|
||||
{
|
||||
DataModule dataPerIntervalObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
dataPerIntervalObject.timeStamp = value["TimeStamp"].asString();
|
||||
auto allHttpCodeDataPerInterval = value["HttpCodeDataPerInterval"]["HttpCodeDataModule"];
|
||||
for (auto value : allHttpCodeDataPerInterval)
|
||||
{
|
||||
DataModule::HttpCodeDataModule httpCodeDataPerIntervalObject;
|
||||
if(!value["Code"].isNull())
|
||||
httpCodeDataPerIntervalObject.code = std::stoi(value["Code"].asString());
|
||||
if(!value["Proportion"].isNull())
|
||||
httpCodeDataPerIntervalObject.proportion = std::stof(value["Proportion"].asString());
|
||||
if(!value["Count"].isNull())
|
||||
httpCodeDataPerIntervalObject.count = std::stof(value["Count"].asString());
|
||||
dataPerIntervalObject.httpCodeDataPerInterval.push_back(httpCodeDataPerIntervalObject);
|
||||
}
|
||||
dataPerInterval_.push_back(dataPerIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainHttpCodeDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnDomainHttpCodeDataResult::DataModule> DescribeDcdnDomainHttpCodeDataResult::getDataPerInterval()const
|
||||
{
|
||||
return dataPerInterval_;
|
||||
}
|
||||
|
||||
302
dcdn/src/model/DescribeDcdnDomainLogRequest.cc
Normal file
302
dcdn/src/model/DescribeDcdnDomainLogRequest.cc
Normal file
@@ -0,0 +1,302 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeDcdnDomainLogRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainLogRequest;
|
||||
|
||||
DescribeDcdnDomainLogRequest::DescribeDcdnDomainLogRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainLog")
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainLogRequest::~DescribeDcdnDomainLogRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnDomainLogRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainLogRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainLogRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainLogRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainLogRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainLogRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainLogRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainLogRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool DescribeDcdnDomainLogRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainLogRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
93
dcdn/src/model/DescribeDcdnDomainLogResult.cc
Normal file
93
dcdn/src/model/DescribeDcdnDomainLogResult.cc
Normal 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/DescribeDcdnDomainLogResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnDomainLogResult::DescribeDcdnDomainLogResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnDomainLogResult::DescribeDcdnDomainLogResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnDomainLogResult::~DescribeDcdnDomainLogResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnDomainLogResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainLogDetails = value["DomainLogDetails"]["DomainLogDetail"];
|
||||
for (auto value : allDomainLogDetails)
|
||||
{
|
||||
DomainLogDetail domainLogDetailsObject;
|
||||
if(!value["LogCount"].isNull())
|
||||
domainLogDetailsObject.logCount = std::stol(value["LogCount"].asString());
|
||||
auto allPageInfos = value["PageInfos"]["PageInfoDetail"];
|
||||
for (auto value : allPageInfos)
|
||||
{
|
||||
DomainLogDetail::PageInfoDetail pageInfosObject;
|
||||
if(!value["PageIndex"].isNull())
|
||||
pageInfosObject.pageIndex = std::stol(value["PageIndex"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageInfosObject.pageSize = std::stol(value["PageSize"].asString());
|
||||
if(!value["Total"].isNull())
|
||||
pageInfosObject.total = std::stol(value["Total"].asString());
|
||||
domainLogDetailsObject.pageInfos.push_back(pageInfosObject);
|
||||
}
|
||||
auto allLogInfos = value["LogInfos"]["LogInfoDetail"];
|
||||
for (auto value : allLogInfos)
|
||||
{
|
||||
DomainLogDetail::LogInfoDetail logInfosObject;
|
||||
if(!value["LogName"].isNull())
|
||||
logInfosObject.logName = value["LogName"].asString();
|
||||
if(!value["LogPath"].isNull())
|
||||
logInfosObject.logPath = value["LogPath"].asString();
|
||||
if(!value["LogSize"].isNull())
|
||||
logInfosObject.logSize = std::stol(value["LogSize"].asString());
|
||||
if(!value["StartTime"].isNull())
|
||||
logInfosObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
logInfosObject.endTime = value["EndTime"].asString();
|
||||
domainLogDetailsObject.logInfos.push_back(logInfosObject);
|
||||
}
|
||||
domainLogDetails_.push_back(domainLogDetailsObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainLogResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnDomainLogResult::DomainLogDetail> DescribeDcdnDomainLogResult::getDomainLogDetails()const
|
||||
{
|
||||
return domainLogDetails_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user