Compare commits

..

24 Commits

Author SHA1 Message Date
yixiong.jxy
6e9b1bebe0 CCS SDK Auto Released By wilson.liuw,Version:1.26.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-25 20:09:14 +08:00
yixiong.jxy
857329972e update 2018-09-20 17:00:13 +08:00
yixiong.jxy
b2637b8f3c update 2018-09-20 16:55:59 +08:00
yixiong.jxy
844fe8856e LIVE SDK Auto Released By renrang.yl,Version:1.26.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-17 19:48:03 +08:00
yixiong.jxy
02d22470b7 ECS SDK Auto Released By yuanping.wyp,Version:1.26.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-14 15:04:37 +08:00
yixiong.jxy
6c1391eb82 RTC SDK Auto Released By renrang.yl,Version:1.25.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-13 19:39:14 +08:00
yixiong.jxy
60a0077509 ESS SDK Auto Released By kangning.tkn,Version:1.25.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-06 16:00:16 +08:00
yixiong.jxy
ee5b4ca599 IOT SDK Auto Released By cheyun.lxf,Version:1.25.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-06 01:09:55 +08:00
yixiong.jxy
e96ffc6afe EHPC SDK Auto Released By qianzheng.llc,Version:1.25.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-05 10:48:44 +08:00
yixiong.jxy
19a082eb56 GREEN SDK Auto Released By liuhai.lh,Version:1.24.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-03 16:45:19 +08:00
yixiong.jxy
002d5fb06f CSB SDK Auto Released By yaolan.lt,Version:1.24.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-09-03 15:28:25 +08:00
yixiong.jxy
c960a34373 EHPC SDK Auto Released By qianzheng.llc,Version:1.24.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-28 20:44:35 +08:00
yixiong.jxy
84adbb2cb8 SLB SDK Auto Released By laysong.sl,Version:1.23.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-28 16:48:49 +08:00
yixiong.jxy
db4f78e6de ESS SDK Auto Released By kangning.tkn,Version:1.23.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-27 20:29:54 +08:00
yixiong.jxy
0ef5cd3c63 IOT SDK Auto Released By cheyun.lxf,Version:1.23.2
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-27 17:29:44 +08:00
yixiong.jxy
0625a8a681 ECS SDK Auto Released By wujin.lhr,Version:1.23.1
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-23 11:12:17 +08:00
yixiong.jxy
aa84ad7f2e ECS SDK Auto Released By wenle.bwl,Version:1.23.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-22 13:08:24 +08:00
yixiong.jxy
94a811bc97 ECS SDK Auto Released By yixiong.jxy,Version:1.22.9
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-21 17:44:51 +08:00
yixiong.jxy
dd85f78d9d MOPEN SDK Auto Released By everettli.ll,Version:1.22.8
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-21 09:46:45 +08:00
yixiong.jxy
aa1d797d41 VOD SDK Auto Released By guzhaoyuan,Version:1.22.7
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-17 08:10:09 +08:00
yixiong.jxy
42253f9e7a LINKFACE SDK Auto Released By jiayao.wjy,Version:1.22.6
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-17 00:08:54 +08:00
yixiong.jxy
1c29ae37e8 ESS SDK Auto Released By wujin.lhr,Version:1.22.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-16 23:15:24 +08:00
yixiong.jxy
e5d87b63dc CLOUDAUTH SDK Auto Released By chugang.cg,Version:1.22.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-15 19:43:32 +08:00
yixiong.jxy
317456660d LIVE SDK Auto Released By renrang.yl,Version:1.22.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
2018-08-15 12:49:14 +08:00
1086 changed files with 74499 additions and 5712 deletions

6
.idea/vcs.xml generated
View File

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

316
.idea/workspace.xml generated
View File

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

View File

@@ -1,3 +1,87 @@
2018-09-25 Version: 1.26.2
1, Add GetHotlineRecord and QueryHotlineRecord interface, version 1.0.0
2018-09-17 Version: 1.26.1
1, Add field for AddCasterVideoResource, DescribeCasterVideoResources, ModifyCasterVideoResource.
2018-09-14 Version: 1.26.0
1, Add DedicatedHost Feature
2018-09-13 Version: 1.25.3
1, Add CreateChannelToken.
2018-09-06 Version: 1.25.2
1, AutoScaling support launchTemplate.
2018-09-06 Version: 1.25.1
1, Add API deleteProduct.
2, Move all API to version 20180120.
2018-09-05 Version: 1.25.0
1, Add new APIs with control policy for querying price
2018-09-03 Version: 1.24.2
1, voice identify interface
2, client upload credentials interface
2018-09-03 Version: 1.24.1
1, Add new service APIFindServiceStatisticalData, which can support query service statistical data.
2018-08-28 Version: 1.24.0
1, Add new APIs for profiling application performance: GetCloudMetricProfiling, etc.
2, Add new APIs to support Shifter container applications: AddContainerApp, etc.
2018-08-28 Version: 1.23.4
1, Add param for DescribeRegions,support AcceptLanguage,RegionEndpoint.
2018-08-27 Version: 1.23.3
1, add Ess alarm task api, CreateAlarm, DeleteAlarm, DescribeAlarms, DeleteAlarm, EnableAlarm, DisableAlarm
2018-08-27 Version: 1.23.2
1, Add api GetGatewayBySubDevice.
2, Modified the time related response parameters.
3, Add messageId in response with InvokeThingServiceSetDeviceProperty and NotifyAddThingTopo.
2018-08-23 Version: 1.23.1
1, RunInstance add privateIpAddress.
2018-08-22 Version: 1.23.0
1, Add api CreateSimulatedSystemEvents, support creating one or more simulated system events.
2, Add api CancelSimulatedSystemEvents, support cancelling one or more simulated system events.
2018-08-21 Version: 1.22.9
1, Repair describeLaunchTemplateVersions securityEnhancementStrategy type
2018-08-21 Version: 1.22.8
1, Add api: MoPenQueryCanvas, MoPenDoRecognize, MoPenSendMqttMessage, MoPenFindGroup
2018-08-17 Version: 1.22.7
1, Add a new api called DeleteImage to clear the image resource.
2, Add the field called AdditionType and OutputType to GetMezzanineInfo api request.
3, Add the field called OutputType to GetMezzanineInfo api response.
4, Add the field called CreationTime and ModificationTime to GetPlayInfo api response.
2018-08-17 Version: 1.22.6
1, New apkpubkey fields for queryauthentication output parameter.
2, New packagename fields for queryauthentication output parameter.
3, New clientId fields for queryauthentication output parameter.
2018-08-16 Version: 1.22.5
1, ModifyScalingConfiguration add imageName.
2, CreateScalingConfiguration add imageName.
2018-08-15 Version: 1.22.4
1, Fix bug in GetMaterials API.
2, GetVerifyToken added a new param VerifyConfigs
2018-08-15 Version: 1.22.3
1, Add domain operation api AddLiveDomain,DeleteLiveDomain,DescribeLiveDomainDetail,StartLiveDomain,StopLiveDomain.
2, Add certificate operation api DescribeLiveCertificateDetail,DescribeLiveCertificateList,SetLiveDomainCertificate.
3, Add domain config api BatchSetLiveDomainConfigs,BatchDeleteLiveDomainConfigs,DeleteLiveSpecificConfig,DescribeLiveDomainConfigs.
2018-08-15 Version: 1.22.2
1, Update ecs tag to 20 maximum

View File

@@ -86,4 +86,6 @@ add_subdirectory(mts)
add_subdirectory(iot)
add_subdirectory(linkface)
add_subdirectory(ots)
add_subdirectory(smartag)
add_subdirectory(smartag)
add_subdirectory(vod)
add_subdirectory(ccs)

View File

@@ -1 +1 @@
1.22.2
1.26.2

