Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e9b1bebe0 | ||
|
|
857329972e | ||
|
|
b2637b8f3c | ||
|
|
844fe8856e | ||
|
|
02d22470b7 | ||
|
|
6c1391eb82 | ||
|
|
60a0077509 | ||
|
|
ee5b4ca599 | ||
|
|
e96ffc6afe | ||
|
|
19a082eb56 | ||
|
|
002d5fb06f | ||
|
|
c960a34373 | ||
|
|
84adbb2cb8 | ||
|
|
db4f78e6de | ||
|
|
0ef5cd3c63 |
6
.idea/vcs.xml
generated
6
.idea/vcs.xml
generated
@@ -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
316
.idea/workspace.xml
generated
@@ -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	" 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>
|
||||
47
CHANGELOG
47
CHANGELOG
@@ -1,3 +1,50 @@
|
||||
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 API:FindServiceStatisticalData, 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 InvokeThingService,SetDeviceProperty and NotifyAddThingTopo.
|
||||
|
||||
2018-08-23 Version: 1.23.1
|
||||
1, RunInstance add privateIpAddress.
|
||||
|
||||
|
||||
@@ -87,4 +87,5 @@ add_subdirectory(iot)
|
||||
add_subdirectory(linkface)
|
||||
add_subdirectory(ots)
|
||||
add_subdirectory(smartag)
|
||||
add_subdirectory(vod)
|
||||
add_subdirectory(vod)
|
||||
add_subdirectory(ccs)
|
||||
90
ccs/CMakeLists.txt
Executable file
90
ccs/CMakeLists.txt
Executable 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}
|
||||
)
|
||||
62
ccs/include/alibabacloud/ccs/CcsClient.h
Executable file
62
ccs/include/alibabacloud/ccs/CcsClient.h
Executable 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_
|
||||
32
ccs/include/alibabacloud/ccs/CcsExport.h
Executable file
32
ccs/include/alibabacloud/ccs/CcsExport.h
Executable 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_
|
||||
28
iot/include/alibabacloud/iot/model/QueryApplyStatusRequest.h → ccs/include/alibabacloud/ccs/model/GetHotlineRecordRequest.h
Normal file → Executable file
28
iot/include/alibabacloud/iot/model/QueryApplyStatusRequest.h → ccs/include/alibabacloud/ccs/model/GetHotlineRecordRequest.h
Normal file → Executable 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_
|
||||
89
ccs/include/alibabacloud/ccs/model/GetHotlineRecordResult.h
Executable file
89
ccs/include/alibabacloud/ccs/model/GetHotlineRecordResult.h
Executable 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_
|
||||
93
ccs/include/alibabacloud/ccs/model/QueryHotlineRecordRequest.h
Executable file
93
ccs/include/alibabacloud/ccs/model/QueryHotlineRecordRequest.h
Executable 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_
|
||||
79
ccs/include/alibabacloud/ccs/model/QueryHotlineRecordResult.h
Executable file
79
ccs/include/alibabacloud/ccs/model/QueryHotlineRecordResult.h
Executable 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
125
ccs/src/CcsClient.cc
Executable 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();
|
||||
}
|
||||
|
||||
49
ccs/src/model/GetHotlineRecordRequest.cc
Executable file
49
ccs/src/model/GetHotlineRecordRequest.cc
Executable 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);
|
||||
}
|
||||
|
||||
185
ccs/src/model/GetHotlineRecordResult.cc
Executable file
185
ccs/src/model/GetHotlineRecordResult.cc
Executable 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_;
|
||||
}
|
||||
|
||||
203
ccs/src/model/QueryHotlineRecordRequest.cc
Executable file
203
ccs/src/model/QueryHotlineRecordRequest.cc
Executable 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);
|
||||
}
|
||||
|
||||
115
ccs/src/model/QueryHotlineRecordResult.cc
Executable file
115
ccs/src/model/QueryHotlineRecordResult.cc
Executable 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_;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
82
csb/src/model/FindServiceStatisticalDataRequest.cc
Normal file
82
csb/src/model/FindServiceStatisticalDataRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/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));
|
||||
}
|
||||
|
||||
92
csb/src/model/FindServiceStatisticalDataResult.cc
Normal file
92
csb/src/model/FindServiceStatisticalDataResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -129,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
|
||||
@@ -149,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
|
||||
@@ -161,6 +171,8 @@ 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
|
||||
@@ -179,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
|
||||
@@ -227,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
|
||||
@@ -239,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
|
||||
@@ -371,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
|
||||
@@ -518,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
|
||||
@@ -570,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
|
||||
@@ -622,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
|
||||
@@ -642,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
|
||||
@@ -654,6 +684,8 @@ 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
|
||||
@@ -672,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
|
||||
@@ -720,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
|
||||
@@ -732,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
|
||||
@@ -864,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
|
||||
|
||||
@@ -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"
|
||||
@@ -130,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"
|
||||
@@ -150,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"
|
||||
@@ -162,6 +172,8 @@
|
||||
#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"
|
||||
@@ -180,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"
|
||||
@@ -228,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"
|
||||
@@ -240,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"
|
||||
@@ -372,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"
|
||||
@@ -527,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;
|
||||
@@ -605,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;
|
||||
@@ -614,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;
|
||||
@@ -683,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;
|
||||
@@ -713,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;
|
||||
@@ -731,6 +766,9 @@ 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;
|
||||
@@ -758,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;
|
||||
@@ -830,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;
|
||||
@@ -848,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;
|
||||
@@ -1046,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;
|
||||
@@ -1267,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;
|
||||
@@ -1345,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;
|
||||
@@ -1354,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;
|
||||
@@ -1423,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;
|
||||
@@ -1453,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;
|
||||
@@ -1471,6 +1536,9 @@ 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;
|
||||
@@ -1498,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;
|
||||
@@ -1570,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;
|
||||
@@ -1588,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;
|
||||
@@ -1786,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;
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -98,7 +98,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int memory_;
|
||||
float memory_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
|
||||
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTEREQUEST_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 ModifyDedicatedHostAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDedicatedHostAttributeRequest();
|
||||
~ModifyDedicatedHostAttributeRequest();
|
||||
|
||||
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 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 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::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 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 getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
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);
|
||||
int getNetworkAttributesSlbUdpTimeout()const;
|
||||
void setNetworkAttributesSlbUdpTimeout(int networkAttributesSlbUdpTimeout);
|
||||
int getNetworkAttributesUdpTimeout()const;
|
||||
void setNetworkAttributesUdpTimeout(int networkAttributesUdpTimeout);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
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 securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string actionOnMaintenance_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string dedicatedHostName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
int networkAttributesSlbUdpTimeout_;
|
||||
int networkAttributesUdpTimeout_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTERESULT_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 ModifyDedicatedHostAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDedicatedHostAttributeResult();
|
||||
explicit ModifyDedicatedHostAttributeResult(const std::string &payload);
|
||||
~ModifyDedicatedHostAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORELEASETIMEREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORELEASETIMEREQUEST_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 ModifyDedicatedHostAutoReleaseTimeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDedicatedHostAutoReleaseTimeRequest();
|
||||
~ModifyDedicatedHostAutoReleaseTimeRequest();
|
||||
|
||||
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);
|
||||
std::string getAutoReleaseTime()const;
|
||||
void setAutoReleaseTime(const std::string& autoReleaseTime);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string ownerAccount_;
|
||||
std::string autoReleaseTime_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORELEASETIMEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORELEASETIMERESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORELEASETIMERESULT_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 ModifyDedicatedHostAutoReleaseTimeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDedicatedHostAutoReleaseTimeResult();
|
||||
explicit ModifyDedicatedHostAutoReleaseTimeResult(const std::string &payload);
|
||||
~ModifyDedicatedHostAutoReleaseTimeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORELEASETIMERESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORENEWATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORENEWATTRIBUTEREQUEST_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 ModifyDedicatedHostAutoRenewAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDedicatedHostAutoRenewAttributeRequest();
|
||||
~ModifyDedicatedHostAutoRenewAttributeRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getDedicatedHostIds()const;
|
||||
void setDedicatedHostIds(const std::string& dedicatedHostIds);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPeriodUnit()const;
|
||||
void setPeriodUnit(const std::string& periodUnit);
|
||||
bool getAutoRenew()const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
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 getRenewalStatus()const;
|
||||
void setRenewalStatus(const std::string& renewalStatus);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string dedicatedHostIds_;
|
||||
long resourceOwnerId_;
|
||||
std::string periodUnit_;
|
||||
bool autoRenew_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string ownerAccount_;
|
||||
std::string renewalStatus_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORENEWATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORENEWATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORENEWATTRIBUTERESULT_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 ModifyDedicatedHostAutoRenewAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDedicatedHostAutoRenewAttributeResult();
|
||||
explicit ModifyDedicatedHostAutoRenewAttributeResult(const std::string &payload);
|
||||
~ModifyDedicatedHostAutoRenewAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTAUTORENEWATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEDEPLOYMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEDEPLOYMENTREQUEST_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 ModifyInstanceDeploymentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyInstanceDeploymentRequest();
|
||||
~ModifyInstanceDeploymentRequest();
|
||||
|
||||
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 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 getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
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 proxy_original_source_ip_;
|
||||
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 callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string instanceId_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEDEPLOYMENTREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEDEPLOYMENTRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEDEPLOYMENTRESULT_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 ModifyInstanceDeploymentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyInstanceDeploymentResult();
|
||||
explicit ModifyInstanceDeploymentResult(const std::string &payload);
|
||||
~ModifyInstanceDeploymentResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYINSTANCEDEPLOYMENTRESULT_H_
|
||||
117
ecs/include/alibabacloud/ecs/model/ReleaseDedicatedHostRequest.h
Normal file
117
ecs/include/alibabacloud/ecs/model/ReleaseDedicatedHostRequest.h
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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_RELEASEDEDICATEDHOSTREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_RELEASEDEDICATEDHOSTREQUEST_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 ReleaseDedicatedHostRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReleaseDedicatedHostRequest();
|
||||
~ReleaseDedicatedHostRequest();
|
||||
|
||||
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 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 getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
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 ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
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 dedicatedHostId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_RELEASEDEDICATEDHOSTREQUEST_H_
|
||||
@@ -14,44 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_APPLYDEVICEWITHNAMESRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_APPLYDEVICEWITHNAMESRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_RELEASEDEDICATEDHOSTRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_RELEASEDEDICATEDHOSTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT ApplyDeviceWithNamesResult : public ServiceResult
|
||||
class ALIBABACLOUD_ECS_EXPORT ReleaseDedicatedHostResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ApplyDeviceWithNamesResult();
|
||||
explicit ApplyDeviceWithNamesResult(const std::string &payload);
|
||||
~ApplyDeviceWithNamesResult();
|
||||
long getApplyId()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
ReleaseDedicatedHostResult();
|
||||
explicit ReleaseDedicatedHostResult(const std::string &payload);
|
||||
~ReleaseDedicatedHostResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long applyId_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_APPLYDEVICEWITHNAMESRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_RELEASEDEDICATEDHOSTRESULT_H_
|
||||
126
ecs/include/alibabacloud/ecs/model/RenewDedicatedHostsRequest.h
Normal file
126
ecs/include/alibabacloud/ecs/model/RenewDedicatedHostsRequest.h
Normal 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_RENEWDEDICATEDHOSTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_RENEWDEDICATEDHOSTSREQUEST_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 RenewDedicatedHostsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenewDedicatedHostsRequest();
|
||||
~RenewDedicatedHostsRequest();
|
||||
|
||||
std::string getDedicatedHostIds()const;
|
||||
void setDedicatedHostIds(const std::string& dedicatedHostIds);
|
||||
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 getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string 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);
|
||||
int getPeriod()const;
|
||||
void setPeriod(int period);
|
||||
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 getPeriodUnit()const;
|
||||
void setPeriodUnit(const std::string& periodUnit);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
std::string dedicatedHostIds_;
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
int period_;
|
||||
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 periodUnit_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_RENEWDEDICATEDHOSTSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_RENEWDEDICATEDHOSTSRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_RENEWDEDICATEDHOSTSRESULT_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 RenewDedicatedHostsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RenewDedicatedHostsResult();
|
||||
explicit RenewDedicatedHostsResult(const std::string &payload);
|
||||
~RenewDedicatedHostsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_RENEWDEDICATEDHOSTSRESULT_H_
|
||||
@@ -123,6 +123,42 @@ EcsClient::JoinSecurityGroupOutcomeCallable EcsClient::joinSecurityGroupCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DescribeDedicatedHostTypesOutcome EcsClient::describeDedicatedHostTypes(const DescribeDedicatedHostTypesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDedicatedHostTypesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDedicatedHostTypesOutcome(DescribeDedicatedHostTypesResult(outcome.result()));
|
||||
else
|
||||
return DescribeDedicatedHostTypesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::describeDedicatedHostTypesAsync(const DescribeDedicatedHostTypesRequest& request, const DescribeDedicatedHostTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDedicatedHostTypes(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::DescribeDedicatedHostTypesOutcomeCallable EcsClient::describeDedicatedHostTypesCallable(const DescribeDedicatedHostTypesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDedicatedHostTypesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDedicatedHostTypes(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DescribeSnapshotsOutcome EcsClient::describeSnapshots(const DescribeSnapshotsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,6 +1095,42 @@ EcsClient::DescribeSecurityGroupReferencesOutcomeCallable EcsClient::describeSec
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::AllocateDedicatedHostsOutcome EcsClient::allocateDedicatedHosts(const AllocateDedicatedHostsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AllocateDedicatedHostsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AllocateDedicatedHostsOutcome(AllocateDedicatedHostsResult(outcome.result()));
|
||||
else
|
||||
return AllocateDedicatedHostsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::allocateDedicatedHostsAsync(const AllocateDedicatedHostsRequest& request, const AllocateDedicatedHostsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, allocateDedicatedHosts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::AllocateDedicatedHostsOutcomeCallable EcsClient::allocateDedicatedHostsCallable(const AllocateDedicatedHostsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AllocateDedicatedHostsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->allocateDedicatedHosts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DeleteRouterInterfaceOutcome EcsClient::deleteRouterInterface(const DeleteRouterInterfaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1167,6 +1239,42 @@ EcsClient::AllocatePublicIpAddressOutcomeCallable EcsClient::allocatePublicIpAdd
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ModifyDedicatedHostAutoRenewAttributeOutcome EcsClient::modifyDedicatedHostAutoRenewAttribute(const ModifyDedicatedHostAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDedicatedHostAutoRenewAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDedicatedHostAutoRenewAttributeOutcome(ModifyDedicatedHostAutoRenewAttributeResult(outcome.result()));
|
||||
else
|
||||
return ModifyDedicatedHostAutoRenewAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::modifyDedicatedHostAutoRenewAttributeAsync(const ModifyDedicatedHostAutoRenewAttributeRequest& request, const ModifyDedicatedHostAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDedicatedHostAutoRenewAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::ModifyDedicatedHostAutoRenewAttributeOutcomeCallable EcsClient::modifyDedicatedHostAutoRenewAttributeCallable(const ModifyDedicatedHostAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDedicatedHostAutoRenewAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDedicatedHostAutoRenewAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DescribeEipMonitorDataOutcome EcsClient::describeEipMonitorData(const DescribeEipMonitorDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1995,6 +2103,42 @@ EcsClient::ResizeDiskOutcomeCallable EcsClient::resizeDiskCallable(const ResizeD
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ModifyDedicatedHostAttributeOutcome EcsClient::modifyDedicatedHostAttribute(const ModifyDedicatedHostAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDedicatedHostAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDedicatedHostAttributeOutcome(ModifyDedicatedHostAttributeResult(outcome.result()));
|
||||
else
|
||||
return ModifyDedicatedHostAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::modifyDedicatedHostAttributeAsync(const ModifyDedicatedHostAttributeRequest& request, const ModifyDedicatedHostAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDedicatedHostAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::ModifyDedicatedHostAttributeOutcomeCallable EcsClient::modifyDedicatedHostAttributeCallable(const ModifyDedicatedHostAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDedicatedHostAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDedicatedHostAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::CreateRouteEntryOutcome EcsClient::createRouteEntry(const CreateRouteEntryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2355,6 +2499,42 @@ EcsClient::ModifyInstanceNetworkSpecOutcomeCallable EcsClient::modifyInstanceNet
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ModifyInstanceDeploymentOutcome EcsClient::modifyInstanceDeployment(const ModifyInstanceDeploymentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyInstanceDeploymentOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyInstanceDeploymentOutcome(ModifyInstanceDeploymentResult(outcome.result()));
|
||||
else
|
||||
return ModifyInstanceDeploymentOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::modifyInstanceDeploymentAsync(const ModifyInstanceDeploymentRequest& request, const ModifyInstanceDeploymentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyInstanceDeployment(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::ModifyInstanceDeploymentOutcomeCallable EcsClient::modifyInstanceDeploymentCallable(const ModifyInstanceDeploymentRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyInstanceDeploymentOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyInstanceDeployment(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ModifyDiskAttributeOutcome EcsClient::modifyDiskAttribute(const ModifyDiskAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2571,6 +2751,42 @@ EcsClient::ModifySecurityGroupAttributeOutcomeCallable EcsClient::modifySecurity
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::RenewDedicatedHostsOutcome EcsClient::renewDedicatedHosts(const RenewDedicatedHostsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RenewDedicatedHostsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RenewDedicatedHostsOutcome(RenewDedicatedHostsResult(outcome.result()));
|
||||
else
|
||||
return RenewDedicatedHostsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::renewDedicatedHostsAsync(const RenewDedicatedHostsRequest& request, const RenewDedicatedHostsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, renewDedicatedHosts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::RenewDedicatedHostsOutcomeCallable EcsClient::renewDedicatedHostsCallable(const RenewDedicatedHostsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RenewDedicatedHostsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->renewDedicatedHosts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::CancelSimulatedSystemEventsOutcome EcsClient::cancelSimulatedSystemEvents(const CancelSimulatedSystemEventsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2895,6 +3111,42 @@ EcsClient::DescribeInstancesFullStatusOutcomeCallable EcsClient::describeInstanc
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DescribeDedicatedHostsOutcome EcsClient::describeDedicatedHosts(const DescribeDedicatedHostsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDedicatedHostsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDedicatedHostsOutcome(DescribeDedicatedHostsResult(outcome.result()));
|
||||
else
|
||||
return DescribeDedicatedHostsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::describeDedicatedHostsAsync(const DescribeDedicatedHostsRequest& request, const DescribeDedicatedHostsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDedicatedHosts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::DescribeDedicatedHostsOutcomeCallable EcsClient::describeDedicatedHostsCallable(const DescribeDedicatedHostsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDedicatedHostsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDedicatedHosts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ReleaseEipAddressOutcome EcsClient::releaseEipAddress(const ReleaseEipAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3759,6 +4011,42 @@ EcsClient::DescribeVirtualBorderRoutersOutcomeCallable EcsClient::describeVirtua
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ModifyDedicatedHostAutoReleaseTimeOutcome EcsClient::modifyDedicatedHostAutoReleaseTime(const ModifyDedicatedHostAutoReleaseTimeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDedicatedHostAutoReleaseTimeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDedicatedHostAutoReleaseTimeOutcome(ModifyDedicatedHostAutoReleaseTimeResult(outcome.result()));
|
||||
else
|
||||
return ModifyDedicatedHostAutoReleaseTimeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::modifyDedicatedHostAutoReleaseTimeAsync(const ModifyDedicatedHostAutoReleaseTimeRequest& request, const ModifyDedicatedHostAutoReleaseTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDedicatedHostAutoReleaseTime(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::ModifyDedicatedHostAutoReleaseTimeOutcomeCallable EcsClient::modifyDedicatedHostAutoReleaseTimeCallable(const ModifyDedicatedHostAutoReleaseTimeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDedicatedHostAutoReleaseTimeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDedicatedHostAutoReleaseTime(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ModifyHpcClusterAttributeOutcome EcsClient::modifyHpcClusterAttribute(const ModifyHpcClusterAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3975,6 +4263,42 @@ EcsClient::ModifyInstanceVpcAttributeOutcomeCallable EcsClient::modifyInstanceVp
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::ReleaseDedicatedHostOutcome EcsClient::releaseDedicatedHost(const ReleaseDedicatedHostRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ReleaseDedicatedHostOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ReleaseDedicatedHostOutcome(ReleaseDedicatedHostResult(outcome.result()));
|
||||
else
|
||||
return ReleaseDedicatedHostOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::releaseDedicatedHostAsync(const ReleaseDedicatedHostRequest& request, const ReleaseDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, releaseDedicatedHost(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::ReleaseDedicatedHostOutcomeCallable EcsClient::releaseDedicatedHostCallable(const ReleaseDedicatedHostRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ReleaseDedicatedHostOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->releaseDedicatedHost(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::AddTagsOutcome EcsClient::addTags(const AddTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6351,6 +6675,42 @@ EcsClient::DescribeTagKeysOutcomeCallable EcsClient::describeTagKeysCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DescribeDedicatedHostAutoRenewOutcome EcsClient::describeDedicatedHostAutoRenew(const DescribeDedicatedHostAutoRenewRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDedicatedHostAutoRenewOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDedicatedHostAutoRenewOutcome(DescribeDedicatedHostAutoRenewResult(outcome.result()));
|
||||
else
|
||||
return DescribeDedicatedHostAutoRenewOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EcsClient::describeDedicatedHostAutoRenewAsync(const DescribeDedicatedHostAutoRenewRequest& request, const DescribeDedicatedHostAutoRenewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDedicatedHostAutoRenew(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EcsClient::DescribeDedicatedHostAutoRenewOutcomeCallable EcsClient::describeDedicatedHostAutoRenewCallable(const DescribeDedicatedHostAutoRenewRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDedicatedHostAutoRenewOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDedicatedHostAutoRenew(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EcsClient::DeleteInstanceOutcome EcsClient::deleteInstance(const DeleteInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
473
ecs/src/model/AllocateDedicatedHostsRequest.cc
Normal file
473
ecs/src/model/AllocateDedicatedHostsRequest.cc
Normal file
@@ -0,0 +1,473 @@
|
||||
/*
|
||||
* 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/ecs/model/AllocateDedicatedHostsRequest.h>
|
||||
|
||||
using AlibabaCloud::Ecs::Model::AllocateDedicatedHostsRequest;
|
||||
|
||||
AllocateDedicatedHostsRequest::AllocateDedicatedHostsRequest() :
|
||||
RpcServiceRequest("ecs", "2014-05-26", "AllocateDedicatedHosts")
|
||||
{}
|
||||
|
||||
AllocateDedicatedHostsRequest::~AllocateDedicatedHostsRequest()
|
||||
{}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setEnable(bool enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setParameter("Enable", std::to_string(enable));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getActionOnMaintenance()const
|
||||
{
|
||||
return actionOnMaintenance_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setActionOnMaintenance(const std::string& actionOnMaintenance)
|
||||
{
|
||||
actionOnMaintenance_ = actionOnMaintenance;
|
||||
setParameter("ActionOnMaintenance", actionOnMaintenance);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::vector<AllocateDedicatedHostsRequest::Tag> AllocateDedicatedHostsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getDedicatedHostType()const
|
||||
{
|
||||
return dedicatedHostType_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setDedicatedHostType(const std::string& dedicatedHostType)
|
||||
{
|
||||
dedicatedHostType_ = dedicatedHostType;
|
||||
setParameter("DedicatedHostType", dedicatedHostType);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getAutoRenewPeriod()const
|
||||
{
|
||||
return autoRenewPeriod_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setAutoRenewPeriod(int autoRenewPeriod)
|
||||
{
|
||||
autoRenewPeriod_ = autoRenewPeriod;
|
||||
setParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setPeriod(int period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getQuantity()const
|
||||
{
|
||||
return quantity_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setQuantity(int quantity)
|
||||
{
|
||||
quantity_ = quantity;
|
||||
setParameter("Quantity", std::to_string(quantity));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getDedicatedHostName()const
|
||||
{
|
||||
return dedicatedHostName_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setDedicatedHostName(const std::string& dedicatedHostName)
|
||||
{
|
||||
dedicatedHostName_ = dedicatedHostName;
|
||||
setParameter("DedicatedHostName", dedicatedHostName);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getAutoReleaseTime()const
|
||||
{
|
||||
return autoReleaseTime_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setAutoReleaseTime(const std::string& autoReleaseTime)
|
||||
{
|
||||
autoReleaseTime_ = autoReleaseTime;
|
||||
setParameter("AutoReleaseTime", autoReleaseTime);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getPeriodUnit()const
|
||||
{
|
||||
return periodUnit_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setPeriodUnit(const std::string& periodUnit)
|
||||
{
|
||||
periodUnit_ = periodUnit;
|
||||
setParameter("PeriodUnit", periodUnit);
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter("AutoRenew", std::to_string(autoRenew));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getNetworkAttributesSlbUdpTimeout()const
|
||||
{
|
||||
return networkAttributesSlbUdpTimeout_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setNetworkAttributesSlbUdpTimeout(int networkAttributesSlbUdpTimeout)
|
||||
{
|
||||
networkAttributesSlbUdpTimeout_ = networkAttributesSlbUdpTimeout;
|
||||
setParameter("NetworkAttributesSlbUdpTimeout", std::to_string(networkAttributesSlbUdpTimeout));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getNetworkAttributesUdpTimeout()const
|
||||
{
|
||||
return networkAttributesUdpTimeout_;
|
||||
}
|
||||
|
||||
void AllocateDedicatedHostsRequest::setNetworkAttributesUdpTimeout(int networkAttributesUdpTimeout)
|
||||
{
|
||||
networkAttributesUdpTimeout_ = networkAttributesUdpTimeout;
|
||||
setParameter("NetworkAttributesUdpTimeout", std::to_string(networkAttributesUdpTimeout));
|
||||
}
|
||||
|
||||
53
ecs/src/model/AllocateDedicatedHostsResult.cc
Normal file
53
ecs/src/model/AllocateDedicatedHostsResult.cc
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ecs/model/AllocateDedicatedHostsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
using namespace AlibabaCloud::Ecs::Model;
|
||||
|
||||
AllocateDedicatedHostsResult::AllocateDedicatedHostsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AllocateDedicatedHostsResult::AllocateDedicatedHostsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AllocateDedicatedHostsResult::~AllocateDedicatedHostsResult()
|
||||
{}
|
||||
|
||||
void AllocateDedicatedHostsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDedicatedHostIdSets = value["DedicatedHostIdSets"]["DedicatedHostId"];
|
||||
for (const auto &item : allDedicatedHostIdSets)
|
||||
dedicatedHostIdSets_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> AllocateDedicatedHostsResult::getDedicatedHostIdSets()const
|
||||
{
|
||||
return dedicatedHostIdSets_;
|
||||
}
|
||||
|
||||
@@ -36,12 +36,12 @@ void DescribeAvailableResourceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeAvailableResourceRequest::getMemory()const
|
||||
float DescribeAvailableResourceRequest::getMemory()const
|
||||
{
|
||||
return memory_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setMemory(int memory)
|
||||
void DescribeAvailableResourceRequest::setMemory(float memory)
|
||||
{
|
||||
memory_ = memory;
|
||||
setParameter("Memory", std::to_string(memory));
|
||||
|
||||
93
ecs/src/model/DescribeDedicatedHostAutoRenewRequest.cc
Normal file
93
ecs/src/model/DescribeDedicatedHostAutoRenewRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewRequest.h>
|
||||
|
||||
using AlibabaCloud::Ecs::Model::DescribeDedicatedHostAutoRenewRequest;
|
||||
|
||||
DescribeDedicatedHostAutoRenewRequest::DescribeDedicatedHostAutoRenewRequest() :
|
||||
RpcServiceRequest("ecs", "2014-05-26", "DescribeDedicatedHostAutoRenew")
|
||||
{}
|
||||
|
||||
DescribeDedicatedHostAutoRenewRequest::~DescribeDedicatedHostAutoRenewRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDedicatedHostAutoRenewRequest::getDedicatedHostIds()const
|
||||
{
|
||||
return dedicatedHostIds_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAutoRenewRequest::setDedicatedHostIds(const std::string& dedicatedHostIds)
|
||||
{
|
||||
dedicatedHostIds_ = dedicatedHostIds;
|
||||
setParameter("DedicatedHostIds", dedicatedHostIds);
|
||||
}
|
||||
|
||||
long DescribeDedicatedHostAutoRenewRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAutoRenewRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAutoRenewRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAutoRenewRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAutoRenewRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAutoRenewRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAutoRenewRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAutoRenewRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDedicatedHostAutoRenewRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAutoRenewRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
66
ecs/src/model/DescribeDedicatedHostAutoRenewResult.cc
Normal file
66
ecs/src/model/DescribeDedicatedHostAutoRenewResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
using namespace AlibabaCloud::Ecs::Model;
|
||||
|
||||
DescribeDedicatedHostAutoRenewResult::DescribeDedicatedHostAutoRenewResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDedicatedHostAutoRenewResult::DescribeDedicatedHostAutoRenewResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDedicatedHostAutoRenewResult::~DescribeDedicatedHostAutoRenewResult()
|
||||
{}
|
||||
|
||||
void DescribeDedicatedHostAutoRenewResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDedicatedHostRenewAttributes = value["DedicatedHostRenewAttributes"]["DedicatedHostRenewAttribute"];
|
||||
for (auto value : allDedicatedHostRenewAttributes)
|
||||
{
|
||||
DedicatedHostRenewAttribute dedicatedHostRenewAttributesObject;
|
||||
if(!value["DedicatedHostId"].isNull())
|
||||
dedicatedHostRenewAttributesObject.dedicatedHostId = value["DedicatedHostId"].asString();
|
||||
if(!value["AutoRenewEnabled"].isNull())
|
||||
dedicatedHostRenewAttributesObject.autoRenewEnabled = value["AutoRenewEnabled"].asString() == "true";
|
||||
if(!value["Duration"].isNull())
|
||||
dedicatedHostRenewAttributesObject.duration = std::stoi(value["Duration"].asString());
|
||||
if(!value["PeriodUnit"].isNull())
|
||||
dedicatedHostRenewAttributesObject.periodUnit = value["PeriodUnit"].asString();
|
||||
if(!value["RenewalStatus"].isNull())
|
||||
dedicatedHostRenewAttributesObject.renewalStatus = value["RenewalStatus"].asString();
|
||||
dedicatedHostRenewAttributes_.push_back(dedicatedHostRenewAttributesObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDedicatedHostAutoRenewResult::DedicatedHostRenewAttribute> DescribeDedicatedHostAutoRenewResult::getDedicatedHostRenewAttributes()const
|
||||
{
|
||||
return dedicatedHostRenewAttributes_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user