Compare commits
99 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43169f9d50 | ||
|
|
c99809b8e4 | ||
|
|
85e2f3ebe4 | ||
|
|
a6d33574bd | ||
|
|
c17dc7c79a | ||
|
|
563e907601 | ||
|
|
33a44c856d | ||
|
|
f877a9ef39 | ||
|
|
eb7ab33440 | ||
|
|
6a5f788210 | ||
|
|
fdc3251134 | ||
|
|
043df1b674 | ||
|
|
5f3caa1943 | ||
|
|
01dcff0b7c | ||
|
|
ae7e11733f | ||
|
|
da28515bd8 | ||
|
|
138dbdc61e | ||
|
|
b429dcc915 | ||
|
|
57daafe4cc | ||
|
|
ecd09578e8 | ||
|
|
78df52c437 | ||
|
|
e477d06dea | ||
|
|
e00a04b071 | ||
|
|
48fc5dfe8c | ||
|
|
6cfcc11657 | ||
|
|
7b7c45cb26 | ||
|
|
cf825c63a5 | ||
|
|
fc29617d7d | ||
|
|
352be1dd14 | ||
|
|
66910b1961 | ||
|
|
790577e792 | ||
|
|
1ee62b8677 | ||
|
|
21edc7f283 | ||
|
|
919f98cbdd | ||
|
|
ad045aa702 | ||
|
|
6e65f364a1 | ||
|
|
bc0df2dcec | ||
|
|
9664fb1b00 | ||
|
|
0df947c481 | ||
|
|
9b7dbef9c8 | ||
|
|
e5522c68c8 | ||
|
|
24eaa468b9 | ||
|
|
44ac453806 | ||
|
|
aa71e41fab | ||
|
|
2fb169a7d4 | ||
|
|
bdfb1e8514 | ||
|
|
cc52fb9dd8 | ||
|
|
893339c43d | ||
|
|
012634c7ea | ||
|
|
892b77665e | ||
|
|
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 |
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: "Bug Report"
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Thank you for reporting a possible bug in Alibaba Cloud C++ SDK
|
||||
|
||||
Please fill in as much of the template below as you can.
|
||||
|
||||
Product and API: the product and API you are working on when bug occurs
|
||||
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
|
||||
How to Reproduce: If possible, please provide code that demonstrates the problem,
|
||||
keeping it as simple and free of external dependencies as you can.
|
||||
|
||||
If crash, please provide the stack trace.
|
||||
|
||||
If build error, please provide compiler information: compiler and version, etc
|
||||
-->
|
||||
|
||||
* **Product and API**:
|
||||
* **Platform**:
|
||||
* **How to Reproduce**
|
||||
|
||||
<!-- Please provide more details below this comment. -->
|
||||
28
.github/ISSUE_TEMPLATE/bug_report_cn.md
vendored
Normal file
28
.github/ISSUE_TEMPLATE/bug_report_cn.md
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
name: "缺陷问题反馈"
|
||||
about: 提交缺陷问题反馈
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
感谢提交问题反馈。
|
||||
|
||||
请提供尽量全面的信息协助问题定位修复。
|
||||
|
||||
产品和接口:问题发生时工作所在的产品和调用的API
|
||||
平台:操作系统信息,类型,版本
|
||||
|
||||
如果可能,请提供一份最小问题复现代码。
|
||||
|
||||
如果崩溃,请提供错误栈。
|
||||
|
||||
如果编译出错,请提供 cmake 版本,编译器版本,编译命令等信息。
|
||||
|
||||
-->
|
||||
|
||||
* **产品和接口**:
|
||||
* **平台**:
|
||||
* **最小代码**:
|
||||
|
||||
<!-- 请提供其他可能协助问题定位的信息 -->
|
||||
|
||||
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
tools/endpoints.json
|
||||
initCoverage.info
|
||||
testCoverage.info
|
||||
coverageReport/
|
||||
Testing/
|
||||
.vscode/
|
||||
ft_build/
|
||||
ut_build/
|
||||
sdk_build/
|
||||
test/httpserver/node_modules
|
||||
test/httpserver/package-lock.json
|
||||
test/httpserver/nohup.out
|
||||
|
||||
9
.idea/aliyun-openapi-cpp-sdk.iml
generated
9
.idea/aliyun-openapi-cpp-sdk.iml
generated
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
8
.idea/modules.xml
generated
8
.idea/modules.xml
generated
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" filepath="$PROJECT_DIR$/.idea/aliyun-openapi-cpp-sdk.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/vcs.xml
generated
6
.idea/vcs.xml
generated
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
316
.idea/workspace.xml
generated
316
.idea/workspace.xml
generated
@@ -1,316 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="0b8685e8-e176-4bd1-aecd-39914b115815" name="Default" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
||||
<change beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
|
||||
</list>
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="TRACKING_ENABLED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file leaf-file-name="README_zh.md" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/README_zh.md">
|
||||
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||
<state split_layout="SPLIT">
|
||||
<first_editor relative-caret-position="97">
|
||||
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
|
||||
<folding />
|
||||
</first_editor>
|
||||
<second_editor />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||
<state split_layout="SPLIT">
|
||||
<first_editor relative-caret-position="139">
|
||||
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
|
||||
<folding />
|
||||
</first_editor>
|
||||
<second_editor />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="GradleLocalSettings">
|
||||
<option name="externalProjectsViewState">
|
||||
<projects_view />
|
||||
</option>
|
||||
<option name="projectSyncType">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$/../../study/swagger2markup" value="PREVIEW" />
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="CHANGED_PATHS">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/README_zh.md" />
|
||||
<option value="$PROJECT_DIR$/README.md" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsGulpfileManager">
|
||||
<detection-done>true</detection-done>
|
||||
<sorting>DEFINITION_ORDER</sorting>
|
||||
</component>
|
||||
<component name="ProjectFrameBounds">
|
||||
<option name="y" value="23" />
|
||||
<option name="width" value="1440" />
|
||||
<option name="height" value="828" />
|
||||
</component>
|
||||
<component name="ProjectView">
|
||||
<navigator currentView="ProjectPane" proportions="" version="1">
|
||||
<flattenPackages />
|
||||
<showMembers />
|
||||
<showModules />
|
||||
<showLibraryContents />
|
||||
<hideEmptyPackages />
|
||||
<abbreviatePackageNames />
|
||||
<autoscrollToSource />
|
||||
<autoscrollFromSource />
|
||||
<sortByType />
|
||||
<manualOrder />
|
||||
<foldersAlwaysOnTop value="true" />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="Scope" />
|
||||
<pane id="PackagesPane" />
|
||||
<pane id="Scratches" />
|
||||
<pane id="ProjectPane">
|
||||
<subPane>
|
||||
<expand>
|
||||
<path>
|
||||
<item name="aliyun-openapi-cpp-sdk" type="b2602c69:ProjectViewProjectNode" />
|
||||
<item name="aliyun-openapi-cpp-sdk" type="462c0819:PsiDirectoryNode" />
|
||||
</path>
|
||||
</expand>
|
||||
<select />
|
||||
</subPane>
|
||||
</pane>
|
||||
<pane id="AndroidView" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="aspect.path.notification.shown" value="true" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="RecentsManager">
|
||||
<key name="CopyFile.RECENT_KEYS">
|
||||
<recent name="$PROJECT_DIR$" />
|
||||
</key>
|
||||
</component>
|
||||
<component name="RunDashboard">
|
||||
<option name="ruleStates">
|
||||
<list>
|
||||
<RuleState>
|
||||
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
<RuleState>
|
||||
<option name="name" value="StatusDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="RunManager">
|
||||
<configuration default="true" type="Applet" factoryName="Applet">
|
||||
<option name="WIDTH" value="400" />
|
||||
<option name="HEIGHT" value="300" />
|
||||
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
|
||||
<module />
|
||||
</configuration>
|
||||
<configuration default="true" type="Application" factoryName="Application">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="" />
|
||||
<envs />
|
||||
</configuration>
|
||||
<configuration default="true" type="JUnit" factoryName="JUnit">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="TEST_OBJECT" value="class" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
</configuration>
|
||||
<configuration default="true" type="Remote" factoryName="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="false" />
|
||||
<option name="SHMEM_ADDRESS" value="javadebug" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5005" />
|
||||
</configuration>
|
||||
<configuration default="true" type="TestNG" factoryName="TestNG">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="SUITE_NAME" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="GROUP_NAME" />
|
||||
<option name="TEST_OBJECT" value="CLASS" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
<option name="ANNOTATION_TYPE" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<option name="USE_DEFAULT_REPORTERS" value="false" />
|
||||
<option name="PROPERTIES_FILE" />
|
||||
<envs />
|
||||
<properties />
|
||||
<listeners />
|
||||
</configuration>
|
||||
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
|
||||
<module name="" />
|
||||
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<predefined_log_file id="idea.log" enabled="true" />
|
||||
</configuration>
|
||||
</component>
|
||||
<component name="ShelveChangesManager" show_recycled="false">
|
||||
<option name="remove_strategy" value="false" />
|
||||
</component>
|
||||
<component name="SvnConfiguration">
|
||||
<configuration />
|
||||
</component>
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="0b8685e8-e176-4bd1-aecd-39914b115815" name="Default" comment="" />
|
||||
<created>1525523789426</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1525523789426</updated>
|
||||
<workItem from="1525523790774" duration="312000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="312000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="0" y="23" width="1440" height="828" extended-state="0" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Palette	" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3287858" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="1" />
|
||||
</component>
|
||||
<component name="VcsContentAnnotationSettings">
|
||||
<option name="myLimit" value="2678400000" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager />
|
||||
<watches-manager />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/README_zh.md">
|
||||
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||
<state split_layout="SPLIT">
|
||||
<first_editor relative-caret-position="97">
|
||||
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
|
||||
<folding />
|
||||
</first_editor>
|
||||
<second_editor />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/README.md">
|
||||
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
||||
<state split_layout="SPLIT">
|
||||
<first_editor relative-caret-position="139">
|
||||
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
|
||||
<folding />
|
||||
</first_editor>
|
||||
<second_editor />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
<component name="masterDetails">
|
||||
<states>
|
||||
<state key="ProjectJDKs.UI">
|
||||
<settings>
|
||||
<last-edited>1.6</last-edited>
|
||||
<splitter-proportions>
|
||||
<option name="proportions">
|
||||
<list>
|
||||
<option value="0.2" />
|
||||
</list>
|
||||
</option>
|
||||
</splitter-proportions>
|
||||
</settings>
|
||||
</state>
|
||||
</states>
|
||||
</component>
|
||||
</project>
|
||||
15
.travis.yml
Normal file
15
.travis.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
dist: xenial
|
||||
sudo: require
|
||||
language: cpp
|
||||
compiler: gcc
|
||||
|
||||
install:
|
||||
- sudo apt-get install lcov libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev nodejs npm
|
||||
|
||||
script:
|
||||
- ./unit_test.sh
|
||||
- ./generate_code_cov.sh
|
||||
- ./function_test.sh
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
7
3rdparty/CMakeLists.txt
vendored
7
3rdparty/CMakeLists.txt
vendored
@@ -44,9 +44,10 @@ endif()
|
||||
ExternalProject_Add(catch
|
||||
URL ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp
|
||||
URL_HASH MD5=9b3d2cb5c0f9532cddfbbfd0a622f0af
|
||||
DOWNLOAD_NO_EXTRACT 1
|
||||
CONFIGURE_COMMAND ""
|
||||
DOWNLOAD_COMMAND ""
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND
|
||||
${CMAKE_COMMAND} -E copy_if_different <DOWNLOADED_FILE> <INSTALL_DIR>/catch.hpp
|
||||
${CMAKE_COMMAND} -E copy_if_different
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp <INSTALL_DIR>/catch.hpp
|
||||
)
|
||||
|
||||
212
CHANGELOG
212
CHANGELOG
@@ -1,3 +1,215 @@
|
||||
2019-03-13 Version: 1.34.10
|
||||
1, Distinguish between system and service parameters
|
||||
|
||||
2019-03-12 Version: 1.34.9
|
||||
1, add agency infomation
|
||||
2, update sdk core resources
|
||||
|
||||
2018-12-20 Version: 1.34.8
|
||||
1, Sync CDN API.
|
||||
|
||||
2018-12-11 Version: 1.34.7
|
||||
1, Sync CDN API.
|
||||
|
||||
2018-12-06 Version: 1.34.6
|
||||
1, Add DescribeLiveDomainRealTimeBpsData, DescribeLiveDomainRealTimeHttpCodeData,DescribeLiveDomainRealTimeTrafficData.
|
||||
2, Update DescirbeCasterChannels and DescribeCasterStreamUrl.
|
||||
|
||||
|
||||
2018-12-03 Version: 1.34.5
|
||||
1, Sync CDN API.
|
||||
|
||||
2018-12-03 Version: 1.34.4
|
||||
1, Sync CDN API.
|
||||
|
||||
2018-12-03 Version: 1.34.3
|
||||
1, Update 2014-11-11 API.
|
||||
|
||||
2018-12-03 Version: 1.34.2
|
||||
1, Add a parameter to RemoveInstances.
|
||||
|
||||
2018-11-30 Version: 1.34.1
|
||||
1, Add new apis called AddVodTemplate, UpdateVodTemplate, DeleteVodTemplate, ListVodTemplate, GetVodTemplate and SetDefaultVodTemplate which support vodtemplate feature.
|
||||
2, Add a new api called CreateUploadAttachedMedia to get upload auth for attached media
|
||||
3, Add new apis called AddWorkFlow, UpdateWorkFlow, DeleteWorkFlow, ListWorkFlow, GetWorkFlow which support workflow feature.
|
||||
|
||||
2018-11-28 Version: 1.34.0
|
||||
1, Add RedeployInstance interface, and support to migrate ecs instance with specified maintenance events actively
|
||||
|
||||
2018-11-28 Version: 1.33.6
|
||||
1, Add APIs InvokeThingsService, SetDevicesProperty and QueryDeviceByTags .
|
||||
|
||||
2018-11-27 Version: 1.33.5
|
||||
1, Add APIs InvokeThingsService, SetDevicesProperty and QueryDeviceByTags .
|
||||
|
||||
2018-11-22 Version: 1.33.4
|
||||
1, Increase the scene field
|
||||
|
||||
2018-11-22 Version: 1.33.3
|
||||
1, Add parameter DeletionProtection when creating instance and modifying instance attribute
|
||||
|
||||
|
||||
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.
|
||||
|
||||
182
CMakeLists.txt
182
CMakeLists.txt
@@ -1,90 +1,94 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
|
||||
file(STRINGS "VERSION" version)
|
||||
|
||||
project(alibabacloud-sdk VERSION ${version})
|
||||
|
||||
message(STATUS "Project version: ${PROJECT_VERSION}")
|
||||
|
||||
set(TARGET_OUTPUT_NAME_PREFIX "alibabacloud-sdk-" CACHE STRING "The target's output name prefix")
|
||||
option(BUILD_SHARED_LIBS "Enable shared library" ON)
|
||||
option(BUILD_UNIT_TESTS "Enable unit tests" OFF)
|
||||
option(BUILD_FUNCTION_TESTS "Enable function test" OFF)
|
||||
|
||||
set(LIB_TYPE STATIC)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(LIB_TYPE SHARED)
|
||||
add_definitions(-DALIBABACLOUD_SHARED)
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL
|
||||
PROPERTY
|
||||
USE_FOLDERS ON)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
include(ExternalProject)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
add_subdirectory(core)
|
||||
|
||||
if(BUILD_UNIT_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(test/core)
|
||||
endif()
|
||||
|
||||
if(BUILD_FUNCTION_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(test/function_test/cdn)
|
||||
add_subdirectory(test/function_test/core)
|
||||
add_subdirectory(test/function_test/ecs)
|
||||
add_subdirectory(test/function_test/nlp)
|
||||
add_subdirectory(test/function_test/rds)
|
||||
add_subdirectory(test/function_test/slb)
|
||||
add_subdirectory(test/function_test/vpc)
|
||||
endif()
|
||||
|
||||
add_subdirectory(ecs)
|
||||
add_subdirectory(slb)
|
||||
add_subdirectory(vpc)
|
||||
add_subdirectory(cdn)
|
||||
add_subdirectory(rds)
|
||||
add_subdirectory(cloudphoto)
|
||||
add_subdirectory(ess)
|
||||
add_subdirectory(tesladam)
|
||||
add_subdirectory(cms)
|
||||
add_subdirectory(afs)
|
||||
add_subdirectory(aegis)
|
||||
add_subdirectory(ehpc)
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(ccc)
|
||||
add_subdirectory(teslamaxcompute)
|
||||
add_subdirectory(push)
|
||||
add_subdirectory(csb)
|
||||
add_subdirectory(domain)
|
||||
add_subdirectory(green)
|
||||
add_subdirectory(hsm)
|
||||
add_subdirectory(dcdn)
|
||||
add_subdirectory(pvtz)
|
||||
add_subdirectory(cloudauth)
|
||||
add_subdirectory(dyvmsapi)
|
||||
add_subdirectory(drds)
|
||||
add_subdirectory(jarvis)
|
||||
add_subdirectory(scdn)
|
||||
add_subdirectory(live)
|
||||
add_subdirectory(rtc)
|
||||
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)
|
||||
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
|
||||
file(STRINGS "VERSION" version)
|
||||
|
||||
project(alibabacloud-sdk VERSION ${version})
|
||||
|
||||
message(STATUS "Project version: ${PROJECT_VERSION}")
|
||||
|
||||
set(TARGET_OUTPUT_NAME_PREFIX "alibabacloud-sdk-" CACHE STRING "The target's output name prefix")
|
||||
option(BUILD_SHARED_LIBS "Enable shared library" ON)
|
||||
option(BUILD_TESTS "Enable tests" ON)
|
||||
|
||||
set(LIB_TYPE STATIC)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(LIB_TYPE SHARED)
|
||||
add_definitions(-DALIBABACLOUD_SHARED)
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL
|
||||
PROPERTY
|
||||
USE_FOLDERS ON)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
include(ExternalProject)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
add_subdirectory(3rdparty)
|
||||
add_subdirectory(core)
|
||||
|
||||
if(BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(core-tests)
|
||||
endif()
|
||||
add_subdirectory(ecs)
|
||||
add_subdirectory(slb)
|
||||
add_subdirectory(vpc)
|
||||
add_subdirectory(cdn)
|
||||
add_subdirectory(rds)
|
||||
add_subdirectory(cloudphoto)
|
||||
add_subdirectory(ess)
|
||||
add_subdirectory(tesladam)
|
||||
add_subdirectory(cms)
|
||||
add_subdirectory(afs)
|
||||
add_subdirectory(aegis)
|
||||
add_subdirectory(ehpc)
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(ccc)
|
||||
add_subdirectory(teslamaxcompute)
|
||||
add_subdirectory(push)
|
||||
add_subdirectory(csb)
|
||||
add_subdirectory(domain)
|
||||
add_subdirectory(green)
|
||||
add_subdirectory(hsm)
|
||||
add_subdirectory(dcdn)
|
||||
add_subdirectory(pvtz)
|
||||
add_subdirectory(cloudauth)
|
||||
add_subdirectory(dyvmsapi)
|
||||
add_subdirectory(drds)
|
||||
add_subdirectory(jarvis)
|
||||
add_subdirectory(scdn)
|
||||
add_subdirectory(live)
|
||||
add_subdirectory(rtc)
|
||||
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(xspace)
|
||||
4
LICENSE
4
LICENSE
@@ -1,4 +1,4 @@
|
||||
Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
Copyright 2009-2019 Alibaba Cloud All rights reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -10,4 +10,4 @@ Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
limitations under the License.
|
||||
|
||||
244
README.md
244
README.md
@@ -1,81 +1,163 @@
|
||||
# Alibaba Cloud C++ Software Development Kit
|
||||
[中文文档](./README_zh.md)
|
||||
|
||||
The Alibaba Cloud C++ Software Development Kit (SDK) allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.
|
||||
|
||||
This document introduces how to obtain and call Alibaba Cloud C++ SDK.
|
||||
|
||||
If you have any problem while using C++ SDK, please join the **DingTalk group: 11771185 (the official SDK customer service group of Alibaba Cloud)** for consultation.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- To use Alibaba Cloud C++ SDK, you must have an Alibaba Cloud account and an AccessKey.
|
||||
|
||||
The AccessKey is required when initializing the client. You can create an AccessKey in the Alibaba Cloud console. For more information, see [Create an AccessKey](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak).
|
||||
|
||||
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
|
||||
|
||||
- To use Alibaba Cloud C++ SDK to access the APIs of a product, you must first activate the product on the [Alibaba Cloud console](https://home.console.aliyun.com/?spm=5176.doc52740.2.4.QKZk8w) if required.
|
||||
|
||||
|
||||
## Install C++ SDK
|
||||
|
||||
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
|
||||
|
||||
- Run the following commands on the Redhat/Fedora system to install third-party libraries.
|
||||
```
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
- Run the following commands on the Debian/Ubuntu system to install third-party libraries.
|
||||
```
|
||||
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
|
||||
```
|
||||
2. Run the following commands to clone source codes from GitHub.
|
||||
|
||||
```
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
## Use the C++ SDK
|
||||
|
||||
Before using C++ SDK, you must first configure the preprocessor to define `ALIBABACLOUD_SHARED` to achieve dynamic linking with Alibaba Cloud C++ SDK shared libraries. Then you must create a client instance, specify the region of cloud services and provide authentication parameters before sending API requests.
|
||||
|
||||
The following code shows how to call the [DescribeInstances](~~25506~~) API of ECS to query detailed information of all ECS instances in a specific region.
|
||||
|
||||
```
|
||||
#include <iostream>
|
||||
#include <alibabacloud/core/AlibabaCloud.h>
|
||||
#include <alibabacloud/ecs/EcsClient.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
// Initialize the SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
|
||||
// Configure the ECS instance
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
|
||||
// Create an API request and set parameters
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess())
|
||||
{
|
||||
// Handle exceptions
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
|
||||
// Close the SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
# Alibaba Cloud C++ Software Development Kit
|
||||
[中文文档](./README_zh.md)
|
||||
|
||||
[](https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk)
|
||||
[](https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk)
|
||||
|
||||
The Alibaba Cloud C++ Software Development Kit (SDK) allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.
|
||||
|
||||
This document introduces how to obtain and call Alibaba Cloud C++ SDK.
|
||||
|
||||
If you have any problem while using C++ SDK, please submit an [issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new).
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- To use Alibaba Cloud C++ SDK, you must have an Alibaba Cloud account and an AccessKey.
|
||||
|
||||
The AccessKey is required when initializing the client. You can create an AccessKey in the Alibaba Cloud console. For more information, see [Create an AccessKey](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak).
|
||||
|
||||
>**Note:** To increase the security of your account, we recommend that you use the AccessKey of the RAM user to access Alibaba Cloud services.
|
||||
|
||||
- To use Alibaba Cloud C++ SDK to access the APIs of a product, you must first activate the product on the [Alibaba Cloud console](https://home.console.aliyun.com/?spm=5176.doc52740.2.4.QKZk8w) if required.
|
||||
|
||||
- C++11 supported compiler installed
|
||||
- Windows: Visual Studio 2015 or newer
|
||||
- Linux: GCC 4.9 or newer
|
||||
- CMake 3.0 or newer
|
||||
- 4G memory or more
|
||||
|
||||
## Install C++ SDK from source code
|
||||
|
||||
|
||||
### Linux
|
||||
|
||||
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
|
||||
|
||||
- Run the following commands on the `Redhat/Fedora` system
|
||||
```
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
- Run the following commands on the `Debian/Ubuntu` system
|
||||
```
|
||||
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
|
||||
```
|
||||
2. Run the following commands to clone source codes from GitHub.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
3. Build and install SDK
|
||||
|
||||
- Manually build and install
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
- Or you may do this with `easyinstall.sh` in the source directory
|
||||
|
||||
```shell
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
```
|
||||
|
||||
**The C++ SDK will be installed to `/usr`.**
|
||||
|
||||
### windows
|
||||
|
||||
1. Install [perl](https://www.perl.org/get.html#win32).
|
||||
|
||||
2. Run the following command to clone code from Github via git-bash:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
2. Build Visual Studio solution
|
||||
|
||||
- Change directory to source code and make directory sdk_build
|
||||
|
||||
- Open CMake UI and
|
||||
|
||||
- `Browse Source` to open source code directory.
|
||||
|
||||
- `Browse build` to open the created sdk_build directory
|
||||
|
||||
- `Configure`
|
||||
|
||||
- `Generate`
|
||||
|
||||
3. Build and Install C++ SDK
|
||||
|
||||
- Open `aliyun-openapi-cpp-sdk\\sdk_build\\alibabacloud-sdk.sln` with Visual Studio
|
||||
|
||||
- Select `Release`
|
||||
|
||||
- Check INSTALL option from Build -> Configuration Manager
|
||||
|
||||
- Build->Build Solutions to build.
|
||||
|
||||
**SDK will be installed to `C:\Program File (x86)\alibabacloud-sdk`**
|
||||
|
||||
|
||||
## Use the C++ SDK
|
||||
|
||||
Before using C++ SDK, you must first configure the preprocessor to define `ALIBABACLOUD_SHARED` to achieve dynamic linking with Alibaba Cloud C++ SDK shared libraries. Then you must create a client instance, specify the region of cloud services and provide authentication parameters before sending API requests.
|
||||
|
||||
The following code shows how to call the [DescribeInstances](~~25506~~) API of ECS to query detailed information of all ECS instances in a specific region.
|
||||
|
||||
```cpp
|
||||
#include <iostream>
|
||||
#include <alibabacloud/core/AlibabaCloud.h>
|
||||
#include <alibabacloud/ecs/EcsClient.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
// Initialize the SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
|
||||
// Configure the ECS instance
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
|
||||
// Create an API request and set parameters
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess()) {
|
||||
// Handle exceptions
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
|
||||
// Close the SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
Copy the above to ecs_test.cc, then build with the following command.
|
||||
|
||||
```bash
|
||||
~$ g++ -o ecstest ecs_test.cc --std=c++11 -lalibabacloud-sdk-core -l alibabacloud-sdk-ecs
|
||||
~$ ./ecstest
|
||||
# Result or error message will be shown here.
|
||||
~$
|
||||
```
|
||||
|
||||
**More [examples](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples)**
|
||||
|
||||
## LICENSE
|
||||
Please refer to [LICENSE](https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/LICENSE) (Apache 2.0 LICENSE).
|
||||
|
||||
135
README_zh.md
135
README_zh.md
@@ -1,9 +1,14 @@
|
||||
# 阿里云开发者C++工具套件
|
||||
|
||||
[](https://travis-ci.org/aliyun/aliyun-openapi-cpp-sdk)
|
||||
[](https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk)
|
||||
|
||||
欢迎使用阿里云开发者工具套件(SDK)。
|
||||
|
||||
适用于阿里云的 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](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
|
||||
|
||||
完成本文档中的操作开始使用 C++ SDK。
|
||||
|
||||
## 前提条件
|
||||
@@ -17,8 +22,11 @@
|
||||
* 开通了云产品服务。有些云产品如对象存储(OSS)需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
|
||||
|
||||
* 安装支持 C++ 11 或更高版本的编译器:
|
||||
* Visual Studio 2015 或以上版本
|
||||
* 或 GCC 4.9 或以上版本
|
||||
* Windows: Visual Studio 2015 或以上版本
|
||||
* Linux: GCC 4.9 或以上版本
|
||||
|
||||
* 安装 CMake 3.0 或以上版本
|
||||
* 建议 4G 或以上内存
|
||||
|
||||
## 从源代码构建 SDK
|
||||
|
||||
@@ -31,43 +39,77 @@
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
2. 安装 cmake 3.0 或以上版本,进入 SDK 创建生成必要的构建文件
|
||||
2. 创建生成必要的构建文件
|
||||
|
||||
```
|
||||
```bash
|
||||
cd <path/to/aliyun-openapi-cpp-sdk>
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake ..
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 生成解决方案。
|
||||
|
||||
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
|
||||
|
||||
```
|
||||
msbuild ALL_BUILD.vcxproj
|
||||
msbuild INSTALL.vcxproj
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
|
||||
|
||||
例如:在基于 Redhat / Fedora 的系统上安装这些软件包
|
||||
|
||||
```
|
||||
```bash
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
|
||||
在基于 Debian/Ubuntu 的系统
|
||||
```bash
|
||||
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
|
||||
```
|
||||
|
||||
在安装依赖库后执行以下命令编译并安装:
|
||||
|
||||
手动编译安装
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
make
|
||||
sudo make install
|
||||
|
||||
或者通过 `easyinstall.sh`一键式安装
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
```
|
||||
|
||||
**C++ SDK 将被安装在 `/usr`.**
|
||||
|
||||
|
||||
### Windows
|
||||
|
||||
通过 cmake 生成 Visual Studio 解决方案:
|
||||
|
||||
在 aliyun-openapi-cpp-sdk 下创建 sdk_build 目录
|
||||
|
||||
打开 cmake-ui 选择源代码目录和构建目录,点击 `配置(configure)` 和 `生成(generate)` 构建 VS 解决方案。
|
||||
|
||||
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 解决方案。
|
||||
|
||||
选择构建 `Release` 输出,并打开配置管理器勾选 `INSTALL`。
|
||||
|
||||
构建 -> 生成解决方案。
|
||||
|
||||
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
|
||||
|
||||
```
|
||||
msbuild ALL_BUILD.vcxproj
|
||||
msbuild INSTALL.vcxproj
|
||||
```
|
||||
|
||||
**C++ SDK 将安装在 `C:\Program File (x86)\alibabacloud-sdk` 目录**
|
||||
|
||||
**注意:请以管理员身份运行 Visual Studio,否则无法安装 SDK**
|
||||
|
||||
## 如何使用 C++ SDK
|
||||
|
||||
在调用 C++ SDK时,您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证,并指定云服务的地域,然后发送API请求。
|
||||
@@ -84,35 +126,46 @@ sudo make install
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Ecs;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
// 初始化 SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
int main(int argc, char** argv) {
|
||||
// 初始化 SDK
|
||||
AlibabaCloud::InitializeSdk();
|
||||
|
||||
// 配置 ecs 实例
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
// 配置 ecs 实例
|
||||
ClientConfiguration configuration("<your-region-id>");
|
||||
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
|
||||
|
||||
// 创建API请求并设置参数
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
// 创建API请求并设置参数
|
||||
Model::DescribeInstancesRequest request;
|
||||
request.setPageSize(10);
|
||||
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess())
|
||||
{
|
||||
// 异常处理
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
auto outcome = client.describeInstances(request);
|
||||
if (!outcome.isSuccess()) {
|
||||
// 异常处理
|
||||
std::cout << outcome.error().errorCode() << std::endl;
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return -1;
|
||||
}
|
||||
|
||||
// 关闭 SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
|
||||
|
||||
// 关闭 SDK
|
||||
AlibabaCloud::ShutdownSdk();
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
复制上述文件到 ecs_test.cc。
|
||||
|
||||
Linux 下
|
||||
|
||||
```bash
|
||||
~$ g++ -o ecstest ecs_test.cc --std=c++11 -lalibabacloud-sdk-core -l alibabacloud-sdk-ecs
|
||||
~$ ./ecstest
|
||||
# 结果或错误返回将在此展示
|
||||
~$
|
||||
```
|
||||
|
||||
**更多 [例程](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples) 请(参考)[https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/examples/README_zh.md]**
|
||||
|
||||
## 许可协议
|
||||
请参阅 LICENSE 文件(Apache 2.0 许可证)。
|
||||
|
||||
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,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_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);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string targetLanguage_;
|
||||
std::string scene_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
@@ -14,43 +14,46 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBPSDATARESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBPSDATARESULT_H_
|
||||
#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/cdn/CdnExport.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamBpsDataResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateECommerceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainBpsModel
|
||||
struct Data
|
||||
{
|
||||
float bps;
|
||||
std::string time;
|
||||
std::string translated;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamBpsDataResult();
|
||||
explicit DescribeLiveStreamBpsDataResult(const std::string &payload);
|
||||
~DescribeLiveStreamBpsDataResult();
|
||||
std::vector<DomainBpsModel> getBpsDatas()const;
|
||||
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::vector<DomainBpsModel> bpsDatas_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBPSDATARESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCERESULT_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_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);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string targetLanguage_;
|
||||
std::string scene_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#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();
|
||||
}
|
||||
|
||||
82
alimt/src/model/TranslateECommerceRequest.cc
Normal file
82
alimt/src/model/TranslateECommerceRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/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);
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
82
alimt/src/model/TranslateGeneralRequest.cc
Normal file
82
alimt/src/model/TranslateGeneralRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/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);
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
90
ccs/CMakeLists.txt
Executable file
90
ccs/CMakeLists.txt
Executable file
@@ -0,0 +1,90 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(ccs_public_header
|
||||
include/alibabacloud/ccs/CcsClient.h
|
||||
include/alibabacloud/ccs/CcsExport.h )
|
||||
|
||||
set(ccs_public_header_model
|
||||
include/alibabacloud/ccs/model/GetHotlineRecordRequest.h
|
||||
include/alibabacloud/ccs/model/GetHotlineRecordResult.h
|
||||
include/alibabacloud/ccs/model/QueryHotlineRecordRequest.h
|
||||
include/alibabacloud/ccs/model/QueryHotlineRecordResult.h )
|
||||
|
||||
set(ccs_src
|
||||
src/CcsClient.cc
|
||||
src/model/GetHotlineRecordRequest.cc
|
||||
src/model/GetHotlineRecordResult.cc
|
||||
src/model/QueryHotlineRecordRequest.cc
|
||||
src/model/QueryHotlineRecordResult.cc )
|
||||
|
||||
add_library(ccs ${LIB_TYPE}
|
||||
${ccs_public_header}
|
||||
${ccs_public_header_model}
|
||||
${ccs_src})
|
||||
|
||||
set_target_properties(ccs
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}ccs
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(ccs
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CCS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(ccs
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(ccs
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(ccs
|
||||
jsoncpp)
|
||||
target_include_directories(ccs
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(ccs
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(ccs
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(ccs
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(ccs
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${ccs_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ccs)
|
||||
install(FILES ${ccs_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ccs/model)
|
||||
install(TARGETS ccs
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
62
ccs/include/alibabacloud/ccs/CcsClient.h
Executable file
62
ccs/include/alibabacloud/ccs/CcsClient.h
Executable file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCS_CCSCLIENT_H_
|
||||
#define ALIBABACLOUD_CCS_CCSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CcsExport.h"
|
||||
#include "model/GetHotlineRecordRequest.h"
|
||||
#include "model/GetHotlineRecordResult.h"
|
||||
#include "model/QueryHotlineRecordRequest.h"
|
||||
#include "model/QueryHotlineRecordResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ccs
|
||||
{
|
||||
class ALIBABACLOUD_CCS_EXPORT CcsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::GetHotlineRecordResult> GetHotlineRecordOutcome;
|
||||
typedef std::future<GetHotlineRecordOutcome> GetHotlineRecordOutcomeCallable;
|
||||
typedef std::function<void(const CcsClient*, const Model::GetHotlineRecordRequest&, const GetHotlineRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHotlineRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryHotlineRecordResult> QueryHotlineRecordOutcome;
|
||||
typedef std::future<QueryHotlineRecordOutcome> QueryHotlineRecordOutcomeCallable;
|
||||
typedef std::function<void(const CcsClient*, const Model::QueryHotlineRecordRequest&, const QueryHotlineRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryHotlineRecordAsyncHandler;
|
||||
|
||||
CcsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CcsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CcsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CcsClient();
|
||||
GetHotlineRecordOutcome getHotlineRecord(const Model::GetHotlineRecordRequest &request)const;
|
||||
void getHotlineRecordAsync(const Model::GetHotlineRecordRequest& request, const GetHotlineRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetHotlineRecordOutcomeCallable getHotlineRecordCallable(const Model::GetHotlineRecordRequest& request) const;
|
||||
QueryHotlineRecordOutcome queryHotlineRecord(const Model::QueryHotlineRecordRequest &request)const;
|
||||
void queryHotlineRecordAsync(const Model::QueryHotlineRecordRequest& request, const QueryHotlineRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryHotlineRecordOutcomeCallable queryHotlineRecordCallable(const Model::QueryHotlineRecordRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CCS_CCSCLIENT_H_
|
||||
32
ccs/include/alibabacloud/ccs/CcsExport.h
Executable file
32
ccs/include/alibabacloud/ccs/CcsExport.h
Executable file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCS_CCSEXPORT_H_
|
||||
#define ALIBABACLOUD_CCS_CCSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CCS_LIBRARY)
|
||||
# define ALIBABACLOUD_CCS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CCS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CCS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CCS_CCSEXPORT_H_
|
||||
51
ccs/include/alibabacloud/ccs/model/GetHotlineRecordRequest.h
Executable file
51
ccs/include/alibabacloud/ccs/model/GetHotlineRecordRequest.h
Executable file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccs/CcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ccs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCS_EXPORT GetHotlineRecordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetHotlineRecordRequest();
|
||||
~GetHotlineRecordRequest();
|
||||
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getCcsInstanceId()const;
|
||||
void setCcsInstanceId(const std::string& ccsInstanceId);
|
||||
|
||||
private:
|
||||
std::string id_;
|
||||
std::string ccsInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDREQUEST_H_
|
||||
89
ccs/include/alibabacloud/ccs/model/GetHotlineRecordResult.h
Executable file
89
ccs/include/alibabacloud/ccs/model/GetHotlineRecordResult.h
Executable file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDRESULT_H_
|
||||
#define ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccs/CcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ccs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCS_EXPORT GetHotlineRecordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetHotlineRecordResult();
|
||||
explicit GetHotlineRecordResult(const std::string &payload);
|
||||
~GetHotlineRecordResult();
|
||||
std::string getStatus()const;
|
||||
std::string getGroupName()const;
|
||||
std::string getVisitorId()const;
|
||||
std::string getOutboundTaskId()const;
|
||||
std::string getCategories()const;
|
||||
long getTalkDuration()const;
|
||||
std::string getVisitorPhone()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getSatisfaction()const;
|
||||
std::string getCallType()const;
|
||||
std::string getVisitorProvince()const;
|
||||
std::string getCcsInstanceId()const;
|
||||
std::string getGroupId()const;
|
||||
std::string getSceneId()const;
|
||||
std::string getFinishTime()const;
|
||||
std::string getHangupType()const;
|
||||
std::string getId()const;
|
||||
std::string getAgentId()const;
|
||||
std::string getAgentName()const;
|
||||
std::string getMemo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string groupName_;
|
||||
std::string visitorId_;
|
||||
std::string outboundTaskId_;
|
||||
std::string categories_;
|
||||
long talkDuration_;
|
||||
std::string visitorPhone_;
|
||||
std::string createTime_;
|
||||
std::string satisfaction_;
|
||||
std::string callType_;
|
||||
std::string visitorProvince_;
|
||||
std::string ccsInstanceId_;
|
||||
std::string groupId_;
|
||||
std::string sceneId_;
|
||||
std::string finishTime_;
|
||||
std::string hangupType_;
|
||||
std::string id_;
|
||||
std::string agentId_;
|
||||
std::string agentName_;
|
||||
std::string memo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCS_MODEL_GETHOTLINERECORDRESULT_H_
|
||||
93
ccs/include/alibabacloud/ccs/model/QueryHotlineRecordRequest.h
Executable file
93
ccs/include/alibabacloud/ccs/model/QueryHotlineRecordRequest.h
Executable file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccs/CcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ccs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCS_EXPORT QueryHotlineRecordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryHotlineRecordRequest();
|
||||
~QueryHotlineRecordRequest();
|
||||
|
||||
std::string getAgentId()const;
|
||||
void setAgentId(const std::string& agentId);
|
||||
long getMaxTalkDuration()const;
|
||||
void setMaxTalkDuration(long maxTalkDuration);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getSatisfaction()const;
|
||||
void setSatisfaction(const std::string& satisfaction);
|
||||
long getMinTalkDuratoin()const;
|
||||
void setMinTalkDuratoin(long minTalkDuratoin);
|
||||
std::string getCategoryIds()const;
|
||||
void setCategoryIds(const std::string& categoryIds);
|
||||
std::string getVisitorProvince()const;
|
||||
void setVisitorProvince(const std::string& visitorProvince);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCallType()const;
|
||||
void setCallType(const std::string& callType);
|
||||
std::string getCcsInstanceId()const;
|
||||
void setCcsInstanceId(const std::string& ccsInstanceId);
|
||||
std::string getVisitorPhone()const;
|
||||
void setVisitorPhone(const std::string& visitorPhone);
|
||||
std::string getVisitorId()const;
|
||||
void setVisitorId(const std::string& visitorId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string agentId_;
|
||||
long maxTalkDuration_;
|
||||
std::string groupId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
int pageNum_;
|
||||
std::string satisfaction_;
|
||||
long minTalkDuratoin_;
|
||||
std::string categoryIds_;
|
||||
std::string visitorProvince_;
|
||||
int pageSize_;
|
||||
std::string callType_;
|
||||
std::string ccsInstanceId_;
|
||||
std::string visitorPhone_;
|
||||
std::string visitorId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDREQUEST_H_
|
||||
79
ccs/include/alibabacloud/ccs/model/QueryHotlineRecordResult.h
Executable file
79
ccs/include/alibabacloud/ccs/model/QueryHotlineRecordResult.h
Executable file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDRESULT_H_
|
||||
#define ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccs/CcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ccs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCS_EXPORT QueryHotlineRecordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct HotlineRecord
|
||||
{
|
||||
std::string groupName;
|
||||
std::string status;
|
||||
std::string visitorId;
|
||||
std::string outboundTaskId;
|
||||
std::string categories;
|
||||
long talkDuration;
|
||||
std::string visitorPhone;
|
||||
std::string createTime;
|
||||
std::string satisfaction;
|
||||
std::string callType;
|
||||
std::string visitorProvince;
|
||||
std::string ccsInstanceId;
|
||||
std::string groupId;
|
||||
std::string finishTime;
|
||||
std::string hangupType;
|
||||
std::string id;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
std::string memo;
|
||||
};
|
||||
|
||||
|
||||
QueryHotlineRecordResult();
|
||||
explicit QueryHotlineRecordResult(const std::string &payload);
|
||||
~QueryHotlineRecordResult();
|
||||
int getTotalCount()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
std::vector<HotlineRecord> getRecords()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
std::vector<HotlineRecord> records_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCS_MODEL_QUERYHOTLINERECORDRESULT_H_
|
||||
125
ccs/src/CcsClient.cc
Executable file
125
ccs/src/CcsClient.cc
Executable file
@@ -0,0 +1,125 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccs/CcsClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Ccs;
|
||||
using namespace AlibabaCloud::Ccs::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "Ccs";
|
||||
}
|
||||
|
||||
CcsClient::CcsClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ccs");
|
||||
}
|
||||
|
||||
CcsClient::CcsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ccs");
|
||||
}
|
||||
|
||||
CcsClient::CcsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ccs");
|
||||
}
|
||||
|
||||
CcsClient::~CcsClient()
|
||||
{}
|
||||
|
||||
CcsClient::GetHotlineRecordOutcome CcsClient::getHotlineRecord(const GetHotlineRecordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetHotlineRecordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetHotlineRecordOutcome(GetHotlineRecordResult(outcome.result()));
|
||||
else
|
||||
return GetHotlineRecordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CcsClient::getHotlineRecordAsync(const GetHotlineRecordRequest& request, const GetHotlineRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getHotlineRecord(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CcsClient::GetHotlineRecordOutcomeCallable CcsClient::getHotlineRecordCallable(const GetHotlineRecordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetHotlineRecordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getHotlineRecord(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CcsClient::QueryHotlineRecordOutcome CcsClient::queryHotlineRecord(const QueryHotlineRecordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryHotlineRecordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryHotlineRecordOutcome(QueryHotlineRecordResult(outcome.result()));
|
||||
else
|
||||
return QueryHotlineRecordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CcsClient::queryHotlineRecordAsync(const QueryHotlineRecordRequest& request, const QueryHotlineRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryHotlineRecord(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CcsClient::QueryHotlineRecordOutcomeCallable CcsClient::queryHotlineRecordCallable(const QueryHotlineRecordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryHotlineRecordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryHotlineRecord(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
49
ccs/src/model/GetHotlineRecordRequest.cc
Executable file
49
ccs/src/model/GetHotlineRecordRequest.cc
Executable file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccs/model/GetHotlineRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Ccs::Model::GetHotlineRecordRequest;
|
||||
|
||||
GetHotlineRecordRequest::GetHotlineRecordRequest() :
|
||||
RpcServiceRequest("ccs", "2017-10-01", "GetHotlineRecord")
|
||||
{}
|
||||
|
||||
GetHotlineRecordRequest::~GetHotlineRecordRequest()
|
||||
{}
|
||||
|
||||
std::string GetHotlineRecordRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void GetHotlineRecordRequest::setId(const std::string& id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", id);
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordRequest::getCcsInstanceId()const
|
||||
{
|
||||
return ccsInstanceId_;
|
||||
}
|
||||
|
||||
void GetHotlineRecordRequest::setCcsInstanceId(const std::string& ccsInstanceId)
|
||||
{
|
||||
ccsInstanceId_ = ccsInstanceId;
|
||||
setParameter("CcsInstanceId", ccsInstanceId);
|
||||
}
|
||||
|
||||
185
ccs/src/model/GetHotlineRecordResult.cc
Executable file
185
ccs/src/model/GetHotlineRecordResult.cc
Executable file
@@ -0,0 +1,185 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccs/model/GetHotlineRecordResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ccs;
|
||||
using namespace AlibabaCloud::Ccs::Model;
|
||||
|
||||
GetHotlineRecordResult::GetHotlineRecordResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetHotlineRecordResult::GetHotlineRecordResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetHotlineRecordResult::~GetHotlineRecordResult()
|
||||
{}
|
||||
|
||||
void GetHotlineRecordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
id_ = value["Id"].asString();
|
||||
if(!value["CallType"].isNull())
|
||||
callType_ = value["CallType"].asString();
|
||||
if(!value["VisitorId"].isNull())
|
||||
visitorId_ = value["VisitorId"].asString();
|
||||
if(!value["VisitorPhone"].isNull())
|
||||
visitorPhone_ = value["VisitorPhone"].asString();
|
||||
if(!value["VisitorProvince"].isNull())
|
||||
visitorProvince_ = value["VisitorProvince"].asString();
|
||||
if(!value["SceneId"].isNull())
|
||||
sceneId_ = value["SceneId"].asString();
|
||||
if(!value["AgentId"].isNull())
|
||||
agentId_ = value["AgentId"].asString();
|
||||
if(!value["AgentName"].isNull())
|
||||
agentName_ = value["AgentName"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["FinishTime"].isNull())
|
||||
finishTime_ = value["FinishTime"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["Memo"].isNull())
|
||||
memo_ = value["Memo"].asString();
|
||||
if(!value["HangupType"].isNull())
|
||||
hangupType_ = value["HangupType"].asString();
|
||||
if(!value["Satisfaction"].isNull())
|
||||
satisfaction_ = value["Satisfaction"].asString();
|
||||
if(!value["OutboundTaskId"].isNull())
|
||||
outboundTaskId_ = value["OutboundTaskId"].asString();
|
||||
if(!value["Categories"].isNull())
|
||||
categories_ = value["Categories"].asString();
|
||||
if(!value["CcsInstanceId"].isNull())
|
||||
ccsInstanceId_ = value["CcsInstanceId"].asString();
|
||||
if(!value["TalkDuration"].isNull())
|
||||
talkDuration_ = std::stol(value["TalkDuration"].asString());
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
if(!value["GroupName"].isNull())
|
||||
groupName_ = value["GroupName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getVisitorId()const
|
||||
{
|
||||
return visitorId_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getOutboundTaskId()const
|
||||
{
|
||||
return outboundTaskId_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getCategories()const
|
||||
{
|
||||
return categories_;
|
||||
}
|
||||
|
||||
long GetHotlineRecordResult::getTalkDuration()const
|
||||
{
|
||||
return talkDuration_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getVisitorPhone()const
|
||||
{
|
||||
return visitorPhone_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getSatisfaction()const
|
||||
{
|
||||
return satisfaction_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getCallType()const
|
||||
{
|
||||
return callType_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getVisitorProvince()const
|
||||
{
|
||||
return visitorProvince_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getCcsInstanceId()const
|
||||
{
|
||||
return ccsInstanceId_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getFinishTime()const
|
||||
{
|
||||
return finishTime_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getHangupType()const
|
||||
{
|
||||
return hangupType_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getAgentId()const
|
||||
{
|
||||
return agentId_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getAgentName()const
|
||||
{
|
||||
return agentName_;
|
||||
}
|
||||
|
||||
std::string GetHotlineRecordResult::getMemo()const
|
||||
{
|
||||
return memo_;
|
||||
}
|
||||
|
||||
203
ccs/src/model/QueryHotlineRecordRequest.cc
Executable file
203
ccs/src/model/QueryHotlineRecordRequest.cc
Executable file
@@ -0,0 +1,203 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccs/model/QueryHotlineRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Ccs::Model::QueryHotlineRecordRequest;
|
||||
|
||||
QueryHotlineRecordRequest::QueryHotlineRecordRequest() :
|
||||
RpcServiceRequest("ccs", "2017-10-01", "QueryHotlineRecord")
|
||||
{}
|
||||
|
||||
QueryHotlineRecordRequest::~QueryHotlineRecordRequest()
|
||||
{}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getAgentId()const
|
||||
{
|
||||
return agentId_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setAgentId(const std::string& agentId)
|
||||
{
|
||||
agentId_ = agentId;
|
||||
setParameter("AgentId", agentId);
|
||||
}
|
||||
|
||||
long QueryHotlineRecordRequest::getMaxTalkDuration()const
|
||||
{
|
||||
return maxTalkDuration_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setMaxTalkDuration(long maxTalkDuration)
|
||||
{
|
||||
maxTalkDuration_ = maxTalkDuration;
|
||||
setParameter("MaxTalkDuration", std::to_string(maxTalkDuration));
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int QueryHotlineRecordRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getSatisfaction()const
|
||||
{
|
||||
return satisfaction_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setSatisfaction(const std::string& satisfaction)
|
||||
{
|
||||
satisfaction_ = satisfaction;
|
||||
setParameter("Satisfaction", satisfaction);
|
||||
}
|
||||
|
||||
long QueryHotlineRecordRequest::getMinTalkDuratoin()const
|
||||
{
|
||||
return minTalkDuratoin_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setMinTalkDuratoin(long minTalkDuratoin)
|
||||
{
|
||||
minTalkDuratoin_ = minTalkDuratoin;
|
||||
setParameter("MinTalkDuratoin", std::to_string(minTalkDuratoin));
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getCategoryIds()const
|
||||
{
|
||||
return categoryIds_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setCategoryIds(const std::string& categoryIds)
|
||||
{
|
||||
categoryIds_ = categoryIds;
|
||||
setParameter("CategoryIds", categoryIds);
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getVisitorProvince()const
|
||||
{
|
||||
return visitorProvince_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setVisitorProvince(const std::string& visitorProvince)
|
||||
{
|
||||
visitorProvince_ = visitorProvince;
|
||||
setParameter("VisitorProvince", visitorProvince);
|
||||
}
|
||||
|
||||
int QueryHotlineRecordRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getCallType()const
|
||||
{
|
||||
return callType_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setCallType(const std::string& callType)
|
||||
{
|
||||
callType_ = callType;
|
||||
setParameter("CallType", callType);
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getCcsInstanceId()const
|
||||
{
|
||||
return ccsInstanceId_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setCcsInstanceId(const std::string& ccsInstanceId)
|
||||
{
|
||||
ccsInstanceId_ = ccsInstanceId;
|
||||
setParameter("CcsInstanceId", ccsInstanceId);
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getVisitorPhone()const
|
||||
{
|
||||
return visitorPhone_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setVisitorPhone(const std::string& visitorPhone)
|
||||
{
|
||||
visitorPhone_ = visitorPhone;
|
||||
setParameter("VisitorPhone", visitorPhone);
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getVisitorId()const
|
||||
{
|
||||
return visitorId_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setVisitorId(const std::string& visitorId)
|
||||
{
|
||||
visitorId_ = visitorId;
|
||||
setParameter("VisitorId", visitorId);
|
||||
}
|
||||
|
||||
std::string QueryHotlineRecordRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void QueryHotlineRecordRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
115
ccs/src/model/QueryHotlineRecordResult.cc
Executable file
115
ccs/src/model/QueryHotlineRecordResult.cc
Executable file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccs/model/QueryHotlineRecordResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ccs;
|
||||
using namespace AlibabaCloud::Ccs::Model;
|
||||
|
||||
QueryHotlineRecordResult::QueryHotlineRecordResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryHotlineRecordResult::QueryHotlineRecordResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryHotlineRecordResult::~QueryHotlineRecordResult()
|
||||
{}
|
||||
|
||||
void QueryHotlineRecordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRecords = value["Records"]["HotlineRecord"];
|
||||
for (auto value : allRecords)
|
||||
{
|
||||
HotlineRecord recordsObject;
|
||||
if(!value["Id"].isNull())
|
||||
recordsObject.id = value["Id"].asString();
|
||||
if(!value["VisitorId"].isNull())
|
||||
recordsObject.visitorId = value["VisitorId"].asString();
|
||||
if(!value["VisitorPhone"].isNull())
|
||||
recordsObject.visitorPhone = value["VisitorPhone"].asString();
|
||||
if(!value["VisitorProvince"].isNull())
|
||||
recordsObject.visitorProvince = value["VisitorProvince"].asString();
|
||||
if(!value["CallType"].isNull())
|
||||
recordsObject.callType = value["CallType"].asString();
|
||||
if(!value["AgentId"].isNull())
|
||||
recordsObject.agentId = value["AgentId"].asString();
|
||||
if(!value["AgentName"].isNull())
|
||||
recordsObject.agentName = value["AgentName"].asString();
|
||||
if(!value["GroupId"].isNull())
|
||||
recordsObject.groupId = value["GroupId"].asString();
|
||||
if(!value["GroupName"].isNull())
|
||||
recordsObject.groupName = value["GroupName"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
recordsObject.createTime = value["CreateTime"].asString();
|
||||
if(!value["FinishTime"].isNull())
|
||||
recordsObject.finishTime = value["FinishTime"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
recordsObject.status = value["Status"].asString();
|
||||
if(!value["Memo"].isNull())
|
||||
recordsObject.memo = value["Memo"].asString();
|
||||
if(!value["HangupType"].isNull())
|
||||
recordsObject.hangupType = value["HangupType"].asString();
|
||||
if(!value["Satisfaction"].isNull())
|
||||
recordsObject.satisfaction = value["Satisfaction"].asString();
|
||||
if(!value["OutboundTaskId"].isNull())
|
||||
recordsObject.outboundTaskId = value["OutboundTaskId"].asString();
|
||||
if(!value["Categories"].isNull())
|
||||
recordsObject.categories = value["Categories"].asString();
|
||||
if(!value["CcsInstanceId"].isNull())
|
||||
recordsObject.ccsInstanceId = value["CcsInstanceId"].asString();
|
||||
if(!value["TalkDuration"].isNull())
|
||||
recordsObject.talkDuration = std::stol(value["TalkDuration"].asString());
|
||||
records_.push_back(recordsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int QueryHotlineRecordResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int QueryHotlineRecordResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int QueryHotlineRecordResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::vector<QueryHotlineRecordResult::HotlineRecord> QueryHotlineRecordResult::getRecords()const
|
||||
{
|
||||
return records_;
|
||||
}
|
||||
|
||||
@@ -21,6 +21,8 @@ set(cdn_public_header
|
||||
include/alibabacloud/cdn/CdnExport.h )
|
||||
|
||||
set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h
|
||||
include/alibabacloud/cdn/model/SetPathCacheExpiredConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetPathCacheExpiredConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnServiceRequest.h
|
||||
@@ -29,6 +31,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/AddFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h
|
||||
include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h
|
||||
include/alibabacloud/cdn/model/ModifyUserCustomLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/ModifyUserCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDomainConfigsRequest.h
|
||||
@@ -43,12 +47,18 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListResult.h
|
||||
include/alibabacloud/cdn/model/SetVideoSeekConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetVideoSeekConfigResult.h
|
||||
include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/SetL2OssKeyConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetL2OssKeyConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnMonitorDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnMonitorDataResult.h
|
||||
include/alibabacloud/cdn/model/DeleteCacheExpiredConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteCacheExpiredConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h
|
||||
include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainUvDataRequest.h
|
||||
@@ -59,74 +69,70 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/SetRemoveQueryStringConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/SetFileTypeForceTtlCodeConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetFileTypeForceTtlCodeConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainUpstreamOfCenterRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainUpstreamOfCenterResult.h
|
||||
include/alibabacloud/cdn/model/StopCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/StopCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/SetFileCacheExpiredConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetFileCacheExpiredConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainsUsageByDayRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeTopDomainsByFlowRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeTopDomainsByFlowResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h
|
||||
include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/SetLocationAccessRestrictionRequest.h
|
||||
include/alibabacloud/cdn/model/SetLocationAccessRestrictionResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeExtensiveDomainDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeExtensiveDomainDataResult.h
|
||||
include/alibabacloud/cdn/model/ModifyCdnServiceRequest.h
|
||||
include/alibabacloud/cdn/model/ModifyCdnServiceResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFileResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeStreamNumRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeStreamNumResult.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainHitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainHitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h
|
||||
include/alibabacloud/cdn/model/PushObjectCacheRequest.h
|
||||
include/alibabacloud/cdn/model/PushObjectCacheResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainTrafficDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainTrafficDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/ListFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/ListFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/SetForceRedirectConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetForceRedirectConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetErrorPageConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetErrorPageConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumResult.h
|
||||
include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/SetRefererConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetRefererConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnTypesRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnTypesResult.h
|
||||
include/alibabacloud/cdn/model/SetOptimizeConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetOptimizeConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetDynamicConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetDynamicConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetReqAuthConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetReqAuthConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamLimitInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamLimitInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamNumberListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamNumberListResult.h
|
||||
include/alibabacloud/cdn/model/SetDomainGreenManagerConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetDomainGreenManagerConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetHttpErrorPageConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetHttpErrorPageConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetPathForceTtlCodeConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetPathForceTtlCodeConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRelayPushBitRateRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRelayPushBitRateResult.h
|
||||
include/alibabacloud/cdn/model/StartMixStreamsServiceRequest.h
|
||||
include/alibabacloud/cdn/model/StartMixStreamsServiceResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h
|
||||
@@ -135,34 +141,26 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/SetLiveStreamsNotifyUrlConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveAppRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveAppRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDomainLogsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDomainLogsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitResult.h
|
||||
include/alibabacloud/cdn/model/SetOssLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetOssLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFlowDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRelayPushErrorsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRelayPushErrorsResult.h
|
||||
include/alibabacloud/cdn/model/AddLiveStreamTranscodeRequest.h
|
||||
include/alibabacloud/cdn/model/AddLiveStreamTranscodeResult.h
|
||||
include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetIgnoreQueryStringConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/AddLivePullStreamInfoRequest.h
|
||||
include/alibabacloud/cdn/model/AddLivePullStreamInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomerLabelsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomerLabelsResult.h
|
||||
include/alibabacloud/cdn/model/BatchDescribeDomainBpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/BatchDescribeDomainBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/BatchUpdateCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainTopReferVisitRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryRequest.h
|
||||
@@ -173,20 +171,12 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/OpenCdnServiceResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainQoSRtRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainQoSRtResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamFrameAndBitRateByDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamFrameAndBitRateByDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h
|
||||
include/alibabacloud/cdn/model/SetIpBlackListConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetIpBlackListConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSlowRatioRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSlowRatioResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCCDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCCDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRelayPushDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRelayPushDataResult.h
|
||||
include/alibabacloud/cdn/model/SetIpAllowListConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetIpAllowListConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataRequest.h
|
||||
@@ -197,24 +187,24 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeOneMinuteDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeOneMinuteDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentResult.h
|
||||
include/alibabacloud/cdn/model/AddCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/AddCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/SetRangeConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetRangeConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRoomBitRateRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRoomBitRateResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCnameRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCnameResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h
|
||||
include/alibabacloud/cdn/model/SetCcConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetCcConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCustomLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserDomainsResult.h
|
||||
include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h
|
||||
@@ -235,30 +225,20 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/ModifyFileCacheExpiredConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetSourceHostConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRoomUserNumberRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRoomUserNumberResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserConfigsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamStreamStatusRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamStreamStatusResult.h
|
||||
include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h
|
||||
include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/ModifyCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainOnlineUserNumberRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainOnlineUserNumberResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMonthBillingBpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMonthBillingBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamFrameInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamFrameInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamFrameLossRatioRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamFrameLossRatioResult.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainResult.h
|
||||
include/alibabacloud/cdn/model/ForbidLiveStreamRequest.h
|
||||
include/alibabacloud/cdn/model/ForbidLiveStreamResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamDomainAppInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamDomainAppInfoResult.h
|
||||
include/alibabacloud/cdn/model/SetPageCompressConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetPageCompressConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainQpsDataRequest.h
|
||||
@@ -279,46 +259,38 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/UpdateLiveAppSnapshotConfigRequest.h
|
||||
include/alibabacloud/cdn/model/UpdateLiveAppSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetRemoteReqAuthConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetRemoteReqAuthConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPvDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamPushErrorsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamPushErrorsResult.h
|
||||
include/alibabacloud/cdn/model/AddLiveAppSnapshotConfigRequest.h
|
||||
include/alibabacloud/cdn/model/AddLiveAppSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainISPDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSpecificDomainMappingRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSpecificDomainMappingResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/MigrateDomainToHttpsDeliveryRequest.h
|
||||
include/alibabacloud/cdn/model/MigrateDomainToHttpsDeliveryResult.h
|
||||
include/alibabacloud/cdn/model/AddLiveDomainMappingRequest.h
|
||||
include/alibabacloud/cdn/model/AddLiveDomainMappingResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/ResumeLiveStreamRequest.h
|
||||
include/alibabacloud/cdn/model/ResumeLiveStreamResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/UpdateFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCCAttackInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCCAttackInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLivePullStreamInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLivePullStreamInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainDownstreamBpsOfEdgeRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainDownstreamBpsOfEdgeResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainUsageDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainUsageDataResult.h
|
||||
include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetHttpsOptionConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h
|
||||
@@ -327,41 +299,27 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeRangeDataByLocateAndIspServiceResult.h
|
||||
include/alibabacloud/cdn/model/ListDomainsByLogConfigIdRequest.h
|
||||
include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineBpsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineBpsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRegionDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamPushDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamPushDataResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetHttpHeaderConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetHttpHeaderConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnRegionAndIspRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnRegionAndIspResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDomainBaseDetailRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDomainBaseDetailResult.h
|
||||
include/alibabacloud/cdn/model/SetUserAgentAcessRestrictionRequest.h
|
||||
include/alibabacloud/cdn/model/SetUserAgentAcessRestrictionResult.h
|
||||
include/alibabacloud/cdn/model/StartCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/StartCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainUpstreamBpsOfEdgeRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainUpstreamBpsOfEdgeResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumByDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumByDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamHlsOnlineUserNumByDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamHlsOnlineUserNumByDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainHttpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainHttpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainHttpCodeDataResult.h )
|
||||
|
||||
set(cdn_src
|
||||
src/CdnClient.cc
|
||||
src/model/DescribeCdnCertificateListRequest.cc
|
||||
src/model/DescribeCdnCertificateListResult.cc
|
||||
src/model/SetPathCacheExpiredConfigRequest.cc
|
||||
src/model/SetPathCacheExpiredConfigResult.cc
|
||||
src/model/DescribeCdnServiceRequest.cc
|
||||
@@ -370,6 +328,8 @@ set(cdn_src
|
||||
src/model/AddFCTriggerResult.cc
|
||||
src/model/CreateLiveStreamRecordIndexFilesRequest.cc
|
||||
src/model/CreateLiveStreamRecordIndexFilesResult.cc
|
||||
src/model/DescribeCdnUserQuotaRequest.cc
|
||||
src/model/DescribeCdnUserQuotaResult.cc
|
||||
src/model/ModifyUserCustomLogConfigRequest.cc
|
||||
src/model/ModifyUserCustomLogConfigResult.cc
|
||||
src/model/DescribeCdnDomainConfigsRequest.cc
|
||||
@@ -384,12 +344,18 @@ set(cdn_src
|
||||
src/model/DescribeLiveStreamsOnlineListResult.cc
|
||||
src/model/SetVideoSeekConfigRequest.cc
|
||||
src/model/SetVideoSeekConfigResult.cc
|
||||
src/model/CreateUsageDetailDataExportTaskRequest.cc
|
||||
src/model/CreateUsageDetailDataExportTaskResult.cc
|
||||
src/model/SetL2OssKeyConfigRequest.cc
|
||||
src/model/SetL2OssKeyConfigResult.cc
|
||||
src/model/DescribeCdnMonitorDataRequest.cc
|
||||
src/model/DescribeCdnMonitorDataResult.cc
|
||||
src/model/DeleteCacheExpiredConfigRequest.cc
|
||||
src/model/DeleteCacheExpiredConfigResult.cc
|
||||
src/model/BatchDeleteCdnDomainConfigRequest.cc
|
||||
src/model/BatchDeleteCdnDomainConfigResult.cc
|
||||
src/model/DescribeCdnCertificateDetailRequest.cc
|
||||
src/model/DescribeCdnCertificateDetailResult.cc
|
||||
src/model/DescribeDomainReqHitRateDataRequest.cc
|
||||
src/model/DescribeDomainReqHitRateDataResult.cc
|
||||
src/model/DescribeDomainUvDataRequest.cc
|
||||
@@ -400,74 +366,70 @@ set(cdn_src
|
||||
src/model/SetRemoveQueryStringConfigResult.cc
|
||||
src/model/DeleteCdnDomainRequest.cc
|
||||
src/model/DeleteCdnDomainResult.cc
|
||||
src/model/SetFileTypeForceTtlCodeConfigRequest.cc
|
||||
src/model/SetFileTypeForceTtlCodeConfigResult.cc
|
||||
src/model/DeleteLiveStreamTranscodeRequest.cc
|
||||
src/model/DeleteLiveStreamTranscodeResult.cc
|
||||
src/model/DescribeDomainUpstreamOfCenterRequest.cc
|
||||
src/model/DescribeDomainUpstreamOfCenterResult.cc
|
||||
src/model/StopCdnDomainRequest.cc
|
||||
src/model/StopCdnDomainResult.cc
|
||||
src/model/SetFileCacheExpiredConfigRequest.cc
|
||||
src/model/SetFileCacheExpiredConfigResult.cc
|
||||
src/model/DescribeDomainsUsageByDayRequest.cc
|
||||
src/model/DescribeDomainsUsageByDayResult.cc
|
||||
src/model/DescribeDomainSrcHttpCodeDataRequest.cc
|
||||
src/model/DescribeDomainSrcHttpCodeDataResult.cc
|
||||
src/model/DescribeTopDomainsByFlowRequest.cc
|
||||
src/model/DescribeTopDomainsByFlowResult.cc
|
||||
src/model/DescribeDomainAverageResponseTimeRequest.cc
|
||||
src/model/DescribeDomainAverageResponseTimeResult.cc
|
||||
src/model/BatchAddCdnDomainRequest.cc
|
||||
src/model/BatchAddCdnDomainResult.cc
|
||||
src/model/DescribeLiveStreamBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamBitRateDataResult.cc
|
||||
src/model/SetLocationAccessRestrictionRequest.cc
|
||||
src/model/SetLocationAccessRestrictionResult.cc
|
||||
src/model/DescribeUserCustomLogConfigRequest.cc
|
||||
src/model/DescribeUserCustomLogConfigResult.cc
|
||||
src/model/DescribeExtensiveDomainDataRequest.cc
|
||||
src/model/DescribeExtensiveDomainDataResult.cc
|
||||
src/model/ModifyCdnServiceRequest.cc
|
||||
src/model/ModifyCdnServiceResult.cc
|
||||
src/model/DescribeLiveStreamRecordIndexFileRequest.cc
|
||||
src/model/DescribeLiveStreamRecordIndexFileResult.cc
|
||||
src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc
|
||||
src/model/DescribeLiveStreamTranscodeStreamNumResult.cc
|
||||
src/model/BatchSetCdnDomainConfigRequest.cc
|
||||
src/model/BatchSetCdnDomainConfigResult.cc
|
||||
src/model/DeleteUserUsageDataExportTaskRequest.cc
|
||||
src/model/DeleteUserUsageDataExportTaskResult.cc
|
||||
src/model/DescribeDomainHitRateDataRequest.cc
|
||||
src/model/DescribeDomainHitRateDataResult.cc
|
||||
src/model/DeleteHttpHeaderConfigRequest.cc
|
||||
src/model/DeleteHttpHeaderConfigResult.cc
|
||||
src/model/PushObjectCacheRequest.cc
|
||||
src/model/PushObjectCacheResult.cc
|
||||
src/model/DescribeDomainRealTimeHttpCodeDataRequest.cc
|
||||
src/model/DescribeDomainRealTimeHttpCodeDataResult.cc
|
||||
src/model/DescribeDomainTrafficDataRequest.cc
|
||||
src/model/DescribeDomainTrafficDataResult.cc
|
||||
src/model/DescribeLiveRecordConfigRequest.cc
|
||||
src/model/DescribeLiveRecordConfigResult.cc
|
||||
src/model/ListFCTriggerRequest.cc
|
||||
src/model/ListFCTriggerResult.cc
|
||||
src/model/SetForceRedirectConfigRequest.cc
|
||||
src/model/SetForceRedirectConfigResult.cc
|
||||
src/model/SetErrorPageConfigRequest.cc
|
||||
src/model/SetErrorPageConfigResult.cc
|
||||
src/model/DescribeLiveStreamOnlineUserNumRequest.cc
|
||||
src/model/DescribeLiveStreamOnlineUserNumResult.cc
|
||||
src/model/DeleteUsageDetailDataExportTaskRequest.cc
|
||||
src/model/DeleteUsageDetailDataExportTaskResult.cc
|
||||
src/model/SetRefererConfigRequest.cc
|
||||
src/model/SetRefererConfigResult.cc
|
||||
src/model/DescribeDomainSrcFlowDataRequest.cc
|
||||
src/model/DescribeDomainSrcFlowDataResult.cc
|
||||
src/model/DeleteLiveAppSnapshotConfigRequest.cc
|
||||
src/model/DeleteLiveAppSnapshotConfigResult.cc
|
||||
src/model/DescribeCdnTypesRequest.cc
|
||||
src/model/DescribeCdnTypesResult.cc
|
||||
src/model/SetOptimizeConfigRequest.cc
|
||||
src/model/SetOptimizeConfigResult.cc
|
||||
src/model/SetDynamicConfigRequest.cc
|
||||
src/model/SetDynamicConfigResult.cc
|
||||
src/model/SetReqAuthConfigRequest.cc
|
||||
src/model/SetReqAuthConfigResult.cc
|
||||
src/model/DescribeLiveStreamLimitInfoRequest.cc
|
||||
src/model/DescribeLiveStreamLimitInfoResult.cc
|
||||
src/model/DescribeLiveStreamNumberListRequest.cc
|
||||
src/model/DescribeLiveStreamNumberListResult.cc
|
||||
src/model/SetDomainGreenManagerConfigRequest.cc
|
||||
src/model/SetDomainGreenManagerConfigResult.cc
|
||||
src/model/SetHttpErrorPageConfigRequest.cc
|
||||
src/model/SetHttpErrorPageConfigResult.cc
|
||||
src/model/SetPathForceTtlCodeConfigRequest.cc
|
||||
src/model/SetPathForceTtlCodeConfigResult.cc
|
||||
src/model/DescribeLiveStreamRelayPushBitRateRequest.cc
|
||||
src/model/DescribeLiveStreamRelayPushBitRateResult.cc
|
||||
src/model/StartMixStreamsServiceRequest.cc
|
||||
src/model/StartMixStreamsServiceResult.cc
|
||||
src/model/DescribeLivePullStreamConfigRequest.cc
|
||||
@@ -476,34 +438,26 @@ set(cdn_src
|
||||
src/model/SetLiveStreamsNotifyUrlConfigResult.cc
|
||||
src/model/DescribeDomainPathDataRequest.cc
|
||||
src/model/DescribeDomainPathDataResult.cc
|
||||
src/model/DescribeLiveAppRecordConfigRequest.cc
|
||||
src/model/DescribeLiveAppRecordConfigResult.cc
|
||||
src/model/DescribeCdnDomainLogsRequest.cc
|
||||
src/model/DescribeCdnDomainLogsResult.cc
|
||||
src/model/DescribeDomainTopUrlVisitRequest.cc
|
||||
src/model/DescribeDomainTopUrlVisitResult.cc
|
||||
src/model/SetOssLogConfigRequest.cc
|
||||
src/model/SetOssLogConfigResult.cc
|
||||
src/model/DescribeDomainFlowDataRequest.cc
|
||||
src/model/DescribeDomainFlowDataResult.cc
|
||||
src/model/DescribeLiveStreamsBlockListRequest.cc
|
||||
src/model/DescribeLiveStreamsBlockListResult.cc
|
||||
src/model/DescribeLiveStreamRelayPushErrorsRequest.cc
|
||||
src/model/DescribeLiveStreamRelayPushErrorsResult.cc
|
||||
src/model/AddLiveStreamTranscodeRequest.cc
|
||||
src/model/AddLiveStreamTranscodeResult.cc
|
||||
src/model/SetIgnoreQueryStringConfigRequest.cc
|
||||
src/model/SetIgnoreQueryStringConfigResult.cc
|
||||
src/model/DescribeDomainCustomLogConfigRequest.cc
|
||||
src/model/DescribeDomainCustomLogConfigResult.cc
|
||||
src/model/AddLivePullStreamInfoRequest.cc
|
||||
src/model/AddLivePullStreamInfoResult.cc
|
||||
src/model/DescribeCdnUserResourcePackageRequest.cc
|
||||
src/model/DescribeCdnUserResourcePackageResult.cc
|
||||
src/model/DescribeUserCustomerLabelsRequest.cc
|
||||
src/model/DescribeUserCustomerLabelsResult.cc
|
||||
src/model/BatchDescribeDomainBpsDataRequest.cc
|
||||
src/model/BatchDescribeDomainBpsDataResult.cc
|
||||
src/model/DescribeLiveStreamBpsDataRequest.cc
|
||||
src/model/DescribeLiveStreamBpsDataResult.cc
|
||||
src/model/BatchUpdateCdnDomainRequest.cc
|
||||
src/model/BatchUpdateCdnDomainResult.cc
|
||||
src/model/DescribeDomainTopReferVisitRequest.cc
|
||||
src/model/DescribeDomainTopReferVisitResult.cc
|
||||
src/model/DescribeLiveStreamsControlHistoryRequest.cc
|
||||
@@ -514,20 +468,12 @@ set(cdn_src
|
||||
src/model/OpenCdnServiceResult.cc
|
||||
src/model/DescribeDomainRealTimeReqHitRateDataRequest.cc
|
||||
src/model/DescribeDomainRealTimeReqHitRateDataResult.cc
|
||||
src/model/DescribeDomainQoSRtRequest.cc
|
||||
src/model/DescribeDomainQoSRtResult.cc
|
||||
src/model/DescribeLiveStreamFrameAndBitRateByDomainRequest.cc
|
||||
src/model/DescribeLiveStreamFrameAndBitRateByDomainResult.cc
|
||||
src/model/DescribeLiveStreamSnapshotInfoRequest.cc
|
||||
src/model/DescribeLiveStreamSnapshotInfoResult.cc
|
||||
src/model/SetIpBlackListConfigRequest.cc
|
||||
src/model/SetIpBlackListConfigResult.cc
|
||||
src/model/DescribeDomainSlowRatioRequest.cc
|
||||
src/model/DescribeDomainSlowRatioResult.cc
|
||||
src/model/DescribeDomainCCDataRequest.cc
|
||||
src/model/DescribeDomainCCDataResult.cc
|
||||
src/model/DescribeLiveStreamRelayPushDataRequest.cc
|
||||
src/model/DescribeLiveStreamRelayPushDataResult.cc
|
||||
src/model/SetIpAllowListConfigRequest.cc
|
||||
src/model/SetIpAllowListConfigResult.cc
|
||||
src/model/DescribeDomainRealTimeQpsDataRequest.cc
|
||||
@@ -538,24 +484,24 @@ set(cdn_src
|
||||
src/model/DescribeDomainBpsDataResult.cc
|
||||
src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc
|
||||
src/model/DescribeOneMinuteDataRequest.cc
|
||||
src/model/DescribeOneMinuteDataResult.cc
|
||||
src/model/DescribeLiveStreamRecordContentRequest.cc
|
||||
src/model/DescribeLiveStreamRecordContentResult.cc
|
||||
src/model/AddCdnDomainRequest.cc
|
||||
src/model/AddCdnDomainResult.cc
|
||||
src/model/SetRangeConfigRequest.cc
|
||||
src/model/SetRangeConfigResult.cc
|
||||
src/model/DescribeLiveStreamRoomBitRateRequest.cc
|
||||
src/model/DescribeLiveStreamRoomBitRateResult.cc
|
||||
src/model/DescribeDomainCnameRequest.cc
|
||||
src/model/DescribeDomainCnameResult.cc
|
||||
src/model/DescribeDomainSrcTrafficDataRequest.cc
|
||||
src/model/DescribeDomainSrcTrafficDataResult.cc
|
||||
src/model/SetCcConfigRequest.cc
|
||||
src/model/SetCcConfigResult.cc
|
||||
src/model/DescribeCustomLogConfigRequest.cc
|
||||
src/model/DescribeCustomLogConfigResult.cc
|
||||
src/model/DescribeUserDomainsRequest.cc
|
||||
src/model/DescribeUserDomainsResult.cc
|
||||
src/model/CreateUserUsageDataExportTaskRequest.cc
|
||||
src/model/CreateUserUsageDataExportTaskResult.cc
|
||||
src/model/DescribeLiveSnapshotConfigRequest.cc
|
||||
src/model/DescribeLiveSnapshotConfigResult.cc
|
||||
src/model/DescribeRefreshTasksRequest.cc
|
||||
@@ -576,30 +522,20 @@ set(cdn_src
|
||||
src/model/ModifyFileCacheExpiredConfigResult.cc
|
||||
src/model/SetSourceHostConfigRequest.cc
|
||||
src/model/SetSourceHostConfigResult.cc
|
||||
src/model/DescribeLiveStreamRoomUserNumberRequest.cc
|
||||
src/model/DescribeLiveStreamRoomUserNumberResult.cc
|
||||
src/model/DescribeUserConfigsRequest.cc
|
||||
src/model/DescribeUserConfigsResult.cc
|
||||
src/model/DescribeLiveStreamStreamStatusRequest.cc
|
||||
src/model/DescribeLiveStreamStreamStatusResult.cc
|
||||
src/model/DescribeRealtimeDeliveryAccRequest.cc
|
||||
src/model/DescribeRealtimeDeliveryAccResult.cc
|
||||
src/model/DescribeDomainCertificateInfoRequest.cc
|
||||
src/model/DescribeDomainCertificateInfoResult.cc
|
||||
src/model/DescribeLiveStreamRecordIndexFilesRequest.cc
|
||||
src/model/DescribeLiveStreamRecordIndexFilesResult.cc
|
||||
src/model/ModifyCdnDomainRequest.cc
|
||||
src/model/ModifyCdnDomainResult.cc
|
||||
src/model/DescribeDomainOnlineUserNumberRequest.cc
|
||||
src/model/DescribeDomainOnlineUserNumberResult.cc
|
||||
src/model/DescribeDomainMonthBillingBpsDataRequest.cc
|
||||
src/model/DescribeDomainMonthBillingBpsDataResult.cc
|
||||
src/model/DescribeLiveStreamFrameInfoRequest.cc
|
||||
src/model/DescribeLiveStreamFrameInfoResult.cc
|
||||
src/model/DescribeLiveStreamFrameLossRatioRequest.cc
|
||||
src/model/DescribeLiveStreamFrameLossRatioResult.cc
|
||||
src/model/DescribeL2VipsByDynamicDomainRequest.cc
|
||||
src/model/DescribeL2VipsByDynamicDomainResult.cc
|
||||
src/model/ForbidLiveStreamRequest.cc
|
||||
src/model/ForbidLiveStreamResult.cc
|
||||
src/model/DescribeLiveStreamDomainAppInfoRequest.cc
|
||||
src/model/DescribeLiveStreamDomainAppInfoResult.cc
|
||||
src/model/SetPageCompressConfigRequest.cc
|
||||
src/model/SetPageCompressConfigResult.cc
|
||||
src/model/DescribeDomainQpsDataRequest.cc
|
||||
@@ -620,46 +556,38 @@ set(cdn_src
|
||||
src/model/ModifyDomainCustomLogConfigResult.cc
|
||||
src/model/UpdateLiveAppSnapshotConfigRequest.cc
|
||||
src/model/UpdateLiveAppSnapshotConfigResult.cc
|
||||
src/model/SetRemoteReqAuthConfigRequest.cc
|
||||
src/model/SetRemoteReqAuthConfigResult.cc
|
||||
src/model/DescribeDomainPvDataRequest.cc
|
||||
src/model/DescribeDomainPvDataResult.cc
|
||||
src/model/DescribeLiveStreamPushErrorsRequest.cc
|
||||
src/model/DescribeLiveStreamPushErrorsResult.cc
|
||||
src/model/AddLiveAppSnapshotConfigRequest.cc
|
||||
src/model/AddLiveAppSnapshotConfigResult.cc
|
||||
src/model/DescribeDomainISPDataRequest.cc
|
||||
src/model/DescribeDomainISPDataResult.cc
|
||||
src/model/DescribeDomainFileSizeProportionDataRequest.cc
|
||||
src/model/DescribeDomainFileSizeProportionDataResult.cc
|
||||
src/model/DescribeLiveSpecificDomainMappingRequest.cc
|
||||
src/model/DescribeLiveSpecificDomainMappingResult.cc
|
||||
src/model/DescribeDomainRealTimeByteHitRateDataRequest.cc
|
||||
src/model/DescribeDomainRealTimeByteHitRateDataResult.cc
|
||||
src/model/MigrateDomainToHttpsDeliveryRequest.cc
|
||||
src/model/MigrateDomainToHttpsDeliveryResult.cc
|
||||
src/model/AddLiveDomainMappingRequest.cc
|
||||
src/model/AddLiveDomainMappingResult.cc
|
||||
src/model/DescribeDomainRealTimeDataRequest.cc
|
||||
src/model/DescribeDomainRealTimeDataResult.cc
|
||||
src/model/DescribeDomainRealTimeSrcBpsDataRequest.cc
|
||||
src/model/DescribeDomainRealTimeSrcBpsDataResult.cc
|
||||
src/model/ResumeLiveStreamRequest.cc
|
||||
src/model/ResumeLiveStreamResult.cc
|
||||
src/model/DescribeUserUsageDataExportTaskRequest.cc
|
||||
src/model/DescribeUserUsageDataExportTaskResult.cc
|
||||
src/model/UpdateFCTriggerRequest.cc
|
||||
src/model/UpdateFCTriggerResult.cc
|
||||
src/model/DescribeFCTriggerRequest.cc
|
||||
src/model/DescribeFCTriggerResult.cc
|
||||
src/model/DescribeDomainCCAttackInfoRequest.cc
|
||||
src/model/DescribeDomainCCAttackInfoResult.cc
|
||||
src/model/DescribeLiveStreamsPublishListRequest.cc
|
||||
src/model/DescribeLiveStreamsPublishListResult.cc
|
||||
src/model/DescribeDomainRealTimeBpsDataRequest.cc
|
||||
src/model/DescribeDomainRealTimeBpsDataResult.cc
|
||||
src/model/DeleteLivePullStreamInfoRequest.cc
|
||||
src/model/DeleteLivePullStreamInfoResult.cc
|
||||
src/model/DescribeDomainDownstreamBpsOfEdgeRequest.cc
|
||||
src/model/DescribeDomainDownstreamBpsOfEdgeResult.cc
|
||||
src/model/DescribeDomainRealTimeSrcTrafficDataRequest.cc
|
||||
src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc
|
||||
src/model/DescribeDomainMax95BpsDataRequest.cc
|
||||
src/model/DescribeDomainMax95BpsDataResult.cc
|
||||
src/model/DescribeDomainUsageDataRequest.cc
|
||||
src/model/DescribeDomainUsageDataResult.cc
|
||||
src/model/SetHttpsOptionConfigRequest.cc
|
||||
src/model/SetHttpsOptionConfigResult.cc
|
||||
src/model/SetWaitingRoomConfigRequest.cc
|
||||
@@ -668,36 +596,20 @@ set(cdn_src
|
||||
src/model/DescribeRangeDataByLocateAndIspServiceResult.cc
|
||||
src/model/ListDomainsByLogConfigIdRequest.cc
|
||||
src/model/ListDomainsByLogConfigIdResult.cc
|
||||
src/model/DescribeLiveStreamOnlineBpsRequest.cc
|
||||
src/model/DescribeLiveStreamOnlineBpsResult.cc
|
||||
src/model/DescribeUserUsageDetailDataExportTaskRequest.cc
|
||||
src/model/DescribeUserUsageDetailDataExportTaskResult.cc
|
||||
src/model/DescribeDomainRegionDataRequest.cc
|
||||
src/model/DescribeDomainRegionDataResult.cc
|
||||
src/model/DescribeDomainSrcBpsDataRequest.cc
|
||||
src/model/DescribeDomainSrcBpsDataResult.cc
|
||||
src/model/DescribeLiveStreamPushDataRequest.cc
|
||||
src/model/DescribeLiveStreamPushDataResult.cc
|
||||
src/model/DeleteLiveAppRecordConfigRequest.cc
|
||||
src/model/DeleteLiveAppRecordConfigResult.cc
|
||||
src/model/SetHttpHeaderConfigRequest.cc
|
||||
src/model/SetHttpHeaderConfigResult.cc
|
||||
src/model/DescribeCdnRegionAndIspRequest.cc
|
||||
src/model/DescribeCdnRegionAndIspResult.cc
|
||||
src/model/DescribeCdnDomainBaseDetailRequest.cc
|
||||
src/model/DescribeCdnDomainBaseDetailResult.cc
|
||||
src/model/SetUserAgentAcessRestrictionRequest.cc
|
||||
src/model/SetUserAgentAcessRestrictionResult.cc
|
||||
src/model/StartCdnDomainRequest.cc
|
||||
src/model/StartCdnDomainResult.cc
|
||||
src/model/DescribeUserVipsByDomainRequest.cc
|
||||
src/model/DescribeUserVipsByDomainResult.cc
|
||||
src/model/DescribeDomainUpstreamBpsOfEdgeRequest.cc
|
||||
src/model/DescribeDomainUpstreamBpsOfEdgeResult.cc
|
||||
src/model/DescribeLiveStreamOnlineUserNumByDomainRequest.cc
|
||||
src/model/DescribeLiveStreamOnlineUserNumByDomainResult.cc
|
||||
src/model/DescribeLiveStreamHlsOnlineUserNumByDomainRequest.cc
|
||||
src/model/DescribeLiveStreamHlsOnlineUserNumByDomainResult.cc
|
||||
src/model/DescribeDomainHttpsDataRequest.cc
|
||||
src/model/DescribeDomainHttpsDataResult.cc
|
||||
src/model/DescribeDomainHttpCodeDataRequest.cc
|
||||
src/model/DescribeDomainHttpCodeDataResult.cc )
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -43,8 +43,6 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getLiveType()const;
|
||||
void setLiveType(const std::string& liveType);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -73,7 +71,6 @@ namespace AlibabaCloud
|
||||
std::string sources_;
|
||||
std::string ownerAccount_;
|
||||
std::string domainName_;
|
||||
std::string liveType_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
|
||||
@@ -65,6 +65,8 @@ namespace AlibabaCloud
|
||||
void setTriggerARN(const std::string& triggerARN);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getSourceARN()const;
|
||||
@@ -87,6 +89,8 @@ namespace AlibabaCloud
|
||||
void setRoleARN(const std::string& roleARN);
|
||||
std::string getEventMetaName()const;
|
||||
void setEventMetaName(const std::string& eventMetaName);
|
||||
std::string getFunctionARN()const;
|
||||
void setFunctionARN(const std::string& functionARN);
|
||||
|
||||
private:
|
||||
std::string notes_;
|
||||
@@ -104,6 +108,7 @@ namespace AlibabaCloud
|
||||
long callerUid_;
|
||||
std::string triggerARN_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string sourceARN_;
|
||||
std::string callerBid_;
|
||||
@@ -115,6 +120,7 @@ namespace AlibabaCloud
|
||||
std::string requestId_;
|
||||
std::string roleARN_;
|
||||
std::string eventMetaName_;
|
||||
std::string functionARN_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVEPULLSTREAMINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEPULLSTREAMINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT AddLivePullStreamInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddLivePullStreamInfoRequest();
|
||||
~AddLivePullStreamInfoRequest();
|
||||
|
||||
std::string getSourceUrl()const;
|
||||
void setSourceUrl(const std::string& sourceUrl);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getStreamName()const;
|
||||
void setStreamName(const std::string& streamName);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string sourceUrl_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long ownerId_;
|
||||
std::string streamName_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEPULLSTREAMINFOREQUEST_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchAddCdnDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchAddCdnDomainRequest();
|
||||
~BatchAddCdnDomainRequest();
|
||||
|
||||
std::string getTopLevelDomain()const;
|
||||
void setTopLevelDomain(const std::string& topLevelDomain);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSources()const;
|
||||
void setSources(const std::string& sources);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getCdnType()const;
|
||||
void setCdnType(const std::string& cdnType);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getScope()const;
|
||||
void setScope(const std::string& scope);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCheckUrl()const;
|
||||
void setCheckUrl(const std::string& checkUrl);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string topLevelDomain_;
|
||||
std::string resourceGroupId_;
|
||||
std::string sources_;
|
||||
std::string securityToken_;
|
||||
std::string cdnType_;
|
||||
std::string ownerAccount_;
|
||||
std::string scope_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string checkUrl_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_SETOSSLOGCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETOSSLOGCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT SetOssLogConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchAddCdnDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetOssLogConfigResult();
|
||||
explicit SetOssLogConfigResult(const std::string &payload);
|
||||
~SetOssLogConfigResult();
|
||||
BatchAddCdnDomainResult();
|
||||
explicit BatchAddCdnDomainResult(const std::string &payload);
|
||||
~BatchAddCdnDomainResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETOSSLOGCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHADDCDNDOMAINRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_MIGRATEDOMAINTOHTTPSDELIVERYREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_MIGRATEDOMAINTOHTTPSDELIVERYREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,34 +28,31 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT MigrateDomainToHttpsDeliveryRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MigrateDomainToHttpsDeliveryRequest();
|
||||
~MigrateDomainToHttpsDeliveryRequest();
|
||||
BatchDeleteCdnDomainConfigRequest();
|
||||
~BatchDeleteCdnDomainConfigRequest();
|
||||
|
||||
std::string getPrivateKey()const;
|
||||
void setPrivateKey(const std::string& privateKey);
|
||||
std::string getServerCertificate()const;
|
||||
void setServerCertificate(const std::string& serverCertificate);
|
||||
std::string getFunctionNames()const;
|
||||
void setFunctionNames(const std::string& functionNames);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string privateKey_;
|
||||
std::string serverCertificate_;
|
||||
std::string functionNames_;
|
||||
std::string securityToken_;
|
||||
std::string domainNames_;
|
||||
std::string ownerAccount_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -63,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_MIGRATEDOMAINTOHTTPSDELIVERYREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEPULLSTREAMINFORESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEPULLSTREAMINFORESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLivePullStreamInfoResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLivePullStreamInfoResult();
|
||||
explicit DeleteLivePullStreamInfoResult(const std::string &payload);
|
||||
~DeleteLivePullStreamInfoResult();
|
||||
BatchDeleteCdnDomainConfigResult();
|
||||
explicit BatchDeleteCdnDomainConfigResult(const std::string &payload);
|
||||
~BatchDeleteCdnDomainConfigResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEPULLSTREAMINFORESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEPULLSTREAMINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEPULLSTREAMINFOREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,36 +28,36 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLivePullStreamInfoRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchSetCdnDomainConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLivePullStreamInfoRequest();
|
||||
~DeleteLivePullStreamInfoRequest();
|
||||
BatchSetCdnDomainConfigRequest();
|
||||
~BatchSetCdnDomainConfigRequest();
|
||||
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getFunctions()const;
|
||||
void setFunctions(const std::string& functions);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getStreamName()const;
|
||||
void setStreamName(const std::string& streamName);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string functions_;
|
||||
std::string securityToken_;
|
||||
std::string domainName_;
|
||||
std::string domainNames_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string streamName_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEPULLSTREAMINFOREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_SETREMOTEREQAUTHCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETREMOTEREQAUTHCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT SetRemoteReqAuthConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchSetCdnDomainConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetRemoteReqAuthConfigResult();
|
||||
explicit SetRemoteReqAuthConfigResult(const std::string &payload);
|
||||
~SetRemoteReqAuthConfigResult();
|
||||
BatchSetCdnDomainConfigResult();
|
||||
explicit BatchSetCdnDomainConfigResult(const std::string &payload);
|
||||
~BatchSetCdnDomainConfigResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETREMOTEREQAUTHCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHSETCDNDOMAINCONFIGRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDOWNSTREAMBPSOFEDGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDOWNSTREAMBPSOFEDGEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,31 +28,34 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainDownstreamBpsOfEdgeRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchUpdateCdnDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainDownstreamBpsOfEdgeRequest();
|
||||
~DescribeDomainDownstreamBpsOfEdgeRequest();
|
||||
BatchUpdateCdnDomainRequest();
|
||||
~BatchUpdateCdnDomainRequest();
|
||||
|
||||
std::string getTopLevelDomain()const;
|
||||
void setTopLevelDomain(const std::string& topLevelDomain);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSources()const;
|
||||
void setSources(const std::string& sources);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string topLevelDomain_;
|
||||
std::string resourceGroupId_;
|
||||
std::string sources_;
|
||||
std::string securityToken_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -60,4 +63,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDOWNSTREAMBPSOFEDGEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVEPULLSTREAMINFORESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEPULLSTREAMINFORESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT AddLivePullStreamInfoResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchUpdateCdnDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddLivePullStreamInfoResult();
|
||||
explicit AddLivePullStreamInfoResult(const std::string &payload);
|
||||
~AddLivePullStreamInfoResult();
|
||||
BatchUpdateCdnDomainResult();
|
||||
explicit BatchUpdateCdnDomainResult(const std::string &payload);
|
||||
~BatchUpdateCdnDomainResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEPULLSTREAMINFORESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHUPDATECDNDOMAINRESULT_H_
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT CreateUsageDetailDataExportTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUsageDetailDataExportTaskRequest();
|
||||
~CreateUsageDetailDataExportTaskRequest();
|
||||
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getGroup()const;
|
||||
void setGroup(const std::string& group);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
std::string domainNames_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string taskName_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string type_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string group_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUPSTREAMBPSOFEDGERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUPSTREAMBPSOFEDGERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,28 +29,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainUpstreamBpsOfEdgeResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT CreateUsageDetailDataExportTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainBpsModel
|
||||
{
|
||||
float bps;
|
||||
std::string time;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainUpstreamBpsOfEdgeResult();
|
||||
explicit DescribeDomainUpstreamBpsOfEdgeResult(const std::string &payload);
|
||||
~DescribeDomainUpstreamBpsOfEdgeResult();
|
||||
std::vector<DomainBpsModel> getBpsDatas()const;
|
||||
CreateUsageDetailDataExportTaskResult();
|
||||
explicit CreateUsageDetailDataExportTaskResult(const std::string &payload);
|
||||
~CreateUsageDetailDataExportTaskResult();
|
||||
std::string getTaskId()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getStartTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DomainBpsModel> bpsDatas_;
|
||||
std::string taskId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINUPSTREAMBPSOFEDGERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSAGEDETAILDATAEXPORTTASKRESULT_H_
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT CreateUserUsageDataExportTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserUsageDataExportTaskRequest();
|
||||
~CreateUserUsageDataExportTaskRequest();
|
||||
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string taskName_;
|
||||
std::string language_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQOSRTRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQOSRTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,37 +29,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainQoSRtResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT CreateUserUsageDataExportTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string more3s;
|
||||
std::string more5s;
|
||||
std::string time;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainQoSRtResult();
|
||||
explicit DescribeDomainQoSRtResult(const std::string &payload);
|
||||
~DescribeDomainQoSRtResult();
|
||||
CreateUserUsageDataExportTaskResult();
|
||||
explicit CreateUserUsageDataExportTaskResult(const std::string &payload);
|
||||
~CreateUserUsageDataExportTaskResult();
|
||||
std::string getTaskId()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::vector<Data> getContent()const;
|
||||
std::string getIp()const;
|
||||
std::string getStartTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::vector<Data> content_;
|
||||
std::string ip_;
|
||||
std::string startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINQOSRTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_CREATEUSERUSAGEDATAEXPORTTASKRESULT_H_
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setTriggerARN(const std::string& triggerARN);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
@@ -81,6 +83,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string triggerARN_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteUsageDetailDataExportTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteUsageDetailDataExportTaskRequest();
|
||||
~DeleteUsageDetailDataExportTaskRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
std::string taskId_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_MIGRATEDOMAINTOHTTPSDELIVERYRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_MIGRATEDOMAINTOHTTPSDELIVERYRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT MigrateDomainToHttpsDeliveryResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteUsageDetailDataExportTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MigrateDomainToHttpsDeliveryResult();
|
||||
explicit MigrateDomainToHttpsDeliveryResult(const std::string &payload);
|
||||
~MigrateDomainToHttpsDeliveryResult();
|
||||
DeleteUsageDetailDataExportTaskResult();
|
||||
explicit DeleteUsageDetailDataExportTaskResult(const std::string &payload);
|
||||
~DeleteUsageDetailDataExportTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_MIGRATEDOMAINTOHTTPSDELIVERYRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSAGEDETAILDATAEXPORTTASKRESULT_H_
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteUserUsageDataExportTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteUserUsageDataExportTaskRequest();
|
||||
~DeleteUserUsageDataExportTaskRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
std::string taskId_;
|
||||
long callerUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_SETFILETYPEFORCETTLCODECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETFILETYPEFORCETTLCODECONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT SetFileTypeForceTtlCodeConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteUserUsageDataExportTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetFileTypeForceTtlCodeConfigResult();
|
||||
explicit SetFileTypeForceTtlCodeConfigResult(const std::string &payload);
|
||||
~SetFileTypeForceTtlCodeConfigResult();
|
||||
DeleteUserUsageDataExportTaskResult();
|
||||
explicit DeleteUserUsageDataExportTaskResult(const std::string &payload);
|
||||
~DeleteUserUsageDataExportTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETFILETYPEFORCETTLCODECONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEUSERUSAGEDATAEXPORTTASKRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMLIMITINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMLIMITINFOREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamLimitInfoRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveStreamLimitInfoRequest();
|
||||
~DescribeLiveStreamLimitInfoRequest();
|
||||
DescribeCdnCertificateDetailRequest();
|
||||
~DescribeCdnCertificateDetailRequest();
|
||||
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getCertName()const;
|
||||
void setCertName(const std::string& certName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getLimitDomain()const;
|
||||
void setLimitDomain(const std::string& limitDomain);
|
||||
|
||||
private:
|
||||
std::string securityToken_;
|
||||
std::string certName_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string limitDomain_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMLIMITINFOREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMPUSHERRORSRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMPUSHERRORSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,27 +29,29 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamPushErrorsResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PushErrorsModel
|
||||
{
|
||||
std::string errorCode;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamPushErrorsResult();
|
||||
explicit DescribeLiveStreamPushErrorsResult(const std::string &payload);
|
||||
~DescribeLiveStreamPushErrorsResult();
|
||||
std::vector<PushErrorsModel> getPushErrorsModelList()const;
|
||||
DescribeCdnCertificateDetailResult();
|
||||
explicit DescribeCdnCertificateDetailResult(const std::string &payload);
|
||||
~DescribeCdnCertificateDetailResult();
|
||||
long getCertId()const;
|
||||
std::string getCert()const;
|
||||
std::string getCertName()const;
|
||||
std::string getKey()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PushErrorsModel> pushErrorsModelList_;
|
||||
long certId_;
|
||||
std::string cert_;
|
||||
std::string certName_;
|
||||
std::string key_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMPUSHERRORSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATEDETAILRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBASEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBASEDETAILREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainBaseDetailRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCdnDomainBaseDetailRequest();
|
||||
~DescribeCdnDomainBaseDetailRequest();
|
||||
DescribeCdnCertificateListRequest();
|
||||
~DescribeCdnCertificateListRequest();
|
||||
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
@@ -54,4 +54,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDOMAINBASEDETAILREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMPUSHDATARESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMPUSHDATARESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,33 +29,37 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamPushDataResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnCertificateListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PushStreamModel
|
||||
struct CertificateListModel
|
||||
{
|
||||
float frameLossRate;
|
||||
float frameRate;
|
||||
std::string clientAddr;
|
||||
std::string serverAddr;
|
||||
std::string time;
|
||||
std::string stream;
|
||||
float bitRate;
|
||||
struct Cert
|
||||
{
|
||||
std::string fingerprint;
|
||||
std::string issuer;
|
||||
long certId;
|
||||
std::string certName;
|
||||
long lastTime;
|
||||
std::string common;
|
||||
};
|
||||
std::vector<Cert> certList;
|
||||
int count;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamPushDataResult();
|
||||
explicit DescribeLiveStreamPushDataResult(const std::string &payload);
|
||||
~DescribeLiveStreamPushDataResult();
|
||||
std::vector<PushStreamModel> getPushStreamModelList()const;
|
||||
DescribeCdnCertificateListResult();
|
||||
explicit DescribeCdnCertificateListResult(const std::string &payload);
|
||||
~DescribeCdnCertificateListResult();
|
||||
CertificateListModel getCertificateListModel()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PushStreamModel> pushStreamModelList_;
|
||||
CertificateListModel certificateListModel_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMPUSHDATARESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNCERTIFICATELISTRESULT_H_
|
||||
@@ -35,29 +35,86 @@ namespace AlibabaCloud
|
||||
DescribeCdnMonitorDataRequest();
|
||||
~DescribeCdnMonitorDataRequest();
|
||||
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getOutString()const;
|
||||
void setOutString(const std::string& outString);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getFields()const;
|
||||
void setFields(const std::string& fields);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string outString_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string interval_;
|
||||
std::string startTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string interval_;
|
||||
std::string fields_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace AlibabaCloud
|
||||
DescribeCdnMonitorDataResult();
|
||||
explicit DescribeCdnMonitorDataResult(const std::string &payload);
|
||||
~DescribeCdnMonitorDataResult();
|
||||
long getMonitorInterval()const;
|
||||
std::string getMonitorInterval()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::vector<CDNMonitorData> getMonitorDatas()const;
|
||||
@@ -55,7 +55,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long monitorInterval_;
|
||||
std::string monitorInterval_;
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::vector<CDNMonitorData> monitorDatas_;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,17 +28,15 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnTypesRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserQuotaRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCdnTypesRequest();
|
||||
~DescribeCdnTypesRequest();
|
||||
DescribeCdnUserQuotaRequest();
|
||||
~DescribeCdnUserQuotaRequest();
|
||||
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -46,7 +44,6 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string securityToken_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -54,4 +51,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNTYPESREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTAREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTARESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserQuotaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeCdnUserQuotaResult();
|
||||
explicit DescribeCdnUserQuotaResult(const std::string &payload);
|
||||
~DescribeCdnUserQuotaResult();
|
||||
int getRefreshUrlQuota()const;
|
||||
int getPreloadRemain()const;
|
||||
int getBlockRemain()const;
|
||||
int getRefreshDirRemain()const;
|
||||
int getRefreshDirQuota()const;
|
||||
int getBlockQuota()const;
|
||||
int getDomainQuota()const;
|
||||
int getRefreshUrlRemain()const;
|
||||
int getPreloadQuota()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int refreshUrlQuota_;
|
||||
int preloadRemain_;
|
||||
int blockRemain_;
|
||||
int refreshDirRemain_;
|
||||
int refreshDirQuota_;
|
||||
int blockQuota_;
|
||||
int domainQuota_;
|
||||
int refreshUrlRemain_;
|
||||
int preloadQuota_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERQUOTARESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMDOMAINAPPINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMDOMAINAPPINFOREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,17 +28,15 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeLiveStreamDomainAppInfoRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserResourcePackageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveStreamDomainAppInfoRequest();
|
||||
~DescribeLiveStreamDomainAppInfoRequest();
|
||||
DescribeCdnUserResourcePackageRequest();
|
||||
~DescribeCdnUserResourcePackageRequest();
|
||||
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getAppDomain()const;
|
||||
void setAppDomain(const std::string& appDomain);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -46,7 +44,6 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string securityToken_;
|
||||
std::string appDomain_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
@@ -54,4 +51,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMDOMAINAPPINFOREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINONLINEUSERNUMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINONLINEUSERNUMBERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,28 +29,34 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainOnlineUserNumberResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserResourcePackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveStreamOnlineUserNumInfo
|
||||
struct ResourcePackageInfo
|
||||
{
|
||||
std::string time;
|
||||
long userNumber;
|
||||
std::string status;
|
||||
std::string initCapacity;
|
||||
std::string endTime;
|
||||
std::string instanceId;
|
||||
std::string commodityCode;
|
||||
std::string displayName;
|
||||
std::string startTime;
|
||||
std::string currCapacity;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainOnlineUserNumberResult();
|
||||
explicit DescribeDomainOnlineUserNumberResult(const std::string &payload);
|
||||
~DescribeDomainOnlineUserNumberResult();
|
||||
std::vector<LiveStreamOnlineUserNumInfo> getLiveStreamOnlineUserNumInfos()const;
|
||||
DescribeCdnUserResourcePackageResult();
|
||||
explicit DescribeCdnUserResourcePackageResult(const std::string &payload);
|
||||
~DescribeCdnUserResourcePackageResult();
|
||||
std::vector<ResourcePackageInfo> getResourcePackageInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LiveStreamOnlineUserNumInfo> liveStreamOnlineUserNumInfos_;
|
||||
std::vector<ResourcePackageInfo> resourcePackageInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINONLINEUSERNUMBERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERRESOURCEPACKAGERESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
@@ -80,6 +82,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
|
||||
@@ -35,32 +35,98 @@ namespace AlibabaCloud
|
||||
DescribeDomainAverageResponseTimeRequest();
|
||||
~DescribeDomainAverageResponseTimeRequest();
|
||||
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getLocationNameEn()const;
|
||||
void setLocationNameEn(const std::string& locationNameEn);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getIspNameEn()const;
|
||||
void setIspNameEn(const std::string& ispNameEn);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDomainType()const;
|
||||
void setDomainType(const std::string& domainType);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getOutString()const;
|
||||
void setOutString(const std::string& outString);
|
||||
std::string getTimeMerge()const;
|
||||
void setTimeMerge(const std::string& timeMerge);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getFields()const;
|
||||
void setFields(const std::string& fields);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string locationNameEn_;
|
||||
std::string startTime_;
|
||||
std::string ispNameEn_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string domainType_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string outString_;
|
||||
std::string timeMerge_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string interval_;
|
||||
std::string startTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string interval_;
|
||||
std::string fields_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,19 +43,27 @@ namespace AlibabaCloud
|
||||
explicit DescribeDomainAverageResponseTimeResult(const std::string &payload);
|
||||
~DescribeDomainAverageResponseTimeResult();
|
||||
std::vector<DataModule> getAvgRTPerInterval()const;
|
||||
std::string getIspNameEn()const;
|
||||
std::string getIspName()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getLocationNameEn()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getLocationName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataModule> avgRTPerInterval_;
|
||||
std::string ispNameEn_;
|
||||
std::string ispName_;
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string dataInterval_;
|
||||
std::string locationNameEn_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
std::string locationName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
@@ -80,6 +82,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -35,38 +35,86 @@ namespace AlibabaCloud
|
||||
DescribeDomainHitRateDataRequest();
|
||||
~DescribeDomainHitRateDataRequest();
|
||||
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getTimeMerge()const;
|
||||
void setTimeMerge(const std::string& timeMerge);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getOutString()const;
|
||||
void setOutString(const std::string& outString);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getLocationNameEn()const;
|
||||
void setLocationNameEn(const std::string& locationNameEn);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getIspNameEn()const;
|
||||
void setIspNameEn(const std::string& ispNameEn);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getFields()const;
|
||||
void setFields(const std::string& fields);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string timeMerge_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string outString_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string locationNameEn_;
|
||||
std::string interval_;
|
||||
std::string startTime_;
|
||||
std::string ispNameEn_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string interval_;
|
||||
std::string fields_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,8 +45,8 @@ namespace AlibabaCloud
|
||||
std::vector<DataModule> getHitRateInterval()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDataInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -54,8 +54,8 @@ namespace AlibabaCloud
|
||||
std::vector<DataModule> hitRateInterval_;
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string dataInterval_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,38 +35,95 @@ namespace AlibabaCloud
|
||||
DescribeDomainHttpCodeDataRequest();
|
||||
~DescribeDomainHttpCodeDataRequest();
|
||||
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getLocationNameEn()const;
|
||||
void setLocationNameEn(const std::string& locationNameEn);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getIspNameEn()const;
|
||||
void setIspNameEn(const std::string& ispNameEn);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getOutString()const;
|
||||
void setOutString(const std::string& outString);
|
||||
std::string getTimeMerge()const;
|
||||
void setTimeMerge(const std::string& timeMerge);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getLocationNameEn()const;
|
||||
void setLocationNameEn(const std::string& locationNameEn);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getIspNameEn()const;
|
||||
void setIspNameEn(const std::string& ispNameEn);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getFields()const;
|
||||
void setFields(const std::string& fields);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string locationNameEn_;
|
||||
std::string startTime_;
|
||||
std::string ispNameEn_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string outString_;
|
||||
std::string timeMerge_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string locationNameEn_;
|
||||
std::string interval_;
|
||||
std::string startTime_;
|
||||
std::string ispNameEn_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string interval_;
|
||||
std::string fields_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,8 +50,8 @@ namespace AlibabaCloud
|
||||
~DescribeDomainHttpCodeDataResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDataInterval()const;
|
||||
std::vector<UsageData> getHttpCodeData()const;
|
||||
|
||||
protected:
|
||||
@@ -59,8 +59,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string dataInterval_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
std::vector<UsageData> httpCodeData_;
|
||||
|
||||
};
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPSDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPSDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainHttpsDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainHttpsDataRequest();
|
||||
~DescribeDomainHttpsDataRequest();
|
||||
|
||||
std::string getDomainType()const;
|
||||
void setDomainType(const std::string& domainType);
|
||||
std::string getFixTimeGap()const;
|
||||
void setFixTimeGap(const std::string& fixTimeGap);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getTimeMerge()const;
|
||||
void setTimeMerge(const std::string& timeMerge);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getCls()const;
|
||||
void setCls(const std::string& cls);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string domainType_;
|
||||
std::string fixTimeGap_;
|
||||
std::string securityToken_;
|
||||
std::string timeMerge_;
|
||||
std::string domainNames_;
|
||||
std::string endTime_;
|
||||
std::string interval_;
|
||||
std::string startTime_;
|
||||
std::string cls_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPSDATAREQUEST_H_
|
||||
@@ -1,100 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPSDATARESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPSDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainHttpsDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct HttpsStatisticsInfo
|
||||
{
|
||||
float l1StHttpsQps;
|
||||
long l1HttpsOutQps;
|
||||
float l1StHttpsInnerBps;
|
||||
float l1DyHttpsAcc;
|
||||
std::string time;
|
||||
float l1DyHttpsOutQps;
|
||||
float l1StHttpsOutAcc;
|
||||
long l1HttpsOutTraf;
|
||||
float l1StHttpsBps;
|
||||
float l1HttpsOut_acc;
|
||||
float l1StHttpsAcc;
|
||||
float l1DyHttpsQps;
|
||||
float l1DyHttpsOutBps;
|
||||
float l1HttpsInnerBps;
|
||||
float l1StHttpsOutQps;
|
||||
float l1HttpsTacc;
|
||||
float l1HttpsBps;
|
||||
long l1HttpsInnerTraf;
|
||||
float l1StHttpsTraf;
|
||||
float l1StHttpsInnerAcc;
|
||||
long httpsSrcTraf;
|
||||
float l1DyHttpsBps;
|
||||
float l1DyHttpsInnerTraf;
|
||||
float l1HttpsInner_acc;
|
||||
float l1StHttpsOutTraf;
|
||||
float l1DyHttpsInnerQps;
|
||||
float l1DyHttpsTraf;
|
||||
long l1HttpsInnerQps;
|
||||
float httpsReqHitRate;
|
||||
float l1DyHttpsInnerBps;
|
||||
long l1HttpsQps;
|
||||
long httpsSrcBps;
|
||||
float httpsByteHitRate;
|
||||
float l1StHttpsOutBps;
|
||||
long l1HttpsTtraf;
|
||||
float l1StHttpsInnerQps;
|
||||
float l1HttpsHitRate;
|
||||
float l1HttpsOutBps;
|
||||
float l1DyHttpsInnerAcc;
|
||||
float l1DyHttpsOutTraf;
|
||||
float l1DyHttpsOutAcc;
|
||||
float l1StHttpsInnerTraf;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainHttpsDataResult();
|
||||
explicit DescribeDomainHttpsDataResult(const std::string &payload);
|
||||
~DescribeDomainHttpsDataResult();
|
||||
std::string getDataInterval()const;
|
||||
std::string getDomainNames()const;
|
||||
std::vector<HttpsStatisticsInfo> getHttpsStatisticsInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dataInterval_;
|
||||
std::string domainNames_;
|
||||
std::vector<HttpsStatisticsInfo> httpsStatisticsInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINHTTPSDATARESULT_H_
|
||||
@@ -35,26 +35,83 @@ namespace AlibabaCloud
|
||||
DescribeDomainISPDataRequest();
|
||||
~DescribeDomainISPDataRequest();
|
||||
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getOutString()const;
|
||||
void setOutString(const std::string& outString);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string outString_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMONTHBILLINGBPSDATARESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMONTHBILLINGBPSDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainMonthBillingBpsDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDomainMonthBillingBpsDataResult();
|
||||
explicit DescribeDomainMonthBillingBpsDataResult(const std::string &payload);
|
||||
~DescribeDomainMonthBillingBpsDataResult();
|
||||
float getOverseasBandwidth95Bps()const;
|
||||
float getDomesticMonth4thBps()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
float getOverseasMonthavgBps()const;
|
||||
float getMonth4thBps()const;
|
||||
float getDomesticMonthavgBps()const;
|
||||
std::string getStartTime()const;
|
||||
float getBandwidth95Bps()const;
|
||||
float getMonthavgBps()const;
|
||||
float getOverseasMonth4thBps()const;
|
||||
float getDomesticBandwidth95Bps()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
float overseasBandwidth95Bps_;
|
||||
float domesticMonth4thBps_;
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
float overseasMonthavgBps_;
|
||||
float month4thBps_;
|
||||
float domesticMonthavgBps_;
|
||||
std::string startTime_;
|
||||
float bandwidth95Bps_;
|
||||
float monthavgBps_;
|
||||
float overseasMonth4thBps_;
|
||||
float domesticBandwidth95Bps_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMONTHBILLINGBPSDATARESULT_H_
|
||||
@@ -67,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getDomainName()const;
|
||||
@@ -105,6 +107,7 @@ namespace AlibabaCloud
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
|
||||
@@ -35,43 +35,91 @@ namespace AlibabaCloud
|
||||
DescribeDomainQpsDataRequest();
|
||||
~DescribeDomainQpsDataRequest();
|
||||
|
||||
std::string getFixTimeGap()const;
|
||||
void setFixTimeGap(const std::string& fixTimeGap);
|
||||
std::string getTimeMerge()const;
|
||||
void setTimeMerge(const std::string& timeMerge);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getLocationNameEn()const;
|
||||
void setLocationNameEn(const std::string& locationNameEn);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getIspNameEn()const;
|
||||
void setIspNameEn(const std::string& ispNameEn);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDomainType()const;
|
||||
void setDomainType(const std::string& domainType);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTimeMerge()const;
|
||||
void setTimeMerge(const std::string& timeMerge);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
std::string fixTimeGap_;
|
||||
std::string timeMerge_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string locationNameEn_;
|
||||
std::string startTime_;
|
||||
std::string ispNameEn_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string domainType_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string timeMerge_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string interval_;
|
||||
|
||||
};
|
||||
|
||||
@@ -55,8 +55,8 @@ namespace AlibabaCloud
|
||||
~DescribeDomainQpsDataResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDataInterval()const;
|
||||
std::vector<DataModule> getQpsDataInterval()const;
|
||||
|
||||
protected:
|
||||
@@ -64,8 +64,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string dataInterval_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
std::vector<DataModule> qpsDataInterval_;
|
||||
|
||||
};
|
||||
|
||||
@@ -65,8 +65,8 @@ namespace AlibabaCloud
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
@@ -85,6 +85,10 @@ namespace AlibabaCloud
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getFields()const;
|
||||
void setFields(const std::string& fields);
|
||||
|
||||
private:
|
||||
long callerParentId_;
|
||||
@@ -102,7 +106,7 @@ namespace AlibabaCloud
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
std::string popProduct_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
@@ -112,6 +116,8 @@ namespace AlibabaCloud
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string interval_;
|
||||
std::string fields_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,44 +35,22 @@ namespace AlibabaCloud
|
||||
DescribeDomainRealTimeByteHitRateDataRequest();
|
||||
~DescribeDomainRealTimeByteHitRateDataRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
@@ -81,31 +59,59 @@ namespace AlibabaCloud
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getFields()const;
|
||||
void setFields(const std::string& fields);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string product_;
|
||||
long callerParentId_;
|
||||
std::string domainName_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
std::string startTime_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string interval_;
|
||||
std::string fields_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user