Compare commits
37 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e73931c1d | ||
|
|
f2a390fbc8 | ||
|
|
46a517571d | ||
|
|
eadff9b0ef | ||
|
|
6e9b1bebe0 | ||
|
|
857329972e | ||
|
|
b2637b8f3c | ||
|
|
844fe8856e | ||
|
|
02d22470b7 | ||
|
|
6c1391eb82 | ||
|
|
60a0077509 | ||
|
|
ee5b4ca599 | ||
|
|
e96ffc6afe | ||
|
|
19a082eb56 | ||
|
|
002d5fb06f | ||
|
|
c960a34373 | ||
|
|
84adbb2cb8 | ||
|
|
db4f78e6de | ||
|
|
0ef5cd3c63 | ||
|
|
0625a8a681 | ||
|
|
aa84ad7f2e | ||
|
|
94a811bc97 | ||
|
|
dd85f78d9d | ||
|
|
aa1d797d41 | ||
|
|
42253f9e7a | ||
|
|
1c29ae37e8 | ||
|
|
e5d87b63dc | ||
|
|
317456660d | ||
|
|
a9f9414abb | ||
|
|
5aaae25e49 | ||
|
|
9a2a29f308 | ||
|
|
127c992829 | ||
|
|
e16ab91844 | ||
|
|
3cb89d84bd | ||
|
|
7282a6a906 | ||
|
|
0ca5beb247 | ||
|
|
13ea4f0698 |
8
.idea/modules.xml
generated
8
.idea/modules.xml
generated
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" filepath="$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/vcs.xml
generated
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>
|
||||
130
CHANGELOG
130
CHANGELOG
@@ -1,3 +1,133 @@
|
||||
2018-09-28 Version: 1.27.1
|
||||
1, Add one api, QueryAppDeviceList.
|
||||
|
||||
2018-09-27 Version: 1.27.0
|
||||
1, Add new API ListQueues, modify API SetAutoScaleConfig to support queue related features.
|
||||
|
||||
2018-09-27 Version: 1.26.4
|
||||
1, modify getFaces Api
|
||||
|
||||
2018-09-27 Version: 1.26.3
|
||||
1, modify getFaces Api
|
||||
|
||||
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.
|
||||
|
||||
2018-08-22 Version: 1.23.0
|
||||
1, Add api CreateSimulatedSystemEvents, support creating one or more simulated system events.
|
||||
2, Add api CancelSimulatedSystemEvents, support cancelling one or more simulated system events.
|
||||
|
||||
2018-08-21 Version: 1.22.9
|
||||
1, Repair describeLaunchTemplateVersions securityEnhancementStrategy type
|
||||
|
||||
2018-08-21 Version: 1.22.8
|
||||
1, Add api: MoPenQueryCanvas, MoPenDoRecognize, MoPenSendMqttMessage, MoPenFindGroup
|
||||
|
||||
2018-08-17 Version: 1.22.7
|
||||
1, Add a new api called DeleteImage to clear the image resource.
|
||||
2, Add the field called AdditionType and OutputType to GetMezzanineInfo api request.
|
||||
3, Add the field called OutputType to GetMezzanineInfo api response.
|
||||
4, Add the field called CreationTime and ModificationTime to GetPlayInfo api response.
|
||||
|
||||
2018-08-17 Version: 1.22.6
|
||||
1, New apkpubkey fields for queryauthentication output parameter.
|
||||
2, New packagename fields for queryauthentication output parameter.
|
||||
3, New clientId fields for queryauthentication output parameter.
|
||||
|
||||
2018-08-16 Version: 1.22.5
|
||||
1, ModifyScalingConfiguration add imageName.
|
||||
2, CreateScalingConfiguration add imageName.
|
||||
|
||||
2018-08-15 Version: 1.22.4
|
||||
1, Fix bug in GetMaterials API.
|
||||
2, GetVerifyToken added a new param VerifyConfigs
|
||||
|
||||
2018-08-15 Version: 1.22.3
|
||||
1, Add domain operation api AddLiveDomain,DeleteLiveDomain,DescribeLiveDomainDetail,StartLiveDomain,StopLiveDomain.
|
||||
2, Add certificate operation api DescribeLiveCertificateDetail,DescribeLiveCertificateList,SetLiveDomainCertificate.
|
||||
3, Add domain config api BatchSetLiveDomainConfigs,BatchDeleteLiveDomainConfigs,DeleteLiveSpecificConfig,DescribeLiveDomainConfigs.
|
||||
|
||||
2018-08-15 Version: 1.22.2
|
||||
1, Update ecs tag to 20 maximum
|
||||
|
||||
|
||||
2018-08-14 Version: 1.22.1
|
||||
1, Change parameter name of Dialogue
|
||||
|
||||
2018-08-13 Version: 1.22.0
|
||||
1, New userinfo fields for registerface input parameter.
|
||||
2, New userinfo fields for updateface input parameter.
|
||||
3, New userinfo fields for queryface output parameter.
|
||||
|
||||
2018-08-13 Version: 1.21.6
|
||||
1, Add cross domain support.
|
||||
2, Add parameter SerialNumber to interface RebootSmartAccessGateway.
|
||||
|
||||
2018-08-08 Version: 1.21.5
|
||||
1, The official release 4.0.0
|
||||
|
||||
2018-08-08 Version: 1.21.4
|
||||
1, Update FC apis.
|
||||
|
||||
2018-08-08 Version: 1.21.3
|
||||
1, First release.
|
||||
|
||||
2018-08-07 Version: 1.21.2
|
||||
1, Add api GetGatewayBySubDevice.
|
||||
2, Modified the time related response parameters.
|
||||
3, Add messageId in response with InvokeThingService,SetDeviceProperty and NotifyAddThingTopo.
|
||||
|
||||
2018-08-05 Version: 1.21.1
|
||||
1, Add Interface SubmitSubtitleJob
|
||||
2, Support convert ttml、stl subtitle to vtt
|
||||
|
||||
2018-08-03 Version: 1.21.0
|
||||
1, Add new API AddLocalNodes, for adding local machine to a hybrid cluster
|
||||
|
||||
|
||||
@@ -81,4 +81,11 @@ add_subdirectory(live)
|
||||
add_subdirectory(rtc)
|
||||
add_subdirectory(chatbot)
|
||||
add_subdirectory(teslastream)
|
||||
add_subdirectory(mopen)
|
||||
add_subdirectory(mopen)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(iot)
|
||||
add_subdirectory(linkface)
|
||||
add_subdirectory(ots)
|
||||
add_subdirectory(smartag)
|
||||
add_subdirectory(vod)
|
||||
add_subdirectory(ccs)
|
||||
@@ -141,6 +141,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ListRolesResult.h
|
||||
include/alibabacloud/ccc/model/ListConfigRequest.h
|
||||
include/alibabacloud/ccc/model/ListConfigResult.h
|
||||
include/alibabacloud/ccc/model/LaunchShortMessageAppraiseRequest.h
|
||||
include/alibabacloud/ccc/model/LaunchShortMessageAppraiseResult.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/ListScenariosRequest.h
|
||||
@@ -300,6 +302,8 @@ set(ccc_src
|
||||
src/model/ListRolesResult.cc
|
||||
src/model/ListConfigRequest.cc
|
||||
src/model/ListConfigResult.cc
|
||||
src/model/LaunchShortMessageAppraiseRequest.cc
|
||||
src/model/LaunchShortMessageAppraiseResult.cc
|
||||
src/model/ModifyPhoneNumberRequest.cc
|
||||
src/model/ModifyPhoneNumberResult.cc
|
||||
src/model/ListScenariosRequest.cc
|
||||
|
||||
@@ -142,6 +142,8 @@
|
||||
#include "model/ListRolesResult.h"
|
||||
#include "model/ListConfigRequest.h"
|
||||
#include "model/ListConfigResult.h"
|
||||
#include "model/LaunchShortMessageAppraiseRequest.h"
|
||||
#include "model/LaunchShortMessageAppraiseResult.h"
|
||||
#include "model/ModifyPhoneNumberRequest.h"
|
||||
#include "model/ModifyPhoneNumberResult.h"
|
||||
#include "model/ListScenariosRequest.h"
|
||||
@@ -367,6 +369,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListConfigResult> ListConfigOutcome;
|
||||
typedef std::future<ListConfigOutcome> ListConfigOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListConfigRequest&, const ListConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::LaunchShortMessageAppraiseResult> LaunchShortMessageAppraiseOutcome;
|
||||
typedef std::future<LaunchShortMessageAppraiseOutcome> LaunchShortMessageAppraiseOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::LaunchShortMessageAppraiseRequest&, const LaunchShortMessageAppraiseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LaunchShortMessageAppraiseAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyPhoneNumberResult> ModifyPhoneNumberOutcome;
|
||||
typedef std::future<ModifyPhoneNumberOutcome> ModifyPhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyPhoneNumberRequest&, const ModifyPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPhoneNumberAsyncHandler;
|
||||
@@ -606,6 +611,9 @@ namespace AlibabaCloud
|
||||
ListConfigOutcome listConfig(const Model::ListConfigRequest &request)const;
|
||||
void listConfigAsync(const Model::ListConfigRequest& request, const ListConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConfigOutcomeCallable listConfigCallable(const Model::ListConfigRequest& request) const;
|
||||
LaunchShortMessageAppraiseOutcome launchShortMessageAppraise(const Model::LaunchShortMessageAppraiseRequest &request)const;
|
||||
void launchShortMessageAppraiseAsync(const Model::LaunchShortMessageAppraiseRequest& request, const LaunchShortMessageAppraiseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LaunchShortMessageAppraiseOutcomeCallable launchShortMessageAppraiseCallable(const Model::LaunchShortMessageAppraiseRequest& request) const;
|
||||
ModifyPhoneNumberOutcome modifyPhoneNumber(const Model::ModifyPhoneNumberRequest &request)const;
|
||||
void modifyPhoneNumberAsync(const Model::ModifyPhoneNumberRequest& request, const ModifyPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyPhoneNumberOutcomeCallable modifyPhoneNumberCallable(const Model::ModifyPhoneNumberRequest& request) const;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getActionKey()const;
|
||||
void setActionKey(const std::string& actionKey);
|
||||
std::string getActionParams()const;
|
||||
void setActionParams(const std::string& actionParams);
|
||||
std::string getCallType()const;
|
||||
@@ -59,6 +61,7 @@ namespace AlibabaCloud
|
||||
std::string callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string calledNumber_;
|
||||
std::string actionKey_;
|
||||
std::string actionParams_;
|
||||
std::string callType_;
|
||||
std::string scenarioId_;
|
||||
|
||||
@@ -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_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT LaunchShortMessageAppraiseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LaunchShortMessageAppraiseRequest();
|
||||
~LaunchShortMessageAppraiseRequest();
|
||||
|
||||
std::string getAcid()const;
|
||||
void setAcid(const std::string& acid);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getContactType()const;
|
||||
void setContactType(int contactType);
|
||||
std::string getPhoneNumbers()const;
|
||||
void setPhoneNumbers(const std::string& phoneNumbers);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string acid_;
|
||||
std::string instanceId_;
|
||||
int contactType_;
|
||||
std::string phoneNumbers_;
|
||||
std::string skillGroupId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT LaunchShortMessageAppraiseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
LaunchShortMessageAppraiseResult();
|
||||
explicit LaunchShortMessageAppraiseResult(const std::string &payload);
|
||||
~LaunchShortMessageAppraiseResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISERESULT_H_
|
||||
@@ -2211,6 +2211,42 @@ CCCClient::ListConfigOutcomeCallable CCCClient::listConfigCallable(const ListCon
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::LaunchShortMessageAppraiseOutcome CCCClient::launchShortMessageAppraise(const LaunchShortMessageAppraiseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LaunchShortMessageAppraiseOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LaunchShortMessageAppraiseOutcome(LaunchShortMessageAppraiseResult(outcome.result()));
|
||||
else
|
||||
return LaunchShortMessageAppraiseOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::launchShortMessageAppraiseAsync(const LaunchShortMessageAppraiseRequest& request, const LaunchShortMessageAppraiseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, launchShortMessageAppraise(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::LaunchShortMessageAppraiseOutcomeCallable CCCClient::launchShortMessageAppraiseCallable(const LaunchShortMessageAppraiseRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LaunchShortMessageAppraiseOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->launchShortMessageAppraise(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ModifyPhoneNumberOutcome CCCClient::modifyPhoneNumber(const ModifyPhoneNumberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -69,6 +69,17 @@ void DialogueRequest::setCalledNumber(const std::string& calledNumber)
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string DialogueRequest::getActionKey()const
|
||||
{
|
||||
return actionKey_;
|
||||
}
|
||||
|
||||
void DialogueRequest::setActionKey(const std::string& actionKey)
|
||||
{
|
||||
actionKey_ = actionKey;
|
||||
setParameter("ActionKey", actionKey);
|
||||
}
|
||||
|
||||
std::string DialogueRequest::getActionParams()const
|
||||
{
|
||||
return actionParams_;
|
||||
|
||||
93
ccc/src/model/LaunchShortMessageAppraiseRequest.cc
Normal file
93
ccc/src/model/LaunchShortMessageAppraiseRequest.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/ccc/model/LaunchShortMessageAppraiseRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::LaunchShortMessageAppraiseRequest;
|
||||
|
||||
LaunchShortMessageAppraiseRequest::LaunchShortMessageAppraiseRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "LaunchShortMessageAppraise")
|
||||
{}
|
||||
|
||||
LaunchShortMessageAppraiseRequest::~LaunchShortMessageAppraiseRequest()
|
||||
{}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getAcid()const
|
||||
{
|
||||
return acid_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setAcid(const std::string& acid)
|
||||
{
|
||||
acid_ = acid;
|
||||
setParameter("Acid", acid);
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
int LaunchShortMessageAppraiseRequest::getContactType()const
|
||||
{
|
||||
return contactType_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setContactType(int contactType)
|
||||
{
|
||||
contactType_ = contactType;
|
||||
setParameter("ContactType", std::to_string(contactType));
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getPhoneNumbers()const
|
||||
{
|
||||
return phoneNumbers_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setPhoneNumbers(const std::string& phoneNumbers)
|
||||
{
|
||||
phoneNumbers_ = phoneNumbers;
|
||||
setParameter("PhoneNumbers", phoneNumbers);
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
73
ccc/src/model/LaunchShortMessageAppraiseResult.cc
Normal file
73
ccc/src/model/LaunchShortMessageAppraiseResult.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/LaunchShortMessageAppraiseResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
LaunchShortMessageAppraiseResult::LaunchShortMessageAppraiseResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
LaunchShortMessageAppraiseResult::LaunchShortMessageAppraiseResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
LaunchShortMessageAppraiseResult::~LaunchShortMessageAppraiseResult()
|
||||
{}
|
||||
|
||||
void LaunchShortMessageAppraiseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int LaunchShortMessageAppraiseResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool LaunchShortMessageAppraiseResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
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_
|
||||
51
ccs/include/alibabacloud/ccs/model/GetHotlineRecordRequest.h
Executable file
51
ccs/include/alibabacloud/ccs/model/GetHotlineRecordRequest.h
Executable file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDREQUEST_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 GetHotlineRecordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetHotlineRecordRequest();
|
||||
~GetHotlineRecordRequest();
|
||||
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getCcsInstanceId()const;
|
||||
void setCcsInstanceId(const std::string& ccsInstanceId);
|
||||
|
||||
private:
|
||||
std::string id_;
|
||||
std::string ccsInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#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_;
|
||||
}
|
||||
|
||||
@@ -77,8 +77,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/SetUserDomainBlackListRequest.h
|
||||
include/alibabacloud/cdn/model/SetUserDomainBlackListResult.h
|
||||
include/alibabacloud/cdn/model/SetLocationAccessRestrictionRequest.h
|
||||
include/alibabacloud/cdn/model/SetLocationAccessRestrictionResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h
|
||||
@@ -291,8 +289,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/AddLiveAppSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainISPDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h
|
||||
include/alibabacloud/cdn/model/ClearUserDomainBlackListRequest.h
|
||||
include/alibabacloud/cdn/model/ClearUserDomainBlackListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSpecificDomainMappingRequest.h
|
||||
@@ -311,10 +307,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/UpdateFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/SetUserBlackListRequest.h
|
||||
include/alibabacloud/cdn/model/SetUserBlackListResult.h
|
||||
include/alibabacloud/cdn/model/GetUserDomainBlackListRequest.h
|
||||
include/alibabacloud/cdn/model/GetUserDomainBlackListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCCAttackInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCCAttackInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListRequest.h
|
||||
@@ -325,8 +317,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DeleteLivePullStreamInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainDownstreamBpsOfEdgeRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainDownstreamBpsOfEdgeResult.h
|
||||
include/alibabacloud/cdn/model/ClearUserBlackListRequest.h
|
||||
include/alibabacloud/cdn/model/ClearUserBlackListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h
|
||||
include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h
|
||||
@@ -428,8 +418,6 @@ set(cdn_src
|
||||
src/model/DescribeDomainAverageResponseTimeResult.cc
|
||||
src/model/DescribeLiveStreamBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamBitRateDataResult.cc
|
||||
src/model/SetUserDomainBlackListRequest.cc
|
||||
src/model/SetUserDomainBlackListResult.cc
|
||||
src/model/SetLocationAccessRestrictionRequest.cc
|
||||
src/model/SetLocationAccessRestrictionResult.cc
|
||||
src/model/DescribeUserCustomLogConfigRequest.cc
|
||||
@@ -642,8 +630,6 @@ set(cdn_src
|
||||
src/model/AddLiveAppSnapshotConfigResult.cc
|
||||
src/model/DescribeDomainISPDataRequest.cc
|
||||
src/model/DescribeDomainISPDataResult.cc
|
||||
src/model/ClearUserDomainBlackListRequest.cc
|
||||
src/model/ClearUserDomainBlackListResult.cc
|
||||
src/model/DescribeDomainFileSizeProportionDataRequest.cc
|
||||
src/model/DescribeDomainFileSizeProportionDataResult.cc
|
||||
src/model/DescribeLiveSpecificDomainMappingRequest.cc
|
||||
@@ -662,10 +648,6 @@ set(cdn_src
|
||||
src/model/UpdateFCTriggerResult.cc
|
||||
src/model/DescribeFCTriggerRequest.cc
|
||||
src/model/DescribeFCTriggerResult.cc
|
||||
src/model/SetUserBlackListRequest.cc
|
||||
src/model/SetUserBlackListResult.cc
|
||||
src/model/GetUserDomainBlackListRequest.cc
|
||||
src/model/GetUserDomainBlackListResult.cc
|
||||
src/model/DescribeDomainCCAttackInfoRequest.cc
|
||||
src/model/DescribeDomainCCAttackInfoResult.cc
|
||||
src/model/DescribeLiveStreamsPublishListRequest.cc
|
||||
@@ -676,8 +658,6 @@ set(cdn_src
|
||||
src/model/DeleteLivePullStreamInfoResult.cc
|
||||
src/model/DescribeDomainDownstreamBpsOfEdgeRequest.cc
|
||||
src/model/DescribeDomainDownstreamBpsOfEdgeResult.cc
|
||||
src/model/ClearUserBlackListRequest.cc
|
||||
src/model/ClearUserBlackListResult.cc
|
||||
src/model/DescribeDomainMax95BpsDataRequest.cc
|
||||
src/model/DescribeDomainMax95BpsDataResult.cc
|
||||
src/model/SetHttpsOptionConfigRequest.cc
|
||||
|
||||
@@ -78,8 +78,6 @@
|
||||
#include "model/DescribeDomainAverageResponseTimeResult.h"
|
||||
#include "model/DescribeLiveStreamBitRateDataRequest.h"
|
||||
#include "model/DescribeLiveStreamBitRateDataResult.h"
|
||||
#include "model/SetUserDomainBlackListRequest.h"
|
||||
#include "model/SetUserDomainBlackListResult.h"
|
||||
#include "model/SetLocationAccessRestrictionRequest.h"
|
||||
#include "model/SetLocationAccessRestrictionResult.h"
|
||||
#include "model/DescribeUserCustomLogConfigRequest.h"
|
||||
@@ -292,8 +290,6 @@
|
||||
#include "model/AddLiveAppSnapshotConfigResult.h"
|
||||
#include "model/DescribeDomainISPDataRequest.h"
|
||||
#include "model/DescribeDomainISPDataResult.h"
|
||||
#include "model/ClearUserDomainBlackListRequest.h"
|
||||
#include "model/ClearUserDomainBlackListResult.h"
|
||||
#include "model/DescribeDomainFileSizeProportionDataRequest.h"
|
||||
#include "model/DescribeDomainFileSizeProportionDataResult.h"
|
||||
#include "model/DescribeLiveSpecificDomainMappingRequest.h"
|
||||
@@ -312,10 +308,6 @@
|
||||
#include "model/UpdateFCTriggerResult.h"
|
||||
#include "model/DescribeFCTriggerRequest.h"
|
||||
#include "model/DescribeFCTriggerResult.h"
|
||||
#include "model/SetUserBlackListRequest.h"
|
||||
#include "model/SetUserBlackListResult.h"
|
||||
#include "model/GetUserDomainBlackListRequest.h"
|
||||
#include "model/GetUserDomainBlackListResult.h"
|
||||
#include "model/DescribeDomainCCAttackInfoRequest.h"
|
||||
#include "model/DescribeDomainCCAttackInfoResult.h"
|
||||
#include "model/DescribeLiveStreamsPublishListRequest.h"
|
||||
@@ -326,8 +318,6 @@
|
||||
#include "model/DeleteLivePullStreamInfoResult.h"
|
||||
#include "model/DescribeDomainDownstreamBpsOfEdgeRequest.h"
|
||||
#include "model/DescribeDomainDownstreamBpsOfEdgeResult.h"
|
||||
#include "model/ClearUserBlackListRequest.h"
|
||||
#include "model/ClearUserBlackListResult.h"
|
||||
#include "model/DescribeDomainMax95BpsDataRequest.h"
|
||||
#include "model/DescribeDomainMax95BpsDataResult.h"
|
||||
#include "model/SetHttpsOptionConfigRequest.h"
|
||||
@@ -463,9 +453,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamBitRateDataResult> DescribeLiveStreamBitRateDataOutcome;
|
||||
typedef std::future<DescribeLiveStreamBitRateDataOutcome> DescribeLiveStreamBitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamBitRateDataRequest&, const DescribeLiveStreamBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamBitRateDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetUserDomainBlackListResult> SetUserDomainBlackListOutcome;
|
||||
typedef std::future<SetUserDomainBlackListOutcome> SetUserDomainBlackListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetUserDomainBlackListRequest&, const SetUserDomainBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserDomainBlackListAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetLocationAccessRestrictionResult> SetLocationAccessRestrictionOutcome;
|
||||
typedef std::future<SetLocationAccessRestrictionOutcome> SetLocationAccessRestrictionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetLocationAccessRestrictionRequest&, const SetLocationAccessRestrictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLocationAccessRestrictionAsyncHandler;
|
||||
@@ -784,9 +771,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainISPDataResult> DescribeDomainISPDataOutcome;
|
||||
typedef std::future<DescribeDomainISPDataOutcome> DescribeDomainISPDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainISPDataRequest&, const DescribeDomainISPDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainISPDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::ClearUserDomainBlackListResult> ClearUserDomainBlackListOutcome;
|
||||
typedef std::future<ClearUserDomainBlackListOutcome> ClearUserDomainBlackListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::ClearUserDomainBlackListRequest&, const ClearUserDomainBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClearUserDomainBlackListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainFileSizeProportionDataResult> DescribeDomainFileSizeProportionDataOutcome;
|
||||
typedef std::future<DescribeDomainFileSizeProportionDataOutcome> DescribeDomainFileSizeProportionDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainFileSizeProportionDataRequest&, const DescribeDomainFileSizeProportionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainFileSizeProportionDataAsyncHandler;
|
||||
@@ -814,12 +798,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeFCTriggerResult> DescribeFCTriggerOutcome;
|
||||
typedef std::future<DescribeFCTriggerOutcome> DescribeFCTriggerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeFCTriggerRequest&, const DescribeFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFCTriggerAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetUserBlackListResult> SetUserBlackListOutcome;
|
||||
typedef std::future<SetUserBlackListOutcome> SetUserBlackListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetUserBlackListRequest&, const SetUserBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserBlackListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserDomainBlackListResult> GetUserDomainBlackListOutcome;
|
||||
typedef std::future<GetUserDomainBlackListOutcome> GetUserDomainBlackListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::GetUserDomainBlackListRequest&, const GetUserDomainBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserDomainBlackListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainCCAttackInfoResult> DescribeDomainCCAttackInfoOutcome;
|
||||
typedef std::future<DescribeDomainCCAttackInfoOutcome> DescribeDomainCCAttackInfoOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainCCAttackInfoRequest&, const DescribeDomainCCAttackInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainCCAttackInfoAsyncHandler;
|
||||
@@ -835,9 +813,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainDownstreamBpsOfEdgeResult> DescribeDomainDownstreamBpsOfEdgeOutcome;
|
||||
typedef std::future<DescribeDomainDownstreamBpsOfEdgeOutcome> DescribeDomainDownstreamBpsOfEdgeOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainDownstreamBpsOfEdgeRequest&, const DescribeDomainDownstreamBpsOfEdgeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDownstreamBpsOfEdgeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ClearUserBlackListResult> ClearUserBlackListOutcome;
|
||||
typedef std::future<ClearUserBlackListOutcome> ClearUserBlackListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::ClearUserBlackListRequest&, const ClearUserBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClearUserBlackListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainMax95BpsDataResult> DescribeDomainMax95BpsDataOutcome;
|
||||
typedef std::future<DescribeDomainMax95BpsDataOutcome> DescribeDomainMax95BpsDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainMax95BpsDataRequest&, const DescribeDomainMax95BpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainMax95BpsDataAsyncHandler;
|
||||
@@ -990,9 +965,6 @@ namespace AlibabaCloud
|
||||
DescribeLiveStreamBitRateDataOutcome describeLiveStreamBitRateData(const Model::DescribeLiveStreamBitRateDataRequest &request)const;
|
||||
void describeLiveStreamBitRateDataAsync(const Model::DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamBitRateDataOutcomeCallable describeLiveStreamBitRateDataCallable(const Model::DescribeLiveStreamBitRateDataRequest& request) const;
|
||||
SetUserDomainBlackListOutcome setUserDomainBlackList(const Model::SetUserDomainBlackListRequest &request)const;
|
||||
void setUserDomainBlackListAsync(const Model::SetUserDomainBlackListRequest& request, const SetUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetUserDomainBlackListOutcomeCallable setUserDomainBlackListCallable(const Model::SetUserDomainBlackListRequest& request) const;
|
||||
SetLocationAccessRestrictionOutcome setLocationAccessRestriction(const Model::SetLocationAccessRestrictionRequest &request)const;
|
||||
void setLocationAccessRestrictionAsync(const Model::SetLocationAccessRestrictionRequest& request, const SetLocationAccessRestrictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetLocationAccessRestrictionOutcomeCallable setLocationAccessRestrictionCallable(const Model::SetLocationAccessRestrictionRequest& request) const;
|
||||
@@ -1311,9 +1283,6 @@ namespace AlibabaCloud
|
||||
DescribeDomainISPDataOutcome describeDomainISPData(const Model::DescribeDomainISPDataRequest &request)const;
|
||||
void describeDomainISPDataAsync(const Model::DescribeDomainISPDataRequest& request, const DescribeDomainISPDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainISPDataOutcomeCallable describeDomainISPDataCallable(const Model::DescribeDomainISPDataRequest& request) const;
|
||||
ClearUserDomainBlackListOutcome clearUserDomainBlackList(const Model::ClearUserDomainBlackListRequest &request)const;
|
||||
void clearUserDomainBlackListAsync(const Model::ClearUserDomainBlackListRequest& request, const ClearUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ClearUserDomainBlackListOutcomeCallable clearUserDomainBlackListCallable(const Model::ClearUserDomainBlackListRequest& request) const;
|
||||
DescribeDomainFileSizeProportionDataOutcome describeDomainFileSizeProportionData(const Model::DescribeDomainFileSizeProportionDataRequest &request)const;
|
||||
void describeDomainFileSizeProportionDataAsync(const Model::DescribeDomainFileSizeProportionDataRequest& request, const DescribeDomainFileSizeProportionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainFileSizeProportionDataOutcomeCallable describeDomainFileSizeProportionDataCallable(const Model::DescribeDomainFileSizeProportionDataRequest& request) const;
|
||||
@@ -1341,12 +1310,6 @@ namespace AlibabaCloud
|
||||
DescribeFCTriggerOutcome describeFCTrigger(const Model::DescribeFCTriggerRequest &request)const;
|
||||
void describeFCTriggerAsync(const Model::DescribeFCTriggerRequest& request, const DescribeFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFCTriggerOutcomeCallable describeFCTriggerCallable(const Model::DescribeFCTriggerRequest& request) const;
|
||||
SetUserBlackListOutcome setUserBlackList(const Model::SetUserBlackListRequest &request)const;
|
||||
void setUserBlackListAsync(const Model::SetUserBlackListRequest& request, const SetUserBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetUserBlackListOutcomeCallable setUserBlackListCallable(const Model::SetUserBlackListRequest& request) const;
|
||||
GetUserDomainBlackListOutcome getUserDomainBlackList(const Model::GetUserDomainBlackListRequest &request)const;
|
||||
void getUserDomainBlackListAsync(const Model::GetUserDomainBlackListRequest& request, const GetUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserDomainBlackListOutcomeCallable getUserDomainBlackListCallable(const Model::GetUserDomainBlackListRequest& request) const;
|
||||
DescribeDomainCCAttackInfoOutcome describeDomainCCAttackInfo(const Model::DescribeDomainCCAttackInfoRequest &request)const;
|
||||
void describeDomainCCAttackInfoAsync(const Model::DescribeDomainCCAttackInfoRequest& request, const DescribeDomainCCAttackInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainCCAttackInfoOutcomeCallable describeDomainCCAttackInfoCallable(const Model::DescribeDomainCCAttackInfoRequest& request) const;
|
||||
@@ -1362,9 +1325,6 @@ namespace AlibabaCloud
|
||||
DescribeDomainDownstreamBpsOfEdgeOutcome describeDomainDownstreamBpsOfEdge(const Model::DescribeDomainDownstreamBpsOfEdgeRequest &request)const;
|
||||
void describeDomainDownstreamBpsOfEdgeAsync(const Model::DescribeDomainDownstreamBpsOfEdgeRequest& request, const DescribeDomainDownstreamBpsOfEdgeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainDownstreamBpsOfEdgeOutcomeCallable describeDomainDownstreamBpsOfEdgeCallable(const Model::DescribeDomainDownstreamBpsOfEdgeRequest& request) const;
|
||||
ClearUserBlackListOutcome clearUserBlackList(const Model::ClearUserBlackListRequest &request)const;
|
||||
void clearUserBlackListAsync(const Model::ClearUserBlackListRequest& request, const ClearUserBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ClearUserBlackListOutcomeCallable clearUserBlackListCallable(const Model::ClearUserBlackListRequest& request) const;
|
||||
DescribeDomainMax95BpsDataOutcome describeDomainMax95BpsData(const Model::DescribeDomainMax95BpsDataRequest &request)const;
|
||||
void describeDomainMax95BpsDataAsync(const Model::DescribeDomainMax95BpsDataRequest& request, const DescribeDomainMax95BpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainMax95BpsDataOutcomeCallable describeDomainMax95BpsDataCallable(const Model::DescribeDomainMax95BpsDataRequest& request) const;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
@@ -80,6 +82,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -35,14 +35,19 @@ namespace AlibabaCloud
|
||||
struct CertInfo
|
||||
{
|
||||
std::string status;
|
||||
std::string certLife;
|
||||
std::string domainName;
|
||||
std::string certType;
|
||||
std::string certStartTime;
|
||||
std::string serverCertificateStatus;
|
||||
std::string serverCertificate;
|
||||
std::string certUpdateTime;
|
||||
std::string certLife;
|
||||
std::string certDomainName;
|
||||
std::string certOrg;
|
||||
std::string certType;
|
||||
std::string certCommonName;
|
||||
std::string certExpireTime;
|
||||
std::string domainCnameStatus;
|
||||
std::string certName;
|
||||
std::string serverCertificateStatus;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -67,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
@@ -103,6 +105,7 @@ namespace AlibabaCloud
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
|
||||
@@ -35,20 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeUserCustomLogConfigRequest();
|
||||
~DescribeUserCustomLogConfigRequest();
|
||||
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string securityToken_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
PushObjectCacheRequest();
|
||||
~PushObjectCacheRequest();
|
||||
|
||||
std::string getArea()const;
|
||||
void setArea(const std::string& area);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getObjectPath()const;
|
||||
@@ -45,6 +47,7 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string area_;
|
||||
std::string securityToken_;
|
||||
std::string objectPath_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -1059,42 +1059,6 @@ CdnClient::DescribeLiveStreamBitRateDataOutcomeCallable CdnClient::describeLiveS
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetUserDomainBlackListOutcome CdnClient::setUserDomainBlackList(const SetUserDomainBlackListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetUserDomainBlackListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetUserDomainBlackListOutcome(SetUserDomainBlackListResult(outcome.result()));
|
||||
else
|
||||
return SetUserDomainBlackListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::setUserDomainBlackListAsync(const SetUserDomainBlackListRequest& request, const SetUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setUserDomainBlackList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::SetUserDomainBlackListOutcomeCallable CdnClient::setUserDomainBlackListCallable(const SetUserDomainBlackListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetUserDomainBlackListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setUserDomainBlackList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetLocationAccessRestrictionOutcome CdnClient::setLocationAccessRestriction(const SetLocationAccessRestrictionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4911,42 +4875,6 @@ CdnClient::DescribeDomainISPDataOutcomeCallable CdnClient::describeDomainISPData
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::ClearUserDomainBlackListOutcome CdnClient::clearUserDomainBlackList(const ClearUserDomainBlackListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ClearUserDomainBlackListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ClearUserDomainBlackListOutcome(ClearUserDomainBlackListResult(outcome.result()));
|
||||
else
|
||||
return ClearUserDomainBlackListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::clearUserDomainBlackListAsync(const ClearUserDomainBlackListRequest& request, const ClearUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, clearUserDomainBlackList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::ClearUserDomainBlackListOutcomeCallable CdnClient::clearUserDomainBlackListCallable(const ClearUserDomainBlackListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ClearUserDomainBlackListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->clearUserDomainBlackList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainFileSizeProportionDataOutcome CdnClient::describeDomainFileSizeProportionData(const DescribeDomainFileSizeProportionDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5271,78 +5199,6 @@ CdnClient::DescribeFCTriggerOutcomeCallable CdnClient::describeFCTriggerCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetUserBlackListOutcome CdnClient::setUserBlackList(const SetUserBlackListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetUserBlackListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetUserBlackListOutcome(SetUserBlackListResult(outcome.result()));
|
||||
else
|
||||
return SetUserBlackListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::setUserBlackListAsync(const SetUserBlackListRequest& request, const SetUserBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setUserBlackList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::SetUserBlackListOutcomeCallable CdnClient::setUserBlackListCallable(const SetUserBlackListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetUserBlackListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setUserBlackList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::GetUserDomainBlackListOutcome CdnClient::getUserDomainBlackList(const GetUserDomainBlackListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetUserDomainBlackListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetUserDomainBlackListOutcome(GetUserDomainBlackListResult(outcome.result()));
|
||||
else
|
||||
return GetUserDomainBlackListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::getUserDomainBlackListAsync(const GetUserDomainBlackListRequest& request, const GetUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getUserDomainBlackList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::GetUserDomainBlackListOutcomeCallable CdnClient::getUserDomainBlackListCallable(const GetUserDomainBlackListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetUserDomainBlackListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getUserDomainBlackList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainCCAttackInfoOutcome CdnClient::describeDomainCCAttackInfo(const DescribeDomainCCAttackInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5523,42 +5379,6 @@ CdnClient::DescribeDomainDownstreamBpsOfEdgeOutcomeCallable CdnClient::describeD
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::ClearUserBlackListOutcome CdnClient::clearUserBlackList(const ClearUserBlackListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ClearUserBlackListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ClearUserBlackListOutcome(ClearUserBlackListResult(outcome.result()));
|
||||
else
|
||||
return ClearUserBlackListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::clearUserBlackListAsync(const ClearUserBlackListRequest& request, const ClearUserBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, clearUserBlackList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::ClearUserBlackListOutcomeCallable CdnClient::clearUserBlackListCallable(const ClearUserBlackListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ClearUserBlackListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->clearUserBlackList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainMax95BpsDataOutcome CdnClient::describeDomainMax95BpsData(const DescribeDomainMax95BpsDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* 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/cdn/model/ClearUserBlackListRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::ClearUserBlackListRequest;
|
||||
|
||||
ClearUserBlackListRequest::ClearUserBlackListRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "ClearUserBlackList")
|
||||
{}
|
||||
|
||||
ClearUserBlackListRequest::~ClearUserBlackListRequest()
|
||||
{}
|
||||
|
||||
std::string ClearUserBlackListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ClearUserBlackListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ClearUserBlackListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ClearUserBlackListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ClearUserBlackListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ClearUserBlackListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ClearUserBlackListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ClearUserBlackListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -36,6 +36,17 @@ void DescribeDomainCertificateInfoRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDomainCertificateInfoRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeDomainCertificateInfoRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeDomainCertificateInfoRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
|
||||
@@ -62,6 +62,16 @@ void DescribeDomainCertificateInfoResult::parse(const std::string &payload)
|
||||
certInfosObject.serverCertificateStatus = value["ServerCertificateStatus"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
certInfosObject.status = value["Status"].asString();
|
||||
if(!value["ServerCertificate"].isNull())
|
||||
certInfosObject.serverCertificate = value["ServerCertificate"].asString();
|
||||
if(!value["CertUpdateTime"].isNull())
|
||||
certInfosObject.certUpdateTime = value["CertUpdateTime"].asString();
|
||||
if(!value["CertStartTime"].isNull())
|
||||
certInfosObject.certStartTime = value["CertStartTime"].asString();
|
||||
if(!value["CertCommonName"].isNull())
|
||||
certInfosObject.certCommonName = value["CertCommonName"].asString();
|
||||
if(!value["DomainCnameStatus"].isNull())
|
||||
certInfosObject.domainCnameStatus = value["DomainCnameStatus"].asString();
|
||||
certInfos_.push_back(certInfosObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -201,6 +201,17 @@ void DescribeDomainPathDataRequest::setApp_ip(const std::string& app_ip)
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeDomainPathDataRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeDomainPathDataRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeDomainPathDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeUserCustomLogConfigRequest::DescribeUserCustomLogConfigRequest() :
|
||||
DescribeUserCustomLogConfigRequest::~DescribeUserCustomLogConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeUserCustomLogConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeUserCustomLogConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
long DescribeUserCustomLogConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -47,25 +36,3 @@ void DescribeUserCustomLogConfigRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeUserCustomLogConfigRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeUserCustomLogConfigRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string DescribeUserCustomLogConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeUserCustomLogConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
/*
|
||||
* 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/cdn/model/GetUserDomainBlackListRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::GetUserDomainBlackListRequest;
|
||||
|
||||
GetUserDomainBlackListRequest::GetUserDomainBlackListRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "GetUserDomainBlackList")
|
||||
{}
|
||||
|
||||
GetUserDomainBlackListRequest::~GetUserDomainBlackListRequest()
|
||||
{}
|
||||
|
||||
std::string GetUserDomainBlackListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetUserDomainBlackListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetUserDomainBlackListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void GetUserDomainBlackListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string GetUserDomainBlackListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void GetUserDomainBlackListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long GetUserDomainBlackListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetUserDomainBlackListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetUserDomainBlackListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetUserDomainBlackListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -25,6 +25,17 @@ PushObjectCacheRequest::PushObjectCacheRequest() :
|
||||
PushObjectCacheRequest::~PushObjectCacheRequest()
|
||||
{}
|
||||
|
||||
std::string PushObjectCacheRequest::getArea()const
|
||||
{
|
||||
return area_;
|
||||
}
|
||||
|
||||
void PushObjectCacheRequest::setArea(const std::string& area)
|
||||
{
|
||||
area_ = area;
|
||||
setParameter("Area", area);
|
||||
}
|
||||
|
||||
std::string PushObjectCacheRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
/*
|
||||
* 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/cdn/model/SetUserDomainBlackListRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::SetUserDomainBlackListRequest;
|
||||
|
||||
SetUserDomainBlackListRequest::SetUserDomainBlackListRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "SetUserDomainBlackList")
|
||||
{}
|
||||
|
||||
SetUserDomainBlackListRequest::~SetUserDomainBlackListRequest()
|
||||
{}
|
||||
|
||||
std::string SetUserDomainBlackListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void SetUserDomainBlackListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string SetUserDomainBlackListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void SetUserDomainBlackListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string SetUserDomainBlackListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SetUserDomainBlackListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long SetUserDomainBlackListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetUserDomainBlackListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SetUserDomainBlackListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SetUserDomainBlackListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -36,8 +36,10 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string facePic;
|
||||
std::string identificationNumber;
|
||||
std::string idCardStartDate;
|
||||
std::string address;
|
||||
std::string idCardFrontPic;
|
||||
std::string ethnicGroup;
|
||||
std::string sex;
|
||||
std::string idCardExpiry;
|
||||
std::string idCardType;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getBinding()const;
|
||||
void setBinding(const std::string& binding);
|
||||
std::string getVerifyConfigs()const;
|
||||
void setVerifyConfigs(const std::string& verifyConfigs);
|
||||
std::string getTicketId()const;
|
||||
void setTicketId(const std::string& ticketId);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string biz_;
|
||||
std::string sourceIp_;
|
||||
std::string binding_;
|
||||
std::string verifyConfigs_;
|
||||
std::string ticketId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::CompareFacesRequest;
|
||||
|
||||
CompareFacesRequest::CompareFacesRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "CompareFaces")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "CompareFaces")
|
||||
{}
|
||||
|
||||
CompareFacesRequest::~CompareFacesRequest()
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::DetectFaceAttributesRequest;
|
||||
|
||||
DetectFaceAttributesRequest::DetectFaceAttributesRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "DetectFaceAttributes")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "DetectFaceAttributes")
|
||||
{}
|
||||
|
||||
DetectFaceAttributesRequest::~DetectFaceAttributesRequest()
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::GetMaterialsRequest;
|
||||
|
||||
GetMaterialsRequest::GetMaterialsRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "GetMaterials")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "GetMaterials")
|
||||
{}
|
||||
|
||||
GetMaterialsRequest::~GetMaterialsRequest()
|
||||
|
||||
@@ -47,6 +47,8 @@ void GetMaterialsResult::parse(const std::string &payload)
|
||||
data_.identificationNumber = dataNode["IdentificationNumber"].asString();
|
||||
if(!dataNode["IdCardType"].isNull())
|
||||
data_.idCardType = dataNode["IdCardType"].asString();
|
||||
if(!dataNode["IdCardStartDate"].isNull())
|
||||
data_.idCardStartDate = dataNode["IdCardStartDate"].asString();
|
||||
if(!dataNode["IdCardExpiry"].isNull())
|
||||
data_.idCardExpiry = dataNode["IdCardExpiry"].asString();
|
||||
if(!dataNode["Address"].isNull())
|
||||
@@ -59,6 +61,8 @@ void GetMaterialsResult::parse(const std::string &payload)
|
||||
data_.idCardBackPic = dataNode["IdCardBackPic"].asString();
|
||||
if(!dataNode["FacePic"].isNull())
|
||||
data_.facePic = dataNode["FacePic"].asString();
|
||||
if(!dataNode["EthnicGroup"].isNull())
|
||||
data_.ethnicGroup = dataNode["EthnicGroup"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::GetStatusRequest;
|
||||
|
||||
GetStatusRequest::GetStatusRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "GetStatus")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "GetStatus")
|
||||
{}
|
||||
|
||||
GetStatusRequest::~GetStatusRequest()
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::GetVerifyTokenRequest;
|
||||
|
||||
GetVerifyTokenRequest::GetVerifyTokenRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "GetVerifyToken")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "GetVerifyToken")
|
||||
{}
|
||||
|
||||
GetVerifyTokenRequest::~GetVerifyTokenRequest()
|
||||
@@ -80,6 +80,17 @@ void GetVerifyTokenRequest::setBinding(const std::string& binding)
|
||||
setParameter("Binding", binding);
|
||||
}
|
||||
|
||||
std::string GetVerifyTokenRequest::getVerifyConfigs()const
|
||||
{
|
||||
return verifyConfigs_;
|
||||
}
|
||||
|
||||
void GetVerifyTokenRequest::setVerifyConfigs(const std::string& verifyConfigs)
|
||||
{
|
||||
verifyConfigs_ = verifyConfigs;
|
||||
setParameter("VerifyConfigs", verifyConfigs);
|
||||
}
|
||||
|
||||
std::string GetVerifyTokenRequest::getTicketId()const
|
||||
{
|
||||
return ticketId_;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::SubmitMaterialsRequest;
|
||||
|
||||
SubmitMaterialsRequest::SubmitMaterialsRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "SubmitMaterials")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "SubmitMaterials")
|
||||
{}
|
||||
|
||||
SubmitMaterialsRequest::~SubmitMaterialsRequest()
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user