90
ccs/CMakeLists.txt Executable file
View 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.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(ccs_public_header
include/alibabacloud/ccs/CcsClient.h
include/alibabacloud/ccs/CcsExport.h )
set(ccs_public_header_model
include/alibabacloud/ccs/model/GetHotlineRecordRequest.h
include/alibabacloud/ccs/model/GetHotlineRecordResult.h
include/alibabacloud/ccs/model/QueryHotlineRecordRequest.h
include/alibabacloud/ccs/model/QueryHotlineRecordResult.h )
set(ccs_src
src/CcsClient.cc
src/model/GetHotlineRecordRequest.cc
src/model/GetHotlineRecordResult.cc
src/model/QueryHotlineRecordRequest.cc
src/model/QueryHotlineRecordResult.cc )
add_library(ccs ${LIB_TYPE}
${ccs_public_header}
${ccs_public_header_model}
${ccs_src})
set_target_properties(ccs
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}ccs
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(ccs
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_CCS_LIBRARY)
endif()
target_include_directories(ccs
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(ccs
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(ccs
jsoncpp)
target_include_directories(ccs
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(ccs
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(ccs
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(ccs
PRIVATE /usr/include/jsoncpp)
target_link_libraries(ccs
jsoncpp)
endif()
install(FILES ${ccs_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ccs)
install(FILES ${ccs_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ccs/model)
install(TARGETS ccs
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCS_CCSCLIENT_H_
#define ALIBABACLOUD_CCS_CCSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "CcsExport.h"
#include "model/GetHotlineRecordRequest.h"
#include "model/GetHotlineRecordResult.h"
#include "model/QueryHotlineRecordRequest.h"
#include "model/QueryHotlineRecordResult.h"
namespace AlibabaCloud
{
namespace Ccs
{
class ALIBABACLOUD_CCS_EXPORT CcsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::GetHotlineRecordResult> GetHotlineRecordOutcome;
typedef std::future<GetHotlineRecordOutcome> GetHotlineRecordOutcomeCallable;
typedef std::function<void(const CcsClient*, const Model::GetHotlineRecordRequest&, const GetHotlineRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHotlineRecordAsyncHandler;
typedef Outcome<Error, Model::QueryHotlineRecordResult> QueryHotlineRecordOutcome;
typedef std::future<QueryHotlineRecordOutcome> QueryHotlineRecordOutcomeCallable;
typedef std::function<void(const CcsClient*, const Model::QueryHotlineRecordRequest&, const QueryHotlineRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryHotlineRecordAsyncHandler;
CcsClient(const Credentials &credentials, const ClientConfiguration &configuration);
CcsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
CcsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~CcsClient();
GetHotlineRecordOutcome getHotlineRecord(const Model::GetHotlineRecordRequest &request)const;
void getHotlineRecordAsync(const Model::GetHotlineRecordRequest& request, const GetHotlineRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetHotlineRecordOutcomeCallable getHotlineRecordCallable(const Model::GetHotlineRecordRequest& request) const;
QueryHotlineRecordOutcome queryHotlineRecord(const Model::QueryHotlineRecordRequest &request)const;
void queryHotlineRecordAsync(const Model::QueryHotlineRecordRequest& request, const QueryHotlineRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryHotlineRecordOutcomeCallable queryHotlineRecordCallable(const Model::QueryHotlineRecordRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_CCS_CCSCLIENT_H_

View File

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

View File

@@ -14,38 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYAPPLYSTATUSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYAPPLYSTATUSREQUEST_H_
#ifndef ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDREQUEST_H_
#define ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
#include <alibabacloud/ccs/CcsExport.h>
namespace AlibabaCloud
{
namespace Iot
namespace Ccs
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT QueryApplyStatusRequest : public RpcServiceRequest
class ALIBABACLOUD_CCS_EXPORT GetHotlineRecordRequest : public RpcServiceRequest
{
public:
QueryApplyStatusRequest();
~QueryApplyStatusRequest();
GetHotlineRecordRequest();
~GetHotlineRecordRequest();
long getApplyId()const;
void setApplyId(long applyId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getId()const;
void setId(const std::string& id);
std::string getCcsInstanceId()const;
void setCcsInstanceId(const std::string& ccsInstanceId);
private:
long applyId_;
std::string accessKeyId_;
std::string id_;
std::string ccsInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYAPPLYSTATUSREQUEST_H_
#endif // !ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDRESULT_H_
#define ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccs/CcsExport.h>
namespace AlibabaCloud
{
namespace Ccs
{
namespace Model
{
class ALIBABACLOUD_CCS_EXPORT GetHotlineRecordResult : public ServiceResult
{
public:
GetHotlineRecordResult();
explicit GetHotlineRecordResult(const std::string &payload);
~GetHotlineRecordResult();
std::string getStatus()const;
std::string getGroupName()const;
std::string getVisitorId()const;
std::string getOutboundTaskId()const;
std::string getCategories()const;
long getTalkDuration()const;
std::string getVisitorPhone()const;
std::string getCreateTime()const;
std::string getSatisfaction()const;
std::string getCallType()const;
std::string getVisitorProvince()const;
std::string getCcsInstanceId()const;
std::string getGroupId()const;
std::string getSceneId()const;
std::string getFinishTime()const;
std::string getHangupType()const;
std::string getId()const;
std::string getAgentId()const;
std::string getAgentName()const;
std::string getMemo()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string groupName_;
std::string visitorId_;
std::string outboundTaskId_;
std::string categories_;
long talkDuration_;
std::string visitorPhone_;
std::string createTime_;
std::string satisfaction_;
std::string callType_;
std::string visitorProvince_;
std::string ccsInstanceId_;
std::string groupId_;
std::string sceneId_;
std::string finishTime_;
std::string hangupType_;
std::string id_;
std::string agentId_;
std::string agentName_;
std::string memo_;
};
}
}
}
#endif // !ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDRESULT_H_

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDREQUEST_H_
#define ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccs/CcsExport.h>
namespace AlibabaCloud
{
namespace Ccs
{
namespace Model
{
class ALIBABACLOUD_CCS_EXPORT QueryHotlineRecordRequest : public RpcServiceRequest
{
public:
QueryHotlineRecordRequest();
~QueryHotlineRecordRequest();
std::string getAgentId()const;
void setAgentId(const std::string& agentId);
long getMaxTalkDuration()const;
void setMaxTalkDuration(long maxTalkDuration);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getSatisfaction()const;
void setSatisfaction(const std::string& satisfaction);
long getMinTalkDuratoin()const;
void setMinTalkDuratoin(long minTalkDuratoin);
std::string getCategoryIds()const;
void setCategoryIds(const std::string& categoryIds);
std::string getVisitorProvince()const;
void setVisitorProvince(const std::string& visitorProvince);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getCallType()const;
void setCallType(const std::string& callType);
std::string getCcsInstanceId()const;
void setCcsInstanceId(const std::string& ccsInstanceId);
std::string getVisitorPhone()const;
void setVisitorPhone(const std::string& visitorPhone);
std::string getVisitorId()const;
void setVisitorId(const std::string& visitorId);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string agentId_;
long maxTalkDuration_;
std::string groupId_;
std::string endTime_;
std::string startTime_;
int pageNum_;
std::string satisfaction_;
long minTalkDuratoin_;
std::string categoryIds_;
std::string visitorProvince_;
int pageSize_;
std::string callType_;
std::string ccsInstanceId_;
std::string visitorPhone_;
std::string visitorId_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDRESULT_H_
#define ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccs/CcsExport.h>
namespace AlibabaCloud
{
namespace Ccs
{
namespace Model
{
class ALIBABACLOUD_CCS_EXPORT QueryHotlineRecordResult : public ServiceResult
{
public:
struct HotlineRecord
{
std::string groupName;
std::string status;
std::string visitorId;
std::string outboundTaskId;
std::string categories;
long talkDuration;
std::string visitorPhone;
std::string createTime;
std::string satisfaction;
std::string callType;
std::string visitorProvince;
std::string ccsInstanceId;
std::string groupId;
std::string finishTime;
std::string hangupType;
std::string id;
std::string agentId;
std::string agentName;
std::string memo;
};
QueryHotlineRecordResult();
explicit QueryHotlineRecordResult(const std::string &payload);
~QueryHotlineRecordResult();
int getTotalCount()const;
int getPageNum()const;
int getPageSize()const;
std::vector<HotlineRecord> getRecords()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageNum_;
int pageSize_;
std::vector<HotlineRecord> records_;
};
}
}
}
#endif // !ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDRESULT_H_

125
ccs/src/CcsClient.cc Executable file
View File

@@ -0,0 +1,125 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ccs/CcsClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Ccs;
using namespace AlibabaCloud::Ccs::Model;
namespace
{
const std::string SERVICE_NAME = "Ccs";
}
CcsClient::CcsClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ccs");
}
CcsClient::CcsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ccs");
}
CcsClient::CcsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ccs");
}
CcsClient::~CcsClient()
{}
CcsClient::GetHotlineRecordOutcome CcsClient::getHotlineRecord(const GetHotlineRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetHotlineRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetHotlineRecordOutcome(GetHotlineRecordResult(outcome.result()));
else
return GetHotlineRecordOutcome(outcome.error());
}
void CcsClient::getHotlineRecordAsync(const GetHotlineRecordRequest& request, const GetHotlineRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getHotlineRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
CcsClient::GetHotlineRecordOutcomeCallable CcsClient::getHotlineRecordCallable(const GetHotlineRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetHotlineRecordOutcome()>>(
[this, request]()
{
return this->getHotlineRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CcsClient::QueryHotlineRecordOutcome CcsClient::queryHotlineRecord(const QueryHotlineRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryHotlineRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryHotlineRecordOutcome(QueryHotlineRecordResult(outcome.result()));
else
return QueryHotlineRecordOutcome(outcome.error());
}
void CcsClient::queryHotlineRecordAsync(const QueryHotlineRecordRequest& request, const QueryHotlineRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryHotlineRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
CcsClient::QueryHotlineRecordOutcomeCallable CcsClient::queryHotlineRecordCallable(const QueryHotlineRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryHotlineRecordOutcome()>>(
[this, request]()
{
return this->queryHotlineRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ccs/model/GetHotlineRecordRequest.h>
using AlibabaCloud::Ccs::Model::GetHotlineRecordRequest;
GetHotlineRecordRequest::GetHotlineRecordRequest() :
RpcServiceRequest("ccs", "2017-10-01", "GetHotlineRecord")
{}
GetHotlineRecordRequest::~GetHotlineRecordRequest()
{}
std::string GetHotlineRecordRequest::getId()const
{
return id_;
}
void GetHotlineRecordRequest::setId(const std::string& id)
{
id_ = id;
setParameter("Id", id);
}
std::string GetHotlineRecordRequest::getCcsInstanceId()const
{
return ccsInstanceId_;
}
void GetHotlineRecordRequest::setCcsInstanceId(const std::string& ccsInstanceId)
{
ccsInstanceId_ = ccsInstanceId;
setParameter("CcsInstanceId", ccsInstanceId);
}

View File

@@ -0,0 +1,185 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ccs/model/GetHotlineRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ccs;
using namespace AlibabaCloud::Ccs::Model;
GetHotlineRecordResult::GetHotlineRecordResult() :
ServiceResult()
{}
GetHotlineRecordResult::GetHotlineRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetHotlineRecordResult::~GetHotlineRecordResult()
{}
void GetHotlineRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Id"].isNull())
id_ = value["Id"].asString();
if(!value["CallType"].isNull())
callType_ = value["CallType"].asString();
if(!value["VisitorId"].isNull())
visitorId_ = value["VisitorId"].asString();
if(!value["VisitorPhone"].isNull())
visitorPhone_ = value["VisitorPhone"].asString();
if(!value["VisitorProvince"].isNull())
visitorProvince_ = value["VisitorProvince"].asString();
if(!value["SceneId"].isNull())
sceneId_ = value["SceneId"].asString();
if(!value["AgentId"].isNull())
agentId_ = value["AgentId"].asString();
if(!value["AgentName"].isNull())
agentName_ = value["AgentName"].asString();
if(!value["CreateTime"].isNull())
createTime_ = value["CreateTime"].asString();
if(!value["FinishTime"].isNull())
finishTime_ = value["FinishTime"].asString();
if(!value["Status"].isNull())
status_ = value["Status"].asString();
if(!value["Memo"].isNull())
memo_ = value["Memo"].asString();
if(!value["HangupType"].isNull())
hangupType_ = value["HangupType"].asString();
if(!value["Satisfaction"].isNull())
satisfaction_ = value["Satisfaction"].asString();
if(!value["OutboundTaskId"].isNull())
outboundTaskId_ = value["OutboundTaskId"].asString();
if(!value["Categories"].isNull())
categories_ = value["Categories"].asString();
if(!value["CcsInstanceId"].isNull())
ccsInstanceId_ = value["CcsInstanceId"].asString();
if(!value["TalkDuration"].isNull())
talkDuration_ = std::stol(value["TalkDuration"].asString());
if(!value["GroupId"].isNull())
groupId_ = value["GroupId"].asString();
if(!value["GroupName"].isNull())
groupName_ = value["GroupName"].asString();
}
std::string GetHotlineRecordResult::getStatus()const
{
return status_;
}
std::string GetHotlineRecordResult::getGroupName()const
{
return groupName_;
}
std::string GetHotlineRecordResult::getVisitorId()const
{
return visitorId_;
}
std::string GetHotlineRecordResult::getOutboundTaskId()const
{
return outboundTaskId_;
}
std::string GetHotlineRecordResult::getCategories()const
{
return categories_;
}
long GetHotlineRecordResult::getTalkDuration()const
{
return talkDuration_;
}
std::string GetHotlineRecordResult::getVisitorPhone()const
{
return visitorPhone_;
}
std::string GetHotlineRecordResult::getCreateTime()const
{
return createTime_;
}
std::string GetHotlineRecordResult::getSatisfaction()const
{
return satisfaction_;
}
std::string GetHotlineRecordResult::getCallType()const
{
return callType_;
}
std::string GetHotlineRecordResult::getVisitorProvince()const
{
return visitorProvince_;
}
std::string GetHotlineRecordResult::getCcsInstanceId()const
{
return ccsInstanceId_;
}
std::string GetHotlineRecordResult::getGroupId()const
{
return groupId_;
}
std::string GetHotlineRecordResult::getSceneId()const
{
return sceneId_;
}
std::string GetHotlineRecordResult::getFinishTime()const
{
return finishTime_;
}
std::string GetHotlineRecordResult::getHangupType()const
{
return hangupType_;
}
std::string GetHotlineRecordResult::getId()const
{
return id_;
}
std::string GetHotlineRecordResult::getAgentId()const
{
return agentId_;
}
std::string GetHotlineRecordResult::getAgentName()const
{
return agentName_;
}
std::string GetHotlineRecordResult::getMemo()const
{
return memo_;
}

View File

@@ -0,0 +1,203 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ccs/model/QueryHotlineRecordRequest.h>
using AlibabaCloud::Ccs::Model::QueryHotlineRecordRequest;
QueryHotlineRecordRequest::QueryHotlineRecordRequest() :
RpcServiceRequest("ccs", "2017-10-01", "QueryHotlineRecord")
{}
QueryHotlineRecordRequest::~QueryHotlineRecordRequest()
{}
std::string QueryHotlineRecordRequest::getAgentId()const
{
return agentId_;
}
void QueryHotlineRecordRequest::setAgentId(const std::string& agentId)
{
agentId_ = agentId;
setParameter("AgentId", agentId);
}
long QueryHotlineRecordRequest::getMaxTalkDuration()const
{
return maxTalkDuration_;
}
void QueryHotlineRecordRequest::setMaxTalkDuration(long maxTalkDuration)
{
maxTalkDuration_ = maxTalkDuration;
setParameter("MaxTalkDuration", std::to_string(maxTalkDuration));
}
std::string QueryHotlineRecordRequest::getGroupId()const
{
return groupId_;
}
void QueryHotlineRecordRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setParameter("GroupId", groupId);
}
std::string QueryHotlineRecordRequest::getEndTime()const
{
return endTime_;
}
void QueryHotlineRecordRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string QueryHotlineRecordRequest::getStartTime()const
{
return startTime_;
}
void QueryHotlineRecordRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
int QueryHotlineRecordRequest::getPageNum()const
{
return pageNum_;
}
void QueryHotlineRecordRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
std::string QueryHotlineRecordRequest::getSatisfaction()const
{
return satisfaction_;
}
void QueryHotlineRecordRequest::setSatisfaction(const std::string& satisfaction)
{
satisfaction_ = satisfaction;
setParameter("Satisfaction", satisfaction);
}
long QueryHotlineRecordRequest::getMinTalkDuratoin()const
{
return minTalkDuratoin_;
}
void QueryHotlineRecordRequest::setMinTalkDuratoin(long minTalkDuratoin)
{
minTalkDuratoin_ = minTalkDuratoin;
setParameter("MinTalkDuratoin", std::to_string(minTalkDuratoin));
}
std::string QueryHotlineRecordRequest::getCategoryIds()const
{
return categoryIds_;
}
void QueryHotlineRecordRequest::setCategoryIds(const std::string& categoryIds)
{
categoryIds_ = categoryIds;
setParameter("CategoryIds", categoryIds);
}
std::string QueryHotlineRecordRequest::getVisitorProvince()const
{
return visitorProvince_;
}
void QueryHotlineRecordRequest::setVisitorProvince(const std::string& visitorProvince)
{
visitorProvince_ = visitorProvince;
setParameter("VisitorProvince", visitorProvince);
}
int QueryHotlineRecordRequest::getPageSize()const
{
return pageSize_;
}
void QueryHotlineRecordRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string QueryHotlineRecordRequest::getCallType()const
{
return callType_;
}
void QueryHotlineRecordRequest::setCallType(const std::string& callType)
{
callType_ = callType;
setParameter("CallType", callType);
}
std::string QueryHotlineRecordRequest::getCcsInstanceId()const
{
return ccsInstanceId_;
}
void QueryHotlineRecordRequest::setCcsInstanceId(const std::string& ccsInstanceId)
{
ccsInstanceId_ = ccsInstanceId;
setParameter("CcsInstanceId", ccsInstanceId);
}
std::string QueryHotlineRecordRequest::getVisitorPhone()const
{
return visitorPhone_;
}
void QueryHotlineRecordRequest::setVisitorPhone(const std::string& visitorPhone)
{
visitorPhone_ = visitorPhone;
setParameter("VisitorPhone", visitorPhone);
}
std::string QueryHotlineRecordRequest::getVisitorId()const
{
return visitorId_;
}
void QueryHotlineRecordRequest::setVisitorId(const std::string& visitorId)
{
visitorId_ = visitorId;
setParameter("VisitorId", visitorId);
}
std::string QueryHotlineRecordRequest::getStatus()const
{
return status_;
}
void QueryHotlineRecordRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

View File

@@ -0,0 +1,115 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ccs/model/QueryHotlineRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Ccs;
using namespace AlibabaCloud::Ccs::Model;
QueryHotlineRecordResult::QueryHotlineRecordResult() :
ServiceResult()
{}
QueryHotlineRecordResult::QueryHotlineRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryHotlineRecordResult::~QueryHotlineRecordResult()
{}
void QueryHotlineRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allRecords = value["Records"]["HotlineRecord"];
for (auto value : allRecords)
{
HotlineRecord recordsObject;
if(!value["Id"].isNull())
recordsObject.id = value["Id"].asString();
if(!value["VisitorId"].isNull())
recordsObject.visitorId = value["VisitorId"].asString();
if(!value["VisitorPhone"].isNull())
recordsObject.visitorPhone = value["VisitorPhone"].asString();
if(!value["VisitorProvince"].isNull())
recordsObject.visitorProvince = value["VisitorProvince"].asString();
if(!value["CallType"].isNull())
recordsObject.callType = value["CallType"].asString();
if(!value["AgentId"].isNull())
recordsObject.agentId = value["AgentId"].asString();
if(!value["AgentName"].isNull())
recordsObject.agentName = value["AgentName"].asString();
if(!value["GroupId"].isNull())
recordsObject.groupId = value["GroupId"].asString();
if(!value["GroupName"].isNull())
recordsObject.groupName = value["GroupName"].asString();
if(!value["CreateTime"].isNull())
recordsObject.createTime = value["CreateTime"].asString();
if(!value["FinishTime"].isNull())
recordsObject.finishTime = value["FinishTime"].asString();
if(!value["Status"].isNull())
recordsObject.status = value["Status"].asString();
if(!value["Memo"].isNull())
recordsObject.memo = value["Memo"].asString();
if(!value["HangupType"].isNull())
recordsObject.hangupType = value["HangupType"].asString();
if(!value["Satisfaction"].isNull())
recordsObject.satisfaction = value["Satisfaction"].asString();
if(!value["OutboundTaskId"].isNull())
recordsObject.outboundTaskId = value["OutboundTaskId"].asString();
if(!value["Categories"].isNull())
recordsObject.categories = value["Categories"].asString();
if(!value["CcsInstanceId"].isNull())
recordsObject.ccsInstanceId = value["CcsInstanceId"].asString();
if(!value["TalkDuration"].isNull())
recordsObject.talkDuration = std::stol(value["TalkDuration"].asString());
records_.push_back(recordsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageNum"].isNull())
pageNum_ = std::stoi(value["PageNum"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
int QueryHotlineRecordResult::getTotalCount()const
{
return totalCount_;
}
int QueryHotlineRecordResult::getPageNum()const
{
return pageNum_;
}
int QueryHotlineRecordResult::getPageSize()const
{
return pageSize_;
}
std::vector<QueryHotlineRecordResult::HotlineRecord> QueryHotlineRecordResult::getRecords()const
{
return records_;
}

View File

@@ -36,8 +36,10 @@ namespace AlibabaCloud
{
std::string facePic;
std::string identificationNumber;
std::string idCardStartDate;
std::string address;
std::string idCardFrontPic;
std::string ethnicGroup;
std::string sex;
std::string idCardExpiry;
std::string idCardType;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setSourceIp(const std::string& sourceIp);
std::string getBinding()const;
void setBinding(const std::string& binding);
std::string getVerifyConfigs()const;
void setVerifyConfigs(const std::string& verifyConfigs);
std::string getTicketId()const;
void setTicketId(const std::string& ticketId);
@@ -54,6 +56,7 @@ namespace AlibabaCloud
std::string biz_;
std::string sourceIp_;
std::string binding_;
std::string verifyConfigs_;
std::string ticketId_;
};

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Cloudauth::Model::CompareFacesRequest;
CompareFacesRequest::CompareFacesRequest() :
RpcServiceRequest("cloudauth", "2018-07-03", "CompareFaces")
RpcServiceRequest("cloudauth", "2018-08-07", "CompareFaces")
{}
CompareFacesRequest::~CompareFacesRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Cloudauth::Model::DetectFaceAttributesRequest;
DetectFaceAttributesRequest::DetectFaceAttributesRequest() :
RpcServiceRequest("cloudauth", "2018-07-03", "DetectFaceAttributes")
RpcServiceRequest("cloudauth", "2018-08-07", "DetectFaceAttributes")
{}
DetectFaceAttributesRequest::~DetectFaceAttributesRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Cloudauth::Model::GetMaterialsRequest;
GetMaterialsRequest::GetMaterialsRequest() :
RpcServiceRequest("cloudauth", "2018-07-03", "GetMaterials")
RpcServiceRequest("cloudauth", "2018-08-07", "GetMaterials")
{}
GetMaterialsRequest::~GetMaterialsRequest()

View File

@@ -47,6 +47,8 @@ void GetMaterialsResult::parse(const std::string &payload)
data_.identificationNumber = dataNode["IdentificationNumber"].asString();
if(!dataNode["IdCardType"].isNull())
data_.idCardType = dataNode["IdCardType"].asString();
if(!dataNode["IdCardStartDate"].isNull())
data_.idCardStartDate = dataNode["IdCardStartDate"].asString();
if(!dataNode["IdCardExpiry"].isNull())
data_.idCardExpiry = dataNode["IdCardExpiry"].asString();
if(!dataNode["Address"].isNull())
@@ -59,6 +61,8 @@ void GetMaterialsResult::parse(const std::string &payload)
data_.idCardBackPic = dataNode["IdCardBackPic"].asString();
if(!dataNode["FacePic"].isNull())
data_.facePic = dataNode["FacePic"].asString();
if(!dataNode["EthnicGroup"].isNull())
data_.ethnicGroup = dataNode["EthnicGroup"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Cloudauth::Model::GetStatusRequest;
GetStatusRequest::GetStatusRequest() :
RpcServiceRequest("cloudauth", "2018-07-03", "GetStatus")
RpcServiceRequest("cloudauth", "2018-08-07", "GetStatus")
{}
GetStatusRequest::~GetStatusRequest()

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Cloudauth::Model::GetVerifyTokenRequest;
GetVerifyTokenRequest::GetVerifyTokenRequest() :
RpcServiceRequest("cloudauth", "2018-07-03", "GetVerifyToken")
RpcServiceRequest("cloudauth", "2018-08-07", "GetVerifyToken")
{}
GetVerifyTokenRequest::~GetVerifyTokenRequest()
@@ -80,6 +80,17 @@ void GetVerifyTokenRequest::setBinding(const std::string& binding)
setParameter("Binding", binding);
}
std::string GetVerifyTokenRequest::getVerifyConfigs()const
{
return verifyConfigs_;
}
void GetVerifyTokenRequest::setVerifyConfigs(const std::string& verifyConfigs)
{
verifyConfigs_ = verifyConfigs;
setParameter("VerifyConfigs", verifyConfigs);
}
std::string GetVerifyTokenRequest::getTicketId()const
{
return ticketId_;

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Cloudauth::Model::SubmitMaterialsRequest;
SubmitMaterialsRequest::SubmitMaterialsRequest() :
RpcServiceRequest("cloudauth", "2018-07-03", "SubmitMaterials")
RpcServiceRequest("cloudauth", "2018-08-07", "SubmitMaterials")
{}
SubmitMaterialsRequest::~SubmitMaterialsRequest()

View File

@@ -73,6 +73,8 @@ set(csb_public_header_model
include/alibabacloud/csb/model/UpdateOrderListResult.h
include/alibabacloud/csb/model/DeleteCredentialsListRequest.h
include/alibabacloud/csb/model/DeleteCredentialsListResult.h
include/alibabacloud/csb/model/FindServiceStatisticalDataRequest.h
include/alibabacloud/csb/model/FindServiceStatisticalDataResult.h
include/alibabacloud/csb/model/CreateServiceRequest.h
include/alibabacloud/csb/model/CreateServiceResult.h
include/alibabacloud/csb/model/FindCredentialsListRequest.h
@@ -154,6 +156,8 @@ set(csb_src
src/model/UpdateOrderListResult.cc
src/model/DeleteCredentialsListRequest.cc
src/model/DeleteCredentialsListResult.cc
src/model/FindServiceStatisticalDataRequest.cc
src/model/FindServiceStatisticalDataResult.cc
src/model/CreateServiceRequest.cc
src/model/CreateServiceResult.cc
src/model/FindCredentialsListRequest.cc

View File

@@ -74,6 +74,8 @@
#include "model/UpdateOrderListResult.h"
#include "model/DeleteCredentialsListRequest.h"
#include "model/DeleteCredentialsListResult.h"
#include "model/FindServiceStatisticalDataRequest.h"
#include "model/FindServiceStatisticalDataResult.h"
#include "model/CreateServiceRequest.h"
#include "model/CreateServiceResult.h"
#include "model/FindCredentialsListRequest.h"
@@ -187,6 +189,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteCredentialsListResult> DeleteCredentialsListOutcome;
typedef std::future<DeleteCredentialsListOutcome> DeleteCredentialsListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteCredentialsListRequest&, const DeleteCredentialsListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCredentialsListAsyncHandler;
typedef Outcome<Error, Model::FindServiceStatisticalDataResult> FindServiceStatisticalDataOutcome;
typedef std::future<FindServiceStatisticalDataOutcome> FindServiceStatisticalDataOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindServiceStatisticalDataRequest&, const FindServiceStatisticalDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindServiceStatisticalDataAsyncHandler;
typedef Outcome<Error, Model::CreateServiceResult> CreateServiceOutcome;
typedef std::future<CreateServiceOutcome> CreateServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::CreateServiceRequest&, const CreateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceAsyncHandler;
@@ -309,6 +314,9 @@ namespace AlibabaCloud
DeleteCredentialsListOutcome deleteCredentialsList(const Model::DeleteCredentialsListRequest &request)const;
void deleteCredentialsListAsync(const Model::DeleteCredentialsListRequest& request, const DeleteCredentialsListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCredentialsListOutcomeCallable deleteCredentialsListCallable(const Model::DeleteCredentialsListRequest& request) const;
FindServiceStatisticalDataOutcome findServiceStatisticalData(const Model::FindServiceStatisticalDataRequest &request)const;
void findServiceStatisticalDataAsync(const Model::FindServiceStatisticalDataRequest& request, const FindServiceStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindServiceStatisticalDataOutcomeCallable findServiceStatisticalDataCallable(const Model::FindServiceStatisticalDataRequest& request) const;
CreateServiceOutcome createService(const Model::CreateServiceRequest &request)const;
void createServiceAsync(const Model::CreateServiceRequest& request, const CreateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateServiceOutcomeCallable createServiceCallable(const Model::CreateServiceRequest& request) const;

View File

@@ -35,16 +35,16 @@ namespace AlibabaCloud
CheckServiceExistRequest();
~CheckServiceExistRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
long csbId_;
std::string regionId_;
long csbId_;
std::string serviceName_;
};

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
std::string regionId_;
long csbId_;
std::string regionId_;
};
}

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

@@ -35,16 +35,16 @@ namespace AlibabaCloud
DeleteProjectRequest();
~DeleteProjectRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
long getProjectId()const;
void setProjectId(long projectId);
private:
long csbId_;
std::string regionId_;
long csbId_;
long projectId_;
};

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

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

View File

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

View File

@@ -35,18 +35,18 @@ namespace AlibabaCloud
FindCredentialsListRequest();
~FindCredentialsListRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
private:
long csbId_;
std::string regionId_;
long csbId_;
int pageNum_;
std::string groupName_;

View File

@@ -35,10 +35,10 @@ namespace AlibabaCloud
FindInstanceListRequest();
~FindInstanceListRequest();
std::string getSearchTxt()const;
void setSearchTxt(const std::string& searchTxt);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getSearchTxt()const;
void setSearchTxt(const std::string& searchTxt);
long getCsbId()const;
void setCsbId(long csbId);
int getPageNum()const;
@@ -47,8 +47,8 @@ namespace AlibabaCloud
void setStatus(int status);
private:
std::string searchTxt_;
std::string regionId_;
std::string searchTxt_;
long csbId_;
int pageNum_;
int status_;

View File

@@ -37,17 +37,17 @@ namespace AlibabaCloud
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
int getPageNum()const;
void setPageNum(int pageNum);
private:
std::string projectName_;
long csbId_;
std::string regionId_;
long csbId_;
int pageNum_;
};

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getOperationFlag()const;
void setOperationFlag(const std::string& operationFlag);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string operationFlag_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATAREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/csb/CSBExport.h>
namespace AlibabaCloud
{
namespace CSB
{
namespace Model
{
class ALIBABACLOUD_CSB_EXPORT FindServiceStatisticalDataRequest : public RpcServiceRequest
{
public:
FindServiceStatisticalDataRequest();
~FindServiceStatisticalDataRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
long getStartTime()const;
void setStartTime(long startTime);
private:
long csbId_;
std::string regionId_;
long endTime_;
std::string serviceName_;
long startTime_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATAREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CSB_MODEL_FINDSERVICESTATISTICALDATARESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csb/CSBExport.h>
namespace AlibabaCloud
{
namespace CSB
{
namespace Model
{
class ALIBABACLOUD_CSB_EXPORT FindServiceStatisticalDataResult : public ServiceResult
{
public:
struct Data
{
struct ServiceStatisticData
{
struct Total
{
int total;
int errorNum;
};
std::string serviceName;
std::string userId;
Total total;
float minRt;
long requestTime;
float maxRt;
float avgRt;
};
int currentPage;
int pageNumber;
std::vector<ServiceStatisticData> monitorStatisticData;
};
FindServiceStatisticalDataResult();
explicit FindServiceStatisticalDataResult(const std::string &payload);
~FindServiceStatisticalDataResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATARESULT_H_

View File

@@ -35,16 +35,16 @@ namespace AlibabaCloud
GetOrderRequest();
~GetOrderRequest();
long getOrderId()const;
void setOrderId(long orderId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getOrderId()const;
void setOrderId(long orderId);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
long orderId_;
std::string regionId_;
long orderId_;
std::string serviceName_;
};

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string projectName_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

@@ -35,16 +35,16 @@ namespace AlibabaCloud
GetServiceRequest();
~GetServiceRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
long getServiceId()const;
void setServiceId(long serviceId);
private:
long csbId_;
std::string regionId_;
long csbId_;
long serviceId_;
};

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

@@ -35,16 +35,16 @@ namespace AlibabaCloud
UpdateServiceQPSRequest();
~UpdateServiceQPSRequest();
std::string getQps()const;
void setQps(const std::string& qps);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getQps()const;
void setQps(const std::string& qps);
long getServiceId()const;
void setServiceId(long serviceId);
private:
std::string qps_;
std::string regionId_;
std::string qps_;
long serviceId_;
};

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string regionId_;
long csbId_;
};
}

View File

@@ -31,21 +31,21 @@ CSBClient::CSBClient(const Credentials &credentials, const ClientConfiguration &
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CSB");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
CSBClient::CSBClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CSB");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
CSBClient::CSBClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CSB");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
CSBClient::~CSBClient()
@@ -987,6 +987,42 @@ CSBClient::DeleteCredentialsListOutcomeCallable CSBClient::deleteCredentialsList
return task->get_future();
}
CSBClient::FindServiceStatisticalDataOutcome CSBClient::findServiceStatisticalData(const FindServiceStatisticalDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return FindServiceStatisticalDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return FindServiceStatisticalDataOutcome(FindServiceStatisticalDataResult(outcome.result()));
else
return FindServiceStatisticalDataOutcome(outcome.error());
}
void CSBClient::findServiceStatisticalDataAsync(const FindServiceStatisticalDataRequest& request, const FindServiceStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, findServiceStatisticalData(request), context);
};
asyncExecute(new Runnable(fn));
}
CSBClient::FindServiceStatisticalDataOutcomeCallable CSBClient::findServiceStatisticalDataCallable(const FindServiceStatisticalDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<FindServiceStatisticalDataOutcome()>>(
[this, request]()
{
return this->findServiceStatisticalData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CSBClient::CreateServiceOutcome CSBClient::createService(const CreateServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -25,17 +25,6 @@ CheckServiceExistRequest::CheckServiceExistRequest() :
CheckServiceExistRequest::~CheckServiceExistRequest()
{}
long CheckServiceExistRequest::getCsbId()const
{
return csbId_;
}
void CheckServiceExistRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string CheckServiceExistRequest::getRegionId()const
{
return regionId_;
@@ -47,6 +36,17 @@ void CheckServiceExistRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long CheckServiceExistRequest::getCsbId()const
{
return csbId_;
}
void CheckServiceExistRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string CheckServiceExistRequest::getServiceName()const
{
return serviceName_;

View File

@@ -36,17 +36,6 @@ void CreateCredentialsRequest::setData(const std::string& data)
setParameter("Data", data);
}
std::string CreateCredentialsRequest::getRegionId()const
{
return regionId_;
}
void CreateCredentialsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long CreateCredentialsRequest::getCsbId()const
{
return csbId_;
@@ -58,3 +47,14 @@ void CreateCredentialsRequest::setCsbId(long csbId)
setParameter("CsbId", std::to_string(csbId));
}
std::string CreateCredentialsRequest::getRegionId()const
{
return regionId_;
}
void CreateCredentialsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -36,17 +36,6 @@ void CreateServiceRequest::setData(const std::string& data)
setParameter("Data", data);
}
long CreateServiceRequest::getCsbId()const
{
return csbId_;
}
void CreateServiceRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string CreateServiceRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void CreateServiceRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long CreateServiceRequest::getCsbId()const
{
return csbId_;
}
void CreateServiceRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

@@ -36,17 +36,6 @@ void DeleteProjectListRequest::setData(const std::string& data)
setParameter("Data", data);
}
long DeleteProjectListRequest::getCsbId()const
{
return csbId_;
}
void DeleteProjectListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string DeleteProjectListRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void DeleteProjectListRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long DeleteProjectListRequest::getCsbId()const
{
return csbId_;
}
void DeleteProjectListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

@@ -25,17 +25,6 @@ DeleteProjectRequest::DeleteProjectRequest() :
DeleteProjectRequest::~DeleteProjectRequest()
{}
long DeleteProjectRequest::getCsbId()const
{
return csbId_;
}
void DeleteProjectRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string DeleteProjectRequest::getRegionId()const
{
return regionId_;
@@ -47,6 +36,17 @@ void DeleteProjectRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long DeleteProjectRequest::getCsbId()const
{
return csbId_;
}
void DeleteProjectRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
long DeleteProjectRequest::getProjectId()const
{
return projectId_;

View File

@@ -36,17 +36,6 @@ void DeleteServiceListRequest::setData(const std::string& data)
setParameter("Data", data);
}
long DeleteServiceListRequest::getCsbId()const
{
return csbId_;
}
void DeleteServiceListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string DeleteServiceListRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void DeleteServiceListRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long DeleteServiceListRequest::getCsbId()const
{
return csbId_;
}
void DeleteServiceListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

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

View File

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

View File

@@ -25,17 +25,6 @@ FindCredentialsListRequest::FindCredentialsListRequest() :
FindCredentialsListRequest::~FindCredentialsListRequest()
{}
long FindCredentialsListRequest::getCsbId()const
{
return csbId_;
}
void FindCredentialsListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string FindCredentialsListRequest::getRegionId()const
{
return regionId_;
@@ -47,6 +36,17 @@ void FindCredentialsListRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long FindCredentialsListRequest::getCsbId()const
{
return csbId_;
}
void FindCredentialsListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
int FindCredentialsListRequest::getPageNum()const
{
return pageNum_;

View File

@@ -25,17 +25,6 @@ FindInstanceListRequest::FindInstanceListRequest() :
FindInstanceListRequest::~FindInstanceListRequest()
{}
std::string FindInstanceListRequest::getSearchTxt()const
{
return searchTxt_;
}
void FindInstanceListRequest::setSearchTxt(const std::string& searchTxt)
{
searchTxt_ = searchTxt;
setParameter("SearchTxt", searchTxt);
}
std::string FindInstanceListRequest::getRegionId()const
{
return regionId_;
@@ -47,6 +36,17 @@ void FindInstanceListRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
std::string FindInstanceListRequest::getSearchTxt()const
{
return searchTxt_;
}
void FindInstanceListRequest::setSearchTxt(const std::string& searchTxt)
{
searchTxt_ = searchTxt;
setParameter("SearchTxt", searchTxt);
}
long FindInstanceListRequest::getCsbId()const
{
return csbId_;

View File

@@ -36,17 +36,6 @@ void FindProjectListRequest::setProjectName(const std::string& projectName)
setParameter("ProjectName", projectName);
}
long FindProjectListRequest::getCsbId()const
{
return csbId_;
}
void FindProjectListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string FindProjectListRequest::getRegionId()const
{
return regionId_;
@@ -58,6 +47,17 @@ void FindProjectListRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long FindProjectListRequest::getCsbId()const
{
return csbId_;
}
void FindProjectListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
int FindProjectListRequest::getPageNum()const
{
return pageNum_;

View File

@@ -36,17 +36,6 @@ void FindProjectsNameListRequest::setOperationFlag(const std::string& operationF
setParameter("OperationFlag", operationFlag);
}
long FindProjectsNameListRequest::getCsbId()const
{
return csbId_;
}
void FindProjectsNameListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string FindProjectsNameListRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void FindProjectsNameListRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long FindProjectsNameListRequest::getCsbId()const
{
return csbId_;
}
void FindProjectsNameListRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

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

View 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/csb/model/FindServiceStatisticalDataRequest.h>
using AlibabaCloud::CSB::Model::FindServiceStatisticalDataRequest;
FindServiceStatisticalDataRequest::FindServiceStatisticalDataRequest() :
RpcServiceRequest("csb", "2017-11-18", "FindServiceStatisticalData")
{}
FindServiceStatisticalDataRequest::~FindServiceStatisticalDataRequest()
{}
long FindServiceStatisticalDataRequest::getCsbId()const
{
return csbId_;
}
void FindServiceStatisticalDataRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string FindServiceStatisticalDataRequest::getRegionId()const
{
return regionId_;
}
void FindServiceStatisticalDataRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long FindServiceStatisticalDataRequest::getEndTime()const
{
return endTime_;
}
void FindServiceStatisticalDataRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
std::string FindServiceStatisticalDataRequest::getServiceName()const
{
return serviceName_;
}
void FindServiceStatisticalDataRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setParameter("ServiceName", serviceName);
}
long FindServiceStatisticalDataRequest::getStartTime()const
{
return startTime_;
}
void FindServiceStatisticalDataRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/csb/model/FindServiceStatisticalDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CSB;
using namespace AlibabaCloud::CSB::Model;
FindServiceStatisticalDataResult::FindServiceStatisticalDataResult() :
ServiceResult()
{}
FindServiceStatisticalDataResult::FindServiceStatisticalDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FindServiceStatisticalDataResult::~FindServiceStatisticalDataResult()
{}
void FindServiceStatisticalDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["CurrentPage"].isNull())
data_.currentPage = std::stoi(dataNode["CurrentPage"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allMonitorStatisticData = value["MonitorStatisticData"]["ServiceStatisticData"];
for (auto value : allMonitorStatisticData)
{
Data::ServiceStatisticData serviceStatisticDataObject;
if(!value["AvgRt"].isNull())
serviceStatisticDataObject.avgRt = std::stof(value["AvgRt"].asString());
if(!value["MaxRt"].isNull())
serviceStatisticDataObject.maxRt = std::stof(value["MaxRt"].asString());
if(!value["MinRt"].isNull())
serviceStatisticDataObject.minRt = std::stof(value["MinRt"].asString());
if(!value["RequestTime"].isNull())
serviceStatisticDataObject.requestTime = std::stol(value["RequestTime"].asString());
if(!value["ServiceName"].isNull())
serviceStatisticDataObject.serviceName = value["ServiceName"].asString();
if(!value["UserId"].isNull())
serviceStatisticDataObject.userId = value["UserId"].asString();
auto totalNode = value["Total"];
if(!totalNode["ErrorNum"].isNull())
serviceStatisticDataObject.total.errorNum = std::stoi(totalNode["ErrorNum"].asString());
if(!totalNode["Total"].isNull())
serviceStatisticDataObject.total.total = std::stoi(totalNode["Total"].asString());
data_.monitorStatisticData.push_back(serviceStatisticDataObject);
}
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string FindServiceStatisticalDataResult::getMessage()const
{
return message_;
}
FindServiceStatisticalDataResult::Data FindServiceStatisticalDataResult::getData()const
{
return data_;
}
int FindServiceStatisticalDataResult::getCode()const
{
return code_;
}

View File

@@ -25,17 +25,6 @@ GetOrderRequest::GetOrderRequest() :
GetOrderRequest::~GetOrderRequest()
{}
long GetOrderRequest::getOrderId()const
{
return orderId_;
}
void GetOrderRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string GetOrderRequest::getRegionId()const
{
return regionId_;
@@ -47,6 +36,17 @@ void GetOrderRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long GetOrderRequest::getOrderId()const
{
return orderId_;
}
void GetOrderRequest::setOrderId(long orderId)
{
orderId_ = orderId;
setParameter("OrderId", std::to_string(orderId));
}
std::string GetOrderRequest::getServiceName()const
{
return serviceName_;

View File

@@ -36,17 +36,6 @@ void GetProjectRequest::setProjectName(const std::string& projectName)
setParameter("ProjectName", projectName);
}
long GetProjectRequest::getCsbId()const
{
return csbId_;
}
void GetProjectRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string GetProjectRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void GetProjectRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long GetProjectRequest::getCsbId()const
{
return csbId_;
}
void GetProjectRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

@@ -25,17 +25,6 @@ GetServiceRequest::GetServiceRequest() :
GetServiceRequest::~GetServiceRequest()
{}
long GetServiceRequest::getCsbId()const
{
return csbId_;
}
void GetServiceRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string GetServiceRequest::getRegionId()const
{
return regionId_;
@@ -47,6 +36,17 @@ void GetServiceRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long GetServiceRequest::getCsbId()const
{
return csbId_;
}
void GetServiceRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
long GetServiceRequest::getServiceId()const
{
return serviceId_;

View File

@@ -36,17 +36,6 @@ void UpdateOrderRequest::setData(const std::string& data)
setParameter("Data", data);
}
long UpdateOrderRequest::getCsbId()const
{
return csbId_;
}
void UpdateOrderRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string UpdateOrderRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void UpdateOrderRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long UpdateOrderRequest::getCsbId()const
{
return csbId_;
}
void UpdateOrderRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

@@ -36,17 +36,6 @@ void UpdateProjectListStatusRequest::setData(const std::string& data)
setParameter("Data", data);
}
long UpdateProjectListStatusRequest::getCsbId()const
{
return csbId_;
}
void UpdateProjectListStatusRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string UpdateProjectListStatusRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void UpdateProjectListStatusRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long UpdateProjectListStatusRequest::getCsbId()const
{
return csbId_;
}
void UpdateProjectListStatusRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

@@ -36,17 +36,6 @@ void UpdateProjectRequest::setData(const std::string& data)
setParameter("Data", data);
}
long UpdateProjectRequest::getCsbId()const
{
return csbId_;
}
void UpdateProjectRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string UpdateProjectRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void UpdateProjectRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long UpdateProjectRequest::getCsbId()const
{
return csbId_;
}
void UpdateProjectRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

@@ -36,17 +36,6 @@ void UpdateServiceListStatusRequest::setData(const std::string& data)
setParameter("Data", data);
}
long UpdateServiceListStatusRequest::getCsbId()const
{
return csbId_;
}
void UpdateServiceListStatusRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string UpdateServiceListStatusRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void UpdateServiceListStatusRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long UpdateServiceListStatusRequest::getCsbId()const
{
return csbId_;
}
void UpdateServiceListStatusRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

@@ -25,17 +25,6 @@ UpdateServiceQPSRequest::UpdateServiceQPSRequest() :
UpdateServiceQPSRequest::~UpdateServiceQPSRequest()
{}
std::string UpdateServiceQPSRequest::getQps()const
{
return qps_;
}
void UpdateServiceQPSRequest::setQps(const std::string& qps)
{
qps_ = qps;
setParameter("Qps", qps);
}
std::string UpdateServiceQPSRequest::getRegionId()const
{
return regionId_;
@@ -47,6 +36,17 @@ void UpdateServiceQPSRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
std::string UpdateServiceQPSRequest::getQps()const
{
return qps_;
}
void UpdateServiceQPSRequest::setQps(const std::string& qps)
{
qps_ = qps;
setParameter("Qps", qps);
}
long UpdateServiceQPSRequest::getServiceId()const
{
return serviceId_;

View File

@@ -36,17 +36,6 @@ void UpdateServiceRequest::setData(const std::string& data)
setParameter("Data", data);
}
long UpdateServiceRequest::getCsbId()const
{
return csbId_;
}
void UpdateServiceRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}
std::string UpdateServiceRequest::getRegionId()const
{
return regionId_;
@@ -58,3 +47,14 @@ void UpdateServiceRequest::setRegionId(const std::string& regionId)
setParameter("RegionId", regionId);
}
long UpdateServiceRequest::getCsbId()const
{
return csbId_;
}
void UpdateServiceRequest::setCsbId(long csbId)
{
csbId_ = csbId;
setParameter("CsbId", std::to_string(csbId));
}

View File

@@ -25,6 +25,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/ModifySnapshotAttributeResult.h
include/alibabacloud/ecs/model/JoinSecurityGroupRequest.h
include/alibabacloud/ecs/model/JoinSecurityGroupResult.h
include/alibabacloud/ecs/model/DescribeDedicatedHostTypesRequest.h
include/alibabacloud/ecs/model/DescribeDedicatedHostTypesResult.h
include/alibabacloud/ecs/model/DescribeSnapshotsRequest.h
include/alibabacloud/ecs/model/DescribeSnapshotsResult.h
include/alibabacloud/ecs/model/ModifyBandwidthPackageSpecRequest.h
@@ -77,12 +79,16 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeInstancesResult.h
include/alibabacloud/ecs/model/DescribeSecurityGroupReferencesRequest.h
include/alibabacloud/ecs/model/DescribeSecurityGroupReferencesResult.h
include/alibabacloud/ecs/model/AllocateDedicatedHostsRequest.h
include/alibabacloud/ecs/model/AllocateDedicatedHostsResult.h
include/alibabacloud/ecs/model/DeleteRouterInterfaceRequest.h
include/alibabacloud/ecs/model/DeleteRouterInterfaceResult.h
include/alibabacloud/ecs/model/DetachInstanceRamRoleRequest.h
include/alibabacloud/ecs/model/DetachInstanceRamRoleResult.h
include/alibabacloud/ecs/model/AllocatePublicIpAddressRequest.h
include/alibabacloud/ecs/model/AllocatePublicIpAddressResult.h
include/alibabacloud/ecs/model/ModifyDedicatedHostAutoRenewAttributeRequest.h
include/alibabacloud/ecs/model/ModifyDedicatedHostAutoRenewAttributeResult.h
include/alibabacloud/ecs/model/DescribeEipMonitorDataRequest.h
include/alibabacloud/ecs/model/DescribeEipMonitorDataResult.h
include/alibabacloud/ecs/model/CancelAutoSnapshotPolicyRequest.h
@@ -111,6 +117,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/AddIpRangeResult.h
include/alibabacloud/ecs/model/GetInstanceConsoleOutputRequest.h
include/alibabacloud/ecs/model/GetInstanceConsoleOutputResult.h
include/alibabacloud/ecs/model/CreateSimulatedSystemEventsRequest.h
include/alibabacloud/ecs/model/CreateSimulatedSystemEventsResult.h
include/alibabacloud/ecs/model/CancelTaskRequest.h
include/alibabacloud/ecs/model/CancelTaskResult.h
include/alibabacloud/ecs/model/ModifyPhysicalConnectionAttributeRequest.h
@@ -127,6 +135,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeSecurityGroupsResult.h
include/alibabacloud/ecs/model/ResizeDiskRequest.h
include/alibabacloud/ecs/model/ResizeDiskResult.h
include/alibabacloud/ecs/model/ModifyDedicatedHostAttributeRequest.h
include/alibabacloud/ecs/model/ModifyDedicatedHostAttributeResult.h
include/alibabacloud/ecs/model/CreateRouteEntryRequest.h
include/alibabacloud/ecs/model/CreateRouteEntryResult.h
include/alibabacloud/ecs/model/DescribeInvocationsRequest.h
@@ -147,6 +157,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/StopInvocationResult.h
include/alibabacloud/ecs/model/ModifyInstanceNetworkSpecRequest.h
include/alibabacloud/ecs/model/ModifyInstanceNetworkSpecResult.h
include/alibabacloud/ecs/model/ModifyInstanceDeploymentRequest.h
include/alibabacloud/ecs/model/ModifyInstanceDeploymentResult.h
include/alibabacloud/ecs/model/ModifyDiskAttributeRequest.h
include/alibabacloud/ecs/model/ModifyDiskAttributeResult.h
include/alibabacloud/ecs/model/CreateVSwitchRequest.h
@@ -159,6 +171,10 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/RemoveTagsResult.h
include/alibabacloud/ecs/model/ModifySecurityGroupAttributeRequest.h
include/alibabacloud/ecs/model/ModifySecurityGroupAttributeResult.h
include/alibabacloud/ecs/model/RenewDedicatedHostsRequest.h
include/alibabacloud/ecs/model/RenewDedicatedHostsResult.h
include/alibabacloud/ecs/model/CancelSimulatedSystemEventsRequest.h
include/alibabacloud/ecs/model/CancelSimulatedSystemEventsResult.h
include/alibabacloud/ecs/model/ModifyInstanceAutoReleaseTimeRequest.h
include/alibabacloud/ecs/model/ModifyInstanceAutoReleaseTimeResult.h
include/alibabacloud/ecs/model/DeleteNatGatewayRequest.h
@@ -175,6 +191,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/CreateCommandResult.h
include/alibabacloud/ecs/model/DescribeInstancesFullStatusRequest.h
include/alibabacloud/ecs/model/DescribeInstancesFullStatusResult.h
include/alibabacloud/ecs/model/DescribeDedicatedHostsRequest.h
include/alibabacloud/ecs/model/DescribeDedicatedHostsResult.h
include/alibabacloud/ecs/model/ReleaseEipAddressRequest.h
include/alibabacloud/ecs/model/ReleaseEipAddressResult.h
include/alibabacloud/ecs/model/DetachClassicLinkVpcRequest.h
@@ -223,6 +241,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/ModifyInstanceAutoRenewAttributeResult.h
include/alibabacloud/ecs/model/DescribeVirtualBorderRoutersRequest.h
include/alibabacloud/ecs/model/DescribeVirtualBorderRoutersResult.h
include/alibabacloud/ecs/model/ModifyDedicatedHostAutoReleaseTimeRequest.h
include/alibabacloud/ecs/model/ModifyDedicatedHostAutoReleaseTimeResult.h
include/alibabacloud/ecs/model/ModifyHpcClusterAttributeRequest.h
include/alibabacloud/ecs/model/ModifyHpcClusterAttributeResult.h
include/alibabacloud/ecs/model/DescribeLimitationRequest.h
@@ -235,6 +255,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeDeploymentSetTopologyResult.h
include/alibabacloud/ecs/model/ModifyInstanceVpcAttributeRequest.h
include/alibabacloud/ecs/model/ModifyInstanceVpcAttributeResult.h
include/alibabacloud/ecs/model/ReleaseDedicatedHostRequest.h
include/alibabacloud/ecs/model/ReleaseDedicatedHostResult.h
include/alibabacloud/ecs/model/AddTagsRequest.h
include/alibabacloud/ecs/model/AddTagsResult.h
include/alibabacloud/ecs/model/CreateHpcClusterRequest.h
@@ -367,6 +389,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeRecommendInstanceTypeResult.h
include/alibabacloud/ecs/model/DescribeTagKeysRequest.h
include/alibabacloud/ecs/model/DescribeTagKeysResult.h
include/alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewRequest.h
include/alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewResult.h
include/alibabacloud/ecs/model/DeleteInstanceRequest.h
include/alibabacloud/ecs/model/DeleteInstanceResult.h
include/alibabacloud/ecs/model/CreateLaunchTemplateRequest.h
@@ -514,6 +538,8 @@ set(ecs_src
src/model/ModifySnapshotAttributeResult.cc
src/model/JoinSecurityGroupRequest.cc
src/model/JoinSecurityGroupResult.cc
src/model/DescribeDedicatedHostTypesRequest.cc
src/model/DescribeDedicatedHostTypesResult.cc
src/model/DescribeSnapshotsRequest.cc
src/model/DescribeSnapshotsResult.cc
src/model/ModifyBandwidthPackageSpecRequest.cc
@@ -566,12 +592,16 @@ set(ecs_src
src/model/DescribeInstancesResult.cc
src/model/DescribeSecurityGroupReferencesRequest.cc
src/model/DescribeSecurityGroupReferencesResult.cc
src/model/AllocateDedicatedHostsRequest.cc
src/model/AllocateDedicatedHostsResult.cc
src/model/DeleteRouterInterfaceRequest.cc
src/model/DeleteRouterInterfaceResult.cc
src/model/DetachInstanceRamRoleRequest.cc
src/model/DetachInstanceRamRoleResult.cc
src/model/AllocatePublicIpAddressRequest.cc
src/model/AllocatePublicIpAddressResult.cc
src/model/ModifyDedicatedHostAutoRenewAttributeRequest.cc
src/model/ModifyDedicatedHostAutoRenewAttributeResult.cc
src/model/DescribeEipMonitorDataRequest.cc
src/model/DescribeEipMonitorDataResult.cc
src/model/CancelAutoSnapshotPolicyRequest.cc
@@ -600,6 +630,8 @@ set(ecs_src
src/model/AddIpRangeResult.cc
src/model/GetInstanceConsoleOutputRequest.cc
src/model/GetInstanceConsoleOutputResult.cc
src/model/CreateSimulatedSystemEventsRequest.cc
src/model/CreateSimulatedSystemEventsResult.cc
src/model/CancelTaskRequest.cc
src/model/CancelTaskResult.cc
src/model/ModifyPhysicalConnectionAttributeRequest.cc
@@ -616,6 +648,8 @@ set(ecs_src
src/model/DescribeSecurityGroupsResult.cc
src/model/ResizeDiskRequest.cc
src/model/ResizeDiskResult.cc
src/model/ModifyDedicatedHostAttributeRequest.cc
src/model/ModifyDedicatedHostAttributeResult.cc
src/model/CreateRouteEntryRequest.cc
src/model/CreateRouteEntryResult.cc
src/model/DescribeInvocationsRequest.cc
@@ -636,6 +670,8 @@ set(ecs_src
src/model/StopInvocationResult.cc
src/model/ModifyInstanceNetworkSpecRequest.cc
src/model/ModifyInstanceNetworkSpecResult.cc
src/model/ModifyInstanceDeploymentRequest.cc
src/model/ModifyInstanceDeploymentResult.cc
src/model/ModifyDiskAttributeRequest.cc
src/model/ModifyDiskAttributeResult.cc
src/model/CreateVSwitchRequest.cc
@@ -648,6 +684,10 @@ set(ecs_src
src/model/RemoveTagsResult.cc
src/model/ModifySecurityGroupAttributeRequest.cc
src/model/ModifySecurityGroupAttributeResult.cc
src/model/RenewDedicatedHostsRequest.cc
src/model/RenewDedicatedHostsResult.cc
src/model/CancelSimulatedSystemEventsRequest.cc
src/model/CancelSimulatedSystemEventsResult.cc
src/model/ModifyInstanceAutoReleaseTimeRequest.cc
src/model/ModifyInstanceAutoReleaseTimeResult.cc
src/model/DeleteNatGatewayRequest.cc
@@ -664,6 +704,8 @@ set(ecs_src
src/model/CreateCommandResult.cc
src/model/DescribeInstancesFullStatusRequest.cc
src/model/DescribeInstancesFullStatusResult.cc
src/model/DescribeDedicatedHostsRequest.cc
src/model/DescribeDedicatedHostsResult.cc
src/model/ReleaseEipAddressRequest.cc
src/model/ReleaseEipAddressResult.cc
src/model/DetachClassicLinkVpcRequest.cc
@@ -712,6 +754,8 @@ set(ecs_src
src/model/ModifyInstanceAutoRenewAttributeResult.cc
src/model/DescribeVirtualBorderRoutersRequest.cc
src/model/DescribeVirtualBorderRoutersResult.cc
src/model/ModifyDedicatedHostAutoReleaseTimeRequest.cc
src/model/ModifyDedicatedHostAutoReleaseTimeResult.cc
src/model/ModifyHpcClusterAttributeRequest.cc
src/model/ModifyHpcClusterAttributeResult.cc
src/model/DescribeLimitationRequest.cc
@@ -724,6 +768,8 @@ set(ecs_src
src/model/DescribeDeploymentSetTopologyResult.cc
src/model/ModifyInstanceVpcAttributeRequest.cc
src/model/ModifyInstanceVpcAttributeResult.cc
src/model/ReleaseDedicatedHostRequest.cc
src/model/ReleaseDedicatedHostResult.cc
src/model/AddTagsRequest.cc
src/model/AddTagsResult.cc
src/model/CreateHpcClusterRequest.cc
@@ -856,6 +902,8 @@ set(ecs_src
src/model/DescribeRecommendInstanceTypeResult.cc
src/model/DescribeTagKeysRequest.cc
src/model/DescribeTagKeysResult.cc
src/model/DescribeDedicatedHostAutoRenewRequest.cc
src/model/DescribeDedicatedHostAutoRenewResult.cc
src/model/DeleteInstanceRequest.cc
src/model/DeleteInstanceResult.cc
src/model/CreateLaunchTemplateRequest.cc

View File

@@ -26,6 +26,8 @@
#include "model/ModifySnapshotAttributeResult.h"
#include "model/JoinSecurityGroupRequest.h"
#include "model/JoinSecurityGroupResult.h"
#include "model/DescribeDedicatedHostTypesRequest.h"
#include "model/DescribeDedicatedHostTypesResult.h"
#include "model/DescribeSnapshotsRequest.h"
#include "model/DescribeSnapshotsResult.h"
#include "model/ModifyBandwidthPackageSpecRequest.h"
@@ -78,12 +80,16 @@
#include "model/DescribeInstancesResult.h"
#include "model/DescribeSecurityGroupReferencesRequest.h"
#include "model/DescribeSecurityGroupReferencesResult.h"
#include "model/AllocateDedicatedHostsRequest.h"
#include "model/AllocateDedicatedHostsResult.h"
#include "model/DeleteRouterInterfaceRequest.h"
#include "model/DeleteRouterInterfaceResult.h"
#include "model/DetachInstanceRamRoleRequest.h"
#include "model/DetachInstanceRamRoleResult.h"
#include "model/AllocatePublicIpAddressRequest.h"
#include "model/AllocatePublicIpAddressResult.h"
#include "model/ModifyDedicatedHostAutoRenewAttributeRequest.h"
#include "model/ModifyDedicatedHostAutoRenewAttributeResult.h"
#include "model/DescribeEipMonitorDataRequest.h"
#include "model/DescribeEipMonitorDataResult.h"
#include "model/CancelAutoSnapshotPolicyRequest.h"
@@ -112,6 +118,8 @@
#include "model/AddIpRangeResult.h"
#include "model/GetInstanceConsoleOutputRequest.h"
#include "model/GetInstanceConsoleOutputResult.h"
#include "model/CreateSimulatedSystemEventsRequest.h"
#include "model/CreateSimulatedSystemEventsResult.h"
#include "model/CancelTaskRequest.h"
#include "model/CancelTaskResult.h"
#include "model/ModifyPhysicalConnectionAttributeRequest.h"
@@ -128,6 +136,8 @@
#include "model/DescribeSecurityGroupsResult.h"
#include "model/ResizeDiskRequest.h"
#include "model/ResizeDiskResult.h"
#include "model/ModifyDedicatedHostAttributeRequest.h"
#include "model/ModifyDedicatedHostAttributeResult.h"
#include "model/CreateRouteEntryRequest.h"
#include "model/CreateRouteEntryResult.h"
#include "model/DescribeInvocationsRequest.h"
@@ -148,6 +158,8 @@
#include "model/StopInvocationResult.h"
#include "model/ModifyInstanceNetworkSpecRequest.h"
#include "model/ModifyInstanceNetworkSpecResult.h"
#include "model/ModifyInstanceDeploymentRequest.h"
#include "model/ModifyInstanceDeploymentResult.h"
#include "model/ModifyDiskAttributeRequest.h"
#include "model/ModifyDiskAttributeResult.h"
#include "model/CreateVSwitchRequest.h"
@@ -160,6 +172,10 @@
#include "model/RemoveTagsResult.h"
#include "model/ModifySecurityGroupAttributeRequest.h"
#include "model/ModifySecurityGroupAttributeResult.h"
#include "model/RenewDedicatedHostsRequest.h"
#include "model/RenewDedicatedHostsResult.h"
#include "model/CancelSimulatedSystemEventsRequest.h"
#include "model/CancelSimulatedSystemEventsResult.h"
#include "model/ModifyInstanceAutoReleaseTimeRequest.h"
#include "model/ModifyInstanceAutoReleaseTimeResult.h"
#include "model/DeleteNatGatewayRequest.h"
@@ -176,6 +192,8 @@
#include "model/CreateCommandResult.h"
#include "model/DescribeInstancesFullStatusRequest.h"
#include "model/DescribeInstancesFullStatusResult.h"
#include "model/DescribeDedicatedHostsRequest.h"
#include "model/DescribeDedicatedHostsResult.h"
#include "model/ReleaseEipAddressRequest.h"
#include "model/ReleaseEipAddressResult.h"
#include "model/DetachClassicLinkVpcRequest.h"
@@ -224,6 +242,8 @@
#include "model/ModifyInstanceAutoRenewAttributeResult.h"
#include "model/DescribeVirtualBorderRoutersRequest.h"
#include "model/DescribeVirtualBorderRoutersResult.h"
#include "model/ModifyDedicatedHostAutoReleaseTimeRequest.h"
#include "model/ModifyDedicatedHostAutoReleaseTimeResult.h"
#include "model/ModifyHpcClusterAttributeRequest.h"
#include "model/ModifyHpcClusterAttributeResult.h"
#include "model/DescribeLimitationRequest.h"
@@ -236,6 +256,8 @@
#include "model/DescribeDeploymentSetTopologyResult.h"
#include "model/ModifyInstanceVpcAttributeRequest.h"
#include "model/ModifyInstanceVpcAttributeResult.h"
#include "model/ReleaseDedicatedHostRequest.h"
#include "model/ReleaseDedicatedHostResult.h"
#include "model/AddTagsRequest.h"
#include "model/AddTagsResult.h"
#include "model/CreateHpcClusterRequest.h"
@@ -368,6 +390,8 @@
#include "model/DescribeRecommendInstanceTypeResult.h"
#include "model/DescribeTagKeysRequest.h"
#include "model/DescribeTagKeysResult.h"
#include "model/DescribeDedicatedHostAutoRenewRequest.h"
#include "model/DescribeDedicatedHostAutoRenewResult.h"
#include "model/DeleteInstanceRequest.h"
#include "model/DeleteInstanceResult.h"
#include "model/CreateLaunchTemplateRequest.h"
@@ -523,6 +547,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::JoinSecurityGroupResult> JoinSecurityGroupOutcome;
typedef std::future<JoinSecurityGroupOutcome> JoinSecurityGroupOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::JoinSecurityGroupRequest&, const JoinSecurityGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinSecurityGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeDedicatedHostTypesResult> DescribeDedicatedHostTypesOutcome;
typedef std::future<DescribeDedicatedHostTypesOutcome> DescribeDedicatedHostTypesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedHostTypesRequest&, const DescribeDedicatedHostTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostTypesAsyncHandler;
typedef Outcome<Error, Model::DescribeSnapshotsResult> DescribeSnapshotsOutcome;
typedef std::future<DescribeSnapshotsOutcome> DescribeSnapshotsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSnapshotsRequest&, const DescribeSnapshotsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSnapshotsAsyncHandler;
@@ -601,6 +628,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeSecurityGroupReferencesResult> DescribeSecurityGroupReferencesOutcome;
typedef std::future<DescribeSecurityGroupReferencesOutcome> DescribeSecurityGroupReferencesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSecurityGroupReferencesRequest&, const DescribeSecurityGroupReferencesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityGroupReferencesAsyncHandler;
typedef Outcome<Error, Model::AllocateDedicatedHostsResult> AllocateDedicatedHostsOutcome;
typedef std::future<AllocateDedicatedHostsOutcome> AllocateDedicatedHostsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::AllocateDedicatedHostsRequest&, const AllocateDedicatedHostsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateDedicatedHostsAsyncHandler;
typedef Outcome<Error, Model::DeleteRouterInterfaceResult> DeleteRouterInterfaceOutcome;
typedef std::future<DeleteRouterInterfaceOutcome> DeleteRouterInterfaceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteRouterInterfaceRequest&, const DeleteRouterInterfaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRouterInterfaceAsyncHandler;
@@ -610,6 +640,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AllocatePublicIpAddressResult> AllocatePublicIpAddressOutcome;
typedef std::future<AllocatePublicIpAddressOutcome> AllocatePublicIpAddressOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::AllocatePublicIpAddressRequest&, const AllocatePublicIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocatePublicIpAddressAsyncHandler;
typedef Outcome<Error, Model::ModifyDedicatedHostAutoRenewAttributeResult> ModifyDedicatedHostAutoRenewAttributeOutcome;
typedef std::future<ModifyDedicatedHostAutoRenewAttributeOutcome> ModifyDedicatedHostAutoRenewAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyDedicatedHostAutoRenewAttributeRequest&, const ModifyDedicatedHostAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostAutoRenewAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeEipMonitorDataResult> DescribeEipMonitorDataOutcome;
typedef std::future<DescribeEipMonitorDataOutcome> DescribeEipMonitorDataOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeEipMonitorDataRequest&, const DescribeEipMonitorDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEipMonitorDataAsyncHandler;
@@ -652,6 +685,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetInstanceConsoleOutputResult> GetInstanceConsoleOutputOutcome;
typedef std::future<GetInstanceConsoleOutputOutcome> GetInstanceConsoleOutputOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::GetInstanceConsoleOutputRequest&, const GetInstanceConsoleOutputOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceConsoleOutputAsyncHandler;
typedef Outcome<Error, Model::CreateSimulatedSystemEventsResult> CreateSimulatedSystemEventsOutcome;
typedef std::future<CreateSimulatedSystemEventsOutcome> CreateSimulatedSystemEventsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateSimulatedSystemEventsRequest&, const CreateSimulatedSystemEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSimulatedSystemEventsAsyncHandler;
typedef Outcome<Error, Model::CancelTaskResult> CancelTaskOutcome;
typedef std::future<CancelTaskOutcome> CancelTaskOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CancelTaskRequest&, const CancelTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelTaskAsyncHandler;
@@ -676,6 +712,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ResizeDiskResult> ResizeDiskOutcome;
typedef std::future<ResizeDiskOutcome> ResizeDiskOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ResizeDiskRequest&, const ResizeDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDiskAsyncHandler;
typedef Outcome<Error, Model::ModifyDedicatedHostAttributeResult> ModifyDedicatedHostAttributeOutcome;
typedef std::future<ModifyDedicatedHostAttributeOutcome> ModifyDedicatedHostAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyDedicatedHostAttributeRequest&, const ModifyDedicatedHostAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostAttributeAsyncHandler;
typedef Outcome<Error, Model::CreateRouteEntryResult> CreateRouteEntryOutcome;
typedef std::future<CreateRouteEntryOutcome> CreateRouteEntryOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateRouteEntryRequest&, const CreateRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRouteEntryAsyncHandler;
@@ -706,6 +745,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyInstanceNetworkSpecResult> ModifyInstanceNetworkSpecOutcome;
typedef std::future<ModifyInstanceNetworkSpecOutcome> ModifyInstanceNetworkSpecOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyInstanceNetworkSpecRequest&, const ModifyInstanceNetworkSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceNetworkSpecAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceDeploymentResult> ModifyInstanceDeploymentOutcome;
typedef std::future<ModifyInstanceDeploymentOutcome> ModifyInstanceDeploymentOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyInstanceDeploymentRequest&, const ModifyInstanceDeploymentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceDeploymentAsyncHandler;
typedef Outcome<Error, Model::ModifyDiskAttributeResult> ModifyDiskAttributeOutcome;
typedef std::future<ModifyDiskAttributeOutcome> ModifyDiskAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyDiskAttributeRequest&, const ModifyDiskAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDiskAttributeAsyncHandler;
@@ -724,6 +766,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifySecurityGroupAttributeResult> ModifySecurityGroupAttributeOutcome;
typedef std::future<ModifySecurityGroupAttributeOutcome> ModifySecurityGroupAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifySecurityGroupAttributeRequest&, const ModifySecurityGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityGroupAttributeAsyncHandler;
typedef Outcome<Error, Model::RenewDedicatedHostsResult> RenewDedicatedHostsOutcome;
typedef std::future<RenewDedicatedHostsOutcome> RenewDedicatedHostsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::RenewDedicatedHostsRequest&, const RenewDedicatedHostsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewDedicatedHostsAsyncHandler;
typedef Outcome<Error, Model::CancelSimulatedSystemEventsResult> CancelSimulatedSystemEventsOutcome;
typedef std::future<CancelSimulatedSystemEventsOutcome> CancelSimulatedSystemEventsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CancelSimulatedSystemEventsRequest&, const CancelSimulatedSystemEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelSimulatedSystemEventsAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceAutoReleaseTimeResult> ModifyInstanceAutoReleaseTimeOutcome;
typedef std::future<ModifyInstanceAutoReleaseTimeOutcome> ModifyInstanceAutoReleaseTimeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyInstanceAutoReleaseTimeRequest&, const ModifyInstanceAutoReleaseTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAutoReleaseTimeAsyncHandler;
@@ -748,6 +796,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeInstancesFullStatusResult> DescribeInstancesFullStatusOutcome;
typedef std::future<DescribeInstancesFullStatusOutcome> DescribeInstancesFullStatusOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeInstancesFullStatusRequest&, const DescribeInstancesFullStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstancesFullStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeDedicatedHostsResult> DescribeDedicatedHostsOutcome;
typedef std::future<DescribeDedicatedHostsOutcome> DescribeDedicatedHostsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedHostsRequest&, const DescribeDedicatedHostsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostsAsyncHandler;
typedef Outcome<Error, Model::ReleaseEipAddressResult> ReleaseEipAddressOutcome;
typedef std::future<ReleaseEipAddressOutcome> ReleaseEipAddressOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ReleaseEipAddressRequest&, const ReleaseEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseEipAddressAsyncHandler;
@@ -820,6 +871,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeVirtualBorderRoutersResult> DescribeVirtualBorderRoutersOutcome;
typedef std::future<DescribeVirtualBorderRoutersOutcome> DescribeVirtualBorderRoutersOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeVirtualBorderRoutersRequest&, const DescribeVirtualBorderRoutersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVirtualBorderRoutersAsyncHandler;
typedef Outcome<Error, Model::ModifyDedicatedHostAutoReleaseTimeResult> ModifyDedicatedHostAutoReleaseTimeOutcome;
typedef std::future<ModifyDedicatedHostAutoReleaseTimeOutcome> ModifyDedicatedHostAutoReleaseTimeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyDedicatedHostAutoReleaseTimeRequest&, const ModifyDedicatedHostAutoReleaseTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostAutoReleaseTimeAsyncHandler;
typedef Outcome<Error, Model::ModifyHpcClusterAttributeResult> ModifyHpcClusterAttributeOutcome;
typedef std::future<ModifyHpcClusterAttributeOutcome> ModifyHpcClusterAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyHpcClusterAttributeRequest&, const ModifyHpcClusterAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHpcClusterAttributeAsyncHandler;
@@ -838,6 +892,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyInstanceVpcAttributeResult> ModifyInstanceVpcAttributeOutcome;
typedef std::future<ModifyInstanceVpcAttributeOutcome> ModifyInstanceVpcAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyInstanceVpcAttributeRequest&, const ModifyInstanceVpcAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceVpcAttributeAsyncHandler;
typedef Outcome<Error, Model::ReleaseDedicatedHostResult> ReleaseDedicatedHostOutcome;
typedef std::future<ReleaseDedicatedHostOutcome> ReleaseDedicatedHostOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ReleaseDedicatedHostRequest&, const ReleaseDedicatedHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseDedicatedHostAsyncHandler;
typedef Outcome<Error, Model::AddTagsResult> AddTagsOutcome;
typedef std::future<AddTagsOutcome> AddTagsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::AddTagsRequest&, const AddTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddTagsAsyncHandler;
@@ -1036,6 +1093,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTagKeysResult> DescribeTagKeysOutcome;
typedef std::future<DescribeTagKeysOutcome> DescribeTagKeysOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeTagKeysRequest&, const DescribeTagKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagKeysAsyncHandler;
typedef Outcome<Error, Model::DescribeDedicatedHostAutoRenewResult> DescribeDedicatedHostAutoRenewOutcome;
typedef std::future<DescribeDedicatedHostAutoRenewOutcome> DescribeDedicatedHostAutoRenewOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedHostAutoRenewRequest&, const DescribeDedicatedHostAutoRenewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostAutoRenewAsyncHandler;
typedef Outcome<Error, Model::DeleteInstanceResult> DeleteInstanceOutcome;
typedef std::future<DeleteInstanceOutcome> DeleteInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteInstanceRequest&, const DeleteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteInstanceAsyncHandler;
@@ -1257,6 +1317,9 @@ namespace AlibabaCloud
JoinSecurityGroupOutcome joinSecurityGroup(const Model::JoinSecurityGroupRequest &request)const;
void joinSecurityGroupAsync(const Model::JoinSecurityGroupRequest& request, const JoinSecurityGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
JoinSecurityGroupOutcomeCallable joinSecurityGroupCallable(const Model::JoinSecurityGroupRequest& request) const;
DescribeDedicatedHostTypesOutcome describeDedicatedHostTypes(const Model::DescribeDedicatedHostTypesRequest &request)const;
void describeDedicatedHostTypesAsync(const Model::DescribeDedicatedHostTypesRequest& request, const DescribeDedicatedHostTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDedicatedHostTypesOutcomeCallable describeDedicatedHostTypesCallable(const Model::DescribeDedicatedHostTypesRequest& request) const;
DescribeSnapshotsOutcome describeSnapshots(const Model::DescribeSnapshotsRequest &request)const;
void describeSnapshotsAsync(const Model::DescribeSnapshotsRequest& request, const DescribeSnapshotsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSnapshotsOutcomeCallable describeSnapshotsCallable(const Model::DescribeSnapshotsRequest& request) const;
@@ -1335,6 +1398,9 @@ namespace AlibabaCloud
DescribeSecurityGroupReferencesOutcome describeSecurityGroupReferences(const Model::DescribeSecurityGroupReferencesRequest &request)const;
void describeSecurityGroupReferencesAsync(const Model::DescribeSecurityGroupReferencesRequest& request, const DescribeSecurityGroupReferencesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSecurityGroupReferencesOutcomeCallable describeSecurityGroupReferencesCallable(const Model::DescribeSecurityGroupReferencesRequest& request) const;
AllocateDedicatedHostsOutcome allocateDedicatedHosts(const Model::AllocateDedicatedHostsRequest &request)const;
void allocateDedicatedHostsAsync(const Model::AllocateDedicatedHostsRequest& request, const AllocateDedicatedHostsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocateDedicatedHostsOutcomeCallable allocateDedicatedHostsCallable(const Model::AllocateDedicatedHostsRequest& request) const;
DeleteRouterInterfaceOutcome deleteRouterInterface(const Model::DeleteRouterInterfaceRequest &request)const;
void deleteRouterInterfaceAsync(const Model::DeleteRouterInterfaceRequest& request, const DeleteRouterInterfaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRouterInterfaceOutcomeCallable deleteRouterInterfaceCallable(const Model::DeleteRouterInterfaceRequest& request) const;
@@ -1344,6 +1410,9 @@ namespace AlibabaCloud
AllocatePublicIpAddressOutcome allocatePublicIpAddress(const Model::AllocatePublicIpAddressRequest &request)const;
void allocatePublicIpAddressAsync(const Model::AllocatePublicIpAddressRequest& request, const AllocatePublicIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocatePublicIpAddressOutcomeCallable allocatePublicIpAddressCallable(const Model::AllocatePublicIpAddressRequest& request) const;
ModifyDedicatedHostAutoRenewAttributeOutcome modifyDedicatedHostAutoRenewAttribute(const Model::ModifyDedicatedHostAutoRenewAttributeRequest &request)const;
void modifyDedicatedHostAutoRenewAttributeAsync(const Model::ModifyDedicatedHostAutoRenewAttributeRequest& request, const ModifyDedicatedHostAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDedicatedHostAutoRenewAttributeOutcomeCallable modifyDedicatedHostAutoRenewAttributeCallable(const Model::ModifyDedicatedHostAutoRenewAttributeRequest& request) const;
DescribeEipMonitorDataOutcome describeEipMonitorData(const Model::DescribeEipMonitorDataRequest &request)const;
void describeEipMonitorDataAsync(const Model::DescribeEipMonitorDataRequest& request, const DescribeEipMonitorDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEipMonitorDataOutcomeCallable describeEipMonitorDataCallable(const Model::DescribeEipMonitorDataRequest& request) const;
@@ -1386,6 +1455,9 @@ namespace AlibabaCloud
GetInstanceConsoleOutputOutcome getInstanceConsoleOutput(const Model::GetInstanceConsoleOutputRequest &request)const;
void getInstanceConsoleOutputAsync(const Model::GetInstanceConsoleOutputRequest& request, const GetInstanceConsoleOutputAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetInstanceConsoleOutputOutcomeCallable getInstanceConsoleOutputCallable(const Model::GetInstanceConsoleOutputRequest& request) const;
CreateSimulatedSystemEventsOutcome createSimulatedSystemEvents(const Model::CreateSimulatedSystemEventsRequest &request)const;
void createSimulatedSystemEventsAsync(const Model::CreateSimulatedSystemEventsRequest& request, const CreateSimulatedSystemEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSimulatedSystemEventsOutcomeCallable createSimulatedSystemEventsCallable(const Model::CreateSimulatedSystemEventsRequest& request) const;
CancelTaskOutcome cancelTask(const Model::CancelTaskRequest &request)const;
void cancelTaskAsync(const Model::CancelTaskRequest& request, const CancelTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelTaskOutcomeCallable cancelTaskCallable(const Model::CancelTaskRequest& request) const;
@@ -1410,6 +1482,9 @@ namespace AlibabaCloud
ResizeDiskOutcome resizeDisk(const Model::ResizeDiskRequest &request)const;
void resizeDiskAsync(const Model::ResizeDiskRequest& request, const ResizeDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResizeDiskOutcomeCallable resizeDiskCallable(const Model::ResizeDiskRequest& request) const;
ModifyDedicatedHostAttributeOutcome modifyDedicatedHostAttribute(const Model::ModifyDedicatedHostAttributeRequest &request)const;
void modifyDedicatedHostAttributeAsync(const Model::ModifyDedicatedHostAttributeRequest& request, const ModifyDedicatedHostAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDedicatedHostAttributeOutcomeCallable modifyDedicatedHostAttributeCallable(const Model::ModifyDedicatedHostAttributeRequest& request) const;
CreateRouteEntryOutcome createRouteEntry(const Model::CreateRouteEntryRequest &request)const;
void createRouteEntryAsync(const Model::CreateRouteEntryRequest& request, const CreateRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRouteEntryOutcomeCallable createRouteEntryCallable(const Model::CreateRouteEntryRequest& request) const;
@@ -1440,6 +1515,9 @@ namespace AlibabaCloud
ModifyInstanceNetworkSpecOutcome modifyInstanceNetworkSpec(const Model::ModifyInstanceNetworkSpecRequest &request)const;
void modifyInstanceNetworkSpecAsync(const Model::ModifyInstanceNetworkSpecRequest& request, const ModifyInstanceNetworkSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceNetworkSpecOutcomeCallable modifyInstanceNetworkSpecCallable(const Model::ModifyInstanceNetworkSpecRequest& request) const;
ModifyInstanceDeploymentOutcome modifyInstanceDeployment(const Model::ModifyInstanceDeploymentRequest &request)const;
void modifyInstanceDeploymentAsync(const Model::ModifyInstanceDeploymentRequest& request, const ModifyInstanceDeploymentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceDeploymentOutcomeCallable modifyInstanceDeploymentCallable(const Model::ModifyInstanceDeploymentRequest& request) const;
ModifyDiskAttributeOutcome modifyDiskAttribute(const Model::ModifyDiskAttributeRequest &request)const;
void modifyDiskAttributeAsync(const Model::ModifyDiskAttributeRequest& request, const ModifyDiskAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDiskAttributeOutcomeCallable modifyDiskAttributeCallable(const Model::ModifyDiskAttributeRequest& request) const;
@@ -1458,6 +1536,12 @@ namespace AlibabaCloud
ModifySecurityGroupAttributeOutcome modifySecurityGroupAttribute(const Model::ModifySecurityGroupAttributeRequest &request)const;
void modifySecurityGroupAttributeAsync(const Model::ModifySecurityGroupAttributeRequest& request, const ModifySecurityGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySecurityGroupAttributeOutcomeCallable modifySecurityGroupAttributeCallable(const Model::ModifySecurityGroupAttributeRequest& request) const;
RenewDedicatedHostsOutcome renewDedicatedHosts(const Model::RenewDedicatedHostsRequest &request)const;
void renewDedicatedHostsAsync(const Model::RenewDedicatedHostsRequest& request, const RenewDedicatedHostsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewDedicatedHostsOutcomeCallable renewDedicatedHostsCallable(const Model::RenewDedicatedHostsRequest& request) const;
CancelSimulatedSystemEventsOutcome cancelSimulatedSystemEvents(const Model::CancelSimulatedSystemEventsRequest &request)const;
void cancelSimulatedSystemEventsAsync(const Model::CancelSimulatedSystemEventsRequest& request, const CancelSimulatedSystemEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelSimulatedSystemEventsOutcomeCallable cancelSimulatedSystemEventsCallable(const Model::CancelSimulatedSystemEventsRequest& request) const;
ModifyInstanceAutoReleaseTimeOutcome modifyInstanceAutoReleaseTime(const Model::ModifyInstanceAutoReleaseTimeRequest &request)const;
void modifyInstanceAutoReleaseTimeAsync(const Model::ModifyInstanceAutoReleaseTimeRequest& request, const ModifyInstanceAutoReleaseTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceAutoReleaseTimeOutcomeCallable modifyInstanceAutoReleaseTimeCallable(const Model::ModifyInstanceAutoReleaseTimeRequest& request) const;
@@ -1482,6 +1566,9 @@ namespace AlibabaCloud
DescribeInstancesFullStatusOutcome describeInstancesFullStatus(const Model::DescribeInstancesFullStatusRequest &request)const;
void describeInstancesFullStatusAsync(const Model::DescribeInstancesFullStatusRequest& request, const DescribeInstancesFullStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstancesFullStatusOutcomeCallable describeInstancesFullStatusCallable(const Model::DescribeInstancesFullStatusRequest& request) const;
DescribeDedicatedHostsOutcome describeDedicatedHosts(const Model::DescribeDedicatedHostsRequest &request)const;
void describeDedicatedHostsAsync(const Model::DescribeDedicatedHostsRequest& request, const DescribeDedicatedHostsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDedicatedHostsOutcomeCallable describeDedicatedHostsCallable(const Model::DescribeDedicatedHostsRequest& request) const;
ReleaseEipAddressOutcome releaseEipAddress(const Model::ReleaseEipAddressRequest &request)const;
void releaseEipAddressAsync(const Model::ReleaseEipAddressRequest& request, const ReleaseEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseEipAddressOutcomeCallable releaseEipAddressCallable(const Model::ReleaseEipAddressRequest& request) const;
@@ -1554,6 +1641,9 @@ namespace AlibabaCloud
DescribeVirtualBorderRoutersOutcome describeVirtualBorderRouters(const Model::DescribeVirtualBorderRoutersRequest &request)const;
void describeVirtualBorderRoutersAsync(const Model::DescribeVirtualBorderRoutersRequest& request, const DescribeVirtualBorderRoutersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVirtualBorderRoutersOutcomeCallable describeVirtualBorderRoutersCallable(const Model::DescribeVirtualBorderRoutersRequest& request) const;
ModifyDedicatedHostAutoReleaseTimeOutcome modifyDedicatedHostAutoReleaseTime(const Model::ModifyDedicatedHostAutoReleaseTimeRequest &request)const;
void modifyDedicatedHostAutoReleaseTimeAsync(const Model::ModifyDedicatedHostAutoReleaseTimeRequest& request, const ModifyDedicatedHostAutoReleaseTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDedicatedHostAutoReleaseTimeOutcomeCallable modifyDedicatedHostAutoReleaseTimeCallable(const Model::ModifyDedicatedHostAutoReleaseTimeRequest& request) const;
ModifyHpcClusterAttributeOutcome modifyHpcClusterAttribute(const Model::ModifyHpcClusterAttributeRequest &request)const;
void modifyHpcClusterAttributeAsync(const Model::ModifyHpcClusterAttributeRequest& request, const ModifyHpcClusterAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyHpcClusterAttributeOutcomeCallable modifyHpcClusterAttributeCallable(const Model::ModifyHpcClusterAttributeRequest& request) const;
@@ -1572,6 +1662,9 @@ namespace AlibabaCloud
ModifyInstanceVpcAttributeOutcome modifyInstanceVpcAttribute(const Model::ModifyInstanceVpcAttributeRequest &request)const;
void modifyInstanceVpcAttributeAsync(const Model::ModifyInstanceVpcAttributeRequest& request, const ModifyInstanceVpcAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceVpcAttributeOutcomeCallable modifyInstanceVpcAttributeCallable(const Model::ModifyInstanceVpcAttributeRequest& request) const;
ReleaseDedicatedHostOutcome releaseDedicatedHost(const Model::ReleaseDedicatedHostRequest &request)const;
void releaseDedicatedHostAsync(const Model::ReleaseDedicatedHostRequest& request, const ReleaseDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseDedicatedHostOutcomeCallable releaseDedicatedHostCallable(const Model::ReleaseDedicatedHostRequest& request) const;
AddTagsOutcome addTags(const Model::AddTagsRequest &request)const;
void addTagsAsync(const Model::AddTagsRequest& request, const AddTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddTagsOutcomeCallable addTagsCallable(const Model::AddTagsRequest& request) const;
@@ -1770,6 +1863,9 @@ namespace AlibabaCloud
DescribeTagKeysOutcome describeTagKeys(const Model::DescribeTagKeysRequest &request)const;
void describeTagKeysAsync(const Model::DescribeTagKeysRequest& request, const DescribeTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTagKeysOutcomeCallable describeTagKeysCallable(const Model::DescribeTagKeysRequest& request) const;
DescribeDedicatedHostAutoRenewOutcome describeDedicatedHostAutoRenew(const Model::DescribeDedicatedHostAutoRenewRequest &request)const;
void describeDedicatedHostAutoRenewAsync(const Model::DescribeDedicatedHostAutoRenewRequest& request, const DescribeDedicatedHostAutoRenewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDedicatedHostAutoRenewOutcomeCallable describeDedicatedHostAutoRenewCallable(const Model::DescribeDedicatedHostAutoRenewRequest& request) const;
DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const;
void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const;

View File

@@ -0,0 +1,170 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ECS_MODEL_ALLOCATEDEDICATEDHOSTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEDEDICATEDHOSTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT AllocateDedicatedHostsRequest : public RpcServiceRequest
{
struct Tag
{
std::string key;
std::string value;
};
public:
AllocateDedicatedHostsRequest();
~AllocateDedicatedHostsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
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 getDescription()const;
void setDescription(const std::string& description);
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 getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getEnable()const;
void setEnable(bool enable);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getActionOnMaintenance()const;
void setActionOnMaintenance(const std::string& actionOnMaintenance);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getDedicatedHostType()const;
void setDedicatedHostType(const std::string& dedicatedHostType);
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);
int getAutoRenewPeriod()const;
void setAutoRenewPeriod(int autoRenewPeriod);
int getPeriod()const;
void setPeriod(int period);
int getQuantity()const;
void setQuantity(int quantity);
std::string getDedicatedHostName()const;
void setDedicatedHostName(const std::string& dedicatedHostName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getAutoReleaseTime()const;
void setAutoReleaseTime(const std::string& autoReleaseTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
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 getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
bool getAutoRenew()const;
void setAutoRenew(bool autoRenew);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
int getNetworkAttributesSlbUdpTimeout()const;
void setNetworkAttributesSlbUdpTimeout(int networkAttributesSlbUdpTimeout);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getChargeType()const;
void setChargeType(const std::string& chargeType);
int getNetworkAttributesUdpTimeout()const;
void setNetworkAttributesUdpTimeout(int networkAttributesUdpTimeout);
private:
long resourceOwnerId_;
std::string clientToken_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string description_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string securityToken_;
std::string regionId_;
bool enable_;
std::string requestContent_;
std::string actionOnMaintenance_;
std::string callerBidEmail_;
std::vector<Tag> tag_;
std::string dedicatedHostType_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
int autoRenewPeriod_;
int period_;
int quantity_;
std::string dedicatedHostName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string autoReleaseTime_;
std::string callerBid_;
long ownerId_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string periodUnit_;
bool autoRenew_;
std::string requestId_;
int networkAttributesSlbUdpTimeout_;
std::string zoneId_;
std::string chargeType_;
int networkAttributesUdpTimeout_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ALLOCATEDEDICATEDHOSTSREQUEST_H_

View File

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

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setInstanceId(const std::string& instanceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getInstanceType()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string instanceId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string instanceType_;
std::string allocationId_;

View File

@@ -0,0 +1,120 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CancelSimulatedSystemEventsRequest : public RpcServiceRequest
{
public:
CancelSimulatedSystemEventsRequest();
~CancelSimulatedSystemEventsRequest();
std::vector<std::string> getEventId()const;
void setEventId(const std::vector<std::string>& eventId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
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 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 getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getEnable()const;
void setEnable(bool enable);
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 getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
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:
std::vector<std::string> eventId_;
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string securityToken_;
std::string regionId_;
bool enable_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string callerBid_;
long ownerId_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSREQUEST_H_

View File

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

View File

@@ -143,6 +143,8 @@ namespace AlibabaCloud
void setDedicatedHostId(const std::string& dedicatedHostId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getCreditSpecification()const;
void setCreditSpecification(const std::string& creditSpecification);
std::vector<DataDisk> getDataDisk()const;
void setDataDisk(const std::vector<DataDisk>& dataDisk);
int getSystemDiskSize()const;
@@ -197,6 +199,7 @@ namespace AlibabaCloud
std::string ramRoleName_;
std::string dedicatedHostId_;
std::string clusterId_;
std::string creditSpecification_;
std::vector<DataDisk> dataDisk_;
int systemDiskSize_;
std::string systemDiskDescription_;

View File

@@ -44,6 +44,8 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getDestinationCidrBlock()const;
@@ -64,6 +66,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string clientToken_;
std::string destinationCidrBlock_;
std::string ownerAccount_;

View File

@@ -0,0 +1,126 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateSimulatedSystemEventsRequest : public RpcServiceRequest
{
public:
CreateSimulatedSystemEventsRequest();
~CreateSimulatedSystemEventsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getNotBefore()const;
void setNotBefore(const std::string& notBefore);
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 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 getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getEnable()const;
void setEnable(bool enable);
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 getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
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::vector<std::string> getInstanceId()const;
void setInstanceId(const std::vector<std::string>& instanceId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getEventType()const;
void setEventType(const std::string& eventType);
private:
long resourceOwnerId_;
std::string notBefore_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string securityToken_;
std::string regionId_;
bool enable_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string callerBid_;
long ownerId_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::vector<std::string> instanceId_;
std::string requestId_;
std::string eventType_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_

View File

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

View File

@@ -44,6 +44,8 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDestinationCidrBlock()const;
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
std::string getOwnerAccount()const;
@@ -60,6 +62,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string destinationCidrBlock_;
std::string ownerAccount_;
std::string nextHopId_;

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getMemory()const;
void setMemory(int memory);
float getMemory()const;
void setMemory(float memory);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
std::string getIoOptimized()const;
@@ -110,7 +110,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
int memory_;
float memory_;
long callerParentId_;
std::string ioOptimized_;
bool proxy_original_security_transport_;

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTAUTORENEWREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTAUTORENEWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostAutoRenewRequest : public RpcServiceRequest
{
public:
DescribeDedicatedHostAutoRenewRequest();
~DescribeDedicatedHostAutoRenewRequest();
std::string getDedicatedHostIds()const;
void setDedicatedHostIds(const std::string& dedicatedHostIds);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string dedicatedHostIds_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTAUTORENEWREQUEST_H_

View File

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

View File

@@ -0,0 +1,120 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTTYPESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTTYPESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostTypesRequest : public RpcServiceRequest
{
public:
DescribeDedicatedHostTypesRequest();
~DescribeDedicatedHostTypesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
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 getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getSupportedInstanceTypeFamily()const;
void setSupportedInstanceTypeFamily(const std::string& supportedInstanceTypeFamily);
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 getRegionId()const;
void setRegionId(const std::string& regionId);
bool getEnable()const;
void setEnable(bool enable);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getDedicatedHostType()const;
void setDedicatedHostType(const std::string& dedicatedHostType);
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 getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
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 resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string supportedInstanceTypeFamily_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string regionId_;
bool enable_;
std::string requestContent_;
std::string callerBidEmail_;
std::string dedicatedHostType_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string callerBid_;
long ownerId_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTTYPESREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTTYPESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTTYPESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostTypesResult : public ServiceResult
{
public:
struct DedicatedHostType
{
int cores;
float memorySize;
std::string localStorageCategory;
int sockets;
long localStorageCapacity;
std::vector<std::string> supportedInstanceTypeFamilies;
std::string dedicatedHostType;
int totalVcpus;
int localStorageAmount;
};
DescribeDedicatedHostTypesResult();
explicit DescribeDedicatedHostTypesResult(const std::string &payload);
~DescribeDedicatedHostTypesResult();
std::vector<DedicatedHostType> getDedicatedHostTypes()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DedicatedHostType> dedicatedHostTypes_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTTYPESRESULT_H_

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostsRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
DescribeDedicatedHostsRequest();
~DescribeDedicatedHostsRequest();
std::string getDedicatedHostIds()const;
void setDedicatedHostIds(const std::string& dedicatedHostIds);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDedicatedHostName()const;
void setDedicatedHostName(const std::string& dedicatedHostName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getLockReason()const;
void setLockReason(const std::string& lockReason);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getDedicatedHostType()const;
void setDedicatedHostType(const std::string& dedicatedHostType);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string dedicatedHostIds_;
long resourceOwnerId_;
std::string dedicatedHostName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
int pageNumber_;
std::string resourceGroupId_;
std::string lockReason_;
std::string regionId_;
int pageSize_;
std::string zoneId_;
std::string dedicatedHostType_;
std::vector<Tag> tag_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTSREQUEST_H_

View File

@@ -0,0 +1,112 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ECS_MODEL_DESCRIBEDEDICATEDHOSTSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostsResult : public ServiceResult
{
public:
struct DedicatedHost
{
struct Capacity
{
std::string localStorageCategory;
float totalMemory;
float availableMemory;
int availableVcpus;
int totalVcpus;
int availableLocalStorage;
int totalLocalStorage;
};
struct NetworkAttributes
{
int udpTimeout;
int slbUdpTimeout;
};
struct Instance
{
std::string instanceId;
std::string instanceType;
};
struct OperationLock
{
std::string lockReason;
};
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string status;
std::string machineId;
std::string dedicatedHostId;
std::string description;
std::string zoneId;
std::string resourceGroupId;
std::string dedicatedHostType;
std::vector<DedicatedHost::OperationLock> operationLocks;
std::vector<DedicatedHost::Instance> instances;
int cores;
NetworkAttributes networkAttributes;
int sockets;
Capacity capacity;
std::string dedicatedHostName;
std::string chargeType;
std::string expiredTime;
std::vector<std::string> supportedInstanceTypeFamilies;
std::string actionOnMaintenance;
std::string creationTime;
std::string saleCycle;
std::string regionId;
std::vector<DedicatedHost::Tag> tags;
std::string autoReleaseTime;
};
DescribeDedicatedHostsResult();
explicit DescribeDedicatedHostsResult(const std::string &payload);
~DescribeDedicatedHostsResult();
std::vector<DedicatedHost> getDedicatedHosts()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DedicatedHost> dedicatedHosts_;
int totalCount_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTSRESULT_H_

View File

@@ -37,6 +37,36 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
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);
bool getEnable()const;
void setEnable(bool enable);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getDiskId()const;
void setDiskId(const std::string& diskId);
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);
int getPeriod()const;
void setPeriod(int period);
std::string getResourceOwnerAccount()const;
@@ -45,22 +75,46 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getDiskId()const;
void setDiskId(const std::string& diskId);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
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 resourceOwnerId_;
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_;
bool enable_;
std::string requestContent_;
std::string callerBidEmail_;
std::string diskId_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
int period_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string endTime_;
std::string diskId_;
std::string startTime_;
std::string callerBid_;
long ownerId_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
};
}

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setPeriod(int period);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
@@ -56,6 +58,7 @@ namespace AlibabaCloud
long resourceOwnerId_;
int period_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string endTime_;
std::string allocationId_;

View File

@@ -90,6 +90,7 @@ namespace AlibabaCloud
std::string getSerialNumber()const;
std::string getCreationTime()const;
std::string getRegionId()const;
std::string getCreditSpecification()const;
protected:
void parse(const std::string &payload);
@@ -124,6 +125,7 @@ namespace AlibabaCloud
std::string serialNumber_;
std::string creationTime_;
std::string regionId_;
std::string creditSpecification_;
};
}

View File

@@ -37,30 +37,84 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
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);
bool getEnable()const;
void setEnable(bool enable);
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);
int getPeriod()const;
void setPeriod(int period);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
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 getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
private:
long resourceOwnerId_;
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_;
bool enable_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
int period_;
std::string instanceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string endTime_;
std::string startTime_;
std::string callerBid_;
long ownerId_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string instanceId_;
std::string requestId_;
};
}

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