Compare commits

..

47 Commits
1.2.3 ... 1.8.2

Author SHA1 Message Date
haowei.yao
d63881daa0 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, 版本号:1.8.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-08 20:33:13 +08:00
haowei.yao
06552e53d8 由武进发起的ESS SDK自动发布, 版本号:1.8.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-08 00:13:36 +08:00
jxyowen
d29cf439dd add readme 2018-05-05 20:41:47 +08:00
jxyowen
4782139aab add readme 2018-05-05 20:40:49 +08:00
jxyowen
07e2b81c13 add readme 2018-05-05 20:37:58 +08:00
haowei.yao
1911aed209 由厚勇发起的ECS SDK自动发布, 版本号:1.8.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-05-02 15:45:52 +08:00
haowei.yao
af057eb153 由逸雄发起的DCDN SDK自动发布, 版本号:1.7.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-28 16:13:49 +08:00
haowei.yao
76c5ad81b7 由智久发起的DCDN SDK自动发布, 版本号:1.7.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-28 13:53:10 +08:00
haowei.yao
339cf28edd 由鸿逸发起的HSM SDK自动发布, 版本号:1.7.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-27 19:48:27 +08:00
haowei.yao
6ecfd8332a 由洛衡发起的DOMAIN SDK自动发布, 版本号:1.7.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-26 19:31:18 +08:00
haowei.yao
1c441b53f5 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-24 11:21:28 +08:00
haowei.yao
482abf2f25 由柏霜发起的ECS SDK自动发布, 版本号:1.6.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-23 20:36:09 +08:00
haowei.yao
8968d04f56 由武进发起的ESS SDK自动发布, 版本号:1.6.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-23 11:56:04 +08:00
haowei.yao
a28f39fd8c 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-17 14:55:21 +08:00
haowei.yao
ff129e3660 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-11 14:12:59 +08:00
haowei.yao
3ea4f50703 由楚俊发起的ECS SDK自动发布, 版本号:1.6.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-10 17:18:16 +08:00
haowei.yao
7f8b47c92f 由颍川发起的CSB SDK自动发布, 版本号:1.5.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-10 15:07:36 +08:00
haowei.yao
4fa1912a54 由尛宏发起的GREEN SDK自动发布, 版本号:1.5.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-08 16:20:52 +08:00
haowei.yao
c3794202f0 由洛衡发起的DOMAIN SDK自动发布, 版本号:1.4.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-03 14:43:49 +08:00
haowei.yao
442f784284 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, 版本号:1.3.8
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-30 19:17:39 +08:00
haowei.yao
9c389f5683 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.3.7
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-29 22:29:52 +08:00
haowei.yao
a1ba8b4381 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, BUILD_ID=338, 版本号:1.3.6
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 17:49:21 +08:00
haowei.yao
74bebe2a77 由颍川发起的CSB SDK自动发布, BUILD_ID=503, 版本号:1.3.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 12:55:15 +08:00
haowei.yao
d27410f202 由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=502, 版本号:1.3.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 10:29:39 +08:00
haowei.yao
3b1093ffe3 由楚俊发起的ECS SDK自动发布, BUILD_ID=499, 版本号:1.3.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 21:40:22 +08:00
haowei.yao
f2c01c7abe 由楚俊发起的ECS SDK自动发布, BUILD_ID=498, 版本号:1.3.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 21:01:01 +08:00
haowei.yao
e34557650b 由楚俊发起的ECS SDK自动发布, BUILD_ID=335, 版本号:1.3.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 12:40:46 +08:00
haowei.yao
c3ff60fd73 由释一发起的PUSH SDK自动发布, BUILD_ID=490, 版本号:1.3.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 11:38:17 +08:00
haowei.yao
4caef74421 由丰鲁成发起的CLOUDPHOTO SDK自动发布, BUILD_ID=482, 版本号:1.2.16
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-20 18:24:08 +08:00
haowei.yao
0dd42f38c4 由温仰发起的ECS SDK自动发布, BUILD_ID=473, 版本号:1.2.15
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-16 15:46:44 +08:00
fenglc
b61a72e58e Fix build failed 2018-03-16 14:18:15 +08:00
fenglc
b11cedef5e Update 3rdparty/CMakeLists.txt 2018-03-16 12:19:43 +08:00
fenglc
e19f2fa847 add 3rdparty package files 2018-03-15 17:02:50 +08:00
haowei.yao
4a15d5788a 由温仰发起的SLB SDK自动发布, BUILD_ID=467, 版本号:1.2.14
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 16:58:30 +08:00
haowei.yao
85da4ff587 由温仰发起的VPC SDK自动发布, BUILD_ID=466, 版本号:1.2.13
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 15:18:48 +08:00
haowei.yao
7721032f82 由温仰发起的CDN SDK自动发布, BUILD_ID=465, 版本号:1.2.12
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 14:58:26 +08:00
haowei.yao
2d1a1c0e06 由温仰发起的RDS SDK自动发布, BUILD_ID=464, 版本号:1.2.11
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 14:40:06 +08:00
haowei.yao
7bf9e855c8 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, BUILD_ID=329, 版本号:1.2.10
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-15 11:32:52 +08:00
fenglc
b87f210c4c Fix setEndpoint bug 2018-03-14 17:58:26 +08:00
fenglc
24a354cffd Merge pull request #1 from aliyun/pre-release
merge pre-release into master
2018-03-14 15:48:21 +08:00
fenglc
7be1f34dae Fix build failed on windows 2018-03-14 15:43:03 +08:00
haowei.yao
89523ed659 由丰鲁成发起的CORE SDK自动发布, BUILD_ID=186, 版本号:1.2.9
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-14 14:39:25 +08:00
haowei.yao
6b7af1732d 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, BUILD_ID=325, 版本号:1.2.8
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-13 11:25:52 +08:00
haowei.yao
f725320265 由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=460, 版本号:1.2.7
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-07 17:07:15 +08:00
haowei.yao
728ece9cd1 由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=459, 版本号:1.2.6
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-06 13:58:46 +08:00
haowei.yao
dd93fdf1c5 由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=457, 版本号:1.2.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-06 11:08:32 +08:00
haowei.yao
78ee1b30bd 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, BUILD_ID=314, 版本号:1.2.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-02-28 11:38:05 +08:00
1680 changed files with 119276 additions and 19761 deletions

9
.idea/aliyun-openapi-cpp-sdk.iml generated Normal file
View File

@@ -0,0 +1,9 @@
<?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 Normal file
View File

@@ -0,0 +1,8 @@
<?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 Normal file
View File

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

316
.idea/workspace.xml generated Normal file
View File

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

View File

