Compare commits
79 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ded565f3f3 | ||
|
|
66cfddf930 | ||
|
|
819afce83a | ||
|
|
e93d1a7c5c | ||
|
|
6072a0309b | ||
|
|
cb0d2daccc | ||
|
|
231cbea1ef | ||
|
|
cbab25c0c1 | ||
|
|
da6b0bb892 | ||
|
|
76e63d3f8d | ||
|
|
374b56dd63 | ||
|
|
f189a9dbb2 | ||
|
|
f87f6a1649 | ||
|
|
d26289131f | ||
|
|
6119508e3b | ||
|
|
1f03f4f394 | ||
|
|
214a571b8a | ||
|
|
b3d7dcffc4 | ||
|
|
623d36b29e | ||
|
|
643f3a01b8 | ||
|
|
61e665d20e | ||
|
|
13aa2520bf | ||
|
|
bc8404e573 | ||
|
|
59a99f2145 | ||
|
|
f0ad440f3d | ||
|
|
6b2d4bad71 | ||
|
|
a2308b2c95 | ||
|
|
1a86503742 | ||
|
|
ccec5843c8 | ||
|
|
6182017316 | ||
|
|
a2e022baf7 | ||
|
|
cb75e762ab | ||
|
|
e82b02a876 | ||
|
|
d66718d980 | ||
|
|
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 | ||
|
|
fe5f64d980 | ||
|
|
51b845ce56 | ||
|
|
f6d7b208a9 | ||
|
|
076567c0c7 | ||
|
|
20195cdd92 | ||
|
|
7e24ec0ded | ||
|
|
6443abbf11 | ||
|
|
33d0687c01 |
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>
|
||||
274
CHANGELOG
274
CHANGELOG
@@ -1,3 +1,277 @@
|
||||
2018-11-21 Version: 1.33.2
|
||||
1, Add new apis called AddWatermark, UpdateWatermark, DeleteWatermark, ListWatermarks, GetWatermark and SetDefaultWatermark which support watermark feature.
|
||||
2, Add a new api called RegisterMedia which supports registration of audio and video media files that already exist in the OSS bucket.
|
||||
3, Add the field named OverrideParams to SubmitTranscodeJobs api request.
|
||||
|
||||
2018-11-16 Version: 1.33.1
|
||||
1, update version
|
||||
|
||||
2018-11-15 Version: 1.33.0
|
||||
1, ECS support ipv6Address
|
||||
|
||||
2018-11-14 Version: 1.32.0
|
||||
1, Better support for hybrid cluster.
|
||||
|
||||
2018-11-13 Version: 1.31.0
|
||||
1, Add FuzzyMatchDomainSensitiveWord interface,Support fuzzy matching sensitive words.
|
||||
2, Add BatchFuzzyMatchDomainSensitiveWord interface,Support batch fuzzy matching sensitive words.
|
||||
3, Add DynamicCheck properties for results of CheckDomain interface.
|
||||
|
||||
2018-11-10 Version: 1.30.5
|
||||
1, Update SetWaitingRoomConfig.
|
||||
|
||||
2018-11-08 Version: 1.30.4
|
||||
1, Fix the http response receive bug
|
||||
|
||||
2018-11-08 Version: 1.30.3
|
||||
1, Update Version.
|
||||
|
||||
|
||||
2018-11-07 Version: 1.30.2
|
||||
1, Add API CreateTemplate,DeleteTemplate,GetAllTemplate,GetTemplateInfo.
|
||||
2, Add API GetTaskStatus,StartTask,StopTask.
|
||||
3, Add API GetTaskParam,UpdateTaskParam.
|
||||
|
||||
|
||||
2018-11-02 Version: 1.30.1
|
||||
1, deviceName and productKey can be used instead of iotId.
|
||||
2, New productKey fields for queryauthentication output parameter.
|
||||
3, New deviceName fields for queryauthentication output parameter.
|
||||
|
||||
2018-11-02 Version: 1.30.0
|
||||
1, first version
|
||||
|
||||
2018-10-31 Version: 1.29.5
|
||||
1, Update SetWaitingRoomConfig.
|
||||
|
||||
2018-10-31 Version: 1.29.4
|
||||
1, Add SetWaitingRoomConfig.
|
||||
|
||||
2018-10-31 Version: 1.29.3
|
||||
1, Add SetWaitingRoomConfig.
|
||||
|
||||
2018-10-30 Version: 1.29.2
|
||||
1, Add API DescribeLiveDomainBpsData,DescribeLiveDomainTrafficData.
|
||||
|
||||
|
||||
2018-10-26 Version: 1.29.1
|
||||
1, Return AuditConclusions in SubmitMaterials API.
|
||||
|
||||
2018-10-25 Version: 1.29.0
|
||||
1, Add apis for trademark domains.
|
||||
2, Add QueryDomainAdminDivision api.
|
||||
|
||||
2018-10-16 Version: 1.28.3
|
||||
1, This version add MetricQuery interface to support retcode and apm metric query.
|
||||
|
||||
2018-10-16 Version: 1.28.2
|
||||
1, This version add MetricQuery interface to support retcode and apm metric query.
|
||||
|
||||
2018-10-16 Version: 1.28.1
|
||||
1, This version add MetricQuery interface to support retcode and apm metric query.
|
||||
|
||||
2018-10-16 Version: 1.28.0
|
||||
1, Delete deprecated and unusable apis : AddIpRange, UnbindIpRange, BindIpRange, DescribeIntranetAttributeKb, DescribeIpRanges, ModifyIntranetBandwidthKb, DescribeEventDetail, CheckAutoSnapshotPolicy, CheckDiskEnableAutoSnapshotValidation, DescribeAutoSnapshotPolicy
|
||||
2, Add instance topology api DescribeInstanceTopology
|
||||
3, Add mount point in DescribeDisksFullStatus
|
||||
|
||||
|
||||
2018-10-16 Version: 1.27.11
|
||||
1, remove set group tags API.
|
||||
|
||||
2018-10-13 Version: 1.27.10
|
||||
1, Add device group related APIs.
|
||||
|
||||
2018-10-13 Version: 1.27.9
|
||||
1, Add device group related APIs.
|
||||
|
||||
2018-10-13 Version: 1.27.8
|
||||
1, Add device group related APIs.
|
||||
|
||||
2018-10-11 Version: 1.27.7
|
||||
1, Add a new api called DeleteMezzanines to clear mezzanine infos and storages.
|
||||
2, Add the field called PlayConfig to GetVideoPlayAuth and GetPlayInfo api request.
|
||||
3, Add a new api called UpdateImageInfos to update image information.
|
||||
|
||||
2018-10-09 Version: 1.27.6
|
||||
1, v1.0.0-->v1.0.1
|
||||
2, provider new region:beijing/shenzhen/zhangjiakou
|
||||
3, provider service for VPC user;
|
||||
|
||||
2018-09-30 Version: 1.27.5
|
||||
1, This is an example of release-log.
|
||||
2, Please strictly follow this format to edit in English.
|
||||
3, Format:Number + , + Space + Description
|
||||
|
||||
2018-09-29 Version: 1.27.4
|
||||
1, Sync cdn api.
|
||||
|
||||
2018-09-29 Version: 1.27.3
|
||||
1, This is an example of release-log.
|
||||
2, Please strictly follow this format to edit in English.
|
||||
3, Format:Number + , + Space + Description
|
||||
|
||||
2018-09-29 Version: 1.27.2
|
||||
1, This is an example of release-log.
|
||||
2, Please strictly follow this format to edit in English.
|
||||
3, Format:Number + , + Space + Description
|
||||
|
||||
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
|
||||
|
||||
2018-08-01 Version: 1.20.5
|
||||
1, Add new API GetConversationDetailByContactId
|
||||
|
||||
2018-08-01 Version: 1.20.4
|
||||
1, Add api: MoPenQueryCanvas, MoPenDoRecognize, MoPenSendMqttMessage, MoPenFindGroup
|
||||
|
||||
2018-07-31 Version: 1.20.3
|
||||
1, Support describePrice for market image, add return detailInfo in interface describePrice
|
||||
|
||||
2018-07-26 Version: 1.20.2
|
||||
1, Add BatchGetJobMetricInfo API.
|
||||
2, Add BatchGetPluginConfigInfo API.
|
||||
3, Add GetJobTopology API.
|
||||
|
||||
2018-07-25 Version: 1.20.1
|
||||
1, Add RemoveTerminals API.
|
||||
|
||||
|
||||
2018-07-13 Version: 1.20.0
|
||||
1, New APIs for batch executing commands in cluster: InvokeShellCommand, ListCommands, etc.
|
||||
2, New APIs for HybridCluster (link E-HPC with cluster in local IDC): CreateHybridCluster, etc.
|
||||
3, New APIs for Container applications: AddContainerApp, etc.
|
||||
|
||||
2018-07-11 Version: 1.19.3
|
||||
1, new function: Attach and Detach Rds instance of scalingGroup.
|
||||
|
||||
|
||||
@@ -79,4 +79,17 @@ add_subdirectory(jarvis)
|
||||
add_subdirectory(scdn)
|
||||
add_subdirectory(live)
|
||||
add_subdirectory(rtc)
|
||||
add_subdirectory(chatbot)
|
||||
add_subdirectory(chatbot)
|
||||
add_subdirectory(teslastream)
|
||||
add_subdirectory(mopen)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(iot)
|
||||
add_subdirectory(linkface)
|
||||
add_subdirectory(ots)
|
||||
add_subdirectory(smartag)
|
||||
add_subdirectory(vod)
|
||||
add_subdirectory(ccs)
|
||||
add_subdirectory(saf)
|
||||
add_subdirectory(arms)
|
||||
add_subdirectory(lubancloud)
|
||||
add_subdirectory(alimt)
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
适用于阿里云的 C++ SDK 提供了一组现代化的 C++(C++ 11 或更高版本)接口,让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。
|
||||
|
||||
如果您在使用SDK的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前GitHub提交Issues。
|
||||
|
||||
完成本文档中的操作开始使用 C++ SDK。
|
||||
|
||||
## 前提条件
|
||||
|
||||
90
alimt/CMakeLists.txt
Normal file
90
alimt/CMakeLists.txt
Normal file
@@ -0,0 +1,90 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(alimt_public_header
|
||||
include/alibabacloud/alimt/AlimtClient.h
|
||||
include/alibabacloud/alimt/AlimtExport.h )
|
||||
|
||||
set(alimt_public_header_model
|
||||
include/alibabacloud/alimt/model/TranslateECommerceRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateECommerceResult.h
|
||||
include/alibabacloud/alimt/model/TranslateGeneralRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateGeneralResult.h )
|
||||
|
||||
set(alimt_src
|
||||
src/AlimtClient.cc
|
||||
src/model/TranslateECommerceRequest.cc
|
||||
src/model/TranslateECommerceResult.cc
|
||||
src/model/TranslateGeneralRequest.cc
|
||||
src/model/TranslateGeneralResult.cc )
|
||||
|
||||
add_library(alimt ${LIB_TYPE}
|
||||
${alimt_public_header}
|
||||
${alimt_public_header_model}
|
||||
${alimt_src})
|
||||
|
||||
set_target_properties(alimt
|
||||
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}alimt
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(alimt
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_ALIMT_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(alimt
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(alimt
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(alimt
|
||||
jsoncpp)
|
||||
target_include_directories(alimt
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(alimt
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(alimt
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(alimt
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(alimt
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${alimt_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alimt)
|
||||
install(FILES ${alimt_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alimt/model)
|
||||
install(TARGETS alimt
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
62
alimt/include/alibabacloud/alimt/AlimtClient.h
Normal file
62
alimt/include/alibabacloud/alimt/AlimtClient.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_ALIMTCLIENT_H_
|
||||
#define ALIBABACLOUD_ALIMT_ALIMTCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AlimtExport.h"
|
||||
#include "model/TranslateECommerceRequest.h"
|
||||
#include "model/TranslateECommerceResult.h"
|
||||
#include "model/TranslateGeneralRequest.h"
|
||||
#include "model/TranslateGeneralResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT AlimtClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::TranslateECommerceResult> TranslateECommerceOutcome;
|
||||
typedef std::future<TranslateECommerceOutcome> TranslateECommerceOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::TranslateECommerceRequest&, const TranslateECommerceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateECommerceAsyncHandler;
|
||||
typedef Outcome<Error, Model::TranslateGeneralResult> TranslateGeneralOutcome;
|
||||
typedef std::future<TranslateGeneralOutcome> TranslateGeneralOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::TranslateGeneralRequest&, const TranslateGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateGeneralAsyncHandler;
|
||||
|
||||
AlimtClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AlimtClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AlimtClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AlimtClient();
|
||||
TranslateECommerceOutcome translateECommerce(const Model::TranslateECommerceRequest &request)const;
|
||||
void translateECommerceAsync(const Model::TranslateECommerceRequest& request, const TranslateECommerceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateECommerceOutcomeCallable translateECommerceCallable(const Model::TranslateECommerceRequest& request) const;
|
||||
TranslateGeneralOutcome translateGeneral(const Model::TranslateGeneralRequest &request)const;
|
||||
void translateGeneralAsync(const Model::TranslateGeneralRequest& request, const TranslateGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateGeneralOutcomeCallable translateGeneralCallable(const Model::TranslateGeneralRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ALIMT_ALIMTCLIENT_H_
|
||||
32
alimt/include/alibabacloud/alimt/AlimtExport.h
Normal file
32
alimt/include/alibabacloud/alimt/AlimtExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_ALIMTEXPORT_H_
|
||||
#define ALIBABACLOUD_ALIMT_ALIMTEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ALIMT_LIBRARY)
|
||||
# define ALIBABACLOUD_ALIMT_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ALIMT_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ALIMT_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ALIMT_ALIMTEXPORT_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_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateECommerceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TranslateECommerceRequest();
|
||||
~TranslateECommerceRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getSourceText()const;
|
||||
void setSourceText(const std::string& sourceText);
|
||||
std::string getFormatType()const;
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateECommerceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string translated;
|
||||
};
|
||||
|
||||
|
||||
TranslateECommerceResult();
|
||||
explicit TranslateECommerceResult(const std::string &payload);
|
||||
~TranslateECommerceResult();
|
||||
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_ALIMT_MODEL_TRANSLATEECOMMERCERESULT_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_ALIMT_MODEL_TRANSLATEGENERALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateGeneralRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TranslateGeneralRequest();
|
||||
~TranslateGeneralRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getSourceText()const;
|
||||
void setSourceText(const std::string& sourceText);
|
||||
std::string getFormatType()const;
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALRESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateGeneralResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string translated;
|
||||
};
|
||||
|
||||
|
||||
TranslateGeneralResult();
|
||||
explicit TranslateGeneralResult(const std::string &payload);
|
||||
~TranslateGeneralResult();
|
||||
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_ALIMT_MODEL_TRANSLATEGENERALRESULT_H_
|
||||
125
alimt/src/AlimtClient.cc
Normal file
125
alimt/src/AlimtClient.cc
Normal 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/alimt/AlimtClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "alimt";
|
||||
}
|
||||
|
||||
AlimtClient::AlimtClient(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, "alimt");
|
||||
}
|
||||
|
||||
AlimtClient::AlimtClient(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, "alimt");
|
||||
}
|
||||
|
||||
AlimtClient::AlimtClient(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, "alimt");
|
||||
}
|
||||
|
||||
AlimtClient::~AlimtClient()
|
||||
{}
|
||||
|
||||
AlimtClient::TranslateECommerceOutcome AlimtClient::translateECommerce(const TranslateECommerceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TranslateECommerceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TranslateECommerceOutcome(TranslateECommerceResult(outcome.result()));
|
||||
else
|
||||
return TranslateECommerceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::translateECommerceAsync(const TranslateECommerceRequest& request, const TranslateECommerceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, translateECommerce(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::TranslateECommerceOutcomeCallable AlimtClient::translateECommerceCallable(const TranslateECommerceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TranslateECommerceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->translateECommerce(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::TranslateGeneralOutcome AlimtClient::translateGeneral(const TranslateGeneralRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TranslateGeneralOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TranslateGeneralOutcome(TranslateGeneralResult(outcome.result()));
|
||||
else
|
||||
return TranslateGeneralOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::translateGeneralAsync(const TranslateGeneralRequest& request, const TranslateGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, translateGeneral(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::TranslateGeneralOutcomeCallable AlimtClient::translateGeneralCallable(const TranslateGeneralRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TranslateGeneralOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->translateGeneral(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
71
alimt/src/model/TranslateECommerceRequest.cc
Normal file
71
alimt/src/model/TranslateECommerceRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateECommerceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateECommerceRequest;
|
||||
|
||||
TranslateECommerceRequest::TranslateECommerceRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "TranslateECommerce")
|
||||
{}
|
||||
|
||||
TranslateECommerceRequest::~TranslateECommerceRequest()
|
||||
{}
|
||||
|
||||
std::string TranslateECommerceRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setParameter("SourceLanguage", sourceLanguage);
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getSourceText()const
|
||||
{
|
||||
return sourceText_;
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setSourceText(const std::string& sourceText)
|
||||
{
|
||||
sourceText_ = sourceText;
|
||||
setParameter("SourceText", sourceText);
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getFormatType()const
|
||||
{
|
||||
return formatType_;
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setFormatType(const std::string& formatType)
|
||||
{
|
||||
formatType_ = formatType;
|
||||
setParameter("FormatType", formatType);
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setParameter("TargetLanguage", targetLanguage);
|
||||
}
|
||||
|
||||
67
alimt/src/model/TranslateECommerceResult.cc
Normal file
67
alimt/src/model/TranslateECommerceResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateECommerceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
TranslateECommerceResult::TranslateECommerceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TranslateECommerceResult::TranslateECommerceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TranslateECommerceResult::~TranslateECommerceResult()
|
||||
{}
|
||||
|
||||
void TranslateECommerceResult::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["Translated"].isNull())
|
||||
data_.translated = dataNode["Translated"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TranslateECommerceResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
TranslateECommerceResult::Data TranslateECommerceResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int TranslateECommerceResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
71
alimt/src/model/TranslateGeneralRequest.cc
Normal file
71
alimt/src/model/TranslateGeneralRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateGeneralRequest;
|
||||
|
||||
TranslateGeneralRequest::TranslateGeneralRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "TranslateGeneral")
|
||||
{}
|
||||
|
||||
TranslateGeneralRequest::~TranslateGeneralRequest()
|
||||
{}
|
||||
|
||||
std::string TranslateGeneralRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setParameter("SourceLanguage", sourceLanguage);
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getSourceText()const
|
||||
{
|
||||
return sourceText_;
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setSourceText(const std::string& sourceText)
|
||||
{
|
||||
sourceText_ = sourceText;
|
||||
setParameter("SourceText", sourceText);
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getFormatType()const
|
||||
{
|
||||
return formatType_;
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setFormatType(const std::string& formatType)
|
||||
{
|
||||
formatType_ = formatType;
|
||||
setParameter("FormatType", formatType);
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setParameter("TargetLanguage", targetLanguage);
|
||||
}
|
||||
|
||||
67
alimt/src/model/TranslateGeneralResult.cc
Normal file
67
alimt/src/model/TranslateGeneralResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
TranslateGeneralResult::TranslateGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TranslateGeneralResult::TranslateGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TranslateGeneralResult::~TranslateGeneralResult()
|
||||
{}
|
||||
|
||||
void TranslateGeneralResult::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["Translated"].isNull())
|
||||
data_.translated = dataNode["Translated"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TranslateGeneralResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
TranslateGeneralResult::Data TranslateGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int TranslateGeneralResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
90
arms/CMakeLists.txt
Normal file
90
arms/CMakeLists.txt
Normal file
@@ -0,0 +1,90 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(arms_public_header
|
||||
include/alibabacloud/arms/ARMSClient.h
|
||||
include/alibabacloud/arms/ARMSExport.h )
|
||||
|
||||
set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/ARMSQueryDataSetRequest.h
|
||||
include/alibabacloud/arms/model/ARMSQueryDataSetResult.h
|
||||
include/alibabacloud/arms/model/MetricQueryRequest.h
|
||||
include/alibabacloud/arms/model/MetricQueryResult.h )
|
||||
|
||||
set(arms_src
|
||||
src/ARMSClient.cc
|
||||
src/model/ARMSQueryDataSetRequest.cc
|
||||
src/model/ARMSQueryDataSetResult.cc
|
||||
src/model/MetricQueryRequest.cc
|
||||
src/model/MetricQueryResult.cc )
|
||||
|
||||
add_library(arms ${LIB_TYPE}
|
||||
${arms_public_header}
|
||||
${arms_public_header_model}
|
||||
${arms_src})
|
||||
|
||||
set_target_properties(arms
|
||||
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}arms
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(arms
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_ARMS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(arms
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(arms
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(arms
|
||||
jsoncpp)
|
||||
target_include_directories(arms
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(arms
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(arms
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(arms
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(arms
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${arms_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms)
|
||||
install(FILES ${arms_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms/model)
|
||||
install(TARGETS arms
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
62
arms/include/alibabacloud/arms/ARMSClient.h
Normal file
62
arms/include/alibabacloud/arms/ARMSClient.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
#define ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ARMSExport.h"
|
||||
#include "model/ARMSQueryDataSetRequest.h"
|
||||
#include "model/ARMSQueryDataSetResult.h"
|
||||
#include "model/MetricQueryRequest.h"
|
||||
#include "model/MetricQueryResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ARMSQueryDataSetResult> ARMSQueryDataSetOutcome;
|
||||
typedef std::future<ARMSQueryDataSetOutcome> ARMSQueryDataSetOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ARMSQueryDataSetRequest&, const ARMSQueryDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ARMSQueryDataSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::MetricQueryResult> MetricQueryOutcome;
|
||||
typedef std::future<MetricQueryOutcome> MetricQueryOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::MetricQueryRequest&, const MetricQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MetricQueryAsyncHandler;
|
||||
|
||||
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ARMSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ARMSClient();
|
||||
ARMSQueryDataSetOutcome aRMSQueryDataSet(const Model::ARMSQueryDataSetRequest &request)const;
|
||||
void aRMSQueryDataSetAsync(const Model::ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ARMSQueryDataSetOutcomeCallable aRMSQueryDataSetCallable(const Model::ARMSQueryDataSetRequest& request) const;
|
||||
MetricQueryOutcome metricQuery(const Model::MetricQueryRequest &request)const;
|
||||
void metricQueryAsync(const Model::MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MetricQueryOutcomeCallable metricQueryCallable(const Model::MetricQueryRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
32
arms/include/alibabacloud/arms/ARMSExport.h
Normal file
32
arms/include/alibabacloud/arms/ARMSExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_ARMSEXPORT_H_
|
||||
#define ALIBABACLOUD_ARMS_ARMSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ARMS_LIBRARY)
|
||||
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ARMS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ARMS_ARMSEXPORT_H_
|
||||
114
arms/include/alibabacloud/arms/model/ARMSQueryDataSetRequest.h
Normal file
114
arms/include/alibabacloud/arms/model/ARMSQueryDataSetRequest.h
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetRequest : public RpcServiceRequest
|
||||
{
|
||||
struct OptionalDims
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct RequiredDims
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Dimensions
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ARMSQueryDataSetRequest();
|
||||
~ARMSQueryDataSetRequest();
|
||||
|
||||
std::string getDateStr()const;
|
||||
void setDateStr(const std::string& dateStr);
|
||||
long getMinTime()const;
|
||||
void setMinTime(long minTime);
|
||||
bool getReduceTail()const;
|
||||
void setReduceTail(bool reduceTail);
|
||||
long getMaxTime()const;
|
||||
void setMaxTime(long maxTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::vector<OptionalDims> getOptionalDims()const;
|
||||
void setOptionalDims(const std::vector<OptionalDims>& optionalDims);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
int getIntervalInSec()const;
|
||||
void setIntervalInSec(int intervalInSec);
|
||||
bool getIsDrillDown()const;
|
||||
void setIsDrillDown(bool isDrillDown);
|
||||
bool getHungryMode()const;
|
||||
void setHungryMode(bool hungryMode);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getOrderByKey()const;
|
||||
void setOrderByKey(const std::string& orderByKey);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
std::vector<RequiredDims> getRequiredDims()const;
|
||||
void setRequiredDims(const std::vector<RequiredDims>& requiredDims);
|
||||
long getDatasetId()const;
|
||||
void setDatasetId(long datasetId);
|
||||
std::vector<Dimensions> getDimensions()const;
|
||||
void setDimensions(const std::vector<Dimensions>& dimensions);
|
||||
|
||||
private:
|
||||
std::string dateStr_;
|
||||
long minTime_;
|
||||
bool reduceTail_;
|
||||
long maxTime_;
|
||||
std::string accessKeyId_;
|
||||
std::vector<OptionalDims> optionalDims_;
|
||||
std::vector<std::string> measures_;
|
||||
int intervalInSec_;
|
||||
bool isDrillDown_;
|
||||
bool hungryMode_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string orderByKey_;
|
||||
int limit_;
|
||||
std::vector<RequiredDims> requiredDims_;
|
||||
long datasetId_;
|
||||
std::vector<Dimensions> dimensions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ARMSQueryDataSetResult();
|
||||
explicit ARMSQueryDataSetResult(const std::string &payload);
|
||||
~ARMSQueryDataSetResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
86
arms/include/alibabacloud/arms/model/MetricQueryRequest.h
Normal file
86
arms/include/alibabacloud/arms/model/MetricQueryRequest.h
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT MetricQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Filters
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
MetricQueryRequest();
|
||||
~MetricQueryRequest();
|
||||
|
||||
int getIintervalInSec()const;
|
||||
void setIintervalInSec(int iintervalInSec);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
std::string getMetric()const;
|
||||
void setMetric(const std::string& metric);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::vector<Filters> getFilters()const;
|
||||
void setFilters(const std::vector<Filters>& filters);
|
||||
std::vector<std::string> getDimensions()const;
|
||||
void setDimensions(const std::vector<std::string>& dimensions);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
int iintervalInSec_;
|
||||
std::vector<std::string> measures_;
|
||||
std::string metric_;
|
||||
std::string securityToken_;
|
||||
int limit_;
|
||||
long endTime_;
|
||||
std::string orderBy_;
|
||||
long startTime_;
|
||||
std::vector<Filters> filters_;
|
||||
std::vector<std::string> dimensions_;
|
||||
std::string order_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
51
arms/include/alibabacloud/arms/model/MetricQueryResult.h
Normal file
51
arms/include/alibabacloud/arms/model/MetricQueryResult.h
Normal 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_ARMS_MODEL_METRICQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT MetricQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MetricQueryResult();
|
||||
explicit MetricQueryResult(const std::string &payload);
|
||||
~MetricQueryResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
|
||||
125
arms/src/ARMSClient.cc
Normal file
125
arms/src/ARMSClient.cc
Normal 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/arms/ARMSClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "ARMS";
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(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, "");
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(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, "");
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(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, "");
|
||||
}
|
||||
|
||||
ARMSClient::~ARMSClient()
|
||||
{}
|
||||
|
||||
ARMSClient::ARMSQueryDataSetOutcome ARMSClient::aRMSQueryDataSet(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(ARMSQueryDataSetResult(outcome.result()));
|
||||
else
|
||||
return ARMSQueryDataSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::aRMSQueryDataSetAsync(const ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, aRMSQueryDataSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::ARMSQueryDataSetOutcomeCallable ARMSClient::aRMSQueryDataSetCallable(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ARMSQueryDataSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->aRMSQueryDataSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::MetricQueryOutcome ARMSClient::metricQuery(const MetricQueryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MetricQueryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MetricQueryOutcome(MetricQueryResult(outcome.result()));
|
||||
else
|
||||
return MetricQueryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::metricQueryAsync(const MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, metricQuery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::MetricQueryOutcomeCallable ARMSClient::metricQueryCallable(const MetricQueryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MetricQueryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->metricQuery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
236
arms/src/model/ARMSQueryDataSetRequest.cc
Normal file
236
arms/src/model/ARMSQueryDataSetRequest.cc
Normal file
@@ -0,0 +1,236 @@
|
||||
/*
|
||||
* 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/arms/model/ARMSQueryDataSetRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::ARMSQueryDataSetRequest;
|
||||
|
||||
ARMSQueryDataSetRequest::ARMSQueryDataSetRequest() :
|
||||
RpcServiceRequest("arms", "2018-10-15", "ARMSQueryDataSet")
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetRequest::~ARMSQueryDataSetRequest()
|
||||
{}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getDateStr()const
|
||||
{
|
||||
return dateStr_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDateStr(const std::string& dateStr)
|
||||
{
|
||||
dateStr_ = dateStr;
|
||||
setParameter("DateStr", dateStr);
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getMinTime()const
|
||||
{
|
||||
return minTime_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMinTime(long minTime)
|
||||
{
|
||||
minTime_ = minTime;
|
||||
setParameter("MinTime", std::to_string(minTime));
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getReduceTail()const
|
||||
{
|
||||
return reduceTail_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setReduceTail(bool reduceTail)
|
||||
{
|
||||
reduceTail_ = reduceTail;
|
||||
setParameter("ReduceTail", std::to_string(reduceTail));
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getMaxTime()const
|
||||
{
|
||||
return maxTime_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMaxTime(long maxTime)
|
||||
{
|
||||
maxTime_ = maxTime;
|
||||
setParameter("MaxTime", std::to_string(maxTime));
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::OptionalDims> ARMSQueryDataSetRequest::getOptionalDims()const
|
||||
{
|
||||
return optionalDims_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setOptionalDims(const std::vector<OptionalDims>& optionalDims)
|
||||
{
|
||||
optionalDims_ = optionalDims;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= optionalDims.size(); i++) {
|
||||
auto obj = optionalDims.at(i);
|
||||
std::string str ="OptionalDims."+ std::to_string(i);
|
||||
setParameter(str + ".Type", obj.type);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ARMSQueryDataSetRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
|
||||
int ARMSQueryDataSetRequest::getIntervalInSec()const
|
||||
{
|
||||
return intervalInSec_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setIntervalInSec(int intervalInSec)
|
||||
{
|
||||
intervalInSec_ = intervalInSec;
|
||||
setParameter("IntervalInSec", std::to_string(intervalInSec));
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getIsDrillDown()const
|
||||
{
|
||||
return isDrillDown_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setIsDrillDown(bool isDrillDown)
|
||||
{
|
||||
isDrillDown_ = isDrillDown;
|
||||
setParameter("IsDrillDown", std::to_string(isDrillDown));
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getHungryMode()const
|
||||
{
|
||||
return hungryMode_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setHungryMode(bool hungryMode)
|
||||
{
|
||||
hungryMode_ = hungryMode;
|
||||
setParameter("HungryMode", std::to_string(hungryMode));
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getOrderByKey()const
|
||||
{
|
||||
return orderByKey_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setOrderByKey(const std::string& orderByKey)
|
||||
{
|
||||
orderByKey_ = orderByKey;
|
||||
setParameter("OrderByKey", orderByKey);
|
||||
}
|
||||
|
||||
int ARMSQueryDataSetRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::RequiredDims> ARMSQueryDataSetRequest::getRequiredDims()const
|
||||
{
|
||||
return requiredDims_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setRequiredDims(const std::vector<RequiredDims>& requiredDims)
|
||||
{
|
||||
requiredDims_ = requiredDims;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= requiredDims.size(); i++) {
|
||||
auto obj = requiredDims.at(i);
|
||||
std::string str ="RequiredDims."+ std::to_string(i);
|
||||
setParameter(str + ".Type", obj.type);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getDatasetId()const
|
||||
{
|
||||
return datasetId_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDatasetId(long datasetId)
|
||||
{
|
||||
datasetId_ = datasetId;
|
||||
setParameter("DatasetId", std::to_string(datasetId));
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::Dimensions> ARMSQueryDataSetRequest::getDimensions()const
|
||||
{
|
||||
return dimensions_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDimensions(const std::vector<Dimensions>& dimensions)
|
||||
{
|
||||
dimensions_ = dimensions;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= dimensions.size(); i++) {
|
||||
auto obj = dimensions.at(i);
|
||||
std::string str ="Dimensions."+ std::to_string(i);
|
||||
setParameter(str + ".Type", obj.type);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
52
arms/src/model/ARMSQueryDataSetResult.cc
Normal file
52
arms/src/model/ARMSQueryDataSetResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/arms/model/ARMSQueryDataSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
ARMSQueryDataSetResult::ARMSQueryDataSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetResult::ARMSQueryDataSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ARMSQueryDataSetResult::~ARMSQueryDataSetResult()
|
||||
{}
|
||||
|
||||
void ARMSQueryDataSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
167
arms/src/model/MetricQueryRequest.cc
Normal file
167
arms/src/model/MetricQueryRequest.cc
Normal file
@@ -0,0 +1,167 @@
|
||||
/*
|
||||
* 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/arms/model/MetricQueryRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::MetricQueryRequest;
|
||||
|
||||
MetricQueryRequest::MetricQueryRequest() :
|
||||
RpcServiceRequest("arms", "2018-10-15", "MetricQuery")
|
||||
{}
|
||||
|
||||
MetricQueryRequest::~MetricQueryRequest()
|
||||
{}
|
||||
|
||||
int MetricQueryRequest::getIintervalInSec()const
|
||||
{
|
||||
return iintervalInSec_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setIintervalInSec(int iintervalInSec)
|
||||
{
|
||||
iintervalInSec_ = iintervalInSec;
|
||||
setParameter("IintervalInSec", std::to_string(iintervalInSec));
|
||||
}
|
||||
|
||||
std::vector<std::string> MetricQueryRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getMetric()const
|
||||
{
|
||||
return metric_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setMetric(const std::string& metric)
|
||||
{
|
||||
metric_ = metric;
|
||||
setParameter("Metric", metric);
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
int MetricQueryRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
long MetricQueryRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
long MetricQueryRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::vector<MetricQueryRequest::Filters> MetricQueryRequest::getFilters()const
|
||||
{
|
||||
return filters_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setFilters(const std::vector<Filters>& filters)
|
||||
{
|
||||
filters_ = filters;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= filters.size(); i++) {
|
||||
auto obj = filters.at(i);
|
||||
std::string str ="Filters."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> MetricQueryRequest::getDimensions()const
|
||||
{
|
||||
return dimensions_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setDimensions(const std::vector<std::string>& dimensions)
|
||||
{
|
||||
dimensions_ = dimensions;
|
||||
for(int i = 0; i!= dimensions.size(); i++)
|
||||
setParameter("Dimensions."+ std::to_string(i), dimensions.at(i));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
52
arms/src/model/MetricQueryResult.cc
Normal file
52
arms/src/model/MetricQueryResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/arms/model/MetricQueryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
MetricQueryResult::MetricQueryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
MetricQueryResult::MetricQueryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
MetricQueryResult::~MetricQueryResult()
|
||||
{}
|
||||
|
||||
void MetricQueryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string MetricQueryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -21,89 +21,325 @@ set(ccc_public_header
|
||||
include/alibabacloud/ccc/CCCExport.h )
|
||||
|
||||
set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ListRecordingsByContactIdRequest.h
|
||||
include/alibabacloud/ccc/model/ListRecordingsByContactIdResult.h
|
||||
include/alibabacloud/ccc/model/ListUsersOfSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ListUsersOfSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/GetJobListRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobListResult.h
|
||||
include/alibabacloud/ccc/model/ListUsersRequest.h
|
||||
include/alibabacloud/ccc/model/ListUsersResult.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsResult.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsOfUserResult.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/TwoPartiesCallRequest.h
|
||||
include/alibabacloud/ccc/model/TwoPartiesCallResult.h
|
||||
include/alibabacloud/ccc/model/DeleteSurveyRequest.h
|
||||
include/alibabacloud/ccc/model/DeleteSurveyResult.h
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
|
||||
include/alibabacloud/ccc/model/DownloadUnreachableContactsRequest.h
|
||||
include/alibabacloud/ccc/model/DownloadUnreachableContactsResult.h
|
||||
include/alibabacloud/ccc/model/DialogueRequest.h
|
||||
include/alibabacloud/ccc/model/DialogueResult.h
|
||||
include/alibabacloud/ccc/model/RefreshTokenRequest.h
|
||||
include/alibabacloud/ccc/model/RefreshTokenResult.h
|
||||
include/alibabacloud/ccc/model/CreateBatchJobsRequest.h
|
||||
include/alibabacloud/ccc/model/CreateBatchJobsResult.h
|
||||
include/alibabacloud/ccc/model/RequestLoginInfoRequest.h
|
||||
include/alibabacloud/ccc/model/RequestLoginInfoResult.h
|
||||
include/alibabacloud/ccc/model/GetJobTemplateDownloadParamsRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobTemplateDownloadParamsResult.h
|
||||
include/alibabacloud/ccc/model/RemoveUsersRequest.h
|
||||
include/alibabacloud/ccc/model/RemoveUsersResult.h
|
||||
include/alibabacloud/ccc/model/CancelPredictiveJobsRequest.h
|
||||
include/alibabacloud/ccc/model/CancelPredictiveJobsResult.h
|
||||
include/alibabacloud/ccc/model/StartBack2BackCallRequest.h
|
||||
include/alibabacloud/ccc/model/StartBack2BackCallResult.h
|
||||
include/alibabacloud/ccc/model/PublishSurveyRequest.h
|
||||
include/alibabacloud/ccc/model/PublishSurveyResult.h
|
||||
include/alibabacloud/ccc/model/GetUserRequest.h
|
||||
include/alibabacloud/ccc/model/GetUserResult.h
|
||||
include/alibabacloud/ccc/model/GetConversationListRequest.h
|
||||
include/alibabacloud/ccc/model/GetConversationListResult.h
|
||||
include/alibabacloud/ccc/model/ListUsersOfSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ListUsersOfSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ListJobsByGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ListJobsByGroupResult.h
|
||||
include/alibabacloud/ccc/model/ListPredictiveJobStatusRequest.h
|
||||
include/alibabacloud/ccc/model/ListPredictiveJobStatusResult.h
|
||||
include/alibabacloud/ccc/model/ListJobGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/ListJobGroupsResult.h
|
||||
include/alibabacloud/ccc/model/ListCallDetailRecordsRequest.h
|
||||
include/alibabacloud/ccc/model/ListCallDetailRecordsResult.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/ListRecordingsRequest.h
|
||||
include/alibabacloud/ccc/model/ListRecordingsResult.h
|
||||
include/alibabacloud/ccc/model/EncryptRequest.h
|
||||
include/alibabacloud/ccc/model/EncryptResult.h
|
||||
include/alibabacloud/ccc/model/SubmitBatchJobsRequest.h
|
||||
include/alibabacloud/ccc/model/SubmitBatchJobsResult.h
|
||||
include/alibabacloud/ccc/model/ListSurveysRequest.h
|
||||
include/alibabacloud/ccc/model/ListSurveysResult.h
|
||||
include/alibabacloud/ccc/model/GetJobDataUploadParamsRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobDataUploadParamsResult.h
|
||||
include/alibabacloud/ccc/model/ListBasicStatisticsReportSubItemsRequest.h
|
||||
include/alibabacloud/ccc/model/ListBasicStatisticsReportSubItemsResult.h
|
||||
include/alibabacloud/ccc/model/SuspendJobsRequest.h
|
||||
include/alibabacloud/ccc/model/SuspendJobsResult.h
|
||||
include/alibabacloud/ccc/model/GetJobGroupRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobGroupResult.h
|
||||
include/alibabacloud/ccc/model/GetJobStatusByCallIdRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobStatusByCallIdResult.h
|
||||
include/alibabacloud/ccc/model/ListUnreachableContactsRequest.h
|
||||
include/alibabacloud/ccc/model/ListUnreachableContactsResult.h
|
||||
include/alibabacloud/ccc/model/ModifySkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/ModifySkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/GetConversationDetailByContactIdRequest.h
|
||||
include/alibabacloud/ccc/model/GetConversationDetailByContactIdResult.h
|
||||
include/alibabacloud/ccc/model/ListRecordingsByContactIdRequest.h
|
||||
include/alibabacloud/ccc/model/ListRecordingsByContactIdResult.h
|
||||
include/alibabacloud/ccc/model/LaunchAppraiseRequest.h
|
||||
include/alibabacloud/ccc/model/LaunchAppraiseResult.h
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/ModifyUserRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyUserResult.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/ListSkillGroupsResult.h
|
||||
include/alibabacloud/ccc/model/CreateScenarioRequest.h
|
||||
include/alibabacloud/ccc/model/CreateScenarioResult.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/PickLocalNumberRequest.h
|
||||
include/alibabacloud/ccc/model/PickLocalNumberResult.h
|
||||
include/alibabacloud/ccc/model/GetJobRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobResult.h
|
||||
include/alibabacloud/ccc/model/StartJobRequest.h
|
||||
include/alibabacloud/ccc/model/StartJobResult.h
|
||||
include/alibabacloud/ccc/model/CancelJobsRequest.h
|
||||
include/alibabacloud/ccc/model/CancelJobsResult.h
|
||||
include/alibabacloud/ccc/model/GetConfigRequest.h
|
||||
include/alibabacloud/ccc/model/GetConfigResult.h
|
||||
include/alibabacloud/ccc/model/DownloadRecordingRequest.h
|
||||
include/alibabacloud/ccc/model/DownloadRecordingResult.h
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
|
||||
include/alibabacloud/ccc/model/RefreshTokenRequest.h
|
||||
include/alibabacloud/ccc/model/RefreshTokenResult.h
|
||||
include/alibabacloud/ccc/model/RequestLoginInfoRequest.h
|
||||
include/alibabacloud/ccc/model/RequestLoginInfoResult.h
|
||||
include/alibabacloud/ccc/model/GenerateAgentStatisticReportRequest.h
|
||||
include/alibabacloud/ccc/model/GenerateAgentStatisticReportResult.h
|
||||
include/alibabacloud/ccc/model/CreateScenarioFromTemplateRequest.h
|
||||
include/alibabacloud/ccc/model/CreateScenarioFromTemplateResult.h
|
||||
include/alibabacloud/ccc/model/CreateJobGroupRequest.h
|
||||
include/alibabacloud/ccc/model/CreateJobGroupResult.h
|
||||
include/alibabacloud/ccc/model/GetTaskListRequest.h
|
||||
include/alibabacloud/ccc/model/GetTaskListResult.h
|
||||
include/alibabacloud/ccc/model/DownloadOriginalStatisticsReportRequest.h
|
||||
include/alibabacloud/ccc/model/DownloadOriginalStatisticsReportResult.h
|
||||
include/alibabacloud/ccc/model/ListScenarioTemplatesRequest.h
|
||||
include/alibabacloud/ccc/model/ListScenarioTemplatesResult.h
|
||||
include/alibabacloud/ccc/model/ResumeJobsRequest.h
|
||||
include/alibabacloud/ccc/model/ResumeJobsResult.h
|
||||
include/alibabacloud/ccc/model/AssignUsersRequest.h
|
||||
include/alibabacloud/ccc/model/AssignUsersResult.h
|
||||
include/alibabacloud/ccc/model/GetSurveyRequest.h
|
||||
include/alibabacloud/ccc/model/GetSurveyResult.h
|
||||
include/alibabacloud/ccc/model/ListRolesRequest.h
|
||||
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
|
||||
include/alibabacloud/ccc/model/ListScenariosResult.h
|
||||
include/alibabacloud/ccc/model/ListRealTimeAgentRequest.h
|
||||
include/alibabacloud/ccc/model/ListRealTimeAgentResult.h
|
||||
include/alibabacloud/ccc/model/AssignJobsRequest.h
|
||||
include/alibabacloud/ccc/model/AssignJobsResult.h
|
||||
include/alibabacloud/ccc/model/CreateUserRequest.h
|
||||
include/alibabacloud/ccc/model/CreateUserResult.h
|
||||
include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListPrivilegesOfUserResult.h
|
||||
include/alibabacloud/ccc/model/GetNumberRegionInfoRequest.h
|
||||
include/alibabacloud/ccc/model/GetNumberRegionInfoResult.h
|
||||
include/alibabacloud/ccc/model/GetScenarioRequest.h
|
||||
include/alibabacloud/ccc/model/GetScenarioResult.h
|
||||
include/alibabacloud/ccc/model/CreatePredictiveJobsRequest.h
|
||||
include/alibabacloud/ccc/model/CreatePredictiveJobsResult.h
|
||||
include/alibabacloud/ccc/model/GetAgentDataRequest.h
|
||||
include/alibabacloud/ccc/model/GetAgentDataResult.h
|
||||
include/alibabacloud/ccc/model/CreateSurveyRequest.h
|
||||
include/alibabacloud/ccc/model/CreateSurveyResult.h
|
||||
include/alibabacloud/ccc/model/ListJobStatusRequest.h
|
||||
include/alibabacloud/ccc/model/ListJobStatusResult.h
|
||||
include/alibabacloud/ccc/model/ModifySurveyRequest.h
|
||||
include/alibabacloud/ccc/model/ModifySurveyResult.h
|
||||
include/alibabacloud/ccc/model/ModifyScenarioRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyScenarioResult.h
|
||||
include/alibabacloud/ccc/model/CreateSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/CreateSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/GetServiceExtensionsRequest.h
|
||||
include/alibabacloud/ccc/model/GetServiceExtensionsResult.h
|
||||
include/alibabacloud/ccc/model/ListContactFlowsRequest.h
|
||||
include/alibabacloud/ccc/model/ListContactFlowsResult.h
|
||||
include/alibabacloud/ccc/model/ListRolesRequest.h
|
||||
include/alibabacloud/ccc/model/ListRolesResult.h
|
||||
include/alibabacloud/ccc/model/GetUserRequest.h
|
||||
include/alibabacloud/ccc/model/GetUserResult.h )
|
||||
include/alibabacloud/ccc/model/DeleteJobGroupRequest.h
|
||||
include/alibabacloud/ccc/model/DeleteJobGroupResult.h )
|
||||
|
||||
set(ccc_src
|
||||
src/CCCClient.cc
|
||||
src/model/ListRecordingsByContactIdRequest.cc
|
||||
src/model/ListRecordingsByContactIdResult.cc
|
||||
src/model/ListUsersOfSkillGroupRequest.cc
|
||||
src/model/ListUsersOfSkillGroupResult.cc
|
||||
src/model/DeleteSkillGroupRequest.cc
|
||||
src/model/DeleteSkillGroupResult.cc
|
||||
src/model/ModifyPhoneNumberRequest.cc
|
||||
src/model/ModifyPhoneNumberResult.cc
|
||||
src/model/GetJobListRequest.cc
|
||||
src/model/GetJobListResult.cc
|
||||
src/model/ListUsersRequest.cc
|
||||
src/model/ListUsersResult.cc
|
||||
src/model/ListSkillGroupsRequest.cc
|
||||
src/model/ListSkillGroupsResult.cc
|
||||
src/model/ListSkillGroupsOfUserRequest.cc
|
||||
src/model/ListSkillGroupsOfUserResult.cc
|
||||
src/model/RemovePhoneNumberRequest.cc
|
||||
src/model/RemovePhoneNumberResult.cc
|
||||
src/model/TwoPartiesCallRequest.cc
|
||||
src/model/TwoPartiesCallResult.cc
|
||||
src/model/DeleteSurveyRequest.cc
|
||||
src/model/DeleteSurveyResult.cc
|
||||
src/model/ListPhoneNumbersRequest.cc
|
||||
src/model/ListPhoneNumbersResult.cc
|
||||
src/model/DownloadUnreachableContactsRequest.cc
|
||||
src/model/DownloadUnreachableContactsResult.cc
|
||||
src/model/DialogueRequest.cc
|
||||
src/model/DialogueResult.cc
|
||||
src/model/RefreshTokenRequest.cc
|
||||
src/model/RefreshTokenResult.cc
|
||||
src/model/CreateBatchJobsRequest.cc
|
||||
src/model/CreateBatchJobsResult.cc
|
||||
src/model/RequestLoginInfoRequest.cc
|
||||
src/model/RequestLoginInfoResult.cc
|
||||
src/model/GetJobTemplateDownloadParamsRequest.cc
|
||||
src/model/GetJobTemplateDownloadParamsResult.cc
|
||||
src/model/RemoveUsersRequest.cc
|
||||
src/model/RemoveUsersResult.cc
|
||||
src/model/CancelPredictiveJobsRequest.cc
|
||||
src/model/CancelPredictiveJobsResult.cc
|
||||
src/model/StartBack2BackCallRequest.cc
|
||||
src/model/StartBack2BackCallResult.cc
|
||||
src/model/PublishSurveyRequest.cc
|
||||
src/model/PublishSurveyResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/GetConversationListRequest.cc
|
||||
src/model/GetConversationListResult.cc
|
||||
src/model/ListUsersOfSkillGroupRequest.cc
|
||||
src/model/ListUsersOfSkillGroupResult.cc
|
||||
src/model/ListJobsByGroupRequest.cc
|
||||
src/model/ListJobsByGroupResult.cc
|
||||
src/model/ListPredictiveJobStatusRequest.cc
|
||||
src/model/ListPredictiveJobStatusResult.cc
|
||||
src/model/ListJobGroupsRequest.cc
|
||||
src/model/ListJobGroupsResult.cc
|
||||
src/model/ListCallDetailRecordsRequest.cc
|
||||
src/model/ListCallDetailRecordsResult.cc
|
||||
src/model/AddPhoneNumberRequest.cc
|
||||
src/model/AddPhoneNumberResult.cc
|
||||
src/model/ListRecordingsRequest.cc
|
||||
src/model/ListRecordingsResult.cc
|
||||
src/model/EncryptRequest.cc
|
||||
src/model/EncryptResult.cc
|
||||
src/model/SubmitBatchJobsRequest.cc
|
||||
src/model/SubmitBatchJobsResult.cc
|
||||
src/model/ListSurveysRequest.cc
|
||||
src/model/ListSurveysResult.cc
|
||||
src/model/GetJobDataUploadParamsRequest.cc
|
||||
src/model/GetJobDataUploadParamsResult.cc
|
||||
src/model/ListBasicStatisticsReportSubItemsRequest.cc
|
||||
src/model/ListBasicStatisticsReportSubItemsResult.cc
|
||||
src/model/SuspendJobsRequest.cc
|
||||
src/model/SuspendJobsResult.cc
|
||||
src/model/GetJobGroupRequest.cc
|
||||
src/model/GetJobGroupResult.cc
|
||||
src/model/GetJobStatusByCallIdRequest.cc
|
||||
src/model/GetJobStatusByCallIdResult.cc
|
||||
src/model/ListUnreachableContactsRequest.cc
|
||||
src/model/ListUnreachableContactsResult.cc
|
||||
src/model/ModifySkillGroupRequest.cc
|
||||
src/model/ModifySkillGroupResult.cc
|
||||
src/model/GetConversationDetailByContactIdRequest.cc
|
||||
src/model/GetConversationDetailByContactIdResult.cc
|
||||
src/model/ListRecordingsByContactIdRequest.cc
|
||||
src/model/ListRecordingsByContactIdResult.cc
|
||||
src/model/LaunchAppraiseRequest.cc
|
||||
src/model/LaunchAppraiseResult.cc
|
||||
src/model/DeleteSkillGroupRequest.cc
|
||||
src/model/DeleteSkillGroupResult.cc
|
||||
src/model/ModifyUserRequest.cc
|
||||
src/model/ModifyUserResult.cc
|
||||
src/model/ListSkillGroupsRequest.cc
|
||||
src/model/ListSkillGroupsResult.cc
|
||||
src/model/CreateScenarioRequest.cc
|
||||
src/model/CreateScenarioResult.cc
|
||||
src/model/RemovePhoneNumberRequest.cc
|
||||
src/model/RemovePhoneNumberResult.cc
|
||||
src/model/PickLocalNumberRequest.cc
|
||||
src/model/PickLocalNumberResult.cc
|
||||
src/model/GetJobRequest.cc
|
||||
src/model/GetJobResult.cc
|
||||
src/model/StartJobRequest.cc
|
||||
src/model/StartJobResult.cc
|
||||
src/model/CancelJobsRequest.cc
|
||||
src/model/CancelJobsResult.cc
|
||||
src/model/GetConfigRequest.cc
|
||||
src/model/GetConfigResult.cc
|
||||
src/model/DownloadRecordingRequest.cc
|
||||
src/model/DownloadRecordingResult.cc
|
||||
src/model/ListPhoneNumbersRequest.cc
|
||||
src/model/ListPhoneNumbersResult.cc
|
||||
src/model/RefreshTokenRequest.cc
|
||||
src/model/RefreshTokenResult.cc
|
||||
src/model/RequestLoginInfoRequest.cc
|
||||
src/model/RequestLoginInfoResult.cc
|
||||
src/model/GenerateAgentStatisticReportRequest.cc
|
||||
src/model/GenerateAgentStatisticReportResult.cc
|
||||
src/model/CreateScenarioFromTemplateRequest.cc
|
||||
src/model/CreateScenarioFromTemplateResult.cc
|
||||
src/model/CreateJobGroupRequest.cc
|
||||
src/model/CreateJobGroupResult.cc
|
||||
src/model/GetTaskListRequest.cc
|
||||
src/model/GetTaskListResult.cc
|
||||
src/model/DownloadOriginalStatisticsReportRequest.cc
|
||||
src/model/DownloadOriginalStatisticsReportResult.cc
|
||||
src/model/ListScenarioTemplatesRequest.cc
|
||||
src/model/ListScenarioTemplatesResult.cc
|
||||
src/model/ResumeJobsRequest.cc
|
||||
src/model/ResumeJobsResult.cc
|
||||
src/model/AssignUsersRequest.cc
|
||||
src/model/AssignUsersResult.cc
|
||||
src/model/GetSurveyRequest.cc
|
||||
src/model/GetSurveyResult.cc
|
||||
src/model/ListRolesRequest.cc
|
||||
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
|
||||
src/model/ListScenariosResult.cc
|
||||
src/model/ListRealTimeAgentRequest.cc
|
||||
src/model/ListRealTimeAgentResult.cc
|
||||
src/model/AssignJobsRequest.cc
|
||||
src/model/AssignJobsResult.cc
|
||||
src/model/CreateUserRequest.cc
|
||||
src/model/CreateUserResult.cc
|
||||
src/model/ListPrivilegesOfUserRequest.cc
|
||||
src/model/ListPrivilegesOfUserResult.cc
|
||||
src/model/GetNumberRegionInfoRequest.cc
|
||||
src/model/GetNumberRegionInfoResult.cc
|
||||
src/model/GetScenarioRequest.cc
|
||||
src/model/GetScenarioResult.cc
|
||||
src/model/CreatePredictiveJobsRequest.cc
|
||||
src/model/CreatePredictiveJobsResult.cc
|
||||
src/model/GetAgentDataRequest.cc
|
||||
src/model/GetAgentDataResult.cc
|
||||
src/model/CreateSurveyRequest.cc
|
||||
src/model/CreateSurveyResult.cc
|
||||
src/model/ListJobStatusRequest.cc
|
||||
src/model/ListJobStatusResult.cc
|
||||
src/model/ModifySurveyRequest.cc
|
||||
src/model/ModifySurveyResult.cc
|
||||
src/model/ModifyScenarioRequest.cc
|
||||
src/model/ModifyScenarioResult.cc
|
||||
src/model/CreateSkillGroupRequest.cc
|
||||
src/model/CreateSkillGroupResult.cc
|
||||
src/model/GetServiceExtensionsRequest.cc
|
||||
src/model/GetServiceExtensionsResult.cc
|
||||
src/model/ListContactFlowsRequest.cc
|
||||
src/model/ListContactFlowsResult.cc
|
||||
src/model/ListRolesRequest.cc
|
||||
src/model/ListRolesResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc )
|
||||
src/model/DeleteJobGroupRequest.cc
|
||||
src/model/DeleteJobGroupResult.cc )
|
||||
|
||||
add_library(ccc ${LIB_TYPE}
|
||||
${ccc_public_header}
|
||||
|
||||
@@ -22,46 +22,164 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CCCExport.h"
|
||||
#include "model/ListRecordingsByContactIdRequest.h"
|
||||
#include "model/ListRecordingsByContactIdResult.h"
|
||||
#include "model/ListUsersOfSkillGroupRequest.h"
|
||||
#include "model/ListUsersOfSkillGroupResult.h"
|
||||
#include "model/DeleteSkillGroupRequest.h"
|
||||
#include "model/DeleteSkillGroupResult.h"
|
||||
#include "model/ModifyPhoneNumberRequest.h"
|
||||
#include "model/ModifyPhoneNumberResult.h"
|
||||
#include "model/GetJobListRequest.h"
|
||||
#include "model/GetJobListResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/ListSkillGroupsRequest.h"
|
||||
#include "model/ListSkillGroupsResult.h"
|
||||
#include "model/ListSkillGroupsOfUserRequest.h"
|
||||
#include "model/ListSkillGroupsOfUserResult.h"
|
||||
#include "model/RemovePhoneNumberRequest.h"
|
||||
#include "model/RemovePhoneNumberResult.h"
|
||||
#include "model/TwoPartiesCallRequest.h"
|
||||
#include "model/TwoPartiesCallResult.h"
|
||||
#include "model/DeleteSurveyRequest.h"
|
||||
#include "model/DeleteSurveyResult.h"
|
||||
#include "model/ListPhoneNumbersRequest.h"
|
||||
#include "model/ListPhoneNumbersResult.h"
|
||||
#include "model/DownloadUnreachableContactsRequest.h"
|
||||
#include "model/DownloadUnreachableContactsResult.h"
|
||||
#include "model/DialogueRequest.h"
|
||||
#include "model/DialogueResult.h"
|
||||
#include "model/RefreshTokenRequest.h"
|
||||
#include "model/RefreshTokenResult.h"
|
||||
#include "model/CreateBatchJobsRequest.h"
|
||||
#include "model/CreateBatchJobsResult.h"
|
||||
#include "model/RequestLoginInfoRequest.h"
|
||||
#include "model/RequestLoginInfoResult.h"
|
||||
#include "model/GetJobTemplateDownloadParamsRequest.h"
|
||||
#include "model/GetJobTemplateDownloadParamsResult.h"
|
||||
#include "model/RemoveUsersRequest.h"
|
||||
#include "model/RemoveUsersResult.h"
|
||||
#include "model/CancelPredictiveJobsRequest.h"
|
||||
#include "model/CancelPredictiveJobsResult.h"
|
||||
#include "model/StartBack2BackCallRequest.h"
|
||||
#include "model/StartBack2BackCallResult.h"
|
||||
#include "model/PublishSurveyRequest.h"
|
||||
#include "model/PublishSurveyResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/GetConversationListRequest.h"
|
||||
#include "model/GetConversationListResult.h"
|
||||
#include "model/ListUsersOfSkillGroupRequest.h"
|
||||
#include "model/ListUsersOfSkillGroupResult.h"
|
||||
#include "model/ListJobsByGroupRequest.h"
|
||||
#include "model/ListJobsByGroupResult.h"
|
||||
#include "model/ListPredictiveJobStatusRequest.h"
|
||||
#include "model/ListPredictiveJobStatusResult.h"
|
||||
#include "model/ListJobGroupsRequest.h"
|
||||
#include "model/ListJobGroupsResult.h"
|
||||
#include "model/ListCallDetailRecordsRequest.h"
|
||||
#include "model/ListCallDetailRecordsResult.h"
|
||||
#include "model/AddPhoneNumberRequest.h"
|
||||
#include "model/AddPhoneNumberResult.h"
|
||||
#include "model/ListRecordingsRequest.h"
|
||||
#include "model/ListRecordingsResult.h"
|
||||
#include "model/EncryptRequest.h"
|
||||
#include "model/EncryptResult.h"
|
||||
#include "model/SubmitBatchJobsRequest.h"
|
||||
#include "model/SubmitBatchJobsResult.h"
|
||||
#include "model/ListSurveysRequest.h"
|
||||
#include "model/ListSurveysResult.h"
|
||||
#include "model/GetJobDataUploadParamsRequest.h"
|
||||
#include "model/GetJobDataUploadParamsResult.h"
|
||||
#include "model/ListBasicStatisticsReportSubItemsRequest.h"
|
||||
#include "model/ListBasicStatisticsReportSubItemsResult.h"
|
||||
#include "model/SuspendJobsRequest.h"
|
||||
#include "model/SuspendJobsResult.h"
|
||||
#include "model/GetJobGroupRequest.h"
|
||||
#include "model/GetJobGroupResult.h"
|
||||
#include "model/GetJobStatusByCallIdRequest.h"
|
||||
#include "model/GetJobStatusByCallIdResult.h"
|
||||
#include "model/ListUnreachableContactsRequest.h"
|
||||
#include "model/ListUnreachableContactsResult.h"
|
||||
#include "model/ModifySkillGroupRequest.h"
|
||||
#include "model/ModifySkillGroupResult.h"
|
||||
#include "model/GetConversationDetailByContactIdRequest.h"
|
||||
#include "model/GetConversationDetailByContactIdResult.h"
|
||||
#include "model/ListRecordingsByContactIdRequest.h"
|
||||
#include "model/ListRecordingsByContactIdResult.h"
|
||||
#include "model/LaunchAppraiseRequest.h"
|
||||
#include "model/LaunchAppraiseResult.h"
|
||||
#include "model/DeleteSkillGroupRequest.h"
|
||||
#include "model/DeleteSkillGroupResult.h"
|
||||
#include "model/ModifyUserRequest.h"
|
||||
#include "model/ModifyUserResult.h"
|
||||
#include "model/ListSkillGroupsRequest.h"
|
||||
#include "model/ListSkillGroupsResult.h"
|
||||
#include "model/CreateScenarioRequest.h"
|
||||
#include "model/CreateScenarioResult.h"
|
||||
#include "model/RemovePhoneNumberRequest.h"
|
||||
#include "model/RemovePhoneNumberResult.h"
|
||||
#include "model/PickLocalNumberRequest.h"
|
||||
#include "model/PickLocalNumberResult.h"
|
||||
#include "model/GetJobRequest.h"
|
||||
#include "model/GetJobResult.h"
|
||||
#include "model/StartJobRequest.h"
|
||||
#include "model/StartJobResult.h"
|
||||
#include "model/CancelJobsRequest.h"
|
||||
#include "model/CancelJobsResult.h"
|
||||
#include "model/GetConfigRequest.h"
|
||||
#include "model/GetConfigResult.h"
|
||||
#include "model/DownloadRecordingRequest.h"
|
||||
#include "model/DownloadRecordingResult.h"
|
||||
#include "model/ListPhoneNumbersRequest.h"
|
||||
#include "model/ListPhoneNumbersResult.h"
|
||||
#include "model/RefreshTokenRequest.h"
|
||||
#include "model/RefreshTokenResult.h"
|
||||
#include "model/RequestLoginInfoRequest.h"
|
||||
#include "model/RequestLoginInfoResult.h"
|
||||
#include "model/GenerateAgentStatisticReportRequest.h"
|
||||
#include "model/GenerateAgentStatisticReportResult.h"
|
||||
#include "model/CreateScenarioFromTemplateRequest.h"
|
||||
#include "model/CreateScenarioFromTemplateResult.h"
|
||||
#include "model/CreateJobGroupRequest.h"
|
||||
#include "model/CreateJobGroupResult.h"
|
||||
#include "model/GetTaskListRequest.h"
|
||||
#include "model/GetTaskListResult.h"
|
||||
#include "model/DownloadOriginalStatisticsReportRequest.h"
|
||||
#include "model/DownloadOriginalStatisticsReportResult.h"
|
||||
#include "model/ListScenarioTemplatesRequest.h"
|
||||
#include "model/ListScenarioTemplatesResult.h"
|
||||
#include "model/ResumeJobsRequest.h"
|
||||
#include "model/ResumeJobsResult.h"
|
||||
#include "model/AssignUsersRequest.h"
|
||||
#include "model/AssignUsersResult.h"
|
||||
#include "model/GetSurveyRequest.h"
|
||||
#include "model/GetSurveyResult.h"
|
||||
#include "model/ListRolesRequest.h"
|
||||
#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"
|
||||
#include "model/ListScenariosResult.h"
|
||||
#include "model/ListRealTimeAgentRequest.h"
|
||||
#include "model/ListRealTimeAgentResult.h"
|
||||
#include "model/AssignJobsRequest.h"
|
||||
#include "model/AssignJobsResult.h"
|
||||
#include "model/CreateUserRequest.h"
|
||||
#include "model/CreateUserResult.h"
|
||||
#include "model/ListPrivilegesOfUserRequest.h"
|
||||
#include "model/ListPrivilegesOfUserResult.h"
|
||||
#include "model/GetNumberRegionInfoRequest.h"
|
||||
#include "model/GetNumberRegionInfoResult.h"
|
||||
#include "model/GetScenarioRequest.h"
|
||||
#include "model/GetScenarioResult.h"
|
||||
#include "model/CreatePredictiveJobsRequest.h"
|
||||
#include "model/CreatePredictiveJobsResult.h"
|
||||
#include "model/GetAgentDataRequest.h"
|
||||
#include "model/GetAgentDataResult.h"
|
||||
#include "model/CreateSurveyRequest.h"
|
||||
#include "model/CreateSurveyResult.h"
|
||||
#include "model/ListJobStatusRequest.h"
|
||||
#include "model/ListJobStatusResult.h"
|
||||
#include "model/ModifySurveyRequest.h"
|
||||
#include "model/ModifySurveyResult.h"
|
||||
#include "model/ModifyScenarioRequest.h"
|
||||
#include "model/ModifyScenarioResult.h"
|
||||
#include "model/CreateSkillGroupRequest.h"
|
||||
#include "model/CreateSkillGroupResult.h"
|
||||
#include "model/GetServiceExtensionsRequest.h"
|
||||
#include "model/GetServiceExtensionsResult.h"
|
||||
#include "model/ListContactFlowsRequest.h"
|
||||
#include "model/ListContactFlowsResult.h"
|
||||
#include "model/ListRolesRequest.h"
|
||||
#include "model/ListRolesResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/DeleteJobGroupRequest.h"
|
||||
#include "model/DeleteJobGroupResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -71,131 +189,485 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CCC_EXPORT CCCClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ListRecordingsByContactIdResult> ListRecordingsByContactIdOutcome;
|
||||
typedef std::future<ListRecordingsByContactIdOutcome> ListRecordingsByContactIdOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRecordingsByContactIdRequest&, const ListRecordingsByContactIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRecordingsByContactIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersOfSkillGroupResult> ListUsersOfSkillGroupOutcome;
|
||||
typedef std::future<ListUsersOfSkillGroupOutcome> ListUsersOfSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUsersOfSkillGroupRequest&, const ListUsersOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersOfSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSkillGroupResult> DeleteSkillGroupOutcome;
|
||||
typedef std::future<DeleteSkillGroupOutcome> DeleteSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DeleteSkillGroupRequest&, const DeleteSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSkillGroupAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetJobListResult> GetJobListOutcome;
|
||||
typedef std::future<GetJobListOutcome> GetJobListOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobListRequest&, const GetJobListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSkillGroupsResult> ListSkillGroupsOutcome;
|
||||
typedef std::future<ListSkillGroupsOutcome> ListSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillGroupsRequest&, const ListSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSkillGroupsOfUserResult> ListSkillGroupsOfUserOutcome;
|
||||
typedef std::future<ListSkillGroupsOfUserOutcome> ListSkillGroupsOfUserOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListSkillGroupsOfUserResult> ListSkillGroupsOfUserOutcome;
|
||||
typedef std::future<ListSkillGroupsOfUserOutcome> ListSkillGroupsOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillGroupsOfUserRequest&, const ListSkillGroupsOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillGroupsOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemovePhoneNumberResult> RemovePhoneNumberOutcome;
|
||||
typedef std::future<RemovePhoneNumberOutcome> RemovePhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumberRequest&, const RemovePhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumberAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCallDetailRecordsResult> ListCallDetailRecordsOutcome;
|
||||
typedef std::future<ListCallDetailRecordsOutcome> ListCallDetailRecordsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListCallDetailRecordsRequest&, const ListCallDetailRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCallDetailRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPhoneNumberResult> AddPhoneNumberOutcome;
|
||||
typedef std::future<AddPhoneNumberOutcome> AddPhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddPhoneNumberRequest&, const AddPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPhoneNumberAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRecordingsResult> ListRecordingsOutcome;
|
||||
typedef std::future<ListRecordingsOutcome> ListRecordingsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRecordingsRequest&, const ListRecordingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRecordingsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConfigResult> GetConfigOutcome;
|
||||
typedef std::future<GetConfigOutcome> GetConfigOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetConfigRequest&, const GetConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DownloadRecordingResult> DownloadRecordingOutcome;
|
||||
typedef std::future<DownloadRecordingOutcome> DownloadRecordingOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DownloadRecordingRequest&, const DownloadRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadRecordingAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhoneNumbersResult> ListPhoneNumbersOutcome;
|
||||
typedef std::future<ListPhoneNumbersOutcome> ListPhoneNumbersOutcomeCallable;
|
||||
typedef Outcome<Error, Model::TwoPartiesCallResult> TwoPartiesCallOutcome;
|
||||
typedef std::future<TwoPartiesCallOutcome> TwoPartiesCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::TwoPartiesCallRequest&, const TwoPartiesCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TwoPartiesCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSurveyResult> DeleteSurveyOutcome;
|
||||
typedef std::future<DeleteSurveyOutcome> DeleteSurveyOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DeleteSurveyRequest&, const DeleteSurveyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSurveyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhoneNumbersResult> ListPhoneNumbersOutcome;
|
||||
typedef std::future<ListPhoneNumbersOutcome> ListPhoneNumbersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPhoneNumbersRequest&, const ListPhoneNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhoneNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::RefreshTokenResult> RefreshTokenOutcome;
|
||||
typedef std::future<RefreshTokenOutcome> RefreshTokenOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DownloadUnreachableContactsResult> DownloadUnreachableContactsOutcome;
|
||||
typedef std::future<DownloadUnreachableContactsOutcome> DownloadUnreachableContactsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DownloadUnreachableContactsRequest&, const DownloadUnreachableContactsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadUnreachableContactsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DialogueResult> DialogueOutcome;
|
||||
typedef std::future<DialogueOutcome> DialogueOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DialogueRequest&, const DialogueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DialogueAsyncHandler;
|
||||
typedef Outcome<Error, Model::RefreshTokenResult> RefreshTokenOutcome;
|
||||
typedef std::future<RefreshTokenOutcome> RefreshTokenOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RefreshTokenRequest&, const RefreshTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::RequestLoginInfoResult> RequestLoginInfoOutcome;
|
||||
typedef std::future<RequestLoginInfoOutcome> RequestLoginInfoOutcomeCallable;
|
||||
typedef Outcome<Error, Model::CreateBatchJobsResult> CreateBatchJobsOutcome;
|
||||
typedef std::future<CreateBatchJobsOutcome> CreateBatchJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateBatchJobsRequest&, const CreateBatchJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBatchJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::RequestLoginInfoResult> RequestLoginInfoOutcome;
|
||||
typedef std::future<RequestLoginInfoOutcome> RequestLoginInfoOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RequestLoginInfoRequest&, const RequestLoginInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RequestLoginInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServiceExtensionsResult> GetServiceExtensionsOutcome;
|
||||
typedef std::future<GetServiceExtensionsOutcome> GetServiceExtensionsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetServiceExtensionsRequest&, const GetServiceExtensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceExtensionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListContactFlowsResult> ListContactFlowsOutcome;
|
||||
typedef std::future<ListContactFlowsOutcome> ListContactFlowsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListContactFlowsRequest&, const ListContactFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListContactFlowsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRolesResult> ListRolesOutcome;
|
||||
typedef std::future<ListRolesOutcome> ListRolesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRolesRequest&, const ListRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRolesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetJobTemplateDownloadParamsResult> GetJobTemplateDownloadParamsOutcome;
|
||||
typedef std::future<GetJobTemplateDownloadParamsOutcome> GetJobTemplateDownloadParamsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobTemplateDownloadParamsRequest&, const GetJobTemplateDownloadParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobTemplateDownloadParamsAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveUsersResult> RemoveUsersOutcome;
|
||||
typedef std::future<RemoveUsersOutcome> RemoveUsersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemoveUsersRequest&, const RemoveUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelPredictiveJobsResult> CancelPredictiveJobsOutcome;
|
||||
typedef std::future<CancelPredictiveJobsOutcome> CancelPredictiveJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CancelPredictiveJobsRequest&, const CancelPredictiveJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelPredictiveJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartBack2BackCallResult> StartBack2BackCallOutcome;
|
||||
typedef std::future<StartBack2BackCallOutcome> StartBack2BackCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::StartBack2BackCallRequest&, const StartBack2BackCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartBack2BackCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishSurveyResult> PublishSurveyOutcome;
|
||||
typedef std::future<PublishSurveyOutcome> PublishSurveyOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PublishSurveyRequest&, const PublishSurveyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishSurveyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConversationListResult> GetConversationListOutcome;
|
||||
typedef std::future<GetConversationListOutcome> GetConversationListOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetConversationListRequest&, const GetConversationListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConversationListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersOfSkillGroupResult> ListUsersOfSkillGroupOutcome;
|
||||
typedef std::future<ListUsersOfSkillGroupOutcome> ListUsersOfSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUsersOfSkillGroupRequest&, const ListUsersOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersOfSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListJobsByGroupResult> ListJobsByGroupOutcome;
|
||||
typedef std::future<ListJobsByGroupOutcome> ListJobsByGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListJobsByGroupRequest&, const ListJobsByGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobsByGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPredictiveJobStatusResult> ListPredictiveJobStatusOutcome;
|
||||
typedef std::future<ListPredictiveJobStatusOutcome> ListPredictiveJobStatusOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPredictiveJobStatusRequest&, const ListPredictiveJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPredictiveJobStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListJobGroupsResult> ListJobGroupsOutcome;
|
||||
typedef std::future<ListJobGroupsOutcome> ListJobGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListJobGroupsRequest&, const ListJobGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCallDetailRecordsResult> ListCallDetailRecordsOutcome;
|
||||
typedef std::future<ListCallDetailRecordsOutcome> ListCallDetailRecordsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListCallDetailRecordsRequest&, const ListCallDetailRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCallDetailRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPhoneNumberResult> AddPhoneNumberOutcome;
|
||||
typedef std::future<AddPhoneNumberOutcome> AddPhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddPhoneNumberRequest&, const AddPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPhoneNumberAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRecordingsResult> ListRecordingsOutcome;
|
||||
typedef std::future<ListRecordingsOutcome> ListRecordingsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRecordingsRequest&, const ListRecordingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRecordingsAsyncHandler;
|
||||
typedef Outcome<Error, Model::EncryptResult> EncryptOutcome;
|
||||
typedef std::future<EncryptOutcome> EncryptOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::EncryptRequest&, const EncryptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EncryptAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitBatchJobsResult> SubmitBatchJobsOutcome;
|
||||
typedef std::future<SubmitBatchJobsOutcome> SubmitBatchJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::SubmitBatchJobsRequest&, const SubmitBatchJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitBatchJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSurveysResult> ListSurveysOutcome;
|
||||
typedef std::future<ListSurveysOutcome> ListSurveysOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSurveysRequest&, const ListSurveysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSurveysAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobDataUploadParamsResult> GetJobDataUploadParamsOutcome;
|
||||
typedef std::future<GetJobDataUploadParamsOutcome> GetJobDataUploadParamsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobDataUploadParamsRequest&, const GetJobDataUploadParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobDataUploadParamsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListBasicStatisticsReportSubItemsResult> ListBasicStatisticsReportSubItemsOutcome;
|
||||
typedef std::future<ListBasicStatisticsReportSubItemsOutcome> ListBasicStatisticsReportSubItemsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListBasicStatisticsReportSubItemsRequest&, const ListBasicStatisticsReportSubItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBasicStatisticsReportSubItemsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendJobsResult> SuspendJobsOutcome;
|
||||
typedef std::future<SuspendJobsOutcome> SuspendJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::SuspendJobsRequest&, const SuspendJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobGroupResult> GetJobGroupOutcome;
|
||||
typedef std::future<GetJobGroupOutcome> GetJobGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobGroupRequest&, const GetJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobStatusByCallIdResult> GetJobStatusByCallIdOutcome;
|
||||
typedef std::future<GetJobStatusByCallIdOutcome> GetJobStatusByCallIdOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobStatusByCallIdRequest&, const GetJobStatusByCallIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobStatusByCallIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUnreachableContactsResult> ListUnreachableContactsOutcome;
|
||||
typedef std::future<ListUnreachableContactsOutcome> ListUnreachableContactsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUnreachableContactsRequest&, const ListUnreachableContactsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUnreachableContactsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySkillGroupResult> ModifySkillGroupOutcome;
|
||||
typedef std::future<ModifySkillGroupOutcome> ModifySkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifySkillGroupRequest&, const ModifySkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConversationDetailByContactIdResult> GetConversationDetailByContactIdOutcome;
|
||||
typedef std::future<GetConversationDetailByContactIdOutcome> GetConversationDetailByContactIdOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetConversationDetailByContactIdRequest&, const GetConversationDetailByContactIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConversationDetailByContactIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRecordingsByContactIdResult> ListRecordingsByContactIdOutcome;
|
||||
typedef std::future<ListRecordingsByContactIdOutcome> ListRecordingsByContactIdOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRecordingsByContactIdRequest&, const ListRecordingsByContactIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRecordingsByContactIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::LaunchAppraiseResult> LaunchAppraiseOutcome;
|
||||
typedef std::future<LaunchAppraiseOutcome> LaunchAppraiseOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::LaunchAppraiseRequest&, const LaunchAppraiseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LaunchAppraiseAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSkillGroupResult> DeleteSkillGroupOutcome;
|
||||
typedef std::future<DeleteSkillGroupOutcome> DeleteSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DeleteSkillGroupRequest&, const DeleteSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyUserResult> ModifyUserOutcome;
|
||||
typedef std::future<ModifyUserOutcome> ModifyUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyUserRequest&, const ModifyUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSkillGroupsResult> ListSkillGroupsOutcome;
|
||||
typedef std::future<ListSkillGroupsOutcome> ListSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillGroupsRequest&, const ListSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateScenarioResult> CreateScenarioOutcome;
|
||||
typedef std::future<CreateScenarioOutcome> CreateScenarioOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateScenarioRequest&, const CreateScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateScenarioAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemovePhoneNumberResult> RemovePhoneNumberOutcome;
|
||||
typedef std::future<RemovePhoneNumberOutcome> RemovePhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumberRequest&, const RemovePhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumberAsyncHandler;
|
||||
typedef Outcome<Error, Model::PickLocalNumberResult> PickLocalNumberOutcome;
|
||||
typedef std::future<PickLocalNumberOutcome> PickLocalNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PickLocalNumberRequest&, const PickLocalNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PickLocalNumberAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobResult> GetJobOutcome;
|
||||
typedef std::future<GetJobOutcome> GetJobOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobRequest&, const GetJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartJobResult> StartJobOutcome;
|
||||
typedef std::future<StartJobOutcome> StartJobOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::StartJobRequest&, const StartJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelJobsResult> CancelJobsOutcome;
|
||||
typedef std::future<CancelJobsOutcome> CancelJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CancelJobsRequest&, const CancelJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConfigResult> GetConfigOutcome;
|
||||
typedef std::future<GetConfigOutcome> GetConfigOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetConfigRequest&, const GetConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DownloadRecordingResult> DownloadRecordingOutcome;
|
||||
typedef std::future<DownloadRecordingOutcome> DownloadRecordingOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DownloadRecordingRequest&, const DownloadRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadRecordingAsyncHandler;
|
||||
typedef Outcome<Error, Model::GenerateAgentStatisticReportResult> GenerateAgentStatisticReportOutcome;
|
||||
typedef std::future<GenerateAgentStatisticReportOutcome> GenerateAgentStatisticReportOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GenerateAgentStatisticReportRequest&, const GenerateAgentStatisticReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateAgentStatisticReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateScenarioFromTemplateResult> CreateScenarioFromTemplateOutcome;
|
||||
typedef std::future<CreateScenarioFromTemplateOutcome> CreateScenarioFromTemplateOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateScenarioFromTemplateRequest&, const CreateScenarioFromTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateScenarioFromTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateJobGroupResult> CreateJobGroupOutcome;
|
||||
typedef std::future<CreateJobGroupOutcome> CreateJobGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateJobGroupRequest&, const CreateJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTaskListResult> GetTaskListOutcome;
|
||||
typedef std::future<GetTaskListOutcome> GetTaskListOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetTaskListRequest&, const GetTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DownloadOriginalStatisticsReportResult> DownloadOriginalStatisticsReportOutcome;
|
||||
typedef std::future<DownloadOriginalStatisticsReportOutcome> DownloadOriginalStatisticsReportOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DownloadOriginalStatisticsReportRequest&, const DownloadOriginalStatisticsReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadOriginalStatisticsReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListScenarioTemplatesResult> ListScenarioTemplatesOutcome;
|
||||
typedef std::future<ListScenarioTemplatesOutcome> ListScenarioTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListScenarioTemplatesRequest&, const ListScenarioTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScenarioTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResumeJobsResult> ResumeJobsOutcome;
|
||||
typedef std::future<ResumeJobsOutcome> ResumeJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ResumeJobsRequest&, const ResumeJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssignUsersResult> AssignUsersOutcome;
|
||||
typedef std::future<AssignUsersOutcome> AssignUsersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AssignUsersRequest&, const AssignUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSurveyResult> GetSurveyOutcome;
|
||||
typedef std::future<GetSurveyOutcome> GetSurveyOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetSurveyRequest&, const GetSurveyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSurveyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRolesResult> ListRolesOutcome;
|
||||
typedef std::future<ListRolesOutcome> ListRolesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRolesRequest&, const ListRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRolesAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::ListScenariosResult> ListScenariosOutcome;
|
||||
typedef std::future<ListScenariosOutcome> ListScenariosOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListScenariosRequest&, const ListScenariosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScenariosAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRealTimeAgentResult> ListRealTimeAgentOutcome;
|
||||
typedef std::future<ListRealTimeAgentOutcome> ListRealTimeAgentOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRealTimeAgentRequest&, const ListRealTimeAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRealTimeAgentAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssignJobsResult> AssignJobsOutcome;
|
||||
typedef std::future<AssignJobsOutcome> AssignJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AssignJobsRequest&, const AssignJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
|
||||
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrivilegesOfUserResult> ListPrivilegesOfUserOutcome;
|
||||
typedef std::future<ListPrivilegesOfUserOutcome> ListPrivilegesOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPrivilegesOfUserRequest&, const ListPrivilegesOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivilegesOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetNumberRegionInfoResult> GetNumberRegionInfoOutcome;
|
||||
typedef std::future<GetNumberRegionInfoOutcome> GetNumberRegionInfoOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetNumberRegionInfoRequest&, const GetNumberRegionInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNumberRegionInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetScenarioResult> GetScenarioOutcome;
|
||||
typedef std::future<GetScenarioOutcome> GetScenarioOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetScenarioRequest&, const GetScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetScenarioAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePredictiveJobsResult> CreatePredictiveJobsOutcome;
|
||||
typedef std::future<CreatePredictiveJobsOutcome> CreatePredictiveJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreatePredictiveJobsRequest&, const CreatePredictiveJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePredictiveJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAgentDataResult> GetAgentDataOutcome;
|
||||
typedef std::future<GetAgentDataOutcome> GetAgentDataOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetAgentDataRequest&, const GetAgentDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSurveyResult> CreateSurveyOutcome;
|
||||
typedef std::future<CreateSurveyOutcome> CreateSurveyOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateSurveyRequest&, const CreateSurveyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSurveyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListJobStatusResult> ListJobStatusOutcome;
|
||||
typedef std::future<ListJobStatusOutcome> ListJobStatusOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListJobStatusRequest&, const ListJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySurveyResult> ModifySurveyOutcome;
|
||||
typedef std::future<ModifySurveyOutcome> ModifySurveyOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifySurveyRequest&, const ModifySurveyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySurveyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyScenarioResult> ModifyScenarioOutcome;
|
||||
typedef std::future<ModifyScenarioOutcome> ModifyScenarioOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyScenarioRequest&, const ModifyScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyScenarioAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSkillGroupResult> CreateSkillGroupOutcome;
|
||||
typedef std::future<CreateSkillGroupOutcome> CreateSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateSkillGroupRequest&, const CreateSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServiceExtensionsResult> GetServiceExtensionsOutcome;
|
||||
typedef std::future<GetServiceExtensionsOutcome> GetServiceExtensionsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetServiceExtensionsRequest&, const GetServiceExtensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceExtensionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListContactFlowsResult> ListContactFlowsOutcome;
|
||||
typedef std::future<ListContactFlowsOutcome> ListContactFlowsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListContactFlowsRequest&, const ListContactFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListContactFlowsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteJobGroupResult> DeleteJobGroupOutcome;
|
||||
typedef std::future<DeleteJobGroupOutcome> DeleteJobGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DeleteJobGroupRequest&, const DeleteJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteJobGroupAsyncHandler;
|
||||
|
||||
CCCClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CCCClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CCCClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CCCClient();
|
||||
ListRecordingsByContactIdOutcome listRecordingsByContactId(const Model::ListRecordingsByContactIdRequest &request)const;
|
||||
void listRecordingsByContactIdAsync(const Model::ListRecordingsByContactIdRequest& request, const ListRecordingsByContactIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRecordingsByContactIdOutcomeCallable listRecordingsByContactIdCallable(const Model::ListRecordingsByContactIdRequest& request) const;
|
||||
ListUsersOfSkillGroupOutcome listUsersOfSkillGroup(const Model::ListUsersOfSkillGroupRequest &request)const;
|
||||
void listUsersOfSkillGroupAsync(const Model::ListUsersOfSkillGroupRequest& request, const ListUsersOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOfSkillGroupOutcomeCallable listUsersOfSkillGroupCallable(const Model::ListUsersOfSkillGroupRequest& request) const;
|
||||
DeleteSkillGroupOutcome deleteSkillGroup(const Model::DeleteSkillGroupRequest &request)const;
|
||||
void deleteSkillGroupAsync(const Model::DeleteSkillGroupRequest& request, const DeleteSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSkillGroupOutcomeCallable deleteSkillGroupCallable(const Model::DeleteSkillGroupRequest& 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;
|
||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||
ListSkillGroupsOutcome listSkillGroups(const Model::ListSkillGroupsRequest &request)const;
|
||||
void listSkillGroupsAsync(const Model::ListSkillGroupsRequest& request, const ListSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillGroupsOutcomeCallable listSkillGroupsCallable(const Model::ListSkillGroupsRequest& request) const;
|
||||
ListSkillGroupsOfUserOutcome listSkillGroupsOfUser(const Model::ListSkillGroupsOfUserRequest &request)const;
|
||||
void listSkillGroupsOfUserAsync(const Model::ListSkillGroupsOfUserRequest& request, const ListSkillGroupsOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillGroupsOfUserOutcomeCallable listSkillGroupsOfUserCallable(const Model::ListSkillGroupsOfUserRequest& request) const;
|
||||
RemovePhoneNumberOutcome removePhoneNumber(const Model::RemovePhoneNumberRequest &request)const;
|
||||
void removePhoneNumberAsync(const Model::RemovePhoneNumberRequest& request, const RemovePhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemovePhoneNumberOutcomeCallable removePhoneNumberCallable(const Model::RemovePhoneNumberRequest& request) const;
|
||||
ListCallDetailRecordsOutcome listCallDetailRecords(const Model::ListCallDetailRecordsRequest &request)const;
|
||||
void listCallDetailRecordsAsync(const Model::ListCallDetailRecordsRequest& request, const ListCallDetailRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCallDetailRecordsOutcomeCallable listCallDetailRecordsCallable(const Model::ListCallDetailRecordsRequest& request) const;
|
||||
AddPhoneNumberOutcome addPhoneNumber(const Model::AddPhoneNumberRequest &request)const;
|
||||
void addPhoneNumberAsync(const Model::AddPhoneNumberRequest& request, const AddPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPhoneNumberOutcomeCallable addPhoneNumberCallable(const Model::AddPhoneNumberRequest& request) const;
|
||||
ListRecordingsOutcome listRecordings(const Model::ListRecordingsRequest &request)const;
|
||||
void listRecordingsAsync(const Model::ListRecordingsRequest& request, const ListRecordingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRecordingsOutcomeCallable listRecordingsCallable(const Model::ListRecordingsRequest& request) const;
|
||||
GetConfigOutcome getConfig(const Model::GetConfigRequest &request)const;
|
||||
void getConfigAsync(const Model::GetConfigRequest& request, const GetConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConfigOutcomeCallable getConfigCallable(const Model::GetConfigRequest& request) const;
|
||||
DownloadRecordingOutcome downloadRecording(const Model::DownloadRecordingRequest &request)const;
|
||||
void downloadRecordingAsync(const Model::DownloadRecordingRequest& request, const DownloadRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DownloadRecordingOutcomeCallable downloadRecordingCallable(const Model::DownloadRecordingRequest& request) const;
|
||||
ListPhoneNumbersOutcome listPhoneNumbers(const Model::ListPhoneNumbersRequest &request)const;
|
||||
void listPhoneNumbersAsync(const Model::ListPhoneNumbersRequest& request, const ListPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhoneNumbersOutcomeCallable listPhoneNumbersCallable(const Model::ListPhoneNumbersRequest& request) const;
|
||||
RefreshTokenOutcome refreshToken(const Model::RefreshTokenRequest &request)const;
|
||||
void refreshTokenAsync(const Model::RefreshTokenRequest& request, const RefreshTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RefreshTokenOutcomeCallable refreshTokenCallable(const Model::RefreshTokenRequest& request) const;
|
||||
RequestLoginInfoOutcome requestLoginInfo(const Model::RequestLoginInfoRequest &request)const;
|
||||
void requestLoginInfoAsync(const Model::RequestLoginInfoRequest& request, const RequestLoginInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RequestLoginInfoOutcomeCallable requestLoginInfoCallable(const Model::RequestLoginInfoRequest& request) const;
|
||||
GetServiceExtensionsOutcome getServiceExtensions(const Model::GetServiceExtensionsRequest &request)const;
|
||||
void getServiceExtensionsAsync(const Model::GetServiceExtensionsRequest& request, const GetServiceExtensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceExtensionsOutcomeCallable getServiceExtensionsCallable(const Model::GetServiceExtensionsRequest& request) const;
|
||||
ListContactFlowsOutcome listContactFlows(const Model::ListContactFlowsRequest &request)const;
|
||||
void listContactFlowsAsync(const Model::ListContactFlowsRequest& request, const ListContactFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListContactFlowsOutcomeCallable listContactFlowsCallable(const Model::ListContactFlowsRequest& request) const;
|
||||
ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const;
|
||||
void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
GetJobListOutcome getJobList(const Model::GetJobListRequest &request)const;
|
||||
void getJobListAsync(const Model::GetJobListRequest& request, const GetJobListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobListOutcomeCallable getJobListCallable(const Model::GetJobListRequest& request) const;
|
||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||
ListSkillGroupsOfUserOutcome listSkillGroupsOfUser(const Model::ListSkillGroupsOfUserRequest &request)const;
|
||||
void listSkillGroupsOfUserAsync(const Model::ListSkillGroupsOfUserRequest& request, const ListSkillGroupsOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillGroupsOfUserOutcomeCallable listSkillGroupsOfUserCallable(const Model::ListSkillGroupsOfUserRequest& request) const;
|
||||
TwoPartiesCallOutcome twoPartiesCall(const Model::TwoPartiesCallRequest &request)const;
|
||||
void twoPartiesCallAsync(const Model::TwoPartiesCallRequest& request, const TwoPartiesCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TwoPartiesCallOutcomeCallable twoPartiesCallCallable(const Model::TwoPartiesCallRequest& request) const;
|
||||
DeleteSurveyOutcome deleteSurvey(const Model::DeleteSurveyRequest &request)const;
|
||||
void deleteSurveyAsync(const Model::DeleteSurveyRequest& request, const DeleteSurveyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSurveyOutcomeCallable deleteSurveyCallable(const Model::DeleteSurveyRequest& request) const;
|
||||
ListPhoneNumbersOutcome listPhoneNumbers(const Model::ListPhoneNumbersRequest &request)const;
|
||||
void listPhoneNumbersAsync(const Model::ListPhoneNumbersRequest& request, const ListPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhoneNumbersOutcomeCallable listPhoneNumbersCallable(const Model::ListPhoneNumbersRequest& request) const;
|
||||
DownloadUnreachableContactsOutcome downloadUnreachableContacts(const Model::DownloadUnreachableContactsRequest &request)const;
|
||||
void downloadUnreachableContactsAsync(const Model::DownloadUnreachableContactsRequest& request, const DownloadUnreachableContactsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DownloadUnreachableContactsOutcomeCallable downloadUnreachableContactsCallable(const Model::DownloadUnreachableContactsRequest& request) const;
|
||||
DialogueOutcome dialogue(const Model::DialogueRequest &request)const;
|
||||
void dialogueAsync(const Model::DialogueRequest& request, const DialogueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DialogueOutcomeCallable dialogueCallable(const Model::DialogueRequest& request) const;
|
||||
RefreshTokenOutcome refreshToken(const Model::RefreshTokenRequest &request)const;
|
||||
void refreshTokenAsync(const Model::RefreshTokenRequest& request, const RefreshTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RefreshTokenOutcomeCallable refreshTokenCallable(const Model::RefreshTokenRequest& request) const;
|
||||
CreateBatchJobsOutcome createBatchJobs(const Model::CreateBatchJobsRequest &request)const;
|
||||
void createBatchJobsAsync(const Model::CreateBatchJobsRequest& request, const CreateBatchJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBatchJobsOutcomeCallable createBatchJobsCallable(const Model::CreateBatchJobsRequest& request) const;
|
||||
RequestLoginInfoOutcome requestLoginInfo(const Model::RequestLoginInfoRequest &request)const;
|
||||
void requestLoginInfoAsync(const Model::RequestLoginInfoRequest& request, const RequestLoginInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RequestLoginInfoOutcomeCallable requestLoginInfoCallable(const Model::RequestLoginInfoRequest& request) const;
|
||||
GetJobTemplateDownloadParamsOutcome getJobTemplateDownloadParams(const Model::GetJobTemplateDownloadParamsRequest &request)const;
|
||||
void getJobTemplateDownloadParamsAsync(const Model::GetJobTemplateDownloadParamsRequest& request, const GetJobTemplateDownloadParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobTemplateDownloadParamsOutcomeCallable getJobTemplateDownloadParamsCallable(const Model::GetJobTemplateDownloadParamsRequest& request) const;
|
||||
RemoveUsersOutcome removeUsers(const Model::RemoveUsersRequest &request)const;
|
||||
void removeUsersAsync(const Model::RemoveUsersRequest& request, const RemoveUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveUsersOutcomeCallable removeUsersCallable(const Model::RemoveUsersRequest& request) const;
|
||||
CancelPredictiveJobsOutcome cancelPredictiveJobs(const Model::CancelPredictiveJobsRequest &request)const;
|
||||
void cancelPredictiveJobsAsync(const Model::CancelPredictiveJobsRequest& request, const CancelPredictiveJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelPredictiveJobsOutcomeCallable cancelPredictiveJobsCallable(const Model::CancelPredictiveJobsRequest& request) const;
|
||||
StartBack2BackCallOutcome startBack2BackCall(const Model::StartBack2BackCallRequest &request)const;
|
||||
void startBack2BackCallAsync(const Model::StartBack2BackCallRequest& request, const StartBack2BackCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartBack2BackCallOutcomeCallable startBack2BackCallCallable(const Model::StartBack2BackCallRequest& request) const;
|
||||
PublishSurveyOutcome publishSurvey(const Model::PublishSurveyRequest &request)const;
|
||||
void publishSurveyAsync(const Model::PublishSurveyRequest& request, const PublishSurveyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishSurveyOutcomeCallable publishSurveyCallable(const Model::PublishSurveyRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
GetConversationListOutcome getConversationList(const Model::GetConversationListRequest &request)const;
|
||||
void getConversationListAsync(const Model::GetConversationListRequest& request, const GetConversationListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConversationListOutcomeCallable getConversationListCallable(const Model::GetConversationListRequest& request) const;
|
||||
ListUsersOfSkillGroupOutcome listUsersOfSkillGroup(const Model::ListUsersOfSkillGroupRequest &request)const;
|
||||
void listUsersOfSkillGroupAsync(const Model::ListUsersOfSkillGroupRequest& request, const ListUsersOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOfSkillGroupOutcomeCallable listUsersOfSkillGroupCallable(const Model::ListUsersOfSkillGroupRequest& request) const;
|
||||
ListJobsByGroupOutcome listJobsByGroup(const Model::ListJobsByGroupRequest &request)const;
|
||||
void listJobsByGroupAsync(const Model::ListJobsByGroupRequest& request, const ListJobsByGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListJobsByGroupOutcomeCallable listJobsByGroupCallable(const Model::ListJobsByGroupRequest& request) const;
|
||||
ListPredictiveJobStatusOutcome listPredictiveJobStatus(const Model::ListPredictiveJobStatusRequest &request)const;
|
||||
void listPredictiveJobStatusAsync(const Model::ListPredictiveJobStatusRequest& request, const ListPredictiveJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPredictiveJobStatusOutcomeCallable listPredictiveJobStatusCallable(const Model::ListPredictiveJobStatusRequest& request) const;
|
||||
ListJobGroupsOutcome listJobGroups(const Model::ListJobGroupsRequest &request)const;
|
||||
void listJobGroupsAsync(const Model::ListJobGroupsRequest& request, const ListJobGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListJobGroupsOutcomeCallable listJobGroupsCallable(const Model::ListJobGroupsRequest& request) const;
|
||||
ListCallDetailRecordsOutcome listCallDetailRecords(const Model::ListCallDetailRecordsRequest &request)const;
|
||||
void listCallDetailRecordsAsync(const Model::ListCallDetailRecordsRequest& request, const ListCallDetailRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCallDetailRecordsOutcomeCallable listCallDetailRecordsCallable(const Model::ListCallDetailRecordsRequest& request) const;
|
||||
AddPhoneNumberOutcome addPhoneNumber(const Model::AddPhoneNumberRequest &request)const;
|
||||
void addPhoneNumberAsync(const Model::AddPhoneNumberRequest& request, const AddPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPhoneNumberOutcomeCallable addPhoneNumberCallable(const Model::AddPhoneNumberRequest& request) const;
|
||||
ListRecordingsOutcome listRecordings(const Model::ListRecordingsRequest &request)const;
|
||||
void listRecordingsAsync(const Model::ListRecordingsRequest& request, const ListRecordingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRecordingsOutcomeCallable listRecordingsCallable(const Model::ListRecordingsRequest& request) const;
|
||||
EncryptOutcome encrypt(const Model::EncryptRequest &request)const;
|
||||
void encryptAsync(const Model::EncryptRequest& request, const EncryptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EncryptOutcomeCallable encryptCallable(const Model::EncryptRequest& request) const;
|
||||
SubmitBatchJobsOutcome submitBatchJobs(const Model::SubmitBatchJobsRequest &request)const;
|
||||
void submitBatchJobsAsync(const Model::SubmitBatchJobsRequest& request, const SubmitBatchJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitBatchJobsOutcomeCallable submitBatchJobsCallable(const Model::SubmitBatchJobsRequest& request) const;
|
||||
ListSurveysOutcome listSurveys(const Model::ListSurveysRequest &request)const;
|
||||
void listSurveysAsync(const Model::ListSurveysRequest& request, const ListSurveysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSurveysOutcomeCallable listSurveysCallable(const Model::ListSurveysRequest& request) const;
|
||||
GetJobDataUploadParamsOutcome getJobDataUploadParams(const Model::GetJobDataUploadParamsRequest &request)const;
|
||||
void getJobDataUploadParamsAsync(const Model::GetJobDataUploadParamsRequest& request, const GetJobDataUploadParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobDataUploadParamsOutcomeCallable getJobDataUploadParamsCallable(const Model::GetJobDataUploadParamsRequest& request) const;
|
||||
ListBasicStatisticsReportSubItemsOutcome listBasicStatisticsReportSubItems(const Model::ListBasicStatisticsReportSubItemsRequest &request)const;
|
||||
void listBasicStatisticsReportSubItemsAsync(const Model::ListBasicStatisticsReportSubItemsRequest& request, const ListBasicStatisticsReportSubItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListBasicStatisticsReportSubItemsOutcomeCallable listBasicStatisticsReportSubItemsCallable(const Model::ListBasicStatisticsReportSubItemsRequest& request) const;
|
||||
SuspendJobsOutcome suspendJobs(const Model::SuspendJobsRequest &request)const;
|
||||
void suspendJobsAsync(const Model::SuspendJobsRequest& request, const SuspendJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendJobsOutcomeCallable suspendJobsCallable(const Model::SuspendJobsRequest& request) const;
|
||||
GetJobGroupOutcome getJobGroup(const Model::GetJobGroupRequest &request)const;
|
||||
void getJobGroupAsync(const Model::GetJobGroupRequest& request, const GetJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobGroupOutcomeCallable getJobGroupCallable(const Model::GetJobGroupRequest& request) const;
|
||||
GetJobStatusByCallIdOutcome getJobStatusByCallId(const Model::GetJobStatusByCallIdRequest &request)const;
|
||||
void getJobStatusByCallIdAsync(const Model::GetJobStatusByCallIdRequest& request, const GetJobStatusByCallIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobStatusByCallIdOutcomeCallable getJobStatusByCallIdCallable(const Model::GetJobStatusByCallIdRequest& request) const;
|
||||
ListUnreachableContactsOutcome listUnreachableContacts(const Model::ListUnreachableContactsRequest &request)const;
|
||||
void listUnreachableContactsAsync(const Model::ListUnreachableContactsRequest& request, const ListUnreachableContactsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUnreachableContactsOutcomeCallable listUnreachableContactsCallable(const Model::ListUnreachableContactsRequest& request) const;
|
||||
ModifySkillGroupOutcome modifySkillGroup(const Model::ModifySkillGroupRequest &request)const;
|
||||
void modifySkillGroupAsync(const Model::ModifySkillGroupRequest& request, const ModifySkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySkillGroupOutcomeCallable modifySkillGroupCallable(const Model::ModifySkillGroupRequest& request) const;
|
||||
GetConversationDetailByContactIdOutcome getConversationDetailByContactId(const Model::GetConversationDetailByContactIdRequest &request)const;
|
||||
void getConversationDetailByContactIdAsync(const Model::GetConversationDetailByContactIdRequest& request, const GetConversationDetailByContactIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConversationDetailByContactIdOutcomeCallable getConversationDetailByContactIdCallable(const Model::GetConversationDetailByContactIdRequest& request) const;
|
||||
ListRecordingsByContactIdOutcome listRecordingsByContactId(const Model::ListRecordingsByContactIdRequest &request)const;
|
||||
void listRecordingsByContactIdAsync(const Model::ListRecordingsByContactIdRequest& request, const ListRecordingsByContactIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRecordingsByContactIdOutcomeCallable listRecordingsByContactIdCallable(const Model::ListRecordingsByContactIdRequest& request) const;
|
||||
LaunchAppraiseOutcome launchAppraise(const Model::LaunchAppraiseRequest &request)const;
|
||||
void launchAppraiseAsync(const Model::LaunchAppraiseRequest& request, const LaunchAppraiseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LaunchAppraiseOutcomeCallable launchAppraiseCallable(const Model::LaunchAppraiseRequest& request) const;
|
||||
DeleteSkillGroupOutcome deleteSkillGroup(const Model::DeleteSkillGroupRequest &request)const;
|
||||
void deleteSkillGroupAsync(const Model::DeleteSkillGroupRequest& request, const DeleteSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSkillGroupOutcomeCallable deleteSkillGroupCallable(const Model::DeleteSkillGroupRequest& request) const;
|
||||
ModifyUserOutcome modifyUser(const Model::ModifyUserRequest &request)const;
|
||||
void modifyUserAsync(const Model::ModifyUserRequest& request, const ModifyUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyUserOutcomeCallable modifyUserCallable(const Model::ModifyUserRequest& request) const;
|
||||
ListSkillGroupsOutcome listSkillGroups(const Model::ListSkillGroupsRequest &request)const;
|
||||
void listSkillGroupsAsync(const Model::ListSkillGroupsRequest& request, const ListSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillGroupsOutcomeCallable listSkillGroupsCallable(const Model::ListSkillGroupsRequest& request) const;
|
||||
CreateScenarioOutcome createScenario(const Model::CreateScenarioRequest &request)const;
|
||||
void createScenarioAsync(const Model::CreateScenarioRequest& request, const CreateScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateScenarioOutcomeCallable createScenarioCallable(const Model::CreateScenarioRequest& request) const;
|
||||
RemovePhoneNumberOutcome removePhoneNumber(const Model::RemovePhoneNumberRequest &request)const;
|
||||
void removePhoneNumberAsync(const Model::RemovePhoneNumberRequest& request, const RemovePhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemovePhoneNumberOutcomeCallable removePhoneNumberCallable(const Model::RemovePhoneNumberRequest& request) const;
|
||||
PickLocalNumberOutcome pickLocalNumber(const Model::PickLocalNumberRequest &request)const;
|
||||
void pickLocalNumberAsync(const Model::PickLocalNumberRequest& request, const PickLocalNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PickLocalNumberOutcomeCallable pickLocalNumberCallable(const Model::PickLocalNumberRequest& request) const;
|
||||
GetJobOutcome getJob(const Model::GetJobRequest &request)const;
|
||||
void getJobAsync(const Model::GetJobRequest& request, const GetJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobOutcomeCallable getJobCallable(const Model::GetJobRequest& request) const;
|
||||
StartJobOutcome startJob(const Model::StartJobRequest &request)const;
|
||||
void startJobAsync(const Model::StartJobRequest& request, const StartJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartJobOutcomeCallable startJobCallable(const Model::StartJobRequest& request) const;
|
||||
CancelJobsOutcome cancelJobs(const Model::CancelJobsRequest &request)const;
|
||||
void cancelJobsAsync(const Model::CancelJobsRequest& request, const CancelJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelJobsOutcomeCallable cancelJobsCallable(const Model::CancelJobsRequest& request) const;
|
||||
GetConfigOutcome getConfig(const Model::GetConfigRequest &request)const;
|
||||
void getConfigAsync(const Model::GetConfigRequest& request, const GetConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConfigOutcomeCallable getConfigCallable(const Model::GetConfigRequest& request) const;
|
||||
DownloadRecordingOutcome downloadRecording(const Model::DownloadRecordingRequest &request)const;
|
||||
void downloadRecordingAsync(const Model::DownloadRecordingRequest& request, const DownloadRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DownloadRecordingOutcomeCallable downloadRecordingCallable(const Model::DownloadRecordingRequest& request) const;
|
||||
GenerateAgentStatisticReportOutcome generateAgentStatisticReport(const Model::GenerateAgentStatisticReportRequest &request)const;
|
||||
void generateAgentStatisticReportAsync(const Model::GenerateAgentStatisticReportRequest& request, const GenerateAgentStatisticReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GenerateAgentStatisticReportOutcomeCallable generateAgentStatisticReportCallable(const Model::GenerateAgentStatisticReportRequest& request) const;
|
||||
CreateScenarioFromTemplateOutcome createScenarioFromTemplate(const Model::CreateScenarioFromTemplateRequest &request)const;
|
||||
void createScenarioFromTemplateAsync(const Model::CreateScenarioFromTemplateRequest& request, const CreateScenarioFromTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateScenarioFromTemplateOutcomeCallable createScenarioFromTemplateCallable(const Model::CreateScenarioFromTemplateRequest& request) const;
|
||||
CreateJobGroupOutcome createJobGroup(const Model::CreateJobGroupRequest &request)const;
|
||||
void createJobGroupAsync(const Model::CreateJobGroupRequest& request, const CreateJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateJobGroupOutcomeCallable createJobGroupCallable(const Model::CreateJobGroupRequest& request) const;
|
||||
GetTaskListOutcome getTaskList(const Model::GetTaskListRequest &request)const;
|
||||
void getTaskListAsync(const Model::GetTaskListRequest& request, const GetTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTaskListOutcomeCallable getTaskListCallable(const Model::GetTaskListRequest& request) const;
|
||||
DownloadOriginalStatisticsReportOutcome downloadOriginalStatisticsReport(const Model::DownloadOriginalStatisticsReportRequest &request)const;
|
||||
void downloadOriginalStatisticsReportAsync(const Model::DownloadOriginalStatisticsReportRequest& request, const DownloadOriginalStatisticsReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DownloadOriginalStatisticsReportOutcomeCallable downloadOriginalStatisticsReportCallable(const Model::DownloadOriginalStatisticsReportRequest& request) const;
|
||||
ListScenarioTemplatesOutcome listScenarioTemplates(const Model::ListScenarioTemplatesRequest &request)const;
|
||||
void listScenarioTemplatesAsync(const Model::ListScenarioTemplatesRequest& request, const ListScenarioTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListScenarioTemplatesOutcomeCallable listScenarioTemplatesCallable(const Model::ListScenarioTemplatesRequest& request) const;
|
||||
ResumeJobsOutcome resumeJobs(const Model::ResumeJobsRequest &request)const;
|
||||
void resumeJobsAsync(const Model::ResumeJobsRequest& request, const ResumeJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResumeJobsOutcomeCallable resumeJobsCallable(const Model::ResumeJobsRequest& request) const;
|
||||
AssignUsersOutcome assignUsers(const Model::AssignUsersRequest &request)const;
|
||||
void assignUsersAsync(const Model::AssignUsersRequest& request, const AssignUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssignUsersOutcomeCallable assignUsersCallable(const Model::AssignUsersRequest& request) const;
|
||||
GetSurveyOutcome getSurvey(const Model::GetSurveyRequest &request)const;
|
||||
void getSurveyAsync(const Model::GetSurveyRequest& request, const GetSurveyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSurveyOutcomeCallable getSurveyCallable(const Model::GetSurveyRequest& request) const;
|
||||
ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const;
|
||||
void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const;
|
||||
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;
|
||||
ListScenariosOutcome listScenarios(const Model::ListScenariosRequest &request)const;
|
||||
void listScenariosAsync(const Model::ListScenariosRequest& request, const ListScenariosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListScenariosOutcomeCallable listScenariosCallable(const Model::ListScenariosRequest& request) const;
|
||||
ListRealTimeAgentOutcome listRealTimeAgent(const Model::ListRealTimeAgentRequest &request)const;
|
||||
void listRealTimeAgentAsync(const Model::ListRealTimeAgentRequest& request, const ListRealTimeAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRealTimeAgentOutcomeCallable listRealTimeAgentCallable(const Model::ListRealTimeAgentRequest& request) const;
|
||||
AssignJobsOutcome assignJobs(const Model::AssignJobsRequest &request)const;
|
||||
void assignJobsAsync(const Model::AssignJobsRequest& request, const AssignJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssignJobsOutcomeCallable assignJobsCallable(const Model::AssignJobsRequest& request) const;
|
||||
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
|
||||
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
|
||||
ListPrivilegesOfUserOutcome listPrivilegesOfUser(const Model::ListPrivilegesOfUserRequest &request)const;
|
||||
void listPrivilegesOfUserAsync(const Model::ListPrivilegesOfUserRequest& request, const ListPrivilegesOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrivilegesOfUserOutcomeCallable listPrivilegesOfUserCallable(const Model::ListPrivilegesOfUserRequest& request) const;
|
||||
GetNumberRegionInfoOutcome getNumberRegionInfo(const Model::GetNumberRegionInfoRequest &request)const;
|
||||
void getNumberRegionInfoAsync(const Model::GetNumberRegionInfoRequest& request, const GetNumberRegionInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetNumberRegionInfoOutcomeCallable getNumberRegionInfoCallable(const Model::GetNumberRegionInfoRequest& request) const;
|
||||
GetScenarioOutcome getScenario(const Model::GetScenarioRequest &request)const;
|
||||
void getScenarioAsync(const Model::GetScenarioRequest& request, const GetScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetScenarioOutcomeCallable getScenarioCallable(const Model::GetScenarioRequest& request) const;
|
||||
CreatePredictiveJobsOutcome createPredictiveJobs(const Model::CreatePredictiveJobsRequest &request)const;
|
||||
void createPredictiveJobsAsync(const Model::CreatePredictiveJobsRequest& request, const CreatePredictiveJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePredictiveJobsOutcomeCallable createPredictiveJobsCallable(const Model::CreatePredictiveJobsRequest& request) const;
|
||||
GetAgentDataOutcome getAgentData(const Model::GetAgentDataRequest &request)const;
|
||||
void getAgentDataAsync(const Model::GetAgentDataRequest& request, const GetAgentDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAgentDataOutcomeCallable getAgentDataCallable(const Model::GetAgentDataRequest& request) const;
|
||||
CreateSurveyOutcome createSurvey(const Model::CreateSurveyRequest &request)const;
|
||||
void createSurveyAsync(const Model::CreateSurveyRequest& request, const CreateSurveyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSurveyOutcomeCallable createSurveyCallable(const Model::CreateSurveyRequest& request) const;
|
||||
ListJobStatusOutcome listJobStatus(const Model::ListJobStatusRequest &request)const;
|
||||
void listJobStatusAsync(const Model::ListJobStatusRequest& request, const ListJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListJobStatusOutcomeCallable listJobStatusCallable(const Model::ListJobStatusRequest& request) const;
|
||||
ModifySurveyOutcome modifySurvey(const Model::ModifySurveyRequest &request)const;
|
||||
void modifySurveyAsync(const Model::ModifySurveyRequest& request, const ModifySurveyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySurveyOutcomeCallable modifySurveyCallable(const Model::ModifySurveyRequest& request) const;
|
||||
ModifyScenarioOutcome modifyScenario(const Model::ModifyScenarioRequest &request)const;
|
||||
void modifyScenarioAsync(const Model::ModifyScenarioRequest& request, const ModifyScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyScenarioOutcomeCallable modifyScenarioCallable(const Model::ModifyScenarioRequest& request) const;
|
||||
CreateSkillGroupOutcome createSkillGroup(const Model::CreateSkillGroupRequest &request)const;
|
||||
void createSkillGroupAsync(const Model::CreateSkillGroupRequest& request, const CreateSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSkillGroupOutcomeCallable createSkillGroupCallable(const Model::CreateSkillGroupRequest& request) const;
|
||||
GetServiceExtensionsOutcome getServiceExtensions(const Model::GetServiceExtensionsRequest &request)const;
|
||||
void getServiceExtensionsAsync(const Model::GetServiceExtensionsRequest& request, const GetServiceExtensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceExtensionsOutcomeCallable getServiceExtensionsCallable(const Model::GetServiceExtensionsRequest& request) const;
|
||||
ListContactFlowsOutcome listContactFlows(const Model::ListContactFlowsRequest &request)const;
|
||||
void listContactFlowsAsync(const Model::ListContactFlowsRequest& request, const ListContactFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListContactFlowsOutcomeCallable listContactFlowsCallable(const Model::ListContactFlowsRequest& request) const;
|
||||
DeleteJobGroupOutcome deleteJobGroup(const Model::DeleteJobGroupRequest &request)const;
|
||||
void deleteJobGroupAsync(const Model::DeleteJobGroupRequest& request, const DeleteJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteJobGroupOutcomeCallable deleteJobGroupCallable(const Model::DeleteJobGroupRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -32,46 +32,46 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
std::vector<ContactFlow> contactFlow;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
ContactFlow contactFlow;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
|
||||
|
||||
AddPhoneNumberResult();
|
||||
explicit AddPhoneNumberResult(const std::string &payload);
|
||||
~AddPhoneNumberResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<PhoneNumber> getPhoneNumber()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
PhoneNumber getPhoneNumber()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<PhoneNumber> phoneNumber_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
PhoneNumber phoneNumber_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
63
ccc/include/alibabacloud/ccc/model/AssignJobsRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/AssignJobsRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_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 AssignJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AssignJobsRequest();
|
||||
~AssignJobsRequest();
|
||||
|
||||
std::vector<std::string> getCallingNumber()const;
|
||||
void setCallingNumber(const std::vector<std::string>& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
std::vector<std::string> getJobsJson()const;
|
||||
void setJobsJson(const std::vector<std::string>& jobsJson);
|
||||
|
||||
private:
|
||||
std::vector<std::string> callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string strategyJson_;
|
||||
std::string scenarioId_;
|
||||
std::vector<std::string> jobsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSREQUEST_H_
|
||||
59
ccc/include/alibabacloud/ccc/model/AssignJobsResult.h
Normal file
59
ccc/include/alibabacloud/ccc/model/AssignJobsResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSRESULT_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 AssignJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AssignJobsResult();
|
||||
explicit AssignJobsResult(const std::string &payload);
|
||||
~AssignJobsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNJOBSRESULT_H_
|
||||
63
ccc/include/alibabacloud/ccc/model/AssignUsersRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/AssignUsersRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_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 AssignUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AssignUsersRequest();
|
||||
~AssignUsersRequest();
|
||||
|
||||
std::vector<std::string> getUserRamId()const;
|
||||
void setUserRamId(const std::vector<std::string>& userRamId);
|
||||
std::vector<int> getSkillLevel()const;
|
||||
void setSkillLevel(const std::vector<int>& skillLevel);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::vector<std::string> getRoleId()const;
|
||||
void setRoleId(const std::vector<std::string>& roleId);
|
||||
std::vector<std::string> getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::vector<std::string> userRamId_;
|
||||
std::vector<int> skillLevel_;
|
||||
std::string instanceId_;
|
||||
std::vector<std::string> roleId_;
|
||||
std::vector<std::string> skillGroupId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/AssignUsersResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/AssignUsersResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSRESULT_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 AssignUsersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AssignUsersResult();
|
||||
explicit AssignUsersResult(const std::string &payload);
|
||||
~AssignUsersResult();
|
||||
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_ASSIGNUSERSRESULT_H_
|
||||
63
ccc/include/alibabacloud/ccc/model/CancelJobsRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/CancelJobsRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_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 CancelJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelJobsRequest();
|
||||
~CancelJobsRequest();
|
||||
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getJobId()const;
|
||||
void setJobId(const std::vector<std::string>& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::vector<std::string> getJobReferenceId()const;
|
||||
void setJobReferenceId(const std::vector<std::string>& jobReferenceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> jobId_;
|
||||
std::string instanceId_;
|
||||
std::vector<std::string> jobReferenceId_;
|
||||
std::string groupId_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELJOBSREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/CancelJobsResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/CancelJobsResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CANCELJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELJOBSRESULT_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 CancelJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelJobsResult();
|
||||
explicit CancelJobsResult(const std::string &payload);
|
||||
~CancelJobsResult();
|
||||
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_CANCELJOBSRESULT_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_CANCELPREDICTIVEJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSREQUEST_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 CancelPredictiveJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelPredictiveJobsRequest();
|
||||
~CancelPredictiveJobsRequest();
|
||||
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getJobId()const;
|
||||
void setJobId(const std::vector<std::string>& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> jobId_;
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSREQUEST_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_CANCELPREDICTIVEJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSRESULT_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 CancelPredictiveJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelPredictiveJobsResult();
|
||||
explicit CancelPredictiveJobsResult(const std::string &payload);
|
||||
~CancelPredictiveJobsResult();
|
||||
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_CANCELPREDICTIVEJOBSRESULT_H_
|
||||
69
ccc/include/alibabacloud/ccc/model/CreateBatchJobsRequest.h
Normal file
69
ccc/include/alibabacloud/ccc/model/CreateBatchJobsRequest.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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_CREATEBATCHJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSREQUEST_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 CreateBatchJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateBatchJobsRequest();
|
||||
~CreateBatchJobsRequest();
|
||||
|
||||
std::vector<std::string> getCallingNumber()const;
|
||||
void setCallingNumber(const std::vector<std::string>& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getSubmitted()const;
|
||||
void setSubmitted(bool submitted);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
std::string getJobFilePath()const;
|
||||
void setJobFilePath(const std::string& jobFilePath);
|
||||
|
||||
private:
|
||||
std::vector<std::string> callingNumber_;
|
||||
std::string instanceId_;
|
||||
bool submitted_;
|
||||
std::string strategyJson_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
std::string scenarioId_;
|
||||
std::string jobFilePath_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSREQUEST_H_
|
||||
93
ccc/include/alibabacloud/ccc/model/CreateBatchJobsResult.h
Normal file
93
ccc/include/alibabacloud/ccc/model/CreateBatchJobsResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSRESULT_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 CreateBatchJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobGroup
|
||||
{
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
{
|
||||
std::string endTime;
|
||||
std::string beginTime;
|
||||
};
|
||||
std::vector<TimeFrame> workingTime;
|
||||
bool isTemplate;
|
||||
std::string repeatBy;
|
||||
int minAttemptInterval;
|
||||
long endTime;
|
||||
std::string strategyId;
|
||||
long startTime;
|
||||
std::string followUpStrategy;
|
||||
std::string type;
|
||||
std::string strategyName;
|
||||
std::string strategyDescription;
|
||||
std::string customized;
|
||||
int maxAttemptsPerDay;
|
||||
std::string routingStrategy;
|
||||
std::vector<std::string> repeatDays;
|
||||
};
|
||||
std::string jobGroupId;
|
||||
std::string scenarioId;
|
||||
std::string jobGroupName;
|
||||
long creationTime;
|
||||
Strategy strategy;
|
||||
std::string jobFilePath;
|
||||
std::string jobGroupDescription;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
|
||||
|
||||
CreateBatchJobsResult();
|
||||
explicit CreateBatchJobsResult(const std::string &payload);
|
||||
~CreateBatchJobsResult();
|
||||
JobGroup getJobGroup()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
JobGroup jobGroup_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEBATCHJOBSRESULT_H_
|
||||
63
ccc/include/alibabacloud/ccc/model/CreateJobGroupRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/CreateJobGroupRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPREQUEST_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 CreateJobGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateJobGroupRequest();
|
||||
~CreateJobGroupRequest();
|
||||
|
||||
std::vector<std::string> getCallingNumber()const;
|
||||
void setCallingNumber(const std::vector<std::string>& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
std::vector<std::string> callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string strategyJson_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPREQUEST_H_
|
||||
93
ccc/include/alibabacloud/ccc/model/CreateJobGroupResult.h
Normal file
93
ccc/include/alibabacloud/ccc/model/CreateJobGroupResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPRESULT_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 CreateJobGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobGroup
|
||||
{
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
{
|
||||
std::string from;
|
||||
std::string to;
|
||||
};
|
||||
std::vector<TimeFrame> workingTime;
|
||||
bool isTemplate;
|
||||
std::string repeatBy;
|
||||
int minAttemptInterval;
|
||||
long endTime;
|
||||
std::string strategyId;
|
||||
long startTime;
|
||||
std::string followUpStrategy;
|
||||
std::string type;
|
||||
std::string strategyName;
|
||||
std::string strategyDescription;
|
||||
std::string customized;
|
||||
int maxAttemptsPerDay;
|
||||
std::string routingStrategy;
|
||||
std::vector<std::string> repeatDays;
|
||||
};
|
||||
std::string jobGroupId;
|
||||
std::string scenarioId;
|
||||
std::string jobGroupName;
|
||||
long creationTime;
|
||||
Strategy strategy;
|
||||
std::string jobFilePath;
|
||||
std::string jobGroupDescription;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
|
||||
|
||||
CreateJobGroupResult();
|
||||
explicit CreateJobGroupResult(const std::string &payload);
|
||||
~CreateJobGroupResult();
|
||||
JobGroup getJobGroup()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
JobGroup jobGroup_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEJOBGROUPRESULT_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_CREATEPREDICTIVEJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSREQUEST_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 CreatePredictiveJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePredictiveJobsRequest();
|
||||
~CreatePredictiveJobsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::vector<std::string> getJobsJson()const;
|
||||
void setJobsJson(const std::vector<std::string>& jobsJson);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
std::string strategyJson_;
|
||||
std::vector<std::string> jobsJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSRESULT_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 CreatePredictiveJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePredictiveJobsResult();
|
||||
explicit CreatePredictiveJobsResult(const std::string &payload);
|
||||
~CreatePredictiveJobsResult();
|
||||
std::string getJobGroupId()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobGroupId_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATEREQUEST_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 CreateScenarioFromTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateScenarioFromTemplateRequest();
|
||||
~CreateScenarioFromTemplateRequest();
|
||||
|
||||
std::string getVariables()const;
|
||||
void setVariables(const std::string& variables);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getTemplateId()const;
|
||||
void setTemplateId(const std::string& templateId);
|
||||
|
||||
private:
|
||||
std::string variables_;
|
||||
std::string instanceId_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
std::string templateId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* 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_CREATESCENARIOFROMTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATERESULT_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 CreateScenarioFromTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Scenario
|
||||
{
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
{
|
||||
std::string endTime;
|
||||
std::string beginTime;
|
||||
};
|
||||
std::vector<TimeFrame> workingTime;
|
||||
bool isTemplate;
|
||||
std::string repeatBy;
|
||||
int minAttemptInterval;
|
||||
long endTime;
|
||||
std::string strategyId;
|
||||
long startTime;
|
||||
std::string followUpStrategy;
|
||||
std::string type;
|
||||
std::string strategyName;
|
||||
std::string strategyDescription;
|
||||
std::string customized;
|
||||
int maxAttemptsPerDay;
|
||||
std::string routingStrategy;
|
||||
std::vector<std::string> repeatDays;
|
||||
};
|
||||
struct Survey
|
||||
{
|
||||
struct IntentNode
|
||||
{
|
||||
std::string nodeId;
|
||||
std::string intentId;
|
||||
};
|
||||
std::string role;
|
||||
std::string surveyId;
|
||||
std::string beebotId;
|
||||
std::string surveyName;
|
||||
std::string surveyDescription;
|
||||
std::vector<Survey::IntentNode> intents;
|
||||
int round;
|
||||
};
|
||||
struct KeyValuePair
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::vector<Survey> surveys;
|
||||
std::vector<KeyValuePair> variables;
|
||||
bool isTemplate;
|
||||
std::string type;
|
||||
std::string scenarioId;
|
||||
std::string scenarioDescription;
|
||||
Strategy strategy;
|
||||
std::string scenarioName;
|
||||
};
|
||||
|
||||
|
||||
CreateScenarioFromTemplateResult();
|
||||
explicit CreateScenarioFromTemplateResult(const std::string &payload);
|
||||
~CreateScenarioFromTemplateResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
Scenario getScenario()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
Scenario scenario_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESCENARIOFROMTEMPLATERESULT_H_
|
||||
63
ccc/include/alibabacloud/ccc/model/CreateScenarioRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/CreateScenarioRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESCENARIOREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESCENARIOREQUEST_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 CreateScenarioRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateScenarioRequest();
|
||||
~CreateScenarioRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::vector<std::string> getSurveysJson()const;
|
||||
void setSurveysJson(const std::vector<std::string>& surveysJson);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::vector<std::string> surveysJson_;
|
||||
std::string strategyJson_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESCENARIOREQUEST_H_
|
||||
113
ccc/include/alibabacloud/ccc/model/CreateScenarioResult.h
Normal file
113
ccc/include/alibabacloud/ccc/model/CreateScenarioResult.h
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* 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_CREATESCENARIORESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESCENARIORESULT_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 CreateScenarioResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Scenario
|
||||
{
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
{
|
||||
std::string endTime;
|
||||
std::string beginTime;
|
||||
};
|
||||
std::vector<TimeFrame> workingTime;
|
||||
bool isTemplate;
|
||||
std::string repeatBy;
|
||||
int minAttemptInterval;
|
||||
long endTime;
|
||||
std::string strategyId;
|
||||
long startTime;
|
||||
std::string followUpStrategy;
|
||||
std::string type;
|
||||
std::string strategyName;
|
||||
std::string strategyDescription;
|
||||
std::string customized;
|
||||
int maxAttemptsPerDay;
|
||||
std::string routingStrategy;
|
||||
std::vector<std::string> repeatDays;
|
||||
};
|
||||
struct Survey
|
||||
{
|
||||
struct IntentNode
|
||||
{
|
||||
std::string nodeId;
|
||||
std::string intentId;
|
||||
};
|
||||
std::string role;
|
||||
std::string surveyId;
|
||||
std::string beebotId;
|
||||
std::string surveyName;
|
||||
std::string surveyDescription;
|
||||
std::vector<Survey::IntentNode> intents;
|
||||
int round;
|
||||
};
|
||||
struct KeyValuePair
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::vector<Survey> surveys;
|
||||
std::vector<KeyValuePair> variables;
|
||||
bool isTemplate;
|
||||
std::string type;
|
||||
std::string scenarioId;
|
||||
std::string scenarioDescription;
|
||||
Strategy strategy;
|
||||
std::string scenarioName;
|
||||
};
|
||||
|
||||
|
||||
CreateScenarioResult();
|
||||
explicit CreateScenarioResult(const std::string &payload);
|
||||
~CreateScenarioResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
Scenario getScenario()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
Scenario scenario_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESCENARIORESULT_H_
|
||||
66
ccc/include/alibabacloud/ccc/model/CreateSkillGroupRequest.h
Normal file
66
ccc/include/alibabacloud/ccc/model/CreateSkillGroupRequest.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_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 CreateSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSkillGroupRequest();
|
||||
~CreateSkillGroupRequest();
|
||||
|
||||
std::vector<int> getSkillLevel()const;
|
||||
void setSkillLevel(const std::vector<int>& skillLevel);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::vector<std::string> getOutboundPhoneNumberId()const;
|
||||
void setOutboundPhoneNumberId(const std::vector<std::string>& outboundPhoneNumberId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::vector<std::string> getUserId()const;
|
||||
void setUserId(const std::vector<std::string>& userId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::vector<int> skillLevel_;
|
||||
std::string instanceId_;
|
||||
std::vector<std::string> outboundPhoneNumberId_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
std::vector<std::string> userId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_
|
||||
59
ccc/include/alibabacloud/ccc/model/CreateSkillGroupResult.h
Normal file
59
ccc/include/alibabacloud/ccc/model/CreateSkillGroupResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPRESULT_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 CreateSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateSkillGroupResult();
|
||||
explicit CreateSkillGroupResult(const std::string &payload);
|
||||
~CreateSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getSkillGroupId()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string skillGroupId_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPRESULT_H_
|
||||
75
ccc/include/alibabacloud/ccc/model/CreateSurveyRequest.h
Normal file
75
ccc/include/alibabacloud/ccc/model/CreateSurveyRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESURVEYREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESURVEYREQUEST_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 CreateSurveyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSurveyRequest();
|
||||
~CreateSurveyRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRole()const;
|
||||
void setRole(const std::string& role);
|
||||
int getRound()const;
|
||||
void setRound(int round);
|
||||
std::string getFlowJson()const;
|
||||
void setFlowJson(const std::string& flowJson);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getGlobalQuestions()const;
|
||||
void setGlobalQuestions(const std::string& globalQuestions);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getCorpora()const;
|
||||
void setCorpora(const std::string& corpora);
|
||||
std::string getSpeechOptimizationParam()const;
|
||||
void setSpeechOptimizationParam(const std::string& speechOptimizationParam);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string role_;
|
||||
int round_;
|
||||
std::string flowJson_;
|
||||
std::string name_;
|
||||
std::string globalQuestions_;
|
||||
std::string description_;
|
||||
std::string corpora_;
|
||||
std::string speechOptimizationParam_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESURVEYREQUEST_H_
|
||||
84
ccc/include/alibabacloud/ccc/model/CreateSurveyResult.h
Normal file
84
ccc/include/alibabacloud/ccc/model/CreateSurveyResult.h
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATESURVEYRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATESURVEYRESULT_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 CreateSurveyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Survey
|
||||
{
|
||||
struct Flow
|
||||
{
|
||||
std::string flowId;
|
||||
bool isPublished;
|
||||
std::string flowJson;
|
||||
};
|
||||
struct AsrCustomModel
|
||||
{
|
||||
int customModelStatus;
|
||||
std::string corpora;
|
||||
};
|
||||
std::string role;
|
||||
std::string description;
|
||||
std::string hotWords;
|
||||
AsrCustomModel asrCustomModel;
|
||||
int round;
|
||||
std::string speechOptimizationParam;
|
||||
std::string id;
|
||||
std::string globalQuestions;
|
||||
Flow flow;
|
||||
std::string scenarioUuid;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
CreateSurveyResult();
|
||||
explicit CreateSurveyResult(const std::string &payload);
|
||||
~CreateSurveyResult();
|
||||
Survey getSurvey()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Survey survey_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATESURVEYRESULT_H_
|
||||
72
ccc/include/alibabacloud/ccc/model/CreateUserRequest.h
Normal file
72
ccc/include/alibabacloud/ccc/model/CreateUserRequest.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_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 CreateUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserRequest();
|
||||
~CreateUserRequest();
|
||||
|
||||
std::vector<int> getSkillLevel()const;
|
||||
void setSkillLevel(const std::vector<int>& skillLevel);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getLoginName()const;
|
||||
void setLoginName(const std::string& loginName);
|
||||
std::string getPhone()const;
|
||||
void setPhone(const std::string& phone);
|
||||
std::vector<std::string> getRoleId()const;
|
||||
void setRoleId(const std::vector<std::string>& roleId);
|
||||
std::string getDisplayName()const;
|
||||
void setDisplayName(const std::string& displayName);
|
||||
std::vector<std::string> getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
|
||||
std::string getEmail()const;
|
||||
void setEmail(const std::string& email);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::vector<int> skillLevel_;
|
||||
std::string instanceId_;
|
||||
std::string loginName_;
|
||||
std::string phone_;
|
||||
std::vector<std::string> roleId_;
|
||||
std::string displayName_;
|
||||
std::vector<std::string> skillGroupId_;
|
||||
std::string email_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_
|
||||
59
ccc/include/alibabacloud/ccc/model/CreateUserResult.h
Normal file
59
ccc/include/alibabacloud/ccc/model/CreateUserResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEUSERRESULT_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 CreateUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUserResult();
|
||||
explicit CreateUserResult(const std::string &payload);
|
||||
~CreateUserResult();
|
||||
std::string getMessage()const;
|
||||
std::string getUserId()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string userId_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEUSERRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/DeleteJobGroupRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/DeleteJobGroupRequest.h
Normal 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_CCC_MODEL_DELETEJOBGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DELETEJOBGROUPREQUEST_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 DeleteJobGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteJobGroupRequest();
|
||||
~DeleteJobGroupRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DELETEJOBGROUPREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/DeleteJobGroupResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/DeleteJobGroupResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DELETEJOBGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DELETEJOBGROUPRESULT_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 DeleteJobGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteJobGroupResult();
|
||||
explicit DeleteJobGroupResult(const std::string &payload);
|
||||
~DeleteJobGroupResult();
|
||||
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_DELETEJOBGROUPRESULT_H_
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
DeleteSkillGroupResult();
|
||||
explicit DeleteSkillGroupResult(const std::string &payload);
|
||||
~DeleteSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
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_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
54
ccc/include/alibabacloud/ccc/model/DeleteSurveyRequest.h
Normal file
54
ccc/include/alibabacloud/ccc/model/DeleteSurveyRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DELETESURVEYREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DELETESURVEYREQUEST_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 DeleteSurveyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSurveyRequest();
|
||||
~DeleteSurveyRequest();
|
||||
|
||||
std::string getSurveyId()const;
|
||||
void setSurveyId(const std::string& surveyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
std::string surveyId_;
|
||||
std::string instanceId_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DELETESURVEYREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/DeleteSurveyResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/DeleteSurveyResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DELETESURVEYRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DELETESURVEYRESULT_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 DeleteSurveyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSurveyResult();
|
||||
explicit DeleteSurveyResult(const std::string &payload);
|
||||
~DeleteSurveyResult();
|
||||
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_DELETESURVEYRESULT_H_
|
||||
75
ccc/include/alibabacloud/ccc/model/DialogueRequest.h
Normal file
75
ccc/include/alibabacloud/ccc/model/DialogueRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DIALOGUEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DIALOGUEREQUEST_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 DialogueRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DialogueRequest();
|
||||
~DialogueRequest();
|
||||
|
||||
std::string getCallId()const;
|
||||
void setCallId(const std::string& callId);
|
||||
std::string getCallingNumber()const;
|
||||
void setCallingNumber(const std::string& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
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;
|
||||
void setCallType(const std::string& callType);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getUtterance()const;
|
||||
void setUtterance(const std::string& utterance);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
std::string callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string calledNumber_;
|
||||
std::string actionKey_;
|
||||
std::string actionParams_;
|
||||
std::string callType_;
|
||||
std::string scenarioId_;
|
||||
std::string taskId_;
|
||||
std::string utterance_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DIALOGUEREQUEST_H_
|
||||
65
ccc/include/alibabacloud/ccc/model/DialogueResult.h
Normal file
65
ccc/include/alibabacloud/ccc/model/DialogueResult.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DIALOGUERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DIALOGUERESULT_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 DialogueResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Feedback
|
||||
{
|
||||
std::string action;
|
||||
std::string content;
|
||||
std::string actionParams;
|
||||
};
|
||||
|
||||
|
||||
DialogueResult();
|
||||
explicit DialogueResult(const std::string &payload);
|
||||
~DialogueResult();
|
||||
std::string getMessage()const;
|
||||
Feedback getFeedback()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Feedback feedback_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DIALOGUERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTREQUEST_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 DownloadOriginalStatisticsReportRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DownloadOriginalStatisticsReportRequest();
|
||||
~DownloadOriginalStatisticsReportRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTRESULT_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 DownloadOriginalStatisticsReportResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DownloadParams
|
||||
{
|
||||
std::string signatureUrl;
|
||||
};
|
||||
|
||||
|
||||
DownloadOriginalStatisticsReportResult();
|
||||
explicit DownloadOriginalStatisticsReportResult(const std::string &payload);
|
||||
~DownloadOriginalStatisticsReportResult();
|
||||
DownloadParams getDownloadParams()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DownloadParams downloadParams_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADORIGINALSTATISTICSREPORTRESULT_H_
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CCC_EXPORT DownloadRecordingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MediaDownloadParam
|
||||
{
|
||||
std::string fileName;
|
||||
std::string signatureUrl;
|
||||
};
|
||||
struct MediaDownloadParam
|
||||
{
|
||||
std::string fileName;
|
||||
std::string signatureUrl;
|
||||
};
|
||||
|
||||
|
||||
DownloadRecordingResult();
|
||||
explicit DownloadRecordingResult(const std::string &payload);
|
||||
~DownloadRecordingResult();
|
||||
std::vector<MediaDownloadParam> getMediaDownloadParam()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
MediaDownloadParam getMediaDownloadParam()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MediaDownloadParam> mediaDownloadParam_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
MediaDownloadParam mediaDownloadParam_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_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 DownloadUnreachableContactsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DownloadUnreachableContactsRequest();
|
||||
~DownloadUnreachableContactsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSRESULT_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 DownloadUnreachableContactsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DownloadParams
|
||||
{
|
||||
std::string signatureUrl;
|
||||
};
|
||||
|
||||
|
||||
DownloadUnreachableContactsResult();
|
||||
explicit DownloadUnreachableContactsResult(const std::string &payload);
|
||||
~DownloadUnreachableContactsResult();
|
||||
DownloadParams getDownloadParams()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DownloadParams downloadParams_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADUNREACHABLECONTACTSRESULT_H_
|
||||
54
ccc/include/alibabacloud/ccc/model/EncryptRequest.h
Normal file
54
ccc/include/alibabacloud/ccc/model/EncryptRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ENCRYPTREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ENCRYPTREQUEST_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 EncryptRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EncryptRequest();
|
||||
~EncryptRequest();
|
||||
|
||||
std::string getPublicKey()const;
|
||||
void setPublicKey(const std::string& publicKey);
|
||||
std::vector<std::string> getPlainText()const;
|
||||
void setPlainText(const std::vector<std::string>& plainText);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string publicKey_;
|
||||
std::vector<std::string> plainText_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ENCRYPTREQUEST_H_
|
||||
66
ccc/include/alibabacloud/ccc/model/EncryptResult.h
Normal file
66
ccc/include/alibabacloud/ccc/model/EncryptResult.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ENCRYPTRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ENCRYPTRESULT_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 EncryptResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CypherContent
|
||||
{
|
||||
std::string plainText;
|
||||
std::string cypherText;
|
||||
};
|
||||
|
||||
|
||||
EncryptResult();
|
||||
explicit EncryptResult(const std::string &payload);
|
||||
~EncryptResult();
|
||||
std::vector<CypherContent> getCypherContents()const;
|
||||
std::string getMessage()const;
|
||||
std::string getPublicKey()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CypherContent> cypherContents_;
|
||||
std::string message_;
|
||||
std::string publicKey_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ENCRYPTRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTREQUEST_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 GenerateAgentStatisticReportRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GenerateAgentStatisticReportRequest();
|
||||
~GenerateAgentStatisticReportRequest();
|
||||
|
||||
std::string getAgentId()const;
|
||||
void setAgentId(const std::string& agentId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string agentId_;
|
||||
std::string instanceId_;
|
||||
std::string endDate_;
|
||||
int pageSize_;
|
||||
std::string startDate_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTREQUEST_H_
|
||||
@@ -0,0 +1,144 @@
|
||||
/*
|
||||
* 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_GENERATEAGENTSTATISTICREPORTRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTRESULT_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 GenerateAgentStatisticReportResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataList
|
||||
{
|
||||
struct GenerateAgentStatistic
|
||||
{
|
||||
struct Inbound
|
||||
{
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
long averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
long callsOffered;
|
||||
long maxRingTime;
|
||||
float satisfactionIndex;
|
||||
long callsHandled;
|
||||
long satisfactionSurveysResponded;
|
||||
long totalRingTime;
|
||||
float handleRate;
|
||||
long totalTalkTime;
|
||||
long averageRingTime;
|
||||
long maxTalkTime;
|
||||
long averageWorkTime;
|
||||
long maxWorkTime;
|
||||
long averageTalkTime;
|
||||
long maxHoldTime;
|
||||
};
|
||||
struct Outbound
|
||||
{
|
||||
long totalDialingTime;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
long averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
float satisfactionIndex;
|
||||
long satisfactionSurveysResponded;
|
||||
long averageDialingTime;
|
||||
long callsAnswered;
|
||||
long totalTalkTime;
|
||||
long callsDialed;
|
||||
long totalDialingTime1;
|
||||
long maxDialingTime;
|
||||
long maxTalkTime;
|
||||
long averageWorkTime;
|
||||
long maxWorkTime;
|
||||
long averageTalkTime;
|
||||
long maxHoldTime;
|
||||
float answerRate;
|
||||
};
|
||||
struct Overall
|
||||
{
|
||||
long totalCalls;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
long averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
float satisfactionIndex;
|
||||
long satisfactionSurveysResponded;
|
||||
long totalTalkTime;
|
||||
long maxTalkTime;
|
||||
long averageWorkTime;
|
||||
long maxWorkTime;
|
||||
long averageTalkTime;
|
||||
long maxHoldTime;
|
||||
};
|
||||
long totalReadyTime;
|
||||
Overall overall;
|
||||
std::string loginName;
|
||||
std::string skillGroupIds;
|
||||
long totalBreakTime;
|
||||
std::string instanceId;
|
||||
std::string recordDate;
|
||||
Inbound inbound;
|
||||
Outbound outbound;
|
||||
long averageReadyTime;
|
||||
std::string skillGroupNames;
|
||||
long totalLoggedInTime;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
long maxReadyTime;
|
||||
float occupancyRate;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<GenerateAgentStatistic> list;
|
||||
};
|
||||
|
||||
|
||||
GenerateAgentStatisticReportResult();
|
||||
explicit GenerateAgentStatisticReportResult(const std::string &payload);
|
||||
~GenerateAgentStatisticReportResult();
|
||||
DataList getDataList()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DataList dataList_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GENERATEAGENTSTATISTICREPORTRESULT_H_
|
||||
66
ccc/include/alibabacloud/ccc/model/GetAgentDataRequest.h
Normal file
66
ccc/include/alibabacloud/ccc/model/GetAgentDataRequest.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETAGENTDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETAGENTDATAREQUEST_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 GetAgentDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAgentDataRequest();
|
||||
~GetAgentDataRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getStartDay()const;
|
||||
void setStartDay(const std::string& startDay);
|
||||
std::string getEndDay()const;
|
||||
void setEndDay(const std::string& endDay);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string startDay_;
|
||||
std::string endDay_;
|
||||
int pageSize_;
|
||||
std::string userId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETAGENTDATAREQUEST_H_
|
||||
144
ccc/include/alibabacloud/ccc/model/GetAgentDataResult.h
Normal file
144
ccc/include/alibabacloud/ccc/model/GetAgentDataResult.h
Normal file
@@ -0,0 +1,144 @@
|
||||
/*
|
||||
* 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_GETAGENTDATARESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETAGENTDATARESULT_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 GetAgentDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataList
|
||||
{
|
||||
struct GenerateAgentStatistic
|
||||
{
|
||||
struct Inbound
|
||||
{
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
long averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
long callsOffered;
|
||||
long maxRingTime;
|
||||
float satisfactionIndex;
|
||||
long callsHandled;
|
||||
long satisfactionSurveysResponded;
|
||||
long totalRingTime;
|
||||
float handleRate;
|
||||
long totalTalkTime;
|
||||
long averageRingTime;
|
||||
long maxTalkTime;
|
||||
long averageWorkTime;
|
||||
long maxWorkTime;
|
||||
long averageTalkTime;
|
||||
long maxHoldTime;
|
||||
};
|
||||
struct Outbound
|
||||
{
|
||||
long totalDialingTime;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
long averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
float satisfactionIndex;
|
||||
long satisfactionSurveysResponded;
|
||||
long averageDialingTime;
|
||||
long callsAnswered;
|
||||
long totalTalkTime;
|
||||
long callsDialed;
|
||||
long totalDialingTime1;
|
||||
long maxDialingTime;
|
||||
long maxTalkTime;
|
||||
long averageWorkTime;
|
||||
long maxWorkTime;
|
||||
long averageTalkTime;
|
||||
long maxHoldTime;
|
||||
float answerRate;
|
||||
};
|
||||
struct Overall
|
||||
{
|
||||
long totalCalls;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
long averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
float satisfactionIndex;
|
||||
long satisfactionSurveysResponded;
|
||||
long totalTalkTime;
|
||||
long maxTalkTime;
|
||||
long averageWorkTime;
|
||||
long maxWorkTime;
|
||||
long averageTalkTime;
|
||||
long maxHoldTime;
|
||||
};
|
||||
long totalReadyTime;
|
||||
Overall overall;
|
||||
std::string loginName;
|
||||
std::string skillGroupIds;
|
||||
long totalBreakTime;
|
||||
std::string instanceId;
|
||||
std::string recordDate;
|
||||
Inbound inbound;
|
||||
Outbound outbound;
|
||||
long averageReadyTime;
|
||||
std::string skillGroupNames;
|
||||
long totalLoggedInTime;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
long maxReadyTime;
|
||||
float occupancyRate;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<GenerateAgentStatistic> list;
|
||||
};
|
||||
|
||||
|
||||
GetAgentDataResult();
|
||||
explicit GetAgentDataResult(const std::string &payload);
|
||||
~GetAgentDataResult();
|
||||
DataList getDataList()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DataList dataList_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETAGENTDATARESULT_H_
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CCC_EXPORT GetConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConfigItem
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
struct ConfigItem
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetConfigResult();
|
||||
explicit GetConfigResult(const std::string &payload);
|
||||
~GetConfigResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<ConfigItem> getConfigItem()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
ConfigItem getConfigItem()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<ConfigItem> configItem_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
ConfigItem configItem_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDREQUEST_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 GetConversationDetailByContactIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConversationDetailByContactIdRequest();
|
||||
~GetConversationDetailByContactIdRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getContactId()const;
|
||||
void setContactId(const std::string& contactId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string contactId_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDRESULT_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 GetConversationDetailByContactIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataList
|
||||
{
|
||||
struct QualityCheckPhrase
|
||||
{
|
||||
std::string role;
|
||||
std::string words;
|
||||
long begin;
|
||||
long end;
|
||||
std::string identity;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<QualityCheckPhrase> list;
|
||||
};
|
||||
|
||||
|
||||
GetConversationDetailByContactIdResult();
|
||||
explicit GetConversationDetailByContactIdResult(const std::string &payload);
|
||||
~GetConversationDetailByContactIdResult();
|
||||
DataList getDataList()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DataList dataList_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONDETAILBYCONTACTIDRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONLISTREQUEST_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 GetConversationListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConversationListRequest();
|
||||
~GetConversationListRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONLISTREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONLISTRESULT_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 GetConversationListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConversationDetail
|
||||
{
|
||||
struct SummaryItem
|
||||
{
|
||||
std::string category;
|
||||
std::string content;
|
||||
std::string summaryName;
|
||||
};
|
||||
std::string script;
|
||||
std::vector<ConversationDetail::SummaryItem> summary;
|
||||
long timestamp;
|
||||
std::string speaker;
|
||||
};
|
||||
|
||||
|
||||
GetConversationListResult();
|
||||
explicit GetConversationListResult(const std::string &payload);
|
||||
~GetConversationListResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<ConversationDetail> getConversations()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<ConversationDetail> conversations_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONVERSATIONLISTRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBDATAUPLOADPARAMSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBDATAUPLOADPARAMSREQUEST_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 GetJobDataUploadParamsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobDataUploadParamsRequest();
|
||||
~GetJobDataUploadParamsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string fileName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBDATAUPLOADPARAMSREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBDATAUPLOADPARAMSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBDATAUPLOADPARAMSRESULT_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 GetJobDataUploadParamsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UploadParams
|
||||
{
|
||||
std::string policy;
|
||||
int expire;
|
||||
std::string accessId;
|
||||
std::string signature;
|
||||
std::string host;
|
||||
std::string folder;
|
||||
};
|
||||
|
||||
|
||||
GetJobDataUploadParamsResult();
|
||||
explicit GetJobDataUploadParamsResult(const std::string &payload);
|
||||
~GetJobDataUploadParamsResult();
|
||||
UploadParams getUploadParams()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
UploadParams uploadParams_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBDATAUPLOADPARAMSRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/GetJobGroupRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/GetJobGroupRequest.h
Normal 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_CCC_MODEL_GETJOBGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBGROUPREQUEST_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 GetJobGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobGroupRequest();
|
||||
~GetJobGroupRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBGROUPREQUEST_H_
|
||||
109
ccc/include/alibabacloud/ccc/model/GetJobGroupResult.h
Normal file
109
ccc/include/alibabacloud/ccc/model/GetJobGroupResult.h
Normal file
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* 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_GETJOBGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBGROUPRESULT_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 GetJobGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobGroup
|
||||
{
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
{
|
||||
std::string endTime;
|
||||
std::string beginTime;
|
||||
};
|
||||
std::vector<TimeFrame> workingTime;
|
||||
bool isTemplate;
|
||||
std::string description;
|
||||
std::string repeatBy;
|
||||
int minAttemptInterval;
|
||||
long endTime;
|
||||
long startTime;
|
||||
std::string name;
|
||||
std::string followUpStrategy;
|
||||
std::string type;
|
||||
std::string customized;
|
||||
int maxAttemptsPerDay;
|
||||
std::string routingStrategy;
|
||||
std::vector<std::string> repeatDays;
|
||||
std::string id;
|
||||
};
|
||||
struct Progress
|
||||
{
|
||||
struct KeyValuePair
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<KeyValuePair> categories;
|
||||
long startTime;
|
||||
int duration;
|
||||
int totalCompleted;
|
||||
int totalNotAnswered;
|
||||
int totalJobs;
|
||||
};
|
||||
Progress progress;
|
||||
std::string description;
|
||||
std::string scenarioId;
|
||||
long creationTime;
|
||||
Strategy strategy;
|
||||
std::string jobFilePath;
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
|
||||
|
||||
GetJobGroupResult();
|
||||
explicit GetJobGroupResult(const std::string &payload);
|
||||
~GetJobGroupResult();
|
||||
JobGroup getJobGroup()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
JobGroup jobGroup_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBGROUPRESULT_H_
|
||||
63
ccc/include/alibabacloud/ccc/model/GetJobListRequest.h
Normal file
63
ccc/include/alibabacloud/ccc/model/GetJobListRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBLISTREQUEST_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 GetJobListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobListRequest();
|
||||
~GetJobListRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getStatus()const;
|
||||
void setStatus(int status);
|
||||
bool getQueryAll()const;
|
||||
void setQueryAll(bool queryAll);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int status_;
|
||||
bool queryAll_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBLISTREQUEST_H_
|
||||
109
ccc/include/alibabacloud/ccc/model/GetJobListResult.h
Normal file
109
ccc/include/alibabacloud/ccc/model/GetJobListResult.h
Normal file
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* 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_GETJOBLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBLISTRESULT_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 GetJobListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Jobs
|
||||
{
|
||||
struct Job
|
||||
{
|
||||
struct Contact
|
||||
{
|
||||
std::string role;
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
std::string contactId;
|
||||
std::string contactName;
|
||||
std::string jobId;
|
||||
};
|
||||
struct KeyValuePair
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct SummaryItem
|
||||
{
|
||||
std::string taskId;
|
||||
std::string category;
|
||||
std::string conversationDetailId;
|
||||
std::string content;
|
||||
std::string summaryId;
|
||||
std::string summaryName;
|
||||
std::string jobId;
|
||||
std::string groupId;
|
||||
};
|
||||
std::string status;
|
||||
std::string scenarioId;
|
||||
int priority;
|
||||
std::string strategyId;
|
||||
std::vector<Job::KeyValuePair> extras;
|
||||
std::string groupId;
|
||||
std::vector<Job::Contact> contacts;
|
||||
std::string referenceId;
|
||||
int systemPriority;
|
||||
std::string failureReason;
|
||||
std::vector<Job::SummaryItem> summary;
|
||||
std::string jobId;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<Job> list;
|
||||
};
|
||||
|
||||
|
||||
GetJobListResult();
|
||||
explicit GetJobListResult(const std::string &payload);
|
||||
~GetJobListResult();
|
||||
std::string getMessage()const;
|
||||
Jobs getJobs()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Jobs jobs_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBLISTRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/GetJobRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/GetJobRequest.h
Normal 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_CCC_MODEL_GETJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBREQUEST_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 GetJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobRequest();
|
||||
~GetJobRequest();
|
||||
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string jobId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBREQUEST_H_
|
||||
137
ccc/include/alibabacloud/ccc/model/GetJobResult.h
Normal file
137
ccc/include/alibabacloud/ccc/model/GetJobResult.h
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBRESULT_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 GetJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
struct Contact
|
||||
{
|
||||
std::string role;
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
std::string contactId;
|
||||
std::string contactName;
|
||||
};
|
||||
struct KeyValuePair
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Task
|
||||
{
|
||||
struct Contact2
|
||||
{
|
||||
std::string role;
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
std::string contactId;
|
||||
std::string contactName;
|
||||
};
|
||||
struct ConversationDetail
|
||||
{
|
||||
struct SummaryItem
|
||||
{
|
||||
std::string category;
|
||||
std::string content;
|
||||
std::string summaryName;
|
||||
};
|
||||
std::string script;
|
||||
std::vector<ConversationDetail::SummaryItem> summary1;
|
||||
long timestamp;
|
||||
std::string speaker;
|
||||
};
|
||||
std::string status;
|
||||
std::string chatbotId;
|
||||
long planedTime;
|
||||
std::string calledNumber;
|
||||
std::string taskId;
|
||||
std::string scenarioId;
|
||||
long actualTime;
|
||||
std::string callId;
|
||||
std::vector<Task::ConversationDetail> conversation;
|
||||
int duration;
|
||||
std::string brief;
|
||||
std::string callingNumber;
|
||||
Contact2 contact2;
|
||||
std::string jobId;
|
||||
};
|
||||
struct SummaryItem3
|
||||
{
|
||||
std::string category;
|
||||
std::string content;
|
||||
std::string summaryName;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Task> tasks;
|
||||
std::string scenarioId;
|
||||
int priority;
|
||||
std::string strategyId;
|
||||
std::vector<KeyValuePair> extras;
|
||||
std::string groupId;
|
||||
std::vector<Contact> contacts;
|
||||
std::string referenceId;
|
||||
int systemPriority;
|
||||
std::string failureReason;
|
||||
std::vector<SummaryItem3> summary;
|
||||
std::string jobId;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
|
||||
|
||||
GetJobResult();
|
||||
explicit GetJobResult(const std::string &payload);
|
||||
~GetJobResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Job getJob()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Job job_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBSTATUSBYCALLIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBSTATUSBYCALLIDREQUEST_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 GetJobStatusByCallIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobStatusByCallIdRequest();
|
||||
~GetJobStatusByCallIdRequest();
|
||||
|
||||
std::string getCallId()const;
|
||||
void setCallId(const std::string& callId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBSTATUSBYCALLIDREQUEST_H_
|
||||
142
ccc/include/alibabacloud/ccc/model/GetJobStatusByCallIdResult.h
Normal file
142
ccc/include/alibabacloud/ccc/model/GetJobStatusByCallIdResult.h
Normal file
@@ -0,0 +1,142 @@
|
||||
/*
|
||||
* 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_GETJOBSTATUSBYCALLIDRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBSTATUSBYCALLIDRESULT_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 GetJobStatusByCallIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
struct Contact
|
||||
{
|
||||
std::string role;
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
std::string contactId;
|
||||
std::string contactName;
|
||||
std::string jobId;
|
||||
};
|
||||
struct KeyValuePair
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Task
|
||||
{
|
||||
struct Contact2
|
||||
{
|
||||
std::string role;
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
std::string contactId;
|
||||
std::string contactName;
|
||||
std::string jobId;
|
||||
};
|
||||
struct ConversationDetail
|
||||
{
|
||||
struct SummaryItem
|
||||
{
|
||||
std::string category;
|
||||
std::string content;
|
||||
std::string summaryId;
|
||||
std::string summaryName;
|
||||
};
|
||||
std::string script;
|
||||
std::vector<ConversationDetail::SummaryItem> summary1;
|
||||
std::string taskId;
|
||||
std::string conversationDetailId;
|
||||
long timestamp;
|
||||
std::string speaker;
|
||||
};
|
||||
std::string status;
|
||||
std::string chatbotId;
|
||||
long planedTime;
|
||||
std::string calledNumber;
|
||||
std::string taskId;
|
||||
std::string scenarioId;
|
||||
long actualTime;
|
||||
std::string callId;
|
||||
std::vector<Task::ConversationDetail> conversation;
|
||||
int duration;
|
||||
std::string brief;
|
||||
std::string callingNumber;
|
||||
Contact2 contact2;
|
||||
std::string jobId;
|
||||
};
|
||||
struct SummaryItem3
|
||||
{
|
||||
std::string category;
|
||||
std::string content;
|
||||
std::string summaryId;
|
||||
std::string summaryName;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Task> tasks;
|
||||
std::string scenarioId;
|
||||
int priority;
|
||||
std::string strategyId;
|
||||
std::vector<KeyValuePair> extras;
|
||||
std::string groupId;
|
||||
std::vector<Contact> contacts;
|
||||
std::string referenceId;
|
||||
std::string failureReason;
|
||||
std::vector<SummaryItem3> summary;
|
||||
std::string jobId;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
|
||||
|
||||
GetJobStatusByCallIdResult();
|
||||
explicit GetJobStatusByCallIdResult(const std::string &payload);
|
||||
~GetJobStatusByCallIdResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Job getJob()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Job job_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBSTATUSBYCALLIDRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBTEMPLATEDOWNLOADPARAMSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBTEMPLATEDOWNLOADPARAMSREQUEST_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 GetJobTemplateDownloadParamsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobTemplateDownloadParamsRequest();
|
||||
~GetJobTemplateDownloadParamsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBTEMPLATEDOWNLOADPARAMSREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBTEMPLATEDOWNLOADPARAMSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBTEMPLATEDOWNLOADPARAMSRESULT_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 GetJobTemplateDownloadParamsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DownloadParams
|
||||
{
|
||||
std::string signatureUrl;
|
||||
};
|
||||
|
||||
|
||||
GetJobTemplateDownloadParamsResult();
|
||||
explicit GetJobTemplateDownloadParamsResult(const std::string &payload);
|
||||
~GetJobTemplateDownloadParamsResult();
|
||||
DownloadParams getDownloadParams()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DownloadParams downloadParams_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBTEMPLATEDOWNLOADPARAMSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETNUMBERREGIONINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETNUMBERREGIONINFOREQUEST_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 GetNumberRegionInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetNumberRegionInfoRequest();
|
||||
~GetNumberRegionInfoRequest();
|
||||
|
||||
std::string getNumber()const;
|
||||
void setNumber(const std::string& number);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string number_;
|
||||
std::string instanceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETNUMBERREGIONINFOREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETNUMBERREGIONINFORESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETNUMBERREGIONINFORESULT_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 GetNumberRegionInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNumber
|
||||
{
|
||||
std::string number;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
|
||||
|
||||
GetNumberRegionInfoResult();
|
||||
explicit GetNumberRegionInfoResult(const std::string &payload);
|
||||
~GetNumberRegionInfoResult();
|
||||
std::string getMessage()const;
|
||||
PhoneNumber getPhoneNumber()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
PhoneNumber phoneNumber_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETNUMBERREGIONINFORESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/GetScenarioRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/GetScenarioRequest.h
Normal 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_CCC_MODEL_GETSCENARIOREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETSCENARIOREQUEST_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 GetScenarioRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetScenarioRequest();
|
||||
~GetScenarioRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETSCENARIOREQUEST_H_
|
||||
113
ccc/include/alibabacloud/ccc/model/GetScenarioResult.h
Normal file
113
ccc/include/alibabacloud/ccc/model/GetScenarioResult.h
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* 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_GETSCENARIORESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETSCENARIORESULT_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 GetScenarioResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Scenario
|
||||
{
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
{
|
||||
std::string endTime;
|
||||
std::string beginTime;
|
||||
};
|
||||
std::vector<TimeFrame> workingTime;
|
||||
bool isTemplate;
|
||||
std::string description;
|
||||
std::string repeatBy;
|
||||
int minAttemptInterval;
|
||||
long endTime;
|
||||
long startTime;
|
||||
std::string name;
|
||||
std::string followUpStrategy;
|
||||
std::string type;
|
||||
std::string customized;
|
||||
int maxAttemptsPerDay;
|
||||
std::string routingStrategy;
|
||||
std::vector<std::string> repeatDays;
|
||||
std::string id;
|
||||
};
|
||||
struct Survey
|
||||
{
|
||||
struct IntentNode
|
||||
{
|
||||
std::string nodeId;
|
||||
std::string intentId;
|
||||
};
|
||||
std::string role;
|
||||
std::string description;
|
||||
std::string beebotId;
|
||||
std::vector<Survey::IntentNode> intents;
|
||||
int round;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
struct KeyValuePair
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::vector<Survey> surveys;
|
||||
std::vector<KeyValuePair> variables;
|
||||
bool isTemplate;
|
||||
std::string type;
|
||||
std::string description;
|
||||
Strategy strategy;
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetScenarioResult();
|
||||
explicit GetScenarioResult(const std::string &payload);
|
||||
~GetScenarioResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
Scenario getScenario()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
Scenario scenario_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETSCENARIORESULT_H_
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CCC_EXPORT GetServiceExtensionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ServiceExtension
|
||||
{
|
||||
std::string number;
|
||||
std::string name;
|
||||
};
|
||||
struct ServiceExtension
|
||||
{
|
||||
std::string number;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetServiceExtensionsResult();
|
||||
explicit GetServiceExtensionsResult(const std::string &payload);
|
||||
~GetServiceExtensionsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<ServiceExtension> getServiceExtensions()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<ServiceExtension> getServiceExtensions()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<ServiceExtension> serviceExtensions_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<ServiceExtension> serviceExtensions_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
54
ccc/include/alibabacloud/ccc/model/GetSurveyRequest.h
Normal file
54
ccc/include/alibabacloud/ccc/model/GetSurveyRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETSURVEYREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETSURVEYREQUEST_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 GetSurveyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSurveyRequest();
|
||||
~GetSurveyRequest();
|
||||
|
||||
std::string getSurveyId()const;
|
||||
void setSurveyId(const std::string& surveyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
|
||||
private:
|
||||
std::string surveyId_;
|
||||
std::string instanceId_;
|
||||
std::string scenarioId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETSURVEYREQUEST_H_
|
||||
84
ccc/include/alibabacloud/ccc/model/GetSurveyResult.h
Normal file
84
ccc/include/alibabacloud/ccc/model/GetSurveyResult.h
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETSURVEYRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETSURVEYRESULT_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 GetSurveyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Survey
|
||||
{
|
||||
struct Flow
|
||||
{
|
||||
std::string flowId;
|
||||
bool isPublished;
|
||||
std::string flowJson;
|
||||
};
|
||||
struct AsrCustomModel
|
||||
{
|
||||
int customModelStatus;
|
||||
std::string corpora;
|
||||
};
|
||||
std::string role;
|
||||
std::string description;
|
||||
std::string hotWords;
|
||||
AsrCustomModel asrCustomModel;
|
||||
int round;
|
||||
std::string speechOptimizationParam;
|
||||
std::string id;
|
||||
std::string globalQuestions;
|
||||
Flow flow;
|
||||
std::string scenarioUuid;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetSurveyResult();
|
||||
explicit GetSurveyResult(const std::string &payload);
|
||||
~GetSurveyResult();
|
||||
Survey getSurvey()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Survey survey_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETSURVEYRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/GetTaskListRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/GetTaskListRequest.h
Normal 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_CCC_MODEL_GETTASKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETTASKLISTREQUEST_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 GetTaskListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTaskListRequest();
|
||||
~GetTaskListRequest();
|
||||
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string jobId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETTASKLISTREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user