@@ -16,7 +16,8 @@
if(CMAKE_HOST_WIN32)
ExternalProject_Add(jsoncpp
URL https://github.com/open-source-parsers/jsoncpp/archive/0.10.5.tar.gz
URL ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp-0.10.5.tar.gz
URL_HASH MD5=db146bac5a126ded9bd728ab7b61ed6b
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
-DJSONCPP_WITH_TESTS=OFF
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
@@ -28,7 +29,8 @@ if(CMAKE_HOST_WIN32)
)
ExternalProject_Add(curl
URL https://github.com/curl/curl/releases/download/curl-7_55_1/curl-7.55.1.tar.gz
URL ${CMAKE_CURRENT_SOURCE_DIR}/curl-7.55.1.tar.gz
URL_HASH MD5=3b832160a8c9c40075fd71191960307c
CMAKE_ARGS -DBUILD_CURL_EXE=OFF
-DBUILD_TESTING=OFF
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
@@ -40,10 +42,11 @@ ExternalProject_Add(curl
endif()
ExternalProject_Add(catch
URL https://github.com/catchorg/Catch2/releases/download/v2.0.1/catch.hpp
URL ${CMAKE_CURRENT_SOURCE_DIR}/catch-2.0.1.hpp
URL_HASH MD5=9b3d2cb5c0f9532cddfbbfd0a622f0af
DOWNLOAD_NO_EXTRACT 1
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND
${CMAKE_COMMAND} -E copy_if_different <DOWNLOADED_FILE> <INSTALL_DIR>
${CMAKE_COMMAND} -E copy_if_different <DOWNLOADED_FILE> <INSTALL_DIR>/catch.hpp
)

12012
3rdparty/catch-2.0.1.hpp vendored Normal file

File diff suppressed because it is too large Load Diff

BIN
3rdparty/curl-7.55.1.tar.gz vendored Normal file

Binary file not shown.

BIN
3rdparty/jsoncpp-0.10.5.tar.gz vendored Normal file

Binary file not shown.

146
CHANGELOG
View File

@@ -1,3 +1,149 @@
2018-05-08 Version: 1.8.2
1, Add instance params.
2018-05-08 Version: 1.8.1
1, Remove DescribeAccountAttributes.
2018-05-02 Version: 1.8.0
1, Add new interface InstallCloudAssistant, support Cloud Assistant client installation.
2, Add new interface DescribeCloudAssistantStatus, support Cloud Assistant client status detection.
2018-04-28 Version: 1.7.3
1, Add dcdn domain interfaceSupport add、modify、delete、query dcdn domain.
2, Add dcdn config interfaceSupport set、delete、query domain config.
2018-04-28 Version: 1.7.2
1, Add dcdn domain interfaceSupport add、modify、delete、query dcdn domain.
2, Add dcdn config interfaceSupport set、delete、query domain config.
2018-04-27 Version: 1.7.1
1, release hsm open api
2, hsm open api includes DescribeRegions, DescribeInstances, ModityInstance, ConfigNetwork, ConfigWhiteList
2018-04-26 Version: 1.7.0
1, Add apis for domain group.
3, Add fields for QueryDomainList.
2018-04-24 Version: 1.6.5
1, add interface FetchPhotos
2, add xflush log param unixTimestamp
2018-04-23 Version: 1.6.4
1, DescribeInstanceHistoryEvents adds parameter instanceEventTypes and instanceEventCycleStatuss.
2, InstanceId parameter is not necessary for DescribeInstanceHistoryEvents now.
3, DescribeInstancesFullStatus adds parameter instanceEventTypes.
2018-04-23 Version: 1.6.3
1, Add notificationConfiguration.
2, Add standby status.
2018-04-17 Version: 1.6.2
1, EditPhotos add input param TakenAt
2, add FetchMomentPhotos
3, ListAlbums add return param Remark
2018-04-11 Version: 1.6.1
1, GetLibrary/FetchLibraries add return ctime
2, Editphotos add input param takenAt
2018-04-10 Version: 1.6.0
1, Add three interfaces CreateNetworkInterfacePermission DeleteNetworkInterfacePermission DescribeNetworkInterfacePermissions.
2018-04-10 Version: 1.5.1
1, publish Project API.
2, publish Service API.
3, publish Service order API.
4, publish Credential API.
5, publish CAS API.
2018-04-08 Version: 1.5.0
1, Add voice asynchronous scan interface.
2018-04-03 Version: 1.4.0
1, Add APIs for domain transfer in and transfer out.
2, Add APIs for poll and acknowledge domain task.
3, Add API for query domain group list.
2018-03-30 Version: 1.3.8
1, API QueryCustomerSaleInfo arguments update.
2018-03-29 Version: 1.3.7
1, edit FetchLibraries return param format
2018-03-27 Version: 1.3.6
1, Rename QueryCustomerSaleInfo to RegionName.
2018-03-27 Version: 1.3.5
1, publish Project API.
2, publish Service API.
3, publish Service order API.
4, publish Credential API.
5, publish CAS API.
2018-03-27 Version: 1.3.4
1, add interface FetchLibraries
2018-03-23 Version: 1.3.3
1, interface DescribeInstanceTypes output InstancePpsRx InstancePpsTx
2018-03-23 Version: 1.3.2
1, interface DescribeInstanceTypes output InstancePpsRx InstancePpsTx
2018-03-23 Version: 1.3.1
1, ModifyPrepayInstanceSpec support migrateAcrossZone.
2018-03-23 Version: 1.3.0
1, Add 'QueryDevicesByAccount' and 'QueryDevicesByAlias' Api.
2, Remove 'QueryPushDetail' Api.
2018-03-20 Version: 1.2.16
1, add FetchAlbumTagPhotos
2, CreatePhoto add optional param TakenAt
2018-03-16 Version: 1.2.15
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.14
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.13
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.12
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.11
1, Synchronize to the latest api list
2018-03-15 Version: 1.2.10
1, Add QueryCustomerSaleInfo API.
2018-03-14 Version: 1.2.9
1, Support predefine endpoints parse
2018-03-13 Version: 1.2.8
1, API GetQuotaHistoryInfo fix field error.
2018-03-07 Version: 1.2.7
1, add GetAlbumsByNames
2, add ListEvent/CreateEvent/EditEvent/DeleteEvent/GetEvent
3, add return IdStr for string
2018-03-06 Version: 1.2.6
1, add GetAlbumsByNames
2, add ListEvent/CreateEvent/EditEvent/DeleteEvent/GetEvent
3, add return IdStr for string
2018-03-06 Version: 1.2.5
1, add GetAlbumsByNames
2, add ListEvent/CreateEvent/EditEvent/DeleteEvent/GetEvent
3, add return IdStr for string
2018-02-28 Version: 1.2.4
1, Add query resource inventory API.
2, Add query topology API.
2018-02-27 Version: 1.2.3
1, Add query topology API.

View File

@@ -64,4 +64,10 @@ add_subdirectory(aegis)
add_subdirectory(ehpc)
add_subdirectory(cs)
add_subdirectory(ccc)
add_subdirectory(teslamaxcompute)
add_subdirectory(teslamaxcompute)
add_subdirectory(push)
add_subdirectory(csb)
add_subdirectory(domain)
add_subdirectory(green)
add_subdirectory(hsm)
add_subdirectory(dcdn)

199
README.md Normal file → Executable file
View File

@@ -1,118 +1,81 @@
# Alibaba Cloud SDK for C++
欢迎使用阿里云开发者工具套件SDK
适用于阿里云的 C++ SDK 提供了一组现代化的 C++C++ 11 或更高版本)接口,让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。
完成本文档中的操作开始使用 C++ SDK。
## 前提条件
在使用 C++ SDK 前,确保您已经:
* 注册了阿里云账号并获取了访问密钥AccessKey
> **说明:** 为了保证您的账号安全建议您使用RAM账号来访问阿里云服务。阿里云账号对拥有的资源有全部权限。RAM账号由阿里云账号授权创建仅有对特定资源限定的操作权限。详情[参见RAM](https://help.aliyun.com/document_detail/28647.html)。
* 开通了云产品服务。有些云产品如对象存储OSS需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
* 安装支持 C++ 11 或更高版本的编译器:
* Visual Studio 2015 或以上版本
* 或 GCC 4.9 或以上版本
## 从源代码构建 SDK
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
* 使用 Git 命令获取
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
2. 安装 cmake 3.0 或以上版本,进入 SDK 创建生成必要的构建文件
```
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 的系统上安装这些软件包
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
在安装依赖库后执行以下命令编译并安装:
```
make
sudo make install
```
## 如何使用 C++ SDK
在调用 C++ SDK时您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
```
#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)
{
// 初始化 SDK
AlibabaCloud::InitializeSdk();
// 配置 ecs 实例
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// 创建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;
// 关闭 SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
## 许可协议
请参阅 LICENSE 文件Apache 2.0 许可证)。
# 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;
}
```

118
README_zh.md Normal file
View File

@@ -0,0 +1,118 @@
# 阿里云开发者C++工具套件
欢迎使用阿里云开发者工具套件SDK
适用于阿里云的 C++ SDK 提供了一组现代化的 C++C++ 11 或更高版本)接口,让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。
完成本文档中的操作开始使用 C++ SDK。
## 前提条件
在使用 C++ SDK 前,确保您已经:
* 注册了阿里云账号并获取了访问密钥AccessKey
> **说明:** 为了保证您的账号安全建议您使用RAM账号来访问阿里云服务。阿里云账号对拥有的资源有全部权限。RAM账号由阿里云账号授权创建仅有对特定资源限定的操作权限。详情[参见RAM](https://help.aliyun.com/document_detail/28647.html)。
* 开通了云产品服务。有些云产品如对象存储OSS需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
* 安装支持 C++ 11 或更高版本的编译器:
* Visual Studio 2015 或以上版本
* 或 GCC 4.9 或以上版本
## 从源代码构建 SDK
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
* 使用 Git 命令获取
```
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
```
2. 安装 cmake 3.0 或以上版本,进入 SDK 创建生成必要的构建文件
```
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 的系统上安装这些软件包
```
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
```
在安装依赖库后执行以下命令编译并安装:
```
make
sudo make install
```
## 如何使用 C++ SDK
在调用 C++ SDK时您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证并指定云服务的地域然后发送API请求。
以下代码展示了如何调用 DescribeInstancesAPI 查询指定地域所有 ECS 实例的详细信息。
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
```
#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)
{
// 初始化 SDK
AlibabaCloud::InitializeSdk();
// 配置 ecs 实例
ClientConfiguration configuration("<your-region-id>");
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// 创建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;
// 关闭 SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
## 许可协议
请参阅 LICENSE 文件Apache 2.0 许可证)。

View File

@@ -1 +1 @@
1.2.3
1.8.2

View File

@@ -230,7 +230,6 @@ namespace AlibabaCloud
QueryCrackEventOutcomeCallable queryCrackEventCallable(const Model::QueryCrackEventRequest& request) const;
private:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}

View File

@@ -22,46 +22,38 @@ using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Aegis;
using namespace AlibabaCloud::Aegis::Model;
namespace
{
const std::string SERVICE_NAME = "aegis";
}
AegisClient::AegisClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(credentials), 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(), "vipaegis");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "vipaegis");
}
AegisClient::AegisClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(credentialsProvider, configuration)
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "vipaegis");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "vipaegis");
}
AegisClient::AegisClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), 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(), "vipaegis");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "vipaegis");
}
AegisClient::~AegisClient()
{}
CoreClient::EndpointOutcome AegisClient::endpoint()const
{
if(!configuration().endpoint().empty())
return CoreClient::EndpointOutcome(configuration().endpoint());
auto endpoint = endpointProvider_->getEndpoint();
if (endpoint.empty())
return CoreClient::EndpointOutcome(Error("InvalidEndpoint",""));
else
return CoreClient::EndpointOutcome(endpoint);
}
AegisClient::GetEntityListOutcome AegisClient::getEntityList(const GetEntityListRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetEntityListOutcome(endpointOutcome.error());
@@ -97,7 +89,7 @@ AegisClient::GetEntityListOutcomeCallable AegisClient::getEntityListCallable(con
AegisClient::GetStatisticsByUuidOutcome AegisClient::getStatisticsByUuid(const GetStatisticsByUuidRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStatisticsByUuidOutcome(endpointOutcome.error());
@@ -133,7 +125,7 @@ AegisClient::GetStatisticsByUuidOutcomeCallable AegisClient::getStatisticsByUuid
AegisClient::GetStatisticsOutcome AegisClient::getStatistics(const GetStatisticsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStatisticsOutcome(endpointOutcome.error());
@@ -169,7 +161,7 @@ AegisClient::GetStatisticsOutcomeCallable AegisClient::getStatisticsCallable(con
AegisClient::DescribeVulDetailsOutcome AegisClient::describeVulDetails(const DescribeVulDetailsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVulDetailsOutcome(endpointOutcome.error());
@@ -205,7 +197,7 @@ AegisClient::DescribeVulDetailsOutcomeCallable AegisClient::describeVulDetailsCa
AegisClient::DeleteStrategyOutcome AegisClient::deleteStrategy(const DeleteStrategyRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteStrategyOutcome(endpointOutcome.error());
@@ -241,7 +233,7 @@ AegisClient::DeleteStrategyOutcomeCallable AegisClient::deleteStrategyCallable(c
AegisClient::GetCrackStatisticsOutcome AegisClient::getCrackStatistics(const GetCrackStatisticsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetCrackStatisticsOutcome(endpointOutcome.error());
@@ -277,7 +269,7 @@ AegisClient::GetCrackStatisticsOutcomeCallable AegisClient::getCrackStatisticsCa
AegisClient::DescribeWarningOutcome AegisClient::describeWarning(const DescribeWarningRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeWarningOutcome(endpointOutcome.error());
@@ -313,7 +305,7 @@ AegisClient::DescribeWarningOutcomeCallable AegisClient::describeWarningCallable
AegisClient::ReleaseInstanceOutcome AegisClient::releaseInstance(const ReleaseInstanceRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ReleaseInstanceOutcome(endpointOutcome.error());
@@ -349,7 +341,7 @@ AegisClient::ReleaseInstanceOutcomeCallable AegisClient::releaseInstanceCallable
AegisClient::DescribeSuspiciousEventsOutcome AegisClient::describeSuspiciousEvents(const DescribeSuspiciousEventsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeSuspiciousEventsOutcome(endpointOutcome.error());
@@ -385,7 +377,7 @@ AegisClient::DescribeSuspiciousEventsOutcomeCallable AegisClient::describeSuspic
AegisClient::CreateInstanceOutcome AegisClient::createInstance(const CreateInstanceRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateInstanceOutcome(endpointOutcome.error());
@@ -421,7 +413,7 @@ AegisClient::CreateInstanceOutcomeCallable AegisClient::createInstanceCallable(c
AegisClient::DescribeVulListOutcome AegisClient::describeVulList(const DescribeVulListRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVulListOutcome(endpointOutcome.error());
@@ -457,7 +449,7 @@ AegisClient::DescribeVulListOutcomeCallable AegisClient::describeVulListCallable
AegisClient::UpgradeInstanceOutcome AegisClient::upgradeInstance(const UpgradeInstanceRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpgradeInstanceOutcome(endpointOutcome.error());
@@ -493,7 +485,7 @@ AegisClient::UpgradeInstanceOutcomeCallable AegisClient::upgradeInstanceCallable
AegisClient::RenewInstanceOutcome AegisClient::renewInstance(const RenewInstanceRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RenewInstanceOutcome(endpointOutcome.error());
@@ -529,7 +521,7 @@ AegisClient::RenewInstanceOutcomeCallable AegisClient::renewInstanceCallable(con
AegisClient::DescribeStrategyTargetOutcome AegisClient::describeStrategyTarget(const DescribeStrategyTargetRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeStrategyTargetOutcome(endpointOutcome.error());
@@ -565,7 +557,7 @@ AegisClient::DescribeStrategyTargetOutcomeCallable AegisClient::describeStrategy
AegisClient::QueryLoginEventOutcome AegisClient::queryLoginEvent(const QueryLoginEventRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryLoginEventOutcome(endpointOutcome.error());
@@ -601,7 +593,7 @@ AegisClient::QueryLoginEventOutcomeCallable AegisClient::queryLoginEventCallable
AegisClient::GetAccountStatisticsOutcome AegisClient::getAccountStatistics(const GetAccountStatisticsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAccountStatisticsOutcome(endpointOutcome.error());
@@ -637,7 +629,7 @@ AegisClient::GetAccountStatisticsOutcomeCallable AegisClient::getAccountStatisti
AegisClient::ModifyStrategyOutcome AegisClient::modifyStrategy(const ModifyStrategyRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyStrategyOutcome(endpointOutcome.error());
@@ -673,7 +665,7 @@ AegisClient::ModifyStrategyOutcomeCallable AegisClient::modifyStrategyCallable(c
AegisClient::ModifyStrategyTargetOutcome AegisClient::modifyStrategyTarget(const ModifyStrategyTargetRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyStrategyTargetOutcome(endpointOutcome.error());
@@ -709,7 +701,7 @@ AegisClient::ModifyStrategyTargetOutcomeCallable AegisClient::modifyStrategyTarg
AegisClient::ModifyBatchIgnoreVulOutcome AegisClient::modifyBatchIgnoreVul(const ModifyBatchIgnoreVulRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyBatchIgnoreVulOutcome(endpointOutcome.error());
@@ -745,7 +737,7 @@ AegisClient::ModifyBatchIgnoreVulOutcomeCallable AegisClient::modifyBatchIgnoreV
AegisClient::DescribeWebshellOutcome AegisClient::describeWebshell(const DescribeWebshellRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeWebshellOutcome(endpointOutcome.error());
@@ -781,7 +773,7 @@ AegisClient::DescribeWebshellOutcomeCallable AegisClient::describeWebshellCallab
AegisClient::DescribeStratetyDetailOutcome AegisClient::describeStratetyDetail(const DescribeStratetyDetailRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeStratetyDetailOutcome(endpointOutcome.error());
@@ -817,7 +809,7 @@ AegisClient::DescribeStratetyDetailOutcomeCallable AegisClient::describeStratety
AegisClient::DescribeStratetyOutcome AegisClient::describeStratety(const DescribeStratetyRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeStratetyOutcome(endpointOutcome.error());
@@ -853,7 +845,7 @@ AegisClient::DescribeStratetyOutcomeCallable AegisClient::describeStratetyCallab
AegisClient::DescribeLoginLogsOutcome AegisClient::describeLoginLogs(const DescribeLoginLogsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeLoginLogsOutcome(endpointOutcome.error());
@@ -889,7 +881,7 @@ AegisClient::DescribeLoginLogsOutcomeCallable AegisClient::describeLoginLogsCall
AegisClient::QueryCrackEventOutcome AegisClient::queryCrackEvent(const QueryCrackEventRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryCrackEventOutcome(endpointOutcome.error());

View File

@@ -134,7 +134,6 @@ namespace AlibabaCloud
AnalyzeNvcOutcomeCallable analyzeNvcCallable(const Model::AnalyzeNvcRequest& request) const;
private:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}

View File

@@ -22,46 +22,38 @@ using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Afs;
using namespace AlibabaCloud::Afs::Model;
namespace
{
const std::string SERVICE_NAME = "afs";
}
AfsClient::AfsClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(credentials), 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(), "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AfsClient::AfsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(credentialsProvider, configuration)
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AfsClient::AfsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), 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(), "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AfsClient::~AfsClient()
{}
CoreClient::EndpointOutcome AfsClient::endpoint()const
{
if(!configuration().endpoint().empty())
return CoreClient::EndpointOutcome(configuration().endpoint());
auto endpoint = endpointProvider_->getEndpoint();
if (endpoint.empty())
return CoreClient::EndpointOutcome(Error("InvalidEndpoint",""));
else
return CoreClient::EndpointOutcome(endpoint);
}
AfsClient::DescribeEarlyWarningOutcome AfsClient::describeEarlyWarning(const DescribeEarlyWarningRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeEarlyWarningOutcome(endpointOutcome.error());
@@ -94,10 +86,10 @@ AfsClient::DescribeEarlyWarningOutcomeCallable AfsClient::describeEarlyWarningCa
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::SetEarlyWarningOutcome AfsClient::setEarlyWarning(const SetEarlyWarningRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetEarlyWarningOutcome(endpointOutcome.error());
@@ -130,10 +122,10 @@ AfsClient::SetEarlyWarningOutcomeCallable AfsClient::setEarlyWarningCallable(con
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaIpCityOutcome AfsClient::describeCaptchaIpCity(const DescribeCaptchaIpCityRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaIpCityOutcome(endpointOutcome.error());
@@ -166,10 +158,10 @@ AfsClient::DescribeCaptchaIpCityOutcomeCallable AfsClient::describeCaptchaIpCity
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::ConfigurationStyleOutcome AfsClient::configurationStyle(const ConfigurationStyleRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ConfigurationStyleOutcome(endpointOutcome.error());
@@ -202,10 +194,10 @@ AfsClient::ConfigurationStyleOutcomeCallable AfsClient::configurationStyleCallab
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaMinOutcome AfsClient::describeCaptchaMin(const DescribeCaptchaMinRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaMinOutcome(endpointOutcome.error());
@@ -238,10 +230,10 @@ AfsClient::DescribeCaptchaMinOutcomeCallable AfsClient::describeCaptchaMinCallab
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaRiskOutcome AfsClient::describeCaptchaRisk(const DescribeCaptchaRiskRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaRiskOutcome(endpointOutcome.error());
@@ -274,10 +266,10 @@ AfsClient::DescribeCaptchaRiskOutcomeCallable AfsClient::describeCaptchaRiskCall
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::AuthenticateSigOutcome AfsClient::authenticateSig(const AuthenticateSigRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AuthenticateSigOutcome(endpointOutcome.error());
@@ -310,10 +302,10 @@ AfsClient::AuthenticateSigOutcomeCallable AfsClient::authenticateSigCallable(con
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeConfigNameOutcome AfsClient::describeConfigName(const DescribeConfigNameRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeConfigNameOutcome(endpointOutcome.error());
@@ -346,10 +338,10 @@ AfsClient::DescribeConfigNameOutcomeCallable AfsClient::describeConfigNameCallab
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribeCaptchaDayOutcome AfsClient::describeCaptchaDay(const DescribeCaptchaDayRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCaptchaDayOutcome(endpointOutcome.error());
@@ -382,10 +374,10 @@ AfsClient::DescribeCaptchaDayOutcomeCallable AfsClient::describeCaptchaDayCallab
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::DescribePersonMachineListOutcome AfsClient::describePersonMachineList(const DescribePersonMachineListRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribePersonMachineListOutcome(endpointOutcome.error());
@@ -418,10 +410,10 @@ AfsClient::DescribePersonMachineListOutcomeCallable AfsClient::describePersonMac
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::CreateConfigurationOutcome AfsClient::createConfiguration(const CreateConfigurationRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateConfigurationOutcome(endpointOutcome.error());
@@ -454,10 +446,10 @@ AfsClient::CreateConfigurationOutcomeCallable AfsClient::createConfigurationCall
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AfsClient::AnalyzeNvcOutcome AfsClient::analyzeNvc(const AnalyzeNvcRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AnalyzeNvcOutcome(endpointOutcome.error());
@@ -490,4 +482,4 @@ AfsClient::AnalyzeNvcOutcomeCallable AfsClient::analyzeNvcCallable(const Analyze
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -198,7 +198,6 @@ namespace AlibabaCloud
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
private:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}

View File

@@ -22,46 +22,38 @@ using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
namespace
{
const std::string SERVICE_NAME = "CCC";
}
CCCClient::CCCClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(credentials), 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(), "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
}
CCCClient::CCCClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(credentialsProvider, configuration)
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
}
CCCClient::CCCClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), 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(), "CCC");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CCC");
}
CCCClient::~CCCClient()
{}
CoreClient::EndpointOutcome CCCClient::endpoint()const
{
if(!configuration().endpoint().empty())
return CoreClient::EndpointOutcome(configuration().endpoint());
auto endpoint = endpointProvider_->getEndpoint();
if (endpoint.empty())
return CoreClient::EndpointOutcome(Error("InvalidEndpoint",""));
else
return CoreClient::EndpointOutcome(endpoint);
}
CCCClient::ListRecordingsByContactIdOutcome CCCClient::listRecordingsByContactId(const ListRecordingsByContactIdRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListRecordingsByContactIdOutcome(endpointOutcome.error());
@@ -94,10 +86,10 @@ CCCClient::ListRecordingsByContactIdOutcomeCallable CCCClient::listRecordingsByC
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListUsersOfSkillGroupOutcome CCCClient::listUsersOfSkillGroup(const ListUsersOfSkillGroupRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListUsersOfSkillGroupOutcome(endpointOutcome.error());
@@ -130,10 +122,10 @@ CCCClient::ListUsersOfSkillGroupOutcomeCallable CCCClient::listUsersOfSkillGroup
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::DeleteSkillGroupOutcome CCCClient::deleteSkillGroup(const DeleteSkillGroupRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteSkillGroupOutcome(endpointOutcome.error());
@@ -166,10 +158,10 @@ CCCClient::DeleteSkillGroupOutcomeCallable CCCClient::deleteSkillGroupCallable(c
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ModifyPhoneNumberOutcome CCCClient::modifyPhoneNumber(const ModifyPhoneNumberRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyPhoneNumberOutcome(endpointOutcome.error());
@@ -202,10 +194,10 @@ CCCClient::ModifyPhoneNumberOutcomeCallable CCCClient::modifyPhoneNumberCallable
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListUsersOutcome CCCClient::listUsers(const ListUsersRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListUsersOutcome(endpointOutcome.error());
@@ -238,10 +230,10 @@ CCCClient::ListUsersOutcomeCallable CCCClient::listUsersCallable(const ListUsers
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListSkillGroupsOutcome CCCClient::listSkillGroups(const ListSkillGroupsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListSkillGroupsOutcome(endpointOutcome.error());
@@ -274,10 +266,10 @@ CCCClient::ListSkillGroupsOutcomeCallable CCCClient::listSkillGroupsCallable(con
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListSkillGroupsOfUserOutcome CCCClient::listSkillGroupsOfUser(const ListSkillGroupsOfUserRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListSkillGroupsOfUserOutcome(endpointOutcome.error());
@@ -310,10 +302,10 @@ CCCClient::ListSkillGroupsOfUserOutcomeCallable CCCClient::listSkillGroupsOfUser
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::RemovePhoneNumberOutcome CCCClient::removePhoneNumber(const RemovePhoneNumberRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RemovePhoneNumberOutcome(endpointOutcome.error());
@@ -346,10 +338,10 @@ CCCClient::RemovePhoneNumberOutcomeCallable CCCClient::removePhoneNumberCallable
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListCallDetailRecordsOutcome CCCClient::listCallDetailRecords(const ListCallDetailRecordsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListCallDetailRecordsOutcome(endpointOutcome.error());
@@ -382,10 +374,10 @@ CCCClient::ListCallDetailRecordsOutcomeCallable CCCClient::listCallDetailRecords
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::AddPhoneNumberOutcome CCCClient::addPhoneNumber(const AddPhoneNumberRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddPhoneNumberOutcome(endpointOutcome.error());
@@ -418,10 +410,10 @@ CCCClient::AddPhoneNumberOutcomeCallable CCCClient::addPhoneNumberCallable(const
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListRecordingsOutcome CCCClient::listRecordings(const ListRecordingsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListRecordingsOutcome(endpointOutcome.error());
@@ -454,10 +446,10 @@ CCCClient::ListRecordingsOutcomeCallable CCCClient::listRecordingsCallable(const
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::GetConfigOutcome CCCClient::getConfig(const GetConfigRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetConfigOutcome(endpointOutcome.error());
@@ -490,10 +482,10 @@ CCCClient::GetConfigOutcomeCallable CCCClient::getConfigCallable(const GetConfig
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::DownloadRecordingOutcome CCCClient::downloadRecording(const DownloadRecordingRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DownloadRecordingOutcome(endpointOutcome.error());
@@ -526,10 +518,10 @@ CCCClient::DownloadRecordingOutcomeCallable CCCClient::downloadRecordingCallable
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListPhoneNumbersOutcome CCCClient::listPhoneNumbers(const ListPhoneNumbersRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListPhoneNumbersOutcome(endpointOutcome.error());
@@ -562,10 +554,10 @@ CCCClient::ListPhoneNumbersOutcomeCallable CCCClient::listPhoneNumbersCallable(c
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::RefreshTokenOutcome CCCClient::refreshToken(const RefreshTokenRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RefreshTokenOutcome(endpointOutcome.error());
@@ -598,10 +590,10 @@ CCCClient::RefreshTokenOutcomeCallable CCCClient::refreshTokenCallable(const Ref
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::RequestLoginInfoOutcome CCCClient::requestLoginInfo(const RequestLoginInfoRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RequestLoginInfoOutcome(endpointOutcome.error());
@@ -634,10 +626,10 @@ CCCClient::RequestLoginInfoOutcomeCallable CCCClient::requestLoginInfoCallable(c
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::GetServiceExtensionsOutcome CCCClient::getServiceExtensions(const GetServiceExtensionsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetServiceExtensionsOutcome(endpointOutcome.error());
@@ -670,10 +662,10 @@ CCCClient::GetServiceExtensionsOutcomeCallable CCCClient::getServiceExtensionsCa
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListContactFlowsOutcome CCCClient::listContactFlows(const ListContactFlowsRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListContactFlowsOutcome(endpointOutcome.error());
@@ -706,10 +698,10 @@ CCCClient::ListContactFlowsOutcomeCallable CCCClient::listContactFlowsCallable(c
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::ListRolesOutcome CCCClient::listRoles(const ListRolesRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListRolesOutcome(endpointOutcome.error());
@@ -742,10 +734,10 @@ CCCClient::ListRolesOutcomeCallable CCCClient::listRolesCallable(const ListRoles
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CCCClient::GetUserOutcome CCCClient::getUser(const GetUserRequest &request) const
{
auto endpointOutcome = endpoint();
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetUserOutcome(endpointOutcome.error());
@@ -778,4 +770,4 @@ CCCClient::GetUserOutcomeCallable CCCClient::getUserCallable(const GetUserReques
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -37,18 +37,26 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/ListFacesResult.h
include/alibabacloud/cloudphoto/model/MoveFacePhotosRequest.h
include/alibabacloud/cloudphoto/model/MoveFacePhotosResult.h
include/alibabacloud/cloudphoto/model/DeleteEventRequest.h
include/alibabacloud/cloudphoto/model/DeleteEventResult.h
include/alibabacloud/cloudphoto/model/ListPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListPhotosResult.h
include/alibabacloud/cloudphoto/model/RegisterTagRequest.h
include/alibabacloud/cloudphoto/model/RegisterTagResult.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosRequest.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosResult.h
include/alibabacloud/cloudphoto/model/FetchMomentPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchMomentPhotosResult.h
include/alibabacloud/cloudphoto/model/DeletePhotosRequest.h
include/alibabacloud/cloudphoto/model/DeletePhotosResult.h
include/alibabacloud/cloudphoto/model/MergeFacesRequest.h
include/alibabacloud/cloudphoto/model/MergeFacesResult.h
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sRequest.h
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sResult.h
include/alibabacloud/cloudphoto/model/FetchLibrariesRequest.h
include/alibabacloud/cloudphoto/model/FetchLibrariesResult.h
include/alibabacloud/cloudphoto/model/FetchAlbumTagPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchAlbumTagPhotosResult.h
include/alibabacloud/cloudphoto/model/CreateTransactionRequest.h
include/alibabacloud/cloudphoto/model/CreateTransactionResult.h
include/alibabacloud/cloudphoto/model/InactivatePhotosRequest.h
@@ -67,6 +75,8 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/RemoveAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/ListAlbumsRequest.h
include/alibabacloud/cloudphoto/model/ListAlbumsResult.h
include/alibabacloud/cloudphoto/model/FetchPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchPhotosResult.h
include/alibabacloud/cloudphoto/model/ListPhotoFacesRequest.h
include/alibabacloud/cloudphoto/model/ListPhotoFacesResult.h
include/alibabacloud/cloudphoto/model/RenameAlbumRequest.h
@@ -77,10 +87,14 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/GetPrivateAccessUrlsResult.h
include/alibabacloud/cloudphoto/model/GetSimilarPhotosRequest.h
include/alibabacloud/cloudphoto/model/GetSimilarPhotosResult.h
include/alibabacloud/cloudphoto/model/ListEventsRequest.h
include/alibabacloud/cloudphoto/model/ListEventsResult.h
include/alibabacloud/cloudphoto/model/GetVideoCoverRequest.h
include/alibabacloud/cloudphoto/model/GetVideoCoverResult.h
include/alibabacloud/cloudphoto/model/GetFramedPhotoUrlsRequest.h
include/alibabacloud/cloudphoto/model/GetFramedPhotoUrlsResult.h
include/alibabacloud/cloudphoto/model/GetEventRequest.h
include/alibabacloud/cloudphoto/model/GetEventResult.h
include/alibabacloud/cloudphoto/model/SetMeRequest.h
include/alibabacloud/cloudphoto/model/SetMeResult.h
include/alibabacloud/cloudphoto/model/ListTagPhotosRequest.h
@@ -105,6 +119,8 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/ListRegisteredTagsResult.h
include/alibabacloud/cloudphoto/model/DeletePhotoStoreRequest.h
include/alibabacloud/cloudphoto/model/DeletePhotoStoreResult.h
include/alibabacloud/cloudphoto/model/CreateEventRequest.h
include/alibabacloud/cloudphoto/model/CreateEventResult.h
include/alibabacloud/cloudphoto/model/GetPhotoStoreRequest.h
include/alibabacloud/cloudphoto/model/GetPhotoStoreResult.h
include/alibabacloud/cloudphoto/model/ListMomentPhotosRequest.h
@@ -117,6 +133,8 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/CreatePhotoResult.h
include/alibabacloud/cloudphoto/model/MoveAlbumPhotosRequest.h
include/alibabacloud/cloudphoto/model/MoveAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/EditEventRequest.h
include/alibabacloud/cloudphoto/model/EditEventResult.h
include/alibabacloud/cloudphoto/model/GetDownloadUrlRequest.h
include/alibabacloud/cloudphoto/model/GetDownloadUrlResult.h
include/alibabacloud/cloudphoto/model/CreateAlbumRequest.h
@@ -127,6 +145,8 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/LikePhotoResult.h
include/alibabacloud/cloudphoto/model/ListPhotoStoresRequest.h
include/alibabacloud/cloudphoto/model/ListPhotoStoresResult.h
include/alibabacloud/cloudphoto/model/GetAlbumsByNamesRequest.h
include/alibabacloud/cloudphoto/model/GetAlbumsByNamesResult.h
include/alibabacloud/cloudphoto/model/GetPublicAccessUrlsRequest.h
include/alibabacloud/cloudphoto/model/GetPublicAccessUrlsResult.h
include/alibabacloud/cloudphoto/model/EditPhotosRequest.h
@@ -160,18 +180,26 @@ set(cloudphoto_src
src/model/ListFacesResult.cc
src/model/MoveFacePhotosRequest.cc
src/model/MoveFacePhotosResult.cc
src/model/DeleteEventRequest.cc
src/model/DeleteEventResult.cc
src/model/ListPhotosRequest.cc
src/model/ListPhotosResult.cc
src/model/RegisterTagRequest.cc
src/model/RegisterTagResult.cc
src/model/ListTimeLinePhotosRequest.cc
src/model/ListTimeLinePhotosResult.cc
src/model/FetchMomentPhotosRequest.cc
src/model/FetchMomentPhotosResult.cc
src/model/DeletePhotosRequest.cc
src/model/DeletePhotosResult.cc
src/model/MergeFacesRequest.cc
src/model/MergeFacesResult.cc
src/model/GetPhotosByMd5sRequest.cc
src/model/GetPhotosByMd5sResult.cc
src/model/FetchLibrariesRequest.cc
src/model/FetchLibrariesResult.cc
src/model/FetchAlbumTagPhotosRequest.cc
src/model/FetchAlbumTagPhotosResult.cc
src/model/CreateTransactionRequest.cc
src/model/CreateTransactionResult.cc
src/model/InactivatePhotosRequest.cc
@@ -190,6 +218,8 @@ set(cloudphoto_src
src/model/RemoveAlbumPhotosResult.cc
src/model/ListAlbumsRequest.cc
src/model/ListAlbumsResult.cc
src/model/FetchPhotosRequest.cc
src/model/FetchPhotosResult.cc
src/model/ListPhotoFacesRequest.cc
src/model/ListPhotoFacesResult.cc
src/model/RenameAlbumRequest.cc
@@ -200,10 +230,14 @@ set(cloudphoto_src
src/model/GetPrivateAccessUrlsResult.cc
src/model/GetSimilarPhotosRequest.cc
src/model/GetSimilarPhotosResult.cc
src/model/ListEventsRequest.cc
src/model/ListEventsResult.cc
src/model/GetVideoCoverRequest.cc
src/model/GetVideoCoverResult.cc
src/model/GetFramedPhotoUrlsRequest.cc
src/model/GetFramedPhotoUrlsResult.cc
src/model/GetEventRequest.cc
src/model/GetEventResult.cc
src/model/SetMeRequest.cc
src/model/SetMeResult.cc
src/model/ListTagPhotosRequest.cc
@@ -228,6 +262,8 @@ set(cloudphoto_src
src/model/ListRegisteredTagsResult.cc
src/model/DeletePhotoStoreRequest.cc
src/model/DeletePhotoStoreResult.cc
src/model/CreateEventRequest.cc
src/model/CreateEventResult.cc
src/model/GetPhotoStoreRequest.cc
src/model/GetPhotoStoreResult.cc
src/model/ListMomentPhotosRequest.cc
@@ -240,6 +276,8 @@ set(cloudphoto_src
src/model/CreatePhotoResult.cc
src/model/MoveAlbumPhotosRequest.cc
src/model/MoveAlbumPhotosResult.cc
src/model/EditEventRequest.cc
src/model/EditEventResult.cc
src/model/GetDownloadUrlRequest.cc
src/model/GetDownloadUrlResult.cc
src/model/CreateAlbumRequest.cc
@@ -250,6 +288,8 @@ set(cloudphoto_src
src/model/LikePhotoResult.cc
src/model/ListPhotoStoresRequest.cc
src/model/ListPhotoStoresResult.cc
src/model/GetAlbumsByNamesRequest.cc
src/model/GetAlbumsByNamesResult.cc
src/model/GetPublicAccessUrlsRequest.cc
src/model/GetPublicAccessUrlsResult.cc
src/model/EditPhotosRequest.cc

View File

@@ -38,18 +38,26 @@
#include "model/ListFacesResult.h"
#include "model/MoveFacePhotosRequest.h"
#include "model/MoveFacePhotosResult.h"
#include "model/DeleteEventRequest.h"
#include "model/DeleteEventResult.h"
#include "model/ListPhotosRequest.h"
#include "model/ListPhotosResult.h"
#include "model/RegisterTagRequest.h"
#include "model/RegisterTagResult.h"
#include "model/ListTimeLinePhotosRequest.h"
#include "model/ListTimeLinePhotosResult.h"
#include "model/FetchMomentPhotosRequest.h"
#include "model/FetchMomentPhotosResult.h"
#include "model/DeletePhotosRequest.h"
#include "model/DeletePhotosResult.h"
#include "model/MergeFacesRequest.h"
#include "model/MergeFacesResult.h"
#include "model/GetPhotosByMd5sRequest.h"
#include "model/GetPhotosByMd5sResult.h"
#include "model/FetchLibrariesRequest.h"
#include "model/FetchLibrariesResult.h"
#include "model/FetchAlbumTagPhotosRequest.h"
#include "model/FetchAlbumTagPhotosResult.h"
#include "model/CreateTransactionRequest.h"
#include "model/CreateTransactionResult.h"
#include "model/InactivatePhotosRequest.h"
@@ -68,6 +76,8 @@
#include "model/RemoveAlbumPhotosResult.h"
#include "model/ListAlbumsRequest.h"
#include "model/ListAlbumsResult.h"
#include "model/FetchPhotosRequest.h"
#include "model/FetchPhotosResult.h"
#include "model/ListPhotoFacesRequest.h"
#include "model/ListPhotoFacesResult.h"
#include "model/RenameAlbumRequest.h"
@@ -78,10 +88,14 @@
#include "model/GetPrivateAccessUrlsResult.h"
#include "model/GetSimilarPhotosRequest.h"
#include "model/GetSimilarPhotosResult.h"
#include "model/ListEventsRequest.h"
#include "model/ListEventsResult.h"
#include "model/GetVideoCoverRequest.h"
#include "model/GetVideoCoverResult.h"
#include "model/GetFramedPhotoUrlsRequest.h"
#include "model/GetFramedPhotoUrlsResult.h"
#include "model/GetEventRequest.h"
#include "model/GetEventResult.h"
#include "model/SetMeRequest.h"
#include "model/SetMeResult.h"
#include "model/ListTagPhotosRequest.h"
@@ -106,6 +120,8 @@
#include "model/ListRegisteredTagsResult.h"
#include "model/DeletePhotoStoreRequest.h"
#include "model/DeletePhotoStoreResult.h"
#include "model/CreateEventRequest.h"
#include "model/CreateEventResult.h"
#include "model/GetPhotoStoreRequest.h"
#include "model/GetPhotoStoreResult.h"
#include "model/ListMomentPhotosRequest.h"
@@ -118,6 +134,8 @@
#include "model/CreatePhotoResult.h"
#include "model/MoveAlbumPhotosRequest.h"
#include "model/MoveAlbumPhotosResult.h"
#include "model/EditEventRequest.h"
#include "model/EditEventResult.h"
#include "model/GetDownloadUrlRequest.h"
#include "model/GetDownloadUrlResult.h"
#include "model/CreateAlbumRequest.h"
@@ -128,6 +146,8 @@
#include "model/LikePhotoResult.h"
#include "model/ListPhotoStoresRequest.h"
#include "model/ListPhotoStoresResult.h"
#include "model/GetAlbumsByNamesRequest.h"
#include "model/GetAlbumsByNamesResult.h"
#include "model/GetPublicAccessUrlsRequest.h"
#include "model/GetPublicAccessUrlsResult.h"
#include "model/EditPhotosRequest.h"
@@ -151,374 +171,433 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CloudPhotoClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::RemoveFacePhotosResult> RemoveFacePhotosOutcome;
typedef std::future<RemoveFacePhotosOutcome> RemoveFacePhotosOutcomeCallable;
typedef Outcome<Error, Model::RemoveFacePhotosResult> RemoveFacePhotosOutcome;
typedef std::future<RemoveFacePhotosOutcome> RemoveFacePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RemoveFacePhotosRequest&, const RemoveFacePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveFacePhotosAsyncHandler;
typedef Outcome<Error, Model::ReactivatePhotosResult> ReactivatePhotosOutcome;
typedef std::future<ReactivatePhotosOutcome> ReactivatePhotosOutcomeCallable;
typedef Outcome<Error, Model::ReactivatePhotosResult> ReactivatePhotosOutcome;
typedef std::future<ReactivatePhotosOutcome> ReactivatePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ReactivatePhotosRequest&, const ReactivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReactivatePhotosAsyncHandler;
typedef Outcome<Error, Model::GetQuotaResult> GetQuotaOutcome;
typedef std::future<GetQuotaOutcome> GetQuotaOutcomeCallable;
typedef Outcome<Error, Model::GetQuotaResult> GetQuotaOutcome;
typedef std::future<GetQuotaOutcome> GetQuotaOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetQuotaRequest&, const GetQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetQuotaAsyncHandler;
typedef Outcome<Error, Model::GetThumbnailsResult> GetThumbnailsOutcome;
typedef std::future<GetThumbnailsOutcome> GetThumbnailsOutcomeCallable;
typedef Outcome<Error, Model::GetThumbnailsResult> GetThumbnailsOutcome;
typedef std::future<GetThumbnailsOutcome> GetThumbnailsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetThumbnailsRequest&, const GetThumbnailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThumbnailsAsyncHandler;
typedef Outcome<Error, Model::DeleteFacesResult> DeleteFacesOutcome;
typedef std::future<DeleteFacesOutcome> DeleteFacesOutcomeCallable;
typedef Outcome<Error, Model::DeleteFacesResult> DeleteFacesOutcome;
typedef std::future<DeleteFacesOutcome> DeleteFacesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeleteFacesRequest&, const DeleteFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFacesAsyncHandler;
typedef Outcome<Error, Model::AddAlbumPhotosResult> AddAlbumPhotosOutcome;
typedef std::future<AddAlbumPhotosOutcome> AddAlbumPhotosOutcomeCallable;
typedef Outcome<Error, Model::AddAlbumPhotosResult> AddAlbumPhotosOutcome;
typedef std::future<AddAlbumPhotosOutcome> AddAlbumPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::AddAlbumPhotosRequest&, const AddAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddAlbumPhotosAsyncHandler;
typedef Outcome<Error, Model::ListFacesResult> ListFacesOutcome;
typedef std::future<ListFacesOutcome> ListFacesOutcomeCallable;
typedef Outcome<Error, Model::ListFacesResult> ListFacesOutcome;
typedef std::future<ListFacesOutcome> ListFacesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListFacesRequest&, const ListFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFacesAsyncHandler;
typedef Outcome<Error, Model::MoveFacePhotosResult> MoveFacePhotosOutcome;
typedef std::future<MoveFacePhotosOutcome> MoveFacePhotosOutcomeCallable;
typedef Outcome<Error, Model::MoveFacePhotosResult> MoveFacePhotosOutcome;
typedef std::future<MoveFacePhotosOutcome> MoveFacePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::MoveFacePhotosRequest&, const MoveFacePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveFacePhotosAsyncHandler;
typedef Outcome<Error, Model::ListPhotosResult> ListPhotosOutcome;
typedef std::future<ListPhotosOutcome> ListPhotosOutcomeCallable;
typedef Outcome<Error, Model::DeleteEventResult> DeleteEventOutcome;
typedef std::future<DeleteEventOutcome> DeleteEventOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeleteEventRequest&, const DeleteEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEventAsyncHandler;
typedef Outcome<Error, Model::ListPhotosResult> ListPhotosOutcome;
typedef std::future<ListPhotosOutcome> ListPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotosRequest&, const ListPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotosAsyncHandler;
typedef Outcome<Error, Model::RegisterTagResult> RegisterTagOutcome;
typedef std::future<RegisterTagOutcome> RegisterTagOutcomeCallable;
typedef Outcome<Error, Model::RegisterTagResult> RegisterTagOutcome;
typedef std::future<RegisterTagOutcome> RegisterTagOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RegisterTagRequest&, const RegisterTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterTagAsyncHandler;
typedef Outcome<Error, Model::ListTimeLinePhotosResult> ListTimeLinePhotosOutcome;
typedef std::future<ListTimeLinePhotosOutcome> ListTimeLinePhotosOutcomeCallable;
typedef Outcome<Error, Model::ListTimeLinePhotosResult> ListTimeLinePhotosOutcome;
typedef std::future<ListTimeLinePhotosOutcome> ListTimeLinePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListTimeLinePhotosRequest&, const ListTimeLinePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTimeLinePhotosAsyncHandler;
typedef Outcome<Error, Model::DeletePhotosResult> DeletePhotosOutcome;
typedef std::future<DeletePhotosOutcome> DeletePhotosOutcomeCallable;
typedef Outcome<Error, Model::FetchMomentPhotosResult> FetchMomentPhotosOutcome;
typedef std::future<FetchMomentPhotosOutcome> FetchMomentPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchMomentPhotosRequest&, const FetchMomentPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchMomentPhotosAsyncHandler;
typedef Outcome<Error, Model::DeletePhotosResult> DeletePhotosOutcome;
typedef std::future<DeletePhotosOutcome> DeletePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeletePhotosRequest&, const DeletePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotosAsyncHandler;
typedef Outcome<Error, Model::MergeFacesResult> MergeFacesOutcome;
typedef std::future<MergeFacesOutcome> MergeFacesOutcomeCallable;
typedef Outcome<Error, Model::MergeFacesResult> MergeFacesOutcome;
typedef std::future<MergeFacesOutcome> MergeFacesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::MergeFacesRequest&, const MergeFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MergeFacesAsyncHandler;
typedef Outcome<Error, Model::GetPhotosByMd5sResult> GetPhotosByMd5sOutcome;
typedef std::future<GetPhotosByMd5sOutcome> GetPhotosByMd5sOutcomeCallable;
typedef Outcome<Error, Model::GetPhotosByMd5sResult> GetPhotosByMd5sOutcome;
typedef std::future<GetPhotosByMd5sOutcome> GetPhotosByMd5sOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotosByMd5sRequest&, const GetPhotosByMd5sOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotosByMd5sAsyncHandler;
typedef Outcome<Error, Model::CreateTransactionResult> CreateTransactionOutcome;
typedef std::future<CreateTransactionOutcome> CreateTransactionOutcomeCallable;
typedef Outcome<Error, Model::FetchLibrariesResult> FetchLibrariesOutcome;
typedef std::future<FetchLibrariesOutcome> FetchLibrariesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchLibrariesRequest&, const FetchLibrariesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchLibrariesAsyncHandler;
typedef Outcome<Error, Model::FetchAlbumTagPhotosResult> FetchAlbumTagPhotosOutcome;
typedef std::future<FetchAlbumTagPhotosOutcome> FetchAlbumTagPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchAlbumTagPhotosRequest&, const FetchAlbumTagPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchAlbumTagPhotosAsyncHandler;
typedef Outcome<Error, Model::CreateTransactionResult> CreateTransactionOutcome;
typedef std::future<CreateTransactionOutcome> CreateTransactionOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::CreateTransactionRequest&, const CreateTransactionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransactionAsyncHandler;
typedef Outcome<Error, Model::InactivatePhotosResult> InactivatePhotosOutcome;
typedef std::future<InactivatePhotosOutcome> InactivatePhotosOutcomeCallable;
typedef Outcome<Error, Model::InactivatePhotosResult> InactivatePhotosOutcome;
typedef std::future<InactivatePhotosOutcome> InactivatePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::InactivatePhotosRequest&, const InactivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InactivatePhotosAsyncHandler;
typedef Outcome<Error, Model::CreatePhotoStoreResult> CreatePhotoStoreOutcome;
typedef std::future<CreatePhotoStoreOutcome> CreatePhotoStoreOutcomeCallable;
typedef Outcome<Error, Model::CreatePhotoStoreResult> CreatePhotoStoreOutcome;
typedef std::future<CreatePhotoStoreOutcome> CreatePhotoStoreOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::CreatePhotoStoreRequest&, const CreatePhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePhotoStoreAsyncHandler;
typedef Outcome<Error, Model::TagPhotoResult> TagPhotoOutcome;
typedef std::future<TagPhotoOutcome> TagPhotoOutcomeCallable;
typedef Outcome<Error, Model::TagPhotoResult> TagPhotoOutcome;
typedef std::future<TagPhotoOutcome> TagPhotoOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::TagPhotoRequest&, const TagPhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagPhotoAsyncHandler;
typedef Outcome<Error, Model::GetLibraryResult> GetLibraryOutcome;
typedef std::future<GetLibraryOutcome> GetLibraryOutcomeCallable;
typedef Outcome<Error, Model::GetLibraryResult> GetLibraryOutcome;
typedef std::future<GetLibraryOutcome> GetLibraryOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetLibraryRequest&, const GetLibraryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLibraryAsyncHandler;
typedef Outcome<Error, Model::SetQuotaResult> SetQuotaOutcome;
typedef std::future<SetQuotaOutcome> SetQuotaOutcomeCallable;
typedef Outcome<Error, Model::SetQuotaResult> SetQuotaOutcome;
typedef std::future<SetQuotaOutcome> SetQuotaOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::SetQuotaRequest&, const SetQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetQuotaAsyncHandler;
typedef Outcome<Error, Model::ListAlbumPhotosResult> ListAlbumPhotosOutcome;
typedef std::future<ListAlbumPhotosOutcome> ListAlbumPhotosOutcomeCallable;
typedef Outcome<Error, Model::ListAlbumPhotosResult> ListAlbumPhotosOutcome;
typedef std::future<ListAlbumPhotosOutcome> ListAlbumPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumPhotosRequest&, const ListAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumPhotosAsyncHandler;
typedef Outcome<Error, Model::RemoveAlbumPhotosResult> RemoveAlbumPhotosOutcome;
typedef std::future<RemoveAlbumPhotosOutcome> RemoveAlbumPhotosOutcomeCallable;
typedef Outcome<Error, Model::RemoveAlbumPhotosResult> RemoveAlbumPhotosOutcome;
typedef std::future<RemoveAlbumPhotosOutcome> RemoveAlbumPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RemoveAlbumPhotosRequest&, const RemoveAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveAlbumPhotosAsyncHandler;
typedef Outcome<Error, Model::ListAlbumsResult> ListAlbumsOutcome;
typedef std::future<ListAlbumsOutcome> ListAlbumsOutcomeCallable;
typedef Outcome<Error, Model::ListAlbumsResult> ListAlbumsOutcome;
typedef std::future<ListAlbumsOutcome> ListAlbumsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumsRequest&, const ListAlbumsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumsAsyncHandler;
typedef Outcome<Error, Model::ListPhotoFacesResult> ListPhotoFacesOutcome;
typedef std::future<ListPhotoFacesOutcome> ListPhotoFacesOutcomeCallable;
typedef Outcome<Error, Model::FetchPhotosResult> FetchPhotosOutcome;
typedef std::future<FetchPhotosOutcome> FetchPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchPhotosRequest&, const FetchPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchPhotosAsyncHandler;
typedef Outcome<Error, Model::ListPhotoFacesResult> ListPhotoFacesOutcome;
typedef std::future<ListPhotoFacesOutcome> ListPhotoFacesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotoFacesRequest&, const ListPhotoFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoFacesAsyncHandler;
typedef Outcome<Error, Model::RenameAlbumResult> RenameAlbumOutcome;
typedef std::future<RenameAlbumOutcome> RenameAlbumOutcomeCallable;
typedef Outcome<Error, Model::RenameAlbumResult> RenameAlbumOutcome;
typedef std::future<RenameAlbumOutcome> RenameAlbumOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RenameAlbumRequest&, const RenameAlbumOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameAlbumAsyncHandler;
typedef Outcome<Error, Model::ActivatePhotosResult> ActivatePhotosOutcome;
typedef std::future<ActivatePhotosOutcome> ActivatePhotosOutcomeCallable;
typedef Outcome<Error, Model::ActivatePhotosResult> ActivatePhotosOutcome;
typedef std::future<ActivatePhotosOutcome> ActivatePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ActivatePhotosRequest&, const ActivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActivatePhotosAsyncHandler;
typedef Outcome<Error, Model::GetPrivateAccessUrlsResult> GetPrivateAccessUrlsOutcome;
typedef std::future<GetPrivateAccessUrlsOutcome> GetPrivateAccessUrlsOutcomeCallable;
typedef Outcome<Error, Model::GetPrivateAccessUrlsResult> GetPrivateAccessUrlsOutcome;
typedef std::future<GetPrivateAccessUrlsOutcome> GetPrivateAccessUrlsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPrivateAccessUrlsRequest&, const GetPrivateAccessUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrivateAccessUrlsAsyncHandler;
typedef Outcome<Error, Model::GetSimilarPhotosResult> GetSimilarPhotosOutcome;
typedef std::future<GetSimilarPhotosOutcome> GetSimilarPhotosOutcomeCallable;
typedef Outcome<Error, Model::GetSimilarPhotosResult> GetSimilarPhotosOutcome;
typedef std::future<GetSimilarPhotosOutcome> GetSimilarPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetSimilarPhotosRequest&, const GetSimilarPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSimilarPhotosAsyncHandler;
typedef Outcome<Error, Model::GetVideoCoverResult> GetVideoCoverOutcome;
typedef std::future<GetVideoCoverOutcome> GetVideoCoverOutcomeCallable;
typedef Outcome<Error, Model::ListEventsResult> ListEventsOutcome;
typedef std::future<ListEventsOutcome> ListEventsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListEventsRequest&, const ListEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEventsAsyncHandler;
typedef Outcome<Error, Model::GetVideoCoverResult> GetVideoCoverOutcome;
typedef std::future<GetVideoCoverOutcome> GetVideoCoverOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetVideoCoverRequest&, const GetVideoCoverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVideoCoverAsyncHandler;
typedef Outcome<Error, Model::GetFramedPhotoUrlsResult> GetFramedPhotoUrlsOutcome;
typedef std::future<GetFramedPhotoUrlsOutcome> GetFramedPhotoUrlsOutcomeCallable;
typedef Outcome<Error, Model::GetFramedPhotoUrlsResult> GetFramedPhotoUrlsOutcome;
typedef std::future<GetFramedPhotoUrlsOutcome> GetFramedPhotoUrlsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetFramedPhotoUrlsRequest&, const GetFramedPhotoUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFramedPhotoUrlsAsyncHandler;
typedef Outcome<Error, Model::SetMeResult> SetMeOutcome;
typedef std::future<SetMeOutcome> SetMeOutcomeCallable;
typedef Outcome<Error, Model::GetEventResult> GetEventOutcome;
typedef std::future<GetEventOutcome> GetEventOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetEventRequest&, const GetEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEventAsyncHandler;
typedef Outcome<Error, Model::SetMeResult> SetMeOutcome;
typedef std::future<SetMeOutcome> SetMeOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::SetMeRequest&, const SetMeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetMeAsyncHandler;
typedef Outcome<Error, Model::ListTagPhotosResult> ListTagPhotosOutcome;
typedef std::future<ListTagPhotosOutcome> ListTagPhotosOutcomeCallable;
typedef Outcome<Error, Model::ListTagPhotosResult> ListTagPhotosOutcome;
typedef std::future<ListTagPhotosOutcome> ListTagPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListTagPhotosRequest&, const ListTagPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagPhotosAsyncHandler;
typedef Outcome<Error, Model::DeleteAlbumsResult> DeleteAlbumsOutcome;
typedef std::future<DeleteAlbumsOutcome> DeleteAlbumsOutcomeCallable;
typedef Outcome<Error, Model::DeleteAlbumsResult> DeleteAlbumsOutcome;
typedef std::future<DeleteAlbumsOutcome> DeleteAlbumsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeleteAlbumsRequest&, const DeleteAlbumsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlbumsAsyncHandler;
typedef Outcome<Error, Model::GetDownloadUrlsResult> GetDownloadUrlsOutcome;
typedef std::future<GetDownloadUrlsOutcome> GetDownloadUrlsOutcomeCallable;
typedef Outcome<Error, Model::GetDownloadUrlsResult> GetDownloadUrlsOutcome;
typedef std::future<GetDownloadUrlsOutcome> GetDownloadUrlsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetDownloadUrlsRequest&, const GetDownloadUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDownloadUrlsAsyncHandler;
typedef Outcome<Error, Model::GetPhotosResult> GetPhotosOutcome;
typedef std::future<GetPhotosOutcome> GetPhotosOutcomeCallable;
typedef Outcome<Error, Model::GetPhotosResult> GetPhotosOutcome;
typedef std::future<GetPhotosOutcome> GetPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotosRequest&, const GetPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotosAsyncHandler;
typedef Outcome<Error, Model::RegisterPhotoResult> RegisterPhotoOutcome;
typedef std::future<RegisterPhotoOutcome> RegisterPhotoOutcomeCallable;
typedef Outcome<Error, Model::RegisterPhotoResult> RegisterPhotoOutcome;
typedef std::future<RegisterPhotoOutcome> RegisterPhotoOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RegisterPhotoRequest&, const RegisterPhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterPhotoAsyncHandler;
typedef Outcome<Error, Model::EditPhotoStoreResult> EditPhotoStoreOutcome;
typedef std::future<EditPhotoStoreOutcome> EditPhotoStoreOutcomeCallable;
typedef Outcome<Error, Model::EditPhotoStoreResult> EditPhotoStoreOutcome;
typedef std::future<EditPhotoStoreOutcome> EditPhotoStoreOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::EditPhotoStoreRequest&, const EditPhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditPhotoStoreAsyncHandler;
typedef Outcome<Error, Model::ListTimeLinesResult> ListTimeLinesOutcome;
typedef std::future<ListTimeLinesOutcome> ListTimeLinesOutcomeCallable;
typedef Outcome<Error, Model::ListTimeLinesResult> ListTimeLinesOutcome;
typedef std::future<ListTimeLinesOutcome> ListTimeLinesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListTimeLinesRequest&, const ListTimeLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTimeLinesAsyncHandler;
typedef Outcome<Error, Model::SearchPhotosResult> SearchPhotosOutcome;
typedef std::future<SearchPhotosOutcome> SearchPhotosOutcomeCallable;
typedef Outcome<Error, Model::SearchPhotosResult> SearchPhotosOutcome;
typedef std::future<SearchPhotosOutcome> SearchPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::SearchPhotosRequest&, const SearchPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchPhotosAsyncHandler;
typedef Outcome<Error, Model::ToggleFeaturesResult> ToggleFeaturesOutcome;
typedef std::future<ToggleFeaturesOutcome> ToggleFeaturesOutcomeCallable;
typedef Outcome<Error, Model::ToggleFeaturesResult> ToggleFeaturesOutcome;
typedef std::future<ToggleFeaturesOutcome> ToggleFeaturesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ToggleFeaturesRequest&, const ToggleFeaturesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ToggleFeaturesAsyncHandler;
typedef Outcome<Error, Model::ListRegisteredTagsResult> ListRegisteredTagsOutcome;
typedef std::future<ListRegisteredTagsOutcome> ListRegisteredTagsOutcomeCallable;
typedef Outcome<Error, Model::ListRegisteredTagsResult> ListRegisteredTagsOutcome;
typedef std::future<ListRegisteredTagsOutcome> ListRegisteredTagsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListRegisteredTagsRequest&, const ListRegisteredTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRegisteredTagsAsyncHandler;
typedef Outcome<Error, Model::DeletePhotoStoreResult> DeletePhotoStoreOutcome;
typedef std::future<DeletePhotoStoreOutcome> DeletePhotoStoreOutcomeCallable;
typedef Outcome<Error, Model::DeletePhotoStoreResult> DeletePhotoStoreOutcome;
typedef std::future<DeletePhotoStoreOutcome> DeletePhotoStoreOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeletePhotoStoreRequest&, const DeletePhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotoStoreAsyncHandler;
typedef Outcome<Error, Model::GetPhotoStoreResult> GetPhotoStoreOutcome;
typedef std::future<GetPhotoStoreOutcome> GetPhotoStoreOutcomeCallable;
typedef Outcome<Error, Model::CreateEventResult> CreateEventOutcome;
typedef std::future<CreateEventOutcome> CreateEventOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::CreateEventRequest&, const CreateEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEventAsyncHandler;
typedef Outcome<Error, Model::GetPhotoStoreResult> GetPhotoStoreOutcome;
typedef std::future<GetPhotoStoreOutcome> GetPhotoStoreOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotoStoreRequest&, const GetPhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotoStoreAsyncHandler;
typedef Outcome<Error, Model::ListMomentPhotosResult> ListMomentPhotosOutcome;
typedef std::future<ListMomentPhotosOutcome> ListMomentPhotosOutcomeCallable;
typedef Outcome<Error, Model::ListMomentPhotosResult> ListMomentPhotosOutcome;
typedef std::future<ListMomentPhotosOutcome> ListMomentPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListMomentPhotosRequest&, const ListMomentPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMomentPhotosAsyncHandler;
typedef Outcome<Error, Model::GetThumbnailResult> GetThumbnailOutcome;
typedef std::future<GetThumbnailOutcome> GetThumbnailOutcomeCallable;
typedef Outcome<Error, Model::GetThumbnailResult> GetThumbnailOutcome;
typedef std::future<GetThumbnailOutcome> GetThumbnailOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetThumbnailRequest&, const GetThumbnailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThumbnailAsyncHandler;
typedef Outcome<Error, Model::SetFaceCoverResult> SetFaceCoverOutcome;
typedef std::future<SetFaceCoverOutcome> SetFaceCoverOutcomeCallable;
typedef Outcome<Error, Model::SetFaceCoverResult> SetFaceCoverOutcome;
typedef std::future<SetFaceCoverOutcome> SetFaceCoverOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::SetFaceCoverRequest&, const SetFaceCoverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetFaceCoverAsyncHandler;
typedef Outcome<Error, Model::CreatePhotoResult> CreatePhotoOutcome;
typedef std::future<CreatePhotoOutcome> CreatePhotoOutcomeCallable;
typedef Outcome<Error, Model::CreatePhotoResult> CreatePhotoOutcome;
typedef std::future<CreatePhotoOutcome> CreatePhotoOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::CreatePhotoRequest&, const CreatePhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePhotoAsyncHandler;
typedef Outcome<Error, Model::MoveAlbumPhotosResult> MoveAlbumPhotosOutcome;
typedef std::future<MoveAlbumPhotosOutcome> MoveAlbumPhotosOutcomeCallable;
typedef Outcome<Error, Model::MoveAlbumPhotosResult> MoveAlbumPhotosOutcome;
typedef std::future<MoveAlbumPhotosOutcome> MoveAlbumPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::MoveAlbumPhotosRequest&, const MoveAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveAlbumPhotosAsyncHandler;
typedef Outcome<Error, Model::GetDownloadUrlResult> GetDownloadUrlOutcome;
typedef std::future<GetDownloadUrlOutcome> GetDownloadUrlOutcomeCallable;
typedef Outcome<Error, Model::EditEventResult> EditEventOutcome;
typedef std::future<EditEventOutcome> EditEventOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::EditEventRequest&, const EditEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditEventAsyncHandler;
typedef Outcome<Error, Model::GetDownloadUrlResult> GetDownloadUrlOutcome;
typedef std::future<GetDownloadUrlOutcome> GetDownloadUrlOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetDownloadUrlRequest&, const GetDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDownloadUrlAsyncHandler;
typedef Outcome<Error, Model::CreateAlbumResult> CreateAlbumOutcome;
typedef std::future<CreateAlbumOutcome> CreateAlbumOutcomeCallable;
typedef Outcome<Error, Model::CreateAlbumResult> CreateAlbumOutcome;
typedef std::future<CreateAlbumOutcome> CreateAlbumOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::CreateAlbumRequest&, const CreateAlbumOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlbumAsyncHandler;
typedef Outcome<Error, Model::ListPhotoTagsResult> ListPhotoTagsOutcome;
typedef std::future<ListPhotoTagsOutcome> ListPhotoTagsOutcomeCallable;
typedef Outcome<Error, Model::ListPhotoTagsResult> ListPhotoTagsOutcome;
typedef std::future<ListPhotoTagsOutcome> ListPhotoTagsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotoTagsRequest&, const ListPhotoTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoTagsAsyncHandler;
typedef Outcome<Error, Model::LikePhotoResult> LikePhotoOutcome;
typedef std::future<LikePhotoOutcome> LikePhotoOutcomeCallable;
typedef Outcome<Error, Model::LikePhotoResult> LikePhotoOutcome;
typedef std::future<LikePhotoOutcome> LikePhotoOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::LikePhotoRequest&, const LikePhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LikePhotoAsyncHandler;
typedef Outcome<Error, Model::ListPhotoStoresResult> ListPhotoStoresOutcome;
typedef std::future<ListPhotoStoresOutcome> ListPhotoStoresOutcomeCallable;
typedef Outcome<Error, Model::ListPhotoStoresResult> ListPhotoStoresOutcome;
typedef std::future<ListPhotoStoresOutcome> ListPhotoStoresOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotoStoresRequest&, const ListPhotoStoresOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoStoresAsyncHandler;
typedef Outcome<Error, Model::GetPublicAccessUrlsResult> GetPublicAccessUrlsOutcome;
typedef std::future<GetPublicAccessUrlsOutcome> GetPublicAccessUrlsOutcomeCallable;
typedef Outcome<Error, Model::GetAlbumsByNamesResult> GetAlbumsByNamesOutcome;
typedef std::future<GetAlbumsByNamesOutcome> GetAlbumsByNamesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetAlbumsByNamesRequest&, const GetAlbumsByNamesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAlbumsByNamesAsyncHandler;
typedef Outcome<Error, Model::GetPublicAccessUrlsResult> GetPublicAccessUrlsOutcome;
typedef std::future<GetPublicAccessUrlsOutcome> GetPublicAccessUrlsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPublicAccessUrlsRequest&, const GetPublicAccessUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPublicAccessUrlsAsyncHandler;
typedef Outcome<Error, Model::EditPhotosResult> EditPhotosOutcome;
typedef std::future<EditPhotosOutcome> EditPhotosOutcomeCallable;
typedef Outcome<Error, Model::EditPhotosResult> EditPhotosOutcome;
typedef std::future<EditPhotosOutcome> EditPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::EditPhotosRequest&, const EditPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditPhotosAsyncHandler;
typedef Outcome<Error, Model::SetAlbumCoverResult> SetAlbumCoverOutcome;
typedef std::future<SetAlbumCoverOutcome> SetAlbumCoverOutcomeCallable;
typedef Outcome<Error, Model::SetAlbumCoverResult> SetAlbumCoverOutcome;
typedef std::future<SetAlbumCoverOutcome> SetAlbumCoverOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::SetAlbumCoverRequest&, const SetAlbumCoverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAlbumCoverAsyncHandler;
typedef Outcome<Error, Model::RenameFaceResult> RenameFaceOutcome;
typedef std::future<RenameFaceOutcome> RenameFaceOutcomeCallable;
typedef Outcome<Error, Model::RenameFaceResult> RenameFaceOutcome;
typedef std::future<RenameFaceOutcome> RenameFaceOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RenameFaceRequest&, const RenameFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameFaceAsyncHandler;
typedef Outcome<Error, Model::ListMomentsResult> ListMomentsOutcome;
typedef std::future<ListMomentsOutcome> ListMomentsOutcomeCallable;
typedef Outcome<Error, Model::ListMomentsResult> ListMomentsOutcome;
typedef std::future<ListMomentsOutcome> ListMomentsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListMomentsRequest&, const ListMomentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMomentsAsyncHandler;
typedef Outcome<Error, Model::ListTagsResult> ListTagsOutcome;
typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
typedef Outcome<Error, Model::ListTagsResult> ListTagsOutcome;
typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListTagsRequest&, const ListTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagsAsyncHandler;
typedef Outcome<Error, Model::ListFacePhotosResult> ListFacePhotosOutcome;
typedef std::future<ListFacePhotosOutcome> ListFacePhotosOutcomeCallable;
typedef Outcome<Error, Model::ListFacePhotosResult> ListFacePhotosOutcome;
typedef std::future<ListFacePhotosOutcome> ListFacePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListFacePhotosRequest&, const ListFacePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFacePhotosAsyncHandler;
CloudPhotoClient(const Credentials &credentials, const ClientConfiguration &configuration);
CloudPhotoClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
CloudPhotoClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~CloudPhotoClient();
RemoveFacePhotosOutcome removeFacePhotos(const Model::RemoveFacePhotosRequest &request)const;
void removeFacePhotosAsync(const Model::RemoveFacePhotosRequest& request, const RemoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveFacePhotosOutcomeCallable removeFacePhotosCallable(const Model::RemoveFacePhotosRequest& request) const;
ReactivatePhotosOutcome reactivatePhotos(const Model::ReactivatePhotosRequest &request)const;
void reactivatePhotosAsync(const Model::ReactivatePhotosRequest& request, const ReactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReactivatePhotosOutcomeCallable reactivatePhotosCallable(const Model::ReactivatePhotosRequest& request) const;
GetQuotaOutcome getQuota(const Model::GetQuotaRequest &request)const;
void getQuotaAsync(const Model::GetQuotaRequest& request, const GetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetQuotaOutcomeCallable getQuotaCallable(const Model::GetQuotaRequest& request) const;
GetThumbnailsOutcome getThumbnails(const Model::GetThumbnailsRequest &request)const;
void getThumbnailsAsync(const Model::GetThumbnailsRequest& request, const GetThumbnailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetThumbnailsOutcomeCallable getThumbnailsCallable(const Model::GetThumbnailsRequest& request) const;
DeleteFacesOutcome deleteFaces(const Model::DeleteFacesRequest &request)const;
void deleteFacesAsync(const Model::DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFacesOutcomeCallable deleteFacesCallable(const Model::DeleteFacesRequest& request) const;
AddAlbumPhotosOutcome addAlbumPhotos(const Model::AddAlbumPhotosRequest &request)const;
void addAlbumPhotosAsync(const Model::AddAlbumPhotosRequest& request, const AddAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddAlbumPhotosOutcomeCallable addAlbumPhotosCallable(const Model::AddAlbumPhotosRequest& request) const;
ListFacesOutcome listFaces(const Model::ListFacesRequest &request)const;
void listFacesAsync(const Model::ListFacesRequest& request, const ListFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFacesOutcomeCallable listFacesCallable(const Model::ListFacesRequest& request) const;
MoveFacePhotosOutcome moveFacePhotos(const Model::MoveFacePhotosRequest &request)const;
void moveFacePhotosAsync(const Model::MoveFacePhotosRequest& request, const MoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MoveFacePhotosOutcomeCallable moveFacePhotosCallable(const Model::MoveFacePhotosRequest& request) const;
ListPhotosOutcome listPhotos(const Model::ListPhotosRequest &request)const;
void listPhotosAsync(const Model::ListPhotosRequest& request, const ListPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotosOutcomeCallable listPhotosCallable(const Model::ListPhotosRequest& request) const;
RegisterTagOutcome registerTag(const Model::RegisterTagRequest &request)const;
void registerTagAsync(const Model::RegisterTagRequest& request, const RegisterTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterTagOutcomeCallable registerTagCallable(const Model::RegisterTagRequest& request) const;
ListTimeLinePhotosOutcome listTimeLinePhotos(const Model::ListTimeLinePhotosRequest &request)const;
void listTimeLinePhotosAsync(const Model::ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTimeLinePhotosOutcomeCallable listTimeLinePhotosCallable(const Model::ListTimeLinePhotosRequest& request) const;
DeletePhotosOutcome deletePhotos(const Model::DeletePhotosRequest &request)const;
void deletePhotosAsync(const Model::DeletePhotosRequest& request, const DeletePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePhotosOutcomeCallable deletePhotosCallable(const Model::DeletePhotosRequest& request) const;
MergeFacesOutcome mergeFaces(const Model::MergeFacesRequest &request)const;
void mergeFacesAsync(const Model::MergeFacesRequest& request, const MergeFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MergeFacesOutcomeCallable mergeFacesCallable(const Model::MergeFacesRequest& request) const;
GetPhotosByMd5sOutcome getPhotosByMd5s(const Model::GetPhotosByMd5sRequest &request)const;
void getPhotosByMd5sAsync(const Model::GetPhotosByMd5sRequest& request, const GetPhotosByMd5sAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotosByMd5sOutcomeCallable getPhotosByMd5sCallable(const Model::GetPhotosByMd5sRequest& request) const;
CreateTransactionOutcome createTransaction(const Model::CreateTransactionRequest &request)const;
void createTransactionAsync(const Model::CreateTransactionRequest& request, const CreateTransactionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransactionOutcomeCallable createTransactionCallable(const Model::CreateTransactionRequest& request) const;
InactivatePhotosOutcome inactivatePhotos(const Model::InactivatePhotosRequest &request)const;
void inactivatePhotosAsync(const Model::InactivatePhotosRequest& request, const InactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InactivatePhotosOutcomeCallable inactivatePhotosCallable(const Model::InactivatePhotosRequest& request) const;
CreatePhotoStoreOutcome createPhotoStore(const Model::CreatePhotoStoreRequest &request)const;
void createPhotoStoreAsync(const Model::CreatePhotoStoreRequest& request, const CreatePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePhotoStoreOutcomeCallable createPhotoStoreCallable(const Model::CreatePhotoStoreRequest& request) const;
TagPhotoOutcome tagPhoto(const Model::TagPhotoRequest &request)const;
void tagPhotoAsync(const Model::TagPhotoRequest& request, const TagPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagPhotoOutcomeCallable tagPhotoCallable(const Model::TagPhotoRequest& request) const;
GetLibraryOutcome getLibrary(const Model::GetLibraryRequest &request)const;
void getLibraryAsync(const Model::GetLibraryRequest& request, const GetLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLibraryOutcomeCallable getLibraryCallable(const Model::GetLibraryRequest& request) const;
SetQuotaOutcome setQuota(const Model::SetQuotaRequest &request)const;
void setQuotaAsync(const Model::SetQuotaRequest& request, const SetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetQuotaOutcomeCallable setQuotaCallable(const Model::SetQuotaRequest& request) const;
ListAlbumPhotosOutcome listAlbumPhotos(const Model::ListAlbumPhotosRequest &request)const;
void listAlbumPhotosAsync(const Model::ListAlbumPhotosRequest& request, const ListAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumPhotosOutcomeCallable listAlbumPhotosCallable(const Model::ListAlbumPhotosRequest& request) const;
RemoveAlbumPhotosOutcome removeAlbumPhotos(const Model::RemoveAlbumPhotosRequest &request)const;
void removeAlbumPhotosAsync(const Model::RemoveAlbumPhotosRequest& request, const RemoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveAlbumPhotosOutcomeCallable removeAlbumPhotosCallable(const Model::RemoveAlbumPhotosRequest& request) const;
ListAlbumsOutcome listAlbums(const Model::ListAlbumsRequest &request)const;
void listAlbumsAsync(const Model::ListAlbumsRequest& request, const ListAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumsOutcomeCallable listAlbumsCallable(const Model::ListAlbumsRequest& request) const;
ListPhotoFacesOutcome listPhotoFaces(const Model::ListPhotoFacesRequest &request)const;
void listPhotoFacesAsync(const Model::ListPhotoFacesRequest& request, const ListPhotoFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoFacesOutcomeCallable listPhotoFacesCallable(const Model::ListPhotoFacesRequest& request) const;
RenameAlbumOutcome renameAlbum(const Model::RenameAlbumRequest &request)const;
void renameAlbumAsync(const Model::RenameAlbumRequest& request, const RenameAlbumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenameAlbumOutcomeCallable renameAlbumCallable(const Model::RenameAlbumRequest& request) const;
ActivatePhotosOutcome activatePhotos(const Model::ActivatePhotosRequest &request)const;
void activatePhotosAsync(const Model::ActivatePhotosRequest& request, const ActivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActivatePhotosOutcomeCallable activatePhotosCallable(const Model::ActivatePhotosRequest& request) const;
GetPrivateAccessUrlsOutcome getPrivateAccessUrls(const Model::GetPrivateAccessUrlsRequest &request)const;
void getPrivateAccessUrlsAsync(const Model::GetPrivateAccessUrlsRequest& request, const GetPrivateAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPrivateAccessUrlsOutcomeCallable getPrivateAccessUrlsCallable(const Model::GetPrivateAccessUrlsRequest& request) const;
GetSimilarPhotosOutcome getSimilarPhotos(const Model::GetSimilarPhotosRequest &request)const;
void getSimilarPhotosAsync(const Model::GetSimilarPhotosRequest& request, const GetSimilarPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSimilarPhotosOutcomeCallable getSimilarPhotosCallable(const Model::GetSimilarPhotosRequest& request) const;
GetVideoCoverOutcome getVideoCover(const Model::GetVideoCoverRequest &request)const;
void getVideoCoverAsync(const Model::GetVideoCoverRequest& request, const GetVideoCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVideoCoverOutcomeCallable getVideoCoverCallable(const Model::GetVideoCoverRequest& request) const;
GetFramedPhotoUrlsOutcome getFramedPhotoUrls(const Model::GetFramedPhotoUrlsRequest &request)const;
void getFramedPhotoUrlsAsync(const Model::GetFramedPhotoUrlsRequest& request, const GetFramedPhotoUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFramedPhotoUrlsOutcomeCallable getFramedPhotoUrlsCallable(const Model::GetFramedPhotoUrlsRequest& request) const;
SetMeOutcome setMe(const Model::SetMeRequest &request)const;
void setMeAsync(const Model::SetMeRequest& request, const SetMeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetMeOutcomeCallable setMeCallable(const Model::SetMeRequest& request) const;
ListTagPhotosOutcome listTagPhotos(const Model::ListTagPhotosRequest &request)const;
void listTagPhotosAsync(const Model::ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagPhotosOutcomeCallable listTagPhotosCallable(const Model::ListTagPhotosRequest& request) const;
DeleteAlbumsOutcome deleteAlbums(const Model::DeleteAlbumsRequest &request)const;
void deleteAlbumsAsync(const Model::DeleteAlbumsRequest& request, const DeleteAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAlbumsOutcomeCallable deleteAlbumsCallable(const Model::DeleteAlbumsRequest& request) const;
GetDownloadUrlsOutcome getDownloadUrls(const Model::GetDownloadUrlsRequest &request)const;
void getDownloadUrlsAsync(const Model::GetDownloadUrlsRequest& request, const GetDownloadUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDownloadUrlsOutcomeCallable getDownloadUrlsCallable(const Model::GetDownloadUrlsRequest& request) const;
GetPhotosOutcome getPhotos(const Model::GetPhotosRequest &request)const;
void getPhotosAsync(const Model::GetPhotosRequest& request, const GetPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotosOutcomeCallable getPhotosCallable(const Model::GetPhotosRequest& request) const;
RegisterPhotoOutcome registerPhoto(const Model::RegisterPhotoRequest &request)const;
void registerPhotoAsync(const Model::RegisterPhotoRequest& request, const RegisterPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterPhotoOutcomeCallable registerPhotoCallable(const Model::RegisterPhotoRequest& request) const;
EditPhotoStoreOutcome editPhotoStore(const Model::EditPhotoStoreRequest &request)const;
void editPhotoStoreAsync(const Model::EditPhotoStoreRequest& request, const EditPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditPhotoStoreOutcomeCallable editPhotoStoreCallable(const Model::EditPhotoStoreRequest& request) const;
ListTimeLinesOutcome listTimeLines(const Model::ListTimeLinesRequest &request)const;
void listTimeLinesAsync(const Model::ListTimeLinesRequest& request, const ListTimeLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTimeLinesOutcomeCallable listTimeLinesCallable(const Model::ListTimeLinesRequest& request) const;
SearchPhotosOutcome searchPhotos(const Model::SearchPhotosRequest &request)const;
void searchPhotosAsync(const Model::SearchPhotosRequest& request, const SearchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchPhotosOutcomeCallable searchPhotosCallable(const Model::SearchPhotosRequest& request) const;
ToggleFeaturesOutcome toggleFeatures(const Model::ToggleFeaturesRequest &request)const;
void toggleFeaturesAsync(const Model::ToggleFeaturesRequest& request, const ToggleFeaturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ToggleFeaturesOutcomeCallable toggleFeaturesCallable(const Model::ToggleFeaturesRequest& request) const;
ListRegisteredTagsOutcome listRegisteredTags(const Model::ListRegisteredTagsRequest &request)const;
void listRegisteredTagsAsync(const Model::ListRegisteredTagsRequest& request, const ListRegisteredTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRegisteredTagsOutcomeCallable listRegisteredTagsCallable(const Model::ListRegisteredTagsRequest& request) const;
DeletePhotoStoreOutcome deletePhotoStore(const Model::DeletePhotoStoreRequest &request)const;
void deletePhotoStoreAsync(const Model::DeletePhotoStoreRequest& request, const DeletePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePhotoStoreOutcomeCallable deletePhotoStoreCallable(const Model::DeletePhotoStoreRequest& request) const;
GetPhotoStoreOutcome getPhotoStore(const Model::GetPhotoStoreRequest &request)const;
void getPhotoStoreAsync(const Model::GetPhotoStoreRequest& request, const GetPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotoStoreOutcomeCallable getPhotoStoreCallable(const Model::GetPhotoStoreRequest& request) const;
ListMomentPhotosOutcome listMomentPhotos(const Model::ListMomentPhotosRequest &request)const;
void listMomentPhotosAsync(const Model::ListMomentPhotosRequest& request, const ListMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMomentPhotosOutcomeCallable listMomentPhotosCallable(const Model::ListMomentPhotosRequest& request) const;
GetThumbnailOutcome getThumbnail(const Model::GetThumbnailRequest &request)const;
void getThumbnailAsync(const Model::GetThumbnailRequest& request, const GetThumbnailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetThumbnailOutcomeCallable getThumbnailCallable(const Model::GetThumbnailRequest& request) const;
SetFaceCoverOutcome setFaceCover(const Model::SetFaceCoverRequest &request)const;
void setFaceCoverAsync(const Model::SetFaceCoverRequest& request, const SetFaceCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetFaceCoverOutcomeCallable setFaceCoverCallable(const Model::SetFaceCoverRequest& request) const;
CreatePhotoOutcome createPhoto(const Model::CreatePhotoRequest &request)const;
void createPhotoAsync(const Model::CreatePhotoRequest& request, const CreatePhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePhotoOutcomeCallable createPhotoCallable(const Model::CreatePhotoRequest& request) const;
MoveAlbumPhotosOutcome moveAlbumPhotos(const Model::MoveAlbumPhotosRequest &request)const;
void moveAlbumPhotosAsync(const Model::MoveAlbumPhotosRequest& request, const MoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MoveAlbumPhotosOutcomeCallable moveAlbumPhotosCallable(const Model::MoveAlbumPhotosRequest& request) const;
GetDownloadUrlOutcome getDownloadUrl(const Model::GetDownloadUrlRequest &request)const;
void getDownloadUrlAsync(const Model::GetDownloadUrlRequest& request, const GetDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDownloadUrlOutcomeCallable getDownloadUrlCallable(const Model::GetDownloadUrlRequest& request) const;
CreateAlbumOutcome createAlbum(const Model::CreateAlbumRequest &request)const;
void createAlbumAsync(const Model::CreateAlbumRequest& request, const CreateAlbumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAlbumOutcomeCallable createAlbumCallable(const Model::CreateAlbumRequest& request) const;
ListPhotoTagsOutcome listPhotoTags(const Model::ListPhotoTagsRequest &request)const;
void listPhotoTagsAsync(const Model::ListPhotoTagsRequest& request, const ListPhotoTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoTagsOutcomeCallable listPhotoTagsCallable(const Model::ListPhotoTagsRequest& request) const;
LikePhotoOutcome likePhoto(const Model::LikePhotoRequest &request)const;
void likePhotoAsync(const Model::LikePhotoRequest& request, const LikePhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
LikePhotoOutcomeCallable likePhotoCallable(const Model::LikePhotoRequest& request) const;
ListPhotoStoresOutcome listPhotoStores(const Model::ListPhotoStoresRequest &request)const;
void listPhotoStoresAsync(const Model::ListPhotoStoresRequest& request, const ListPhotoStoresAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoStoresOutcomeCallable listPhotoStoresCallable(const Model::ListPhotoStoresRequest& request) const;
GetPublicAccessUrlsOutcome getPublicAccessUrls(const Model::GetPublicAccessUrlsRequest &request)const;
void getPublicAccessUrlsAsync(const Model::GetPublicAccessUrlsRequest& request, const GetPublicAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPublicAccessUrlsOutcomeCallable getPublicAccessUrlsCallable(const Model::GetPublicAccessUrlsRequest& request) const;
EditPhotosOutcome editPhotos(const Model::EditPhotosRequest &request)const;
void editPhotosAsync(const Model::EditPhotosRequest& request, const EditPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditPhotosOutcomeCallable editPhotosCallable(const Model::EditPhotosRequest& request) const;
SetAlbumCoverOutcome setAlbumCover(const Model::SetAlbumCoverRequest &request)const;
void setAlbumCoverAsync(const Model::SetAlbumCoverRequest& request, const SetAlbumCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetAlbumCoverOutcomeCallable setAlbumCoverCallable(const Model::SetAlbumCoverRequest& request) const;
RenameFaceOutcome renameFace(const Model::RenameFaceRequest &request)const;
void renameFaceAsync(const Model::RenameFaceRequest& request, const RenameFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenameFaceOutcomeCallable renameFaceCallable(const Model::RenameFaceRequest& request) const;
ListMomentsOutcome listMoments(const Model::ListMomentsRequest &request)const;
void listMomentsAsync(const Model::ListMomentsRequest& request, const ListMomentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMomentsOutcomeCallable listMomentsCallable(const Model::ListMomentsRequest& request) const;
ListTagsOutcome listTags(const Model::ListTagsRequest &request)const;
void listTagsAsync(const Model::ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagsOutcomeCallable listTagsCallable(const Model::ListTagsRequest& request) const;
ListFacePhotosOutcome listFacePhotos(const Model::ListFacePhotosRequest &request)const;
void listFacePhotosAsync(const Model::ListFacePhotosRequest& request, const ListFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFacePhotosOutcomeCallable listFacePhotosCallable(const Model::ListFacePhotosRequest& request) const;
RemoveFacePhotosOutcome removeFacePhotos(const Model::RemoveFacePhotosRequest &request)const;
void removeFacePhotosAsync(const Model::RemoveFacePhotosRequest& request, const RemoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveFacePhotosOutcomeCallable removeFacePhotosCallable(const Model::RemoveFacePhotosRequest& request) const;
ReactivatePhotosOutcome reactivatePhotos(const Model::ReactivatePhotosRequest &request)const;
void reactivatePhotosAsync(const Model::ReactivatePhotosRequest& request, const ReactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReactivatePhotosOutcomeCallable reactivatePhotosCallable(const Model::ReactivatePhotosRequest& request) const;
GetQuotaOutcome getQuota(const Model::GetQuotaRequest &request)const;
void getQuotaAsync(const Model::GetQuotaRequest& request, const GetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetQuotaOutcomeCallable getQuotaCallable(const Model::GetQuotaRequest& request) const;
GetThumbnailsOutcome getThumbnails(const Model::GetThumbnailsRequest &request)const;
void getThumbnailsAsync(const Model::GetThumbnailsRequest& request, const GetThumbnailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetThumbnailsOutcomeCallable getThumbnailsCallable(const Model::GetThumbnailsRequest& request) const;
DeleteFacesOutcome deleteFaces(const Model::DeleteFacesRequest &request)const;
void deleteFacesAsync(const Model::DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFacesOutcomeCallable deleteFacesCallable(const Model::DeleteFacesRequest& request) const;
AddAlbumPhotosOutcome addAlbumPhotos(const Model::AddAlbumPhotosRequest &request)const;
void addAlbumPhotosAsync(const Model::AddAlbumPhotosRequest& request, const AddAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddAlbumPhotosOutcomeCallable addAlbumPhotosCallable(const Model::AddAlbumPhotosRequest& request) const;
ListFacesOutcome listFaces(const Model::ListFacesRequest &request)const;
void listFacesAsync(const Model::ListFacesRequest& request, const ListFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFacesOutcomeCallable listFacesCallable(const Model::ListFacesRequest& request) const;
MoveFacePhotosOutcome moveFacePhotos(const Model::MoveFacePhotosRequest &request)const;
void moveFacePhotosAsync(const Model::MoveFacePhotosRequest& request, const MoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MoveFacePhotosOutcomeCallable moveFacePhotosCallable(const Model::MoveFacePhotosRequest& request) const;
DeleteEventOutcome deleteEvent(const Model::DeleteEventRequest &request)const;
void deleteEventAsync(const Model::DeleteEventRequest& request, const DeleteEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteEventOutcomeCallable deleteEventCallable(const Model::DeleteEventRequest& request) const;
ListPhotosOutcome listPhotos(const Model::ListPhotosRequest &request)const;
void listPhotosAsync(const Model::ListPhotosRequest& request, const ListPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotosOutcomeCallable listPhotosCallable(const Model::ListPhotosRequest& request) const;
RegisterTagOutcome registerTag(const Model::RegisterTagRequest &request)const;
void registerTagAsync(const Model::RegisterTagRequest& request, const RegisterTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterTagOutcomeCallable registerTagCallable(const Model::RegisterTagRequest& request) const;
ListTimeLinePhotosOutcome listTimeLinePhotos(const Model::ListTimeLinePhotosRequest &request)const;
void listTimeLinePhotosAsync(const Model::ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTimeLinePhotosOutcomeCallable listTimeLinePhotosCallable(const Model::ListTimeLinePhotosRequest& request) const;
FetchMomentPhotosOutcome fetchMomentPhotos(const Model::FetchMomentPhotosRequest &request)const;
void fetchMomentPhotosAsync(const Model::FetchMomentPhotosRequest& request, const FetchMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchMomentPhotosOutcomeCallable fetchMomentPhotosCallable(const Model::FetchMomentPhotosRequest& request) const;
DeletePhotosOutcome deletePhotos(const Model::DeletePhotosRequest &request)const;
void deletePhotosAsync(const Model::DeletePhotosRequest& request, const DeletePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePhotosOutcomeCallable deletePhotosCallable(const Model::DeletePhotosRequest& request) const;
MergeFacesOutcome mergeFaces(const Model::MergeFacesRequest &request)const;
void mergeFacesAsync(const Model::MergeFacesRequest& request, const MergeFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MergeFacesOutcomeCallable mergeFacesCallable(const Model::MergeFacesRequest& request) const;
GetPhotosByMd5sOutcome getPhotosByMd5s(const Model::GetPhotosByMd5sRequest &request)const;
void getPhotosByMd5sAsync(const Model::GetPhotosByMd5sRequest& request, const GetPhotosByMd5sAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotosByMd5sOutcomeCallable getPhotosByMd5sCallable(const Model::GetPhotosByMd5sRequest& request) const;
FetchLibrariesOutcome fetchLibraries(const Model::FetchLibrariesRequest &request)const;
void fetchLibrariesAsync(const Model::FetchLibrariesRequest& request, const FetchLibrariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchLibrariesOutcomeCallable fetchLibrariesCallable(const Model::FetchLibrariesRequest& request) const;
FetchAlbumTagPhotosOutcome fetchAlbumTagPhotos(const Model::FetchAlbumTagPhotosRequest &request)const;
void fetchAlbumTagPhotosAsync(const Model::FetchAlbumTagPhotosRequest& request, const FetchAlbumTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchAlbumTagPhotosOutcomeCallable fetchAlbumTagPhotosCallable(const Model::FetchAlbumTagPhotosRequest& request) const;
CreateTransactionOutcome createTransaction(const Model::CreateTransactionRequest &request)const;
void createTransactionAsync(const Model::CreateTransactionRequest& request, const CreateTransactionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransactionOutcomeCallable createTransactionCallable(const Model::CreateTransactionRequest& request) const;
InactivatePhotosOutcome inactivatePhotos(const Model::InactivatePhotosRequest &request)const;
void inactivatePhotosAsync(const Model::InactivatePhotosRequest& request, const InactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InactivatePhotosOutcomeCallable inactivatePhotosCallable(const Model::InactivatePhotosRequest& request) const;
CreatePhotoStoreOutcome createPhotoStore(const Model::CreatePhotoStoreRequest &request)const;
void createPhotoStoreAsync(const Model::CreatePhotoStoreRequest& request, const CreatePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePhotoStoreOutcomeCallable createPhotoStoreCallable(const Model::CreatePhotoStoreRequest& request) const;
TagPhotoOutcome tagPhoto(const Model::TagPhotoRequest &request)const;
void tagPhotoAsync(const Model::TagPhotoRequest& request, const TagPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagPhotoOutcomeCallable tagPhotoCallable(const Model::TagPhotoRequest& request) const;
GetLibraryOutcome getLibrary(const Model::GetLibraryRequest &request)const;
void getLibraryAsync(const Model::GetLibraryRequest& request, const GetLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLibraryOutcomeCallable getLibraryCallable(const Model::GetLibraryRequest& request) const;
SetQuotaOutcome setQuota(const Model::SetQuotaRequest &request)const;
void setQuotaAsync(const Model::SetQuotaRequest& request, const SetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetQuotaOutcomeCallable setQuotaCallable(const Model::SetQuotaRequest& request) const;
ListAlbumPhotosOutcome listAlbumPhotos(const Model::ListAlbumPhotosRequest &request)const;
void listAlbumPhotosAsync(const Model::ListAlbumPhotosRequest& request, const ListAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumPhotosOutcomeCallable listAlbumPhotosCallable(const Model::ListAlbumPhotosRequest& request) const;
RemoveAlbumPhotosOutcome removeAlbumPhotos(const Model::RemoveAlbumPhotosRequest &request)const;
void removeAlbumPhotosAsync(const Model::RemoveAlbumPhotosRequest& request, const RemoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveAlbumPhotosOutcomeCallable removeAlbumPhotosCallable(const Model::RemoveAlbumPhotosRequest& request) const;
ListAlbumsOutcome listAlbums(const Model::ListAlbumsRequest &request)const;
void listAlbumsAsync(const Model::ListAlbumsRequest& request, const ListAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumsOutcomeCallable listAlbumsCallable(const Model::ListAlbumsRequest& request) const;
FetchPhotosOutcome fetchPhotos(const Model::FetchPhotosRequest &request)const;
void fetchPhotosAsync(const Model::FetchPhotosRequest& request, const FetchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchPhotosOutcomeCallable fetchPhotosCallable(const Model::FetchPhotosRequest& request) const;
ListPhotoFacesOutcome listPhotoFaces(const Model::ListPhotoFacesRequest &request)const;
void listPhotoFacesAsync(const Model::ListPhotoFacesRequest& request, const ListPhotoFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoFacesOutcomeCallable listPhotoFacesCallable(const Model::ListPhotoFacesRequest& request) const;
RenameAlbumOutcome renameAlbum(const Model::RenameAlbumRequest &request)const;
void renameAlbumAsync(const Model::RenameAlbumRequest& request, const RenameAlbumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenameAlbumOutcomeCallable renameAlbumCallable(const Model::RenameAlbumRequest& request) const;
ActivatePhotosOutcome activatePhotos(const Model::ActivatePhotosRequest &request)const;
void activatePhotosAsync(const Model::ActivatePhotosRequest& request, const ActivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActivatePhotosOutcomeCallable activatePhotosCallable(const Model::ActivatePhotosRequest& request) const;
GetPrivateAccessUrlsOutcome getPrivateAccessUrls(const Model::GetPrivateAccessUrlsRequest &request)const;
void getPrivateAccessUrlsAsync(const Model::GetPrivateAccessUrlsRequest& request, const GetPrivateAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPrivateAccessUrlsOutcomeCallable getPrivateAccessUrlsCallable(const Model::GetPrivateAccessUrlsRequest& request) const;
GetSimilarPhotosOutcome getSimilarPhotos(const Model::GetSimilarPhotosRequest &request)const;
void getSimilarPhotosAsync(const Model::GetSimilarPhotosRequest& request, const GetSimilarPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSimilarPhotosOutcomeCallable getSimilarPhotosCallable(const Model::GetSimilarPhotosRequest& request) const;
ListEventsOutcome listEvents(const Model::ListEventsRequest &request)const;
void listEventsAsync(const Model::ListEventsRequest& request, const ListEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListEventsOutcomeCallable listEventsCallable(const Model::ListEventsRequest& request) const;
GetVideoCoverOutcome getVideoCover(const Model::GetVideoCoverRequest &request)const;
void getVideoCoverAsync(const Model::GetVideoCoverRequest& request, const GetVideoCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVideoCoverOutcomeCallable getVideoCoverCallable(const Model::GetVideoCoverRequest& request) const;
GetFramedPhotoUrlsOutcome getFramedPhotoUrls(const Model::GetFramedPhotoUrlsRequest &request)const;
void getFramedPhotoUrlsAsync(const Model::GetFramedPhotoUrlsRequest& request, const GetFramedPhotoUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFramedPhotoUrlsOutcomeCallable getFramedPhotoUrlsCallable(const Model::GetFramedPhotoUrlsRequest& request) const;
GetEventOutcome getEvent(const Model::GetEventRequest &request)const;
void getEventAsync(const Model::GetEventRequest& request, const GetEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetEventOutcomeCallable getEventCallable(const Model::GetEventRequest& request) const;
SetMeOutcome setMe(const Model::SetMeRequest &request)const;
void setMeAsync(const Model::SetMeRequest& request, const SetMeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetMeOutcomeCallable setMeCallable(const Model::SetMeRequest& request) const;
ListTagPhotosOutcome listTagPhotos(const Model::ListTagPhotosRequest &request)const;
void listTagPhotosAsync(const Model::ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagPhotosOutcomeCallable listTagPhotosCallable(const Model::ListTagPhotosRequest& request) const;
DeleteAlbumsOutcome deleteAlbums(const Model::DeleteAlbumsRequest &request)const;
void deleteAlbumsAsync(const Model::DeleteAlbumsRequest& request, const DeleteAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAlbumsOutcomeCallable deleteAlbumsCallable(const Model::DeleteAlbumsRequest& request) const;
GetDownloadUrlsOutcome getDownloadUrls(const Model::GetDownloadUrlsRequest &request)const;
void getDownloadUrlsAsync(const Model::GetDownloadUrlsRequest& request, const GetDownloadUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDownloadUrlsOutcomeCallable getDownloadUrlsCallable(const Model::GetDownloadUrlsRequest& request) const;
GetPhotosOutcome getPhotos(const Model::GetPhotosRequest &request)const;
void getPhotosAsync(const Model::GetPhotosRequest& request, const GetPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotosOutcomeCallable getPhotosCallable(const Model::GetPhotosRequest& request) const;
RegisterPhotoOutcome registerPhoto(const Model::RegisterPhotoRequest &request)const;
void registerPhotoAsync(const Model::RegisterPhotoRequest& request, const RegisterPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterPhotoOutcomeCallable registerPhotoCallable(const Model::RegisterPhotoRequest& request) const;
EditPhotoStoreOutcome editPhotoStore(const Model::EditPhotoStoreRequest &request)const;
void editPhotoStoreAsync(const Model::EditPhotoStoreRequest& request, const EditPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditPhotoStoreOutcomeCallable editPhotoStoreCallable(const Model::EditPhotoStoreRequest& request) const;
ListTimeLinesOutcome listTimeLines(const Model::ListTimeLinesRequest &request)const;
void listTimeLinesAsync(const Model::ListTimeLinesRequest& request, const ListTimeLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTimeLinesOutcomeCallable listTimeLinesCallable(const Model::ListTimeLinesRequest& request) const;
SearchPhotosOutcome searchPhotos(const Model::SearchPhotosRequest &request)const;
void searchPhotosAsync(const Model::SearchPhotosRequest& request, const SearchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchPhotosOutcomeCallable searchPhotosCallable(const Model::SearchPhotosRequest& request) const;
ToggleFeaturesOutcome toggleFeatures(const Model::ToggleFeaturesRequest &request)const;
void toggleFeaturesAsync(const Model::ToggleFeaturesRequest& request, const ToggleFeaturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ToggleFeaturesOutcomeCallable toggleFeaturesCallable(const Model::ToggleFeaturesRequest& request) const;
ListRegisteredTagsOutcome listRegisteredTags(const Model::ListRegisteredTagsRequest &request)const;
void listRegisteredTagsAsync(const Model::ListRegisteredTagsRequest& request, const ListRegisteredTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRegisteredTagsOutcomeCallable listRegisteredTagsCallable(const Model::ListRegisteredTagsRequest& request) const;
DeletePhotoStoreOutcome deletePhotoStore(const Model::DeletePhotoStoreRequest &request)const;
void deletePhotoStoreAsync(const Model::DeletePhotoStoreRequest& request, const DeletePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePhotoStoreOutcomeCallable deletePhotoStoreCallable(const Model::DeletePhotoStoreRequest& request) const;
CreateEventOutcome createEvent(const Model::CreateEventRequest &request)const;
void createEventAsync(const Model::CreateEventRequest& request, const CreateEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEventOutcomeCallable createEventCallable(const Model::CreateEventRequest& request) const;
GetPhotoStoreOutcome getPhotoStore(const Model::GetPhotoStoreRequest &request)const;
void getPhotoStoreAsync(const Model::GetPhotoStoreRequest& request, const GetPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotoStoreOutcomeCallable getPhotoStoreCallable(const Model::GetPhotoStoreRequest& request) const;
ListMomentPhotosOutcome listMomentPhotos(const Model::ListMomentPhotosRequest &request)const;
void listMomentPhotosAsync(const Model::ListMomentPhotosRequest& request, const ListMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMomentPhotosOutcomeCallable listMomentPhotosCallable(const Model::ListMomentPhotosRequest& request) const;
GetThumbnailOutcome getThumbnail(const Model::GetThumbnailRequest &request)const;
void getThumbnailAsync(const Model::GetThumbnailRequest& request, const GetThumbnailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetThumbnailOutcomeCallable getThumbnailCallable(const Model::GetThumbnailRequest& request) const;
SetFaceCoverOutcome setFaceCover(const Model::SetFaceCoverRequest &request)const;
void setFaceCoverAsync(const Model::SetFaceCoverRequest& request, const SetFaceCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetFaceCoverOutcomeCallable setFaceCoverCallable(const Model::SetFaceCoverRequest& request) const;
CreatePhotoOutcome createPhoto(const Model::CreatePhotoRequest &request)const;
void createPhotoAsync(const Model::CreatePhotoRequest& request, const CreatePhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePhotoOutcomeCallable createPhotoCallable(const Model::CreatePhotoRequest& request) const;
MoveAlbumPhotosOutcome moveAlbumPhotos(const Model::MoveAlbumPhotosRequest &request)const;
void moveAlbumPhotosAsync(const Model::MoveAlbumPhotosRequest& request, const MoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MoveAlbumPhotosOutcomeCallable moveAlbumPhotosCallable(const Model::MoveAlbumPhotosRequest& request) const;
EditEventOutcome editEvent(const Model::EditEventRequest &request)const;
void editEventAsync(const Model::EditEventRequest& request, const EditEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditEventOutcomeCallable editEventCallable(const Model::EditEventRequest& request) const;
GetDownloadUrlOutcome getDownloadUrl(const Model::GetDownloadUrlRequest &request)const;
void getDownloadUrlAsync(const Model::GetDownloadUrlRequest& request, const GetDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDownloadUrlOutcomeCallable getDownloadUrlCallable(const Model::GetDownloadUrlRequest& request) const;
CreateAlbumOutcome createAlbum(const Model::CreateAlbumRequest &request)const;
void createAlbumAsync(const Model::CreateAlbumRequest& request, const CreateAlbumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAlbumOutcomeCallable createAlbumCallable(const Model::CreateAlbumRequest& request) const;
ListPhotoTagsOutcome listPhotoTags(const Model::ListPhotoTagsRequest &request)const;
void listPhotoTagsAsync(const Model::ListPhotoTagsRequest& request, const ListPhotoTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoTagsOutcomeCallable listPhotoTagsCallable(const Model::ListPhotoTagsRequest& request) const;
LikePhotoOutcome likePhoto(const Model::LikePhotoRequest &request)const;
void likePhotoAsync(const Model::LikePhotoRequest& request, const LikePhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
LikePhotoOutcomeCallable likePhotoCallable(const Model::LikePhotoRequest& request) const;
ListPhotoStoresOutcome listPhotoStores(const Model::ListPhotoStoresRequest &request)const;
void listPhotoStoresAsync(const Model::ListPhotoStoresRequest& request, const ListPhotoStoresAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoStoresOutcomeCallable listPhotoStoresCallable(const Model::ListPhotoStoresRequest& request) const;
GetAlbumsByNamesOutcome getAlbumsByNames(const Model::GetAlbumsByNamesRequest &request)const;
void getAlbumsByNamesAsync(const Model::GetAlbumsByNamesRequest& request, const GetAlbumsByNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAlbumsByNamesOutcomeCallable getAlbumsByNamesCallable(const Model::GetAlbumsByNamesRequest& request) const;
GetPublicAccessUrlsOutcome getPublicAccessUrls(const Model::GetPublicAccessUrlsRequest &request)const;
void getPublicAccessUrlsAsync(const Model::GetPublicAccessUrlsRequest& request, const GetPublicAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPublicAccessUrlsOutcomeCallable getPublicAccessUrlsCallable(const Model::GetPublicAccessUrlsRequest& request) const;
EditPhotosOutcome editPhotos(const Model::EditPhotosRequest &request)const;
void editPhotosAsync(const Model::EditPhotosRequest& request, const EditPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditPhotosOutcomeCallable editPhotosCallable(const Model::EditPhotosRequest& request) const;
SetAlbumCoverOutcome setAlbumCover(const Model::SetAlbumCoverRequest &request)const;
void setAlbumCoverAsync(const Model::SetAlbumCoverRequest& request, const SetAlbumCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetAlbumCoverOutcomeCallable setAlbumCoverCallable(const Model::SetAlbumCoverRequest& request) const;
RenameFaceOutcome renameFace(const Model::RenameFaceRequest &request)const;
void renameFaceAsync(const Model::RenameFaceRequest& request, const RenameFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenameFaceOutcomeCallable renameFaceCallable(const Model::RenameFaceRequest& request) const;
ListMomentsOutcome listMoments(const Model::ListMomentsRequest &request)const;
void listMomentsAsync(const Model::ListMomentsRequest& request, const ListMomentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMomentsOutcomeCallable listMomentsCallable(const Model::ListMomentsRequest& request) const;
ListTagsOutcome listTags(const Model::ListTagsRequest &request)const;
void listTagsAsync(const Model::ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagsOutcomeCallable listTagsCallable(const Model::ListTagsRequest& request) const;
ListFacePhotosOutcome listFacePhotos(const Model::ListFacePhotosRequest &request)const;
void listFacePhotosAsync(const Model::ListFacePhotosRequest& request, const ListFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFacePhotosOutcomeCallable listFacePhotosCallable(const Model::ListFacePhotosRequest& request) const;
private:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ActivatePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
ActivatePhotosResult();
explicit ActivatePhotosResult(const std::string &payload);
~ActivatePhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT AddAlbumPhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
AddAlbumPhotosResult();
explicit AddAlbumPhotosResult(const std::string &payload);
~AddAlbumPhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,48 +32,50 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateAlbumResult : public ServiceResult
{
public:
struct Album
{
struct Cover
{
bool isVideo;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
std::vector<Cover> cover;
std::string state;
long ctime;
long photosCount;
long mtime;
long id;
std::string name;
std::string remark;
};
struct Album
{
struct Cover
{
bool isVideo;
std::string idStr;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
Cover cover;
std::string idStr;
std::string state;
long ctime;
long photosCount;
long mtime;
long id;
std::string name;
std::string remark;
};
CreateAlbumResult();
explicit CreateAlbumResult(const std::string &payload);
~CreateAlbumResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Album> getAlbum()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
Album getAlbum()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Album> album_;
std::string code_;
std::string action_;
std::string message_;
Album album_;
std::string code_;
};
}

View File

@@ -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_CLOUDPHOTO_MODEL_CREATEEVENTREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEEVENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateEventRequest : public RpcServiceRequest
{
public:
CreateEventRequest();
~CreateEventRequest();
std::string getBannerPhotoId()const;
void setBannerPhotoId(const std::string& bannerPhotoId);
std::string getWatermarkPhotoId()const;
void setWatermarkPhotoId(const std::string& watermarkPhotoId);
std::string getIdentity()const;
void setIdentity(const std::string& identity);
std::string getSplashPhotoId()const;
void setSplashPhotoId(const std::string& splashPhotoId);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getWeixinTitle()const;
void setWeixinTitle(const std::string& weixinTitle);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getRemark()const;
void setRemark(const std::string& remark);
std::string getTitle()const;
void setTitle(const std::string& title);
long getEndAt()const;
void setEndAt(long endAt);
long getStartAt()const;
void setStartAt(long startAt);
private:
std::string bannerPhotoId_;
std::string watermarkPhotoId_;
std::string identity_;
std::string splashPhotoId_;
std::string libraryId_;
std::string weixinTitle_;
std::string storeName_;
std::string remark_;
std::string title_;
long endAt_;
long startAt_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEEVENTREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEEVENTRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEEVENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateEventResult : public ServiceResult
{
public:
struct Event
{
std::string idStr1;
std::string watermarkPhotoId;
std::string idStr;
std::string title;
long mtime;
std::string bannerPhotoId;
std::string splashPhotoId;
long endAt;
std::string libraryId;
std::string weixinTitle;
std::string state;
long startAt;
long ctime;
long viewsCount;
long id;
std::string identity;
};
CreateEventResult();
explicit CreateEventResult(const std::string &payload);
~CreateEventResult();
std::string getAction()const;
std::string getMessage()const;
Event getEvent()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
Event event_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEEVENTRESULT_H_

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
CreatePhotoRequest();
~CreatePhotoRequest();
long getTakenAt()const;
void setTakenAt(long takenAt);
std::string getPhotoTitle()const;
void setPhotoTitle(const std::string& photoTitle);
std::string getLibraryId()const;
@@ -55,6 +57,7 @@ namespace AlibabaCloud
void setFileId(const std::string& fileId);
private:
long takenAt_;
std::string photoTitle_;
std::string libraryId_;
long shareExpireTime_;

View File

@@ -32,41 +32,42 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreatePhotoResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
CreatePhotoResult();
explicit CreatePhotoResult(const std::string &payload);
~CreatePhotoResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Photo> getPhoto()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
Photo getPhoto()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Photo> photo_;
std::string code_;
std::string action_;
std::string message_;
Photo photo_;
std::string code_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
CreatePhotoStoreResult();
explicit CreatePhotoStoreResult(const std::string &payload);
~CreatePhotoStoreResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,38 +32,38 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateTransactionResult : public ServiceResult
{
public:
struct Transaction
{
struct Upload
{
std::string stsToken;
std::string ossEndpoint;
std::string bucket;
std::string accessKeyId;
std::string accessKeySecret;
std::string objectKey;
std::string fileId;
std::string sessionId;
};
std::vector<Upload> upload;
};
struct Transaction
{
struct Upload
{
std::string stsToken;
std::string ossEndpoint;
std::string bucket;
std::string accessKeyId;
std::string accessKeySecret;
std::string objectKey;
std::string fileId;
std::string sessionId;
};
Upload upload;
};
CreateTransactionResult();
explicit CreateTransactionResult(const std::string &payload);
~CreateTransactionResult();
std::string getAction()const;
std::vector<Transaction> getTransaction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
Transaction getTransaction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::vector<Transaction> transaction_;
std::string message_;
std::string code_;
std::string action_;
Transaction transaction_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeleteAlbumsResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
DeleteAlbumsResult();
explicit DeleteAlbumsResult(const std::string &payload);
~DeleteAlbumsResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEEVENTREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEEVENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeleteEventRequest : public RpcServiceRequest
{
public:
DeleteEventRequest();
~DeleteEventRequest();
long getEventId()const;
void setEventId(long eventId);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
long eventId_;
std::string libraryId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEEVENTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_CLOUDPHOTO_MODEL_DELETEEVENTRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEEVENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeleteEventResult : public ServiceResult
{
public:
DeleteEventResult();
explicit DeleteEventResult(const std::string &payload);
~DeleteEventResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEEVENTRESULT_H_

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeleteFacesResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
DeleteFacesResult();
explicit DeleteFacesResult(const std::string &payload);
~DeleteFacesResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DeletePhotoStoreResult();
explicit DeletePhotoStoreResult(const std::string &payload);
~DeletePhotoStoreResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
std::vector<long> photoId_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeletePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
DeletePhotosResult();
explicit DeletePhotosResult(const std::string &payload);
~DeletePhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -0,0 +1,81 @@
/*
* 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_CLOUDPHOTO_MODEL_EDITEVENTREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITEVENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT EditEventRequest : public RpcServiceRequest
{
public:
EditEventRequest();
~EditEventRequest();
std::string getEventId()const;
void setEventId(const std::string& eventId);
std::string getBannerPhotoId()const;
void setBannerPhotoId(const std::string& bannerPhotoId);
std::string getWatermarkPhotoId()const;
void setWatermarkPhotoId(const std::string& watermarkPhotoId);
std::string getIdentity()const;
void setIdentity(const std::string& identity);
std::string getSplashPhotoId()const;
void setSplashPhotoId(const std::string& splashPhotoId);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getWeixinTitle()const;
void setWeixinTitle(const std::string& weixinTitle);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getRemark()const;
void setRemark(const std::string& remark);
std::string getTitle()const;
void setTitle(const std::string& title);
long getEndAt()const;
void setEndAt(long endAt);
long getStartAt()const;
void setStartAt(long startAt);
private:
std::string eventId_;
std::string bannerPhotoId_;
std::string watermarkPhotoId_;
std::string identity_;
std::string splashPhotoId_;
std::string libraryId_;
std::string weixinTitle_;
std::string storeName_;
std::string remark_;
std::string title_;
long endAt_;
long startAt_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITEVENTREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITEVENTRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITEVENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT EditEventResult : public ServiceResult
{
public:
struct Event
{
std::string idStr1;
std::string watermarkPhotoId;
std::string idStr;
std::string title;
long mtime;
std::string bannerPhotoId;
std::string splashPhotoId;
long endAt;
std::string libraryId;
std::string weixinTitle;
std::string state;
long startAt;
long ctime;
long viewsCount;
long id;
std::string identity;
};
EditEventResult();
explicit EditEventResult(const std::string &payload);
~EditEventResult();
std::string getAction()const;
std::string getMessage()const;
Event getEvent()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
Event event_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITEVENTRESULT_H_

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
EditPhotoStoreResult();
explicit EditPhotoStoreResult(const std::string &payload);
~EditPhotoStoreResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
EditPhotosRequest();
~EditPhotosRequest();
long getTakenAt()const;
void setTakenAt(long takenAt);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getShareExpireTime()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
void setTitle(const std::string& title);
private:
long takenAt_;
std::string libraryId_;
long shareExpireTime_;
std::vector<long> photoId_;

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT EditPhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
EditPhotosResult();
explicit EditPhotosResult(const std::string &payload);
~EditPhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchAlbumTagPhotosRequest : public RpcServiceRequest
{
public:
FetchAlbumTagPhotosRequest();
~FetchAlbumTagPhotosRequest();
int getSize()const;
void setSize(int size);
long getTagId()const;
void setTagId(long tagId);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getAlbumId()const;
void setAlbumId(long albumId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
int getPage()const;
void setPage(int page);
private:
int size_;
long tagId_;
std::string libraryId_;
long albumId_;
std::string storeName_;
int page_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchAlbumTagPhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
std::string photoIdStr;
long mtime;
};
FetchAlbumTagPhotosResult();
explicit FetchAlbumTagPhotosResult(const std::string &payload);
~FetchAlbumTagPhotosResult();
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchLibrariesRequest : public RpcServiceRequest
{
public:
FetchLibrariesRequest();
~FetchLibrariesRequest();
int getSize()const;
void setSize(int size);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
int getPage()const;
void setPage(int page);
private:
int size_;
std::string storeName_;
int page_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_CLOUDPHOTO_MODEL_FETCHLIBRARIESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchLibrariesResult : public ServiceResult
{
public:
struct Library
{
std::string libraryId;
long ctime;
};
FetchLibrariesResult();
explicit FetchLibrariesResult(const std::string &payload);
~FetchLibrariesResult();
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Library> getLibraries()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string action_;
std::string message_;
std::vector<Library> libraries_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchMomentPhotosRequest : public RpcServiceRequest
{
public:
FetchMomentPhotosRequest();
~FetchMomentPhotosRequest();
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
int getPage()const;
void setPage(int page);
long getMomentId()const;
void setMomentId(long momentId);
std::string getOrder()const;
void setOrder(const std::string& order);
private:
int size_;
std::string libraryId_;
std::string orderBy_;
std::string storeName_;
int page_;
long momentId_;
std::string order_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchMomentPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
FetchMomentPhotosResult();
explicit FetchMomentPhotosResult(const std::string &payload);
~FetchMomentPhotosResult();
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchPhotosRequest : public RpcServiceRequest
{
public:
FetchPhotosRequest();
~FetchPhotosRequest();
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
int getPage()const;
void setPage(int page);
std::string getOrder()const;
void setOrder(const std::string& order);
private:
int size_;
std::string libraryId_;
std::string orderBy_;
std::string storeName_;
std::string state_;
int page_;
std::string order_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
FetchPhotosResult();
explicit FetchPhotosResult(const std::string &payload);
~FetchPhotosResult();
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_GETALBUMSBYNAMESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETALBUMSBYNAMESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetAlbumsByNamesRequest : public RpcServiceRequest
{
public:
GetAlbumsByNamesRequest();
~GetAlbumsByNamesRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<std::string> getName()const;
void setName(const std::vector<std::string>& name);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::vector<std::string> name_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETALBUMSBYNAMESREQUEST_H_

View File

@@ -0,0 +1,83 @@
/*
* 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_CLOUDPHOTO_MODEL_GETALBUMSBYNAMESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETALBUMSBYNAMESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetAlbumsByNamesResult : public ServiceResult
{
public:
struct Album
{
struct Cover
{
bool isVideo;
std::string idStr;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
Cover cover;
std::string idStr;
std::string state;
long ctime;
long photosCount;
long mtime;
long id;
std::string name;
};
GetAlbumsByNamesResult();
explicit GetAlbumsByNamesResult(const std::string &payload);
~GetAlbumsByNamesResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Album> getAlbums()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::vector<Album> albums_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETALBUMSBYNAMESRESULT_H_

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
GetDownloadUrlResult();
explicit GetDownloadUrlResult(const std::string &payload);
~GetDownloadUrlResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getDownloadUrl()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getDownloadUrl()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string downloadUrl_;
std::string action_;
std::string message_;
std::string code_;
std::string downloadUrl_;
};
}

View File

@@ -32,30 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetDownloadUrlsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string code;
std::string downloadUrl;
};
struct Result
{
long photoId;
std::string message;
std::string photoIdStr;
std::string code;
std::string downloadUrl;
};
GetDownloadUrlsResult();
explicit GetDownloadUrlsResult(const std::string &payload);
~GetDownloadUrlsResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_GETEVENTREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETEVENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetEventRequest : public RpcServiceRequest
{
public:
GetEventRequest();
~GetEventRequest();
long getEventId()const;
void setEventId(long eventId);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
long eventId_;
std::string libraryId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETEVENTREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_GETEVENTRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETEVENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetEventResult : public ServiceResult
{
public:
struct Event
{
std::string idStr1;
std::string watermarkPhotoId;
std::string idStr;
std::string title;
long mtime;
std::string bannerPhotoId;
std::string splashPhotoId;
long endAt;
std::string libraryId;
std::string weixinTitle;
std::string state;
long startAt;
long ctime;
long viewsCount;
long id;
std::string identity;
};
GetEventResult();
explicit GetEventResult(const std::string &payload);
~GetEventResult();
std::string getAction()const;
std::string getMessage()const;
Event getEvent()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
Event event_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETEVENTRESULT_H_

View File

@@ -32,30 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetFramedPhotoUrlsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string code;
std::string framedPhotoUrl;
};
struct Result
{
long photoId;
std::string message;
std::string photoIdStr;
std::string code;
std::string framedPhotoUrl;
};
GetFramedPhotoUrlsResult();
explicit GetFramedPhotoUrlsResult(const std::string &payload);
~GetFramedPhotoUrlsResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,44 +32,45 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetLibraryResult : public ServiceResult
{
public:
struct Library
{
struct Quota
{
long activeSize;
long totalQuota;
int facesCount;
int photosCount;
long totalTrashQuota;
long inactiveSize;
long usedQuota;
int videosCount;
};
struct AutoCleanConfig
{
int autoCleanDays;
bool autoCleanEnabled;
};
std::vector<Quota> quota;
std::vector<AutoCleanConfig> autoCleanConfig;
};
struct Library
{
struct Quota
{
long activeSize;
long totalQuota;
int facesCount;
int photosCount;
long totalTrashQuota;
long inactiveSize;
long usedQuota;
int videosCount;
};
struct AutoCleanConfig
{
int autoCleanDays;
bool autoCleanEnabled;
};
Quota quota;
long ctime;
AutoCleanConfig autoCleanConfig;
};
GetLibraryResult();
explicit GetLibraryResult(const std::string &payload);
~GetLibraryResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Library> getLibrary()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
Library getLibrary()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Library> library_;
std::string code_;
std::string action_;
std::string message_;
Library library_;
std::string code_;
};
}

View File

@@ -32,43 +32,44 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotoStoreResult : public ServiceResult
{
public:
struct PhotoStore
{
struct Bucket
{
std::string state;
std::string region;
std::string acl;
std::string name;
};
int autoCleanDays;
long defaultQuota;
long ctime;
long mtime;
long defaultTrashQuota;
long id;
bool autoCleanEnabled;
std::vector<Bucket> buckets;
std::string name;
std::string remark;
};
struct PhotoStore
{
struct Bucket
{
std::string state;
std::string region;
std::string acl;
std::string name;
};
int autoCleanDays;
long defaultQuota;
std::string idStr;
long ctime;
long mtime;
long defaultTrashQuota;
long id;
bool autoCleanEnabled;
std::vector<Bucket> buckets;
std::string name;
std::string remark;
};
GetPhotoStoreResult();
explicit GetPhotoStoreResult(const std::string &payload);
~GetPhotoStoreResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<PhotoStore> getPhotoStore()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
PhotoStore getPhotoStore()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<PhotoStore> photoStore_;
std::string code_;
std::string action_;
std::string message_;
PhotoStore photoStore_;
std::string code_;
};
}

View File

@@ -32,41 +32,42 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotosByMd5sResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
GetPhotosByMd5sResult();
explicit GetPhotosByMd5sResult(const std::string &payload);
~GetPhotosByMd5sResult();
std::vector<Photo> getPhotos()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Photo> getPhotos()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,43 +32,44 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string remark;
long like;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
long like;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
GetPhotosResult();
explicit GetPhotosResult(const std::string &payload);
~GetPhotosResult();
std::vector<Photo> getPhotos()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Photo> getPhotos()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,30 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPrivateAccessUrlsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string accessUrl;
std::string code;
};
struct Result
{
long photoId;
std::string message;
std::string photoIdStr;
std::string accessUrl;
std::string code;
};
GetPrivateAccessUrlsResult();
explicit GetPrivateAccessUrlsResult(const std::string &payload);
~GetPrivateAccessUrlsResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,30 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPublicAccessUrlsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string accessUrl;
std::string code;
};
struct Result
{
long photoId;
std::string message;
std::string photoIdStr;
std::string accessUrl;
std::string code;
};
GetPublicAccessUrlsResult();
explicit GetPublicAccessUrlsResult(const std::string &payload);
~GetPublicAccessUrlsResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,31 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetQuotaResult : public ServiceResult
{
public:
struct Quota
{
long totalQuota;
int facesCount;
int photosCount;
long usedQuota;
int videosCount;
};
struct Quota
{
long totalQuota;
int facesCount;
int photosCount;
long usedQuota;
int videosCount;
};
GetQuotaResult();
explicit GetQuotaResult(const std::string &payload);
~GetQuotaResult();
std::string getAction()const;
std::vector<Quota> getQuota()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
Quota getQuota()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::vector<Quota> quota_;
std::string message_;
std::string code_;
std::string action_;
Quota quota_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,43 +32,44 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetSimilarPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string remark;
long like;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
long like;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
GetSimilarPhotosResult();
explicit GetSimilarPhotosResult(const std::string &payload);
~GetSimilarPhotosResult();
std::vector<Photo> getPhotos()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Photo> getPhotos()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
GetThumbnailResult();
explicit GetThumbnailResult(const std::string &payload);
~GetThumbnailResult();
std::string getAction()const;
std::string getMessage()const;
std::string getThumbnailUrl()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getThumbnailUrl()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string thumbnailUrl_;
std::string code_;
std::string action_;
std::string message_;
std::string thumbnailUrl_;
std::string code_;
};
}

View File

@@ -32,30 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetThumbnailsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string thumbnailUrl;
std::string code;
};
struct Result
{
long photoId;
std::string message;
std::string thumbnailUrl;
std::string photoIdStr;
std::string code;
};
GetThumbnailsResult();
explicit GetThumbnailsResult(const std::string &payload);
~GetThumbnailsResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
GetVideoCoverResult();
explicit GetVideoCoverResult(const std::string &payload);
~GetVideoCoverResult();
std::string getAction()const;
std::string getMessage()const;
std::string getVideoCoverUrl()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getVideoCoverUrl()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string videoCoverUrl_;
std::string code_;
std::string action_;
std::string message_;
std::string videoCoverUrl_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT InactivatePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
InactivatePhotosResult();
explicit InactivatePhotosResult(const std::string &payload);
~InactivatePhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
LikePhotoResult();
explicit LikePhotoResult(const std::string &payload);
~LikePhotoResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,32 +32,34 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListAlbumPhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
};
struct Result
{
long photoId;
std::string state;
std::string photoIdStr;
long mtime;
};
ListAlbumPhotosResult();
explicit ListAlbumPhotosResult(const std::string &payload);
~ListAlbumPhotosResult();
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,51 +32,54 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListAlbumsResult : public ServiceResult
{
public:
struct Album
{
struct Cover
{
bool isVideo;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
std::vector<Cover> cover;
std::string state;
long ctime;
long photosCount;
long mtime;
long id;
std::string name;
};
struct Album
{
struct Cover
{
bool isVideo;
std::string idStr;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
Cover cover;
std::string idStr;
std::string state;
long ctime;
long photosCount;
long mtime;
long id;
std::string name;
std::string remark;
};
ListAlbumsResult();
explicit ListAlbumsResult(const std::string &payload);
~ListAlbumsResult();
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Album> getAlbums()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Album> getAlbums()const;
protected:
void parse(const std::string &payload);
private:
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Album> albums_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Album> albums_;
};
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTEVENTSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListEventsRequest : public RpcServiceRequest
{
public:
ListEventsRequest();
~ListEventsRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
int getSize()const;
void setSize(int size);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
int size_;
std::string storeName_;
std::string state_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTEVENTSREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* 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_CLOUDPHOTO_MODEL_LISTEVENTSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTEVENTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListEventsResult : public ServiceResult
{
public:
struct Event
{
std::string idStr1;
std::string watermarkPhotoId;
std::string idStr;
std::string title;
long mtime;
std::string bannerPhotoId;
std::string splashPhotoId;
long endAt;
std::string libraryId;
std::string weixinTitle;
std::string state;
long startAt;
long ctime;
long viewsCount;
long id;
std::string identity;
};
ListEventsResult();
explicit ListEventsResult(const std::string &payload);
~ListEventsResult();
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Event> getEvents()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Event> events_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTEVENTSRESULT_H_

View File

@@ -32,32 +32,34 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListFacePhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
};
struct Result
{
long photoId;
std::string state;
std::string photoIdStr;
long mtime;
};
ListFacePhotosResult();
explicit ListFacePhotosResult(const std::string &payload);
~ListFacePhotosResult();
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,53 +32,55 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListFacesResult : public ServiceResult
{
public:
struct Face
{
struct Cover
{
bool isVideo;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
bool isMe;
std::vector<Cover> cover;
std::string state;
long ctime;
int photosCount;
long mtime;
long id;
std::vector<std::string> axis;
std::string name;
};
struct Face
{
struct Cover
{
bool isVideo;
std::string idStr;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
bool isMe;
Cover cover;
std::string idStr;
std::string state;
long ctime;
int photosCount;
long mtime;
long id;
std::vector<std::string> axis;
std::string name;
};
ListFacesResult();
explicit ListFacesResult(const std::string &payload);
~ListFacesResult();
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Face> getFaces()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Face> getFaces()const;
protected:
void parse(const std::string &payload);
private:
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Face> faces_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Face> faces_;
};
}

View File

@@ -32,32 +32,33 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListMomentPhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
};
struct Result
{
long photoId;
std::string state;
std::string photoIdStr;
};
ListMomentPhotosResult();
explicit ListMomentPhotosResult(const std::string &payload);
~ListMomentPhotosResult();
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,37 +32,38 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListMomentsResult : public ServiceResult
{
public:
struct Moment
{
std::string state;
long ctime;
int photosCount;
long mtime;
long id;
long takenAt;
std::string locationName;
};
struct Moment
{
std::string idStr;
std::string state;
long ctime;
int photosCount;
long mtime;
long id;
long takenAt;
std::string locationName;
};
ListMomentsResult();
explicit ListMomentsResult(const std::string &payload);
~ListMomentsResult();
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Moment> getMoments()const;
std::string getCode()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Moment> getMoments()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Moment> moments_;
std::string code_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Moment> moments_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoFacesResult : public ServiceResult
{
public:
struct Face
{
long faceId;
std::string faceName;
std::vector<std::string> axis;
};
struct Face
{
long faceId;
std::string faceIdStr;
std::string faceName;
std::vector<std::string> axis;
};
ListPhotoFacesResult();
explicit ListPhotoFacesResult(const std::string &payload);
~ListPhotoFacesResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Face> getFaces()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Face> getFaces()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::vector<Face> faces_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Face> faces_;
};
}

View File

@@ -32,41 +32,42 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoStoresResult : public ServiceResult
{
public:
struct PhotoStore
{
struct Bucket
{
std::string state;
std::string region;
std::string name;
};
int autoCleanDays;
long defaultQuota;
long ctime;
long mtime;
long id;
bool autoCleanEnabled;
std::vector<PhotoStore::Bucket> buckets;
std::string name;
std::string remark;
};
struct PhotoStore
{
struct Bucket
{
std::string state;
std::string region;
std::string name;
};
int autoCleanDays;
long defaultQuota;
std::string idStr;
long ctime;
long mtime;
long id;
bool autoCleanEnabled;
std::vector<PhotoStore::Bucket> buckets;
std::string name;
std::string remark;
};
ListPhotoStoresResult();
explicit ListPhotoStoresResult(const std::string &payload);
~ListPhotoStoresResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<PhotoStore> getPhotoStores()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<PhotoStore> getPhotoStores()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<PhotoStore> photoStores_;
std::string code_;
std::string action_;
std::string message_;
std::vector<PhotoStore> photoStores_;
std::string code_;
};
}

View File

@@ -32,30 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoTagsResult : public ServiceResult
{
public:
struct Tag
{
bool isSubTag;
std::string parentTag;
long id;
std::string name;
};
struct Tag
{
std::string idStr;
bool isSubTag;
std::string parentTag;
long id;
std::string name;
};
ListPhotoTagsResult();
explicit ListPhotoTagsResult(const std::string &payload);
~ListPhotoTagsResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Tag> getTags()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Tag> getTags()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::vector<Tag> tags_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Tag> tags_;
};
}

View File

@@ -32,46 +32,47 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
ListPhotosResult();
explicit ListPhotosResult(const std::string &payload);
~ListPhotosResult();
std::vector<Photo> getPhotos()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Photo> getPhotos()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Photo> photos_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,33 +32,33 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListRegisteredTagsResult : public ServiceResult
{
public:
struct RegisteredTag
{
struct TagValue
{
std::string lang;
std::string text;
};
std::string tagKey;
std::vector<RegisteredTag::TagValue> tagValues;
};
struct RegisteredTag
{
struct TagValue
{
std::string lang;
std::string text;
};
std::string tagKey;
std::vector<RegisteredTag::TagValue> tagValues;
};
ListRegisteredTagsResult();
explicit ListRegisteredTagsResult(const std::string &payload);
~ListRegisteredTagsResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<RegisteredTag> getRegisteredTags()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<RegisteredTag> getRegisteredTags()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<RegisteredTag> registeredTags_;
std::string code_;
std::string action_;
std::string message_;
std::vector<RegisteredTag> registeredTags_;
std::string code_;
};
}

View File

@@ -32,32 +32,33 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTagPhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
};
struct Result
{
long photoId;
std::string state;
std::string photoIdStr;
};
ListTagPhotosResult();
explicit ListTagPhotosResult(const std::string &payload);
~ListTagPhotosResult();
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getNextCursor()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string nextCursor_;
int totalCount_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,45 +32,47 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTagsResult : public ServiceResult
{
public:
struct Tag
{
struct Cover
{
bool isVideo;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
std::vector<Cover> cover;
bool isSubTag;
std::string parentTag;
long id;
std::string name;
};
struct Tag
{
struct Cover
{
bool isVideo;
std::string idStr;
std::string state;
long ctime;
std::string title;
long mtime;
std::string fileId;
long height;
long id;
long width;
std::string md5;
std::string remark;
};
Cover cover;
std::string idStr;
bool isSubTag;
std::string parentTag;
long id;
std::string name;
};
ListTagsResult();
explicit ListTagsResult(const std::string &payload);
~ListTagsResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Tag> getTags()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Tag> getTags()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::vector<Tag> tags_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Tag> tags_;
};
}

View File

@@ -32,44 +32,45 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTimeLinePhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string remark;
long like;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
long like;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
ListTimeLinePhotosResult();
explicit ListTimeLinePhotosResult(const std::string &payload);
~ListTimeLinePhotosResult();
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,52 +32,53 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTimeLinesResult : public ServiceResult
{
public:
struct TimeLine
{
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string remark;
long like;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
std::vector<TimeLine::Photo> photos;
int totalCount;
long endTime;
long startTime;
int photosCount;
};
struct TimeLine
{
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
long like;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
std::vector<TimeLine::Photo> photos;
int totalCount;
long endTime;
long startTime;
int photosCount;
};
ListTimeLinesResult();
explicit ListTimeLinesResult(const std::string &payload);
~ListTimeLinesResult();
std::vector<TimeLine> getTimeLines()const;
int getNextCursor()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<TimeLine> getTimeLines()const;
int getNextCursor()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TimeLine> timeLines_;
int nextCursor_;
std::string action_;
std::string message_;
std::string code_;
std::vector<TimeLine> timeLines_;
int nextCursor_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MergeFacesResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
MergeFacesResult();
explicit MergeFacesResult(const std::string &payload);
~MergeFacesResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MoveAlbumPhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
MoveAlbumPhotosResult();
explicit MoveAlbumPhotosResult(const std::string &payload);
~MoveAlbumPhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MoveFacePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
MoveFacePhotosResult();
explicit MoveFacePhotosResult(const std::string &payload);
~MoveFacePhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ReactivatePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
ReactivatePhotosResult();
explicit ReactivatePhotosResult(const std::string &payload);
~ReactivatePhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,41 +32,42 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT RegisterPhotoResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
RegisterPhotoResult();
explicit RegisterPhotoResult(const std::string &payload);
~RegisterPhotoResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Photo> getPhoto()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
Photo getPhoto()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Photo> photo_;
std::string code_;
std::string action_;
std::string message_;
Photo photo_;
std::string code_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
RegisterTagResult();
explicit RegisterTagResult(const std::string &payload);
~RegisterTagResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT RemoveAlbumPhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
RemoveAlbumPhotosResult();
explicit RemoveAlbumPhotosResult(const std::string &payload);
~RemoveAlbumPhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -32,29 +32,30 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT RemoveFacePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
struct Result
{
std::string message;
std::string idStr;
long id;
std::string code;
};
RemoveFacePhotosResult();
explicit RemoveFacePhotosResult(const std::string &payload);
~RemoveFacePhotosResult();
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Result> getResults()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
RenameAlbumResult();
explicit RenameAlbumResult(const std::string &payload);
~RenameAlbumResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
RenameFaceResult();
explicit RenameFaceResult(const std::string &payload);
~RenameFaceResult();
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string action_;
std::string message_;
std::string code_;
};
}

View File

@@ -32,42 +32,43 @@ namespace AlibabaCloud
class ALIBABACLOUD_CLOUDPHOTO_EXPORT SearchPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
long size;
std::string title;
long mtime;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string state;
long ctime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
SearchPhotosResult();
explicit SearchPhotosResult(const std::string &payload);
~SearchPhotosResult();
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}

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