Compare commits
23 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d63881daa0 | ||
|
|
06552e53d8 | ||
|
|
d29cf439dd | ||
|
|
4782139aab | ||
|
|
07e2b81c13 | ||
|
|
1911aed209 | ||
|
|
af057eb153 | ||
|
|
76c5ad81b7 | ||
|
|
339cf28edd | ||
|
|
6ecfd8332a | ||
|
|
1c441b53f5 | ||
|
|
482abf2f25 | ||
|
|
8968d04f56 | ||
|
|
a28f39fd8c | ||
|
|
ff129e3660 | ||
|
|
3ea4f50703 | ||
|
|
7f8b47c92f | ||
|
|
4fa1912a54 | ||
|
|
c3794202f0 | ||
|
|
442f784284 | ||
|
|
9c389f5683 | ||
|
|
a1ba8b4381 | ||
|
|
74bebe2a77 |
9
.idea/aliyun-openapi-cpp-sdk.iml
generated
Normal file
9
.idea/aliyun-openapi-cpp-sdk.iml
generated
Normal 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
8
.idea/modules.xml
generated
Normal 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
6
.idea/vcs.xml
generated
Normal 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
316
.idea/workspace.xml
generated
Normal 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	" 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>
|
||||
82
CHANGELOG
82
CHANGELOG
@@ -1,3 +1,85 @@
|
||||
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 interface,Support add、modify、delete、query dcdn domain.
|
||||
2, Add dcdn config interface,Support set、delete、query domain config.
|
||||
|
||||
2018-04-28 Version: 1.7.2
|
||||
1, Add dcdn domain interface,Support add、modify、delete、query dcdn domain.
|
||||
2, Add dcdn config interface,Support 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
|
||||
|
||||
|
||||
@@ -65,4 +65,9 @@ add_subdirectory(ehpc)
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(ccc)
|
||||
add_subdirectory(teslamaxcompute)
|
||||
add_subdirectory(push)
|
||||
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
199
README.md
Normal file → Executable 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
118
README_zh.md
Normal 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 许可证)。
|
||||
@@ -45,6 +45,8 @@ set(cloudphoto_public_header_model
|
||||
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
|
||||
@@ -73,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
|
||||
@@ -184,6 +188,8 @@ set(cloudphoto_src
|
||||
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
|
||||
@@ -212,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
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
#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"
|
||||
@@ -74,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"
|
||||
@@ -203,6 +207,9 @@ namespace AlibabaCloud
|
||||
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::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;
|
||||
@@ -245,6 +252,9 @@ namespace AlibabaCloud
|
||||
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::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;
|
||||
@@ -412,6 +422,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
@@ -454,6 +467,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -32,6 +32,11 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchLibrariesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Library
|
||||
{
|
||||
std::string libraryId;
|
||||
long ctime;
|
||||
};
|
||||
|
||||
|
||||
FetchLibrariesResult();
|
||||
@@ -40,7 +45,7 @@ namespace AlibabaCloud
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<std::string> getLibrary()const;
|
||||
std::vector<Library> getLibraries()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
@@ -49,7 +54,7 @@ namespace AlibabaCloud
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<std::string> library_;
|
||||
std::vector<Library> libraries_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -51,6 +51,7 @@ namespace AlibabaCloud
|
||||
bool autoCleanEnabled;
|
||||
};
|
||||
Quota quota;
|
||||
long ctime;
|
||||
AutoCleanConfig autoCleanConfig;
|
||||
};
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ namespace AlibabaCloud
|
||||
long mtime;
|
||||
long id;
|
||||
std::string name;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -483,6 +483,42 @@ CloudPhotoClient::ListTimeLinePhotosOutcomeCallable CloudPhotoClient::listTimeLi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudPhotoClient::FetchMomentPhotosOutcome CloudPhotoClient::fetchMomentPhotos(const FetchMomentPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FetchMomentPhotosOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FetchMomentPhotosOutcome(FetchMomentPhotosResult(outcome.result()));
|
||||
else
|
||||
return FetchMomentPhotosOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudPhotoClient::fetchMomentPhotosAsync(const FetchMomentPhotosRequest& request, const FetchMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, fetchMomentPhotos(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudPhotoClient::FetchMomentPhotosOutcomeCallable CloudPhotoClient::fetchMomentPhotosCallable(const FetchMomentPhotosRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FetchMomentPhotosOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->fetchMomentPhotos(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudPhotoClient::DeletePhotosOutcome CloudPhotoClient::deletePhotos(const DeletePhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1023,42 @@ CloudPhotoClient::ListAlbumsOutcomeCallable CloudPhotoClient::listAlbumsCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudPhotoClient::FetchPhotosOutcome CloudPhotoClient::fetchPhotos(const FetchPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FetchPhotosOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FetchPhotosOutcome(FetchPhotosResult(outcome.result()));
|
||||
else
|
||||
return FetchPhotosOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudPhotoClient::fetchPhotosAsync(const FetchPhotosRequest& request, const FetchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, fetchPhotos(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudPhotoClient::FetchPhotosOutcomeCallable CloudPhotoClient::fetchPhotosCallable(const FetchPhotosRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FetchPhotosOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->fetchPhotos(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudPhotoClient::ListPhotoFacesOutcome CloudPhotoClient::listPhotoFaces(const ListPhotoFacesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -25,6 +25,17 @@ EditPhotosRequest::EditPhotosRequest() :
|
||||
EditPhotosRequest::~EditPhotosRequest()
|
||||
{}
|
||||
|
||||
long EditPhotosRequest::getTakenAt()const
|
||||
{
|
||||
return takenAt_;
|
||||
}
|
||||
|
||||
void EditPhotosRequest::setTakenAt(long takenAt)
|
||||
{
|
||||
takenAt_ = takenAt;
|
||||
setParameter("TakenAt", std::to_string(takenAt));
|
||||
}
|
||||
|
||||
std::string EditPhotosRequest::getLibraryId()const
|
||||
{
|
||||
return libraryId_;
|
||||
|
||||
@@ -40,9 +40,16 @@ void FetchLibrariesResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLibrary = value["Library"]["Library"];
|
||||
for (const auto &item : allLibrary)
|
||||
library_.push_back(item.asString());
|
||||
auto allLibraries = value["Libraries"]["Library"];
|
||||
for (auto value : allLibraries)
|
||||
{
|
||||
Library librariesObject;
|
||||
if(!value["LibraryId"].isNull())
|
||||
librariesObject.libraryId = value["LibraryId"].asString();
|
||||
if(!value["Ctime"].isNull())
|
||||
librariesObject.ctime = std::stol(value["Ctime"].asString());
|
||||
libraries_.push_back(librariesObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
@@ -69,9 +76,9 @@ std::string FetchLibrariesResult::getMessage()const
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<std::string> FetchLibrariesResult::getLibrary()const
|
||||
std::vector<FetchLibrariesResult::Library> FetchLibrariesResult::getLibraries()const
|
||||
{
|
||||
return library_;
|
||||
return libraries_;
|
||||
}
|
||||
|
||||
std::string FetchLibrariesResult::getCode()const
|
||||
|
||||
104
cloudphoto/src/model/FetchMomentPhotosRequest.cc
Normal file
104
cloudphoto/src/model/FetchMomentPhotosRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudphoto/model/FetchMomentPhotosRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudPhoto::Model::FetchMomentPhotosRequest;
|
||||
|
||||
FetchMomentPhotosRequest::FetchMomentPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchMomentPhotos")
|
||||
{}
|
||||
|
||||
FetchMomentPhotosRequest::~FetchMomentPhotosRequest()
|
||||
{}
|
||||
|
||||
int FetchMomentPhotosRequest::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
void FetchMomentPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosRequest::getLibraryId()const
|
||||
{
|
||||
return libraryId_;
|
||||
}
|
||||
|
||||
void FetchMomentPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void FetchMomentPhotosRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosRequest::getStoreName()const
|
||||
{
|
||||
return storeName_;
|
||||
}
|
||||
|
||||
void FetchMomentPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int FetchMomentPhotosRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void FetchMomentPhotosRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
long FetchMomentPhotosRequest::getMomentId()const
|
||||
{
|
||||
return momentId_;
|
||||
}
|
||||
|
||||
void FetchMomentPhotosRequest::setMomentId(long momentId)
|
||||
{
|
||||
momentId_ = momentId;
|
||||
setParameter("MomentId", std::to_string(momentId));
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void FetchMomentPhotosRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
118
cloudphoto/src/model/FetchMomentPhotosResult.cc
Normal file
118
cloudphoto/src/model/FetchMomentPhotosResult.cc
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudphoto/model/FetchMomentPhotosResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudPhoto;
|
||||
using namespace AlibabaCloud::CloudPhoto::Model;
|
||||
|
||||
FetchMomentPhotosResult::FetchMomentPhotosResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FetchMomentPhotosResult::FetchMomentPhotosResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FetchMomentPhotosResult::~FetchMomentPhotosResult()
|
||||
{}
|
||||
|
||||
void FetchMomentPhotosResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPhotos = value["Photos"]["Photo"];
|
||||
for (auto value : allPhotos)
|
||||
{
|
||||
Photo photosObject;
|
||||
if(!value["Id"].isNull())
|
||||
photosObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
photosObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
photosObject.title = value["Title"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
photosObject.fileId = value["FileId"].asString();
|
||||
if(!value["Location"].isNull())
|
||||
photosObject.location = value["Location"].asString();
|
||||
if(!value["State"].isNull())
|
||||
photosObject.state = value["State"].asString();
|
||||
if(!value["Md5"].isNull())
|
||||
photosObject.md5 = value["Md5"].asString();
|
||||
if(!value["IsVideo"].isNull())
|
||||
photosObject.isVideo = value["IsVideo"].asString() == "true";
|
||||
if(!value["Remark"].isNull())
|
||||
photosObject.remark = value["Remark"].asString();
|
||||
if(!value["Size"].isNull())
|
||||
photosObject.size = std::stol(value["Size"].asString());
|
||||
if(!value["Width"].isNull())
|
||||
photosObject.width = std::stol(value["Width"].asString());
|
||||
if(!value["Height"].isNull())
|
||||
photosObject.height = std::stol(value["Height"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
photosObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
photosObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["TakenAt"].isNull())
|
||||
photosObject.takenAt = std::stol(value["TakenAt"].asString());
|
||||
if(!value["InactiveTime"].isNull())
|
||||
photosObject.inactiveTime = std::stol(value["InactiveTime"].asString());
|
||||
if(!value["ShareExpireTime"].isNull())
|
||||
photosObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
|
||||
photos_.push_back(photosObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<FetchMomentPhotosResult::Photo> FetchMomentPhotosResult::getPhotos()const
|
||||
{
|
||||
return photos_;
|
||||
}
|
||||
|
||||
int FetchMomentPhotosResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
104
cloudphoto/src/model/FetchPhotosRequest.cc
Normal file
104
cloudphoto/src/model/FetchPhotosRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudphoto/model/FetchPhotosRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudPhoto::Model::FetchPhotosRequest;
|
||||
|
||||
FetchPhotosRequest::FetchPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchPhotos")
|
||||
{}
|
||||
|
||||
FetchPhotosRequest::~FetchPhotosRequest()
|
||||
{}
|
||||
|
||||
int FetchPhotosRequest::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
void FetchPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getLibraryId()const
|
||||
{
|
||||
return libraryId_;
|
||||
}
|
||||
|
||||
void FetchPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void FetchPhotosRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getStoreName()const
|
||||
{
|
||||
return storeName_;
|
||||
}
|
||||
|
||||
void FetchPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void FetchPhotosRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
int FetchPhotosRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void FetchPhotosRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void FetchPhotosRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
118
cloudphoto/src/model/FetchPhotosResult.cc
Normal file
118
cloudphoto/src/model/FetchPhotosResult.cc
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudphoto/model/FetchPhotosResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudPhoto;
|
||||
using namespace AlibabaCloud::CloudPhoto::Model;
|
||||
|
||||
FetchPhotosResult::FetchPhotosResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FetchPhotosResult::FetchPhotosResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FetchPhotosResult::~FetchPhotosResult()
|
||||
{}
|
||||
|
||||
void FetchPhotosResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPhotos = value["Photos"]["Photo"];
|
||||
for (auto value : allPhotos)
|
||||
{
|
||||
Photo photosObject;
|
||||
if(!value["Id"].isNull())
|
||||
photosObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
photosObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
photosObject.title = value["Title"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
photosObject.fileId = value["FileId"].asString();
|
||||
if(!value["Location"].isNull())
|
||||
photosObject.location = value["Location"].asString();
|
||||
if(!value["State"].isNull())
|
||||
photosObject.state = value["State"].asString();
|
||||
if(!value["Md5"].isNull())
|
||||
photosObject.md5 = value["Md5"].asString();
|
||||
if(!value["IsVideo"].isNull())
|
||||
photosObject.isVideo = value["IsVideo"].asString() == "true";
|
||||
if(!value["Remark"].isNull())
|
||||
photosObject.remark = value["Remark"].asString();
|
||||
if(!value["Size"].isNull())
|
||||
photosObject.size = std::stol(value["Size"].asString());
|
||||
if(!value["Width"].isNull())
|
||||
photosObject.width = std::stol(value["Width"].asString());
|
||||
if(!value["Height"].isNull())
|
||||
photosObject.height = std::stol(value["Height"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
photosObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
photosObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["TakenAt"].isNull())
|
||||
photosObject.takenAt = std::stol(value["TakenAt"].asString());
|
||||
if(!value["InactiveTime"].isNull())
|
||||
photosObject.inactiveTime = std::stol(value["InactiveTime"].asString());
|
||||
if(!value["ShareExpireTime"].isNull())
|
||||
photosObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
|
||||
photos_.push_back(photosObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<FetchPhotosResult::Photo> FetchPhotosResult::getPhotos()const
|
||||
{
|
||||
return photos_;
|
||||
}
|
||||
|
||||
int FetchPhotosResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string FetchPhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string FetchPhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string FetchPhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -41,6 +41,8 @@ void GetLibraryResult::parse(const std::string &payload)
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto libraryNode = value["Library"];
|
||||
if(!libraryNode["Ctime"].isNull())
|
||||
library_.ctime = std::stol(libraryNode["Ctime"].asString());
|
||||
auto quotaNode = libraryNode["Quota"];
|
||||
if(!quotaNode["TotalQuota"].isNull())
|
||||
library_.quota.totalQuota = std::stol(quotaNode["TotalQuota"].asString());
|
||||
|
||||
@@ -52,6 +52,8 @@ void ListAlbumsResult::parse(const std::string &payload)
|
||||
albumsObject.name = value["Name"].asString();
|
||||
if(!value["State"].isNull())
|
||||
albumsObject.state = value["State"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
albumsObject.remark = value["Remark"].asString();
|
||||
if(!value["PhotosCount"].isNull())
|
||||
albumsObject.photosCount = std::stol(value["PhotosCount"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
|
||||
238
csb/CMakeLists.txt
Normal file
238
csb/CMakeLists.txt
Normal file
@@ -0,0 +1,238 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(csb_public_header
|
||||
include/alibabacloud/csb/CSBClient.h
|
||||
include/alibabacloud/csb/CSBExport.h )
|
||||
|
||||
set(csb_public_header_model
|
||||
include/alibabacloud/csb/model/DeleteServiceRequest.h
|
||||
include/alibabacloud/csb/model/DeleteServiceResult.h
|
||||
include/alibabacloud/csb/model/FindServiceListRequest.h
|
||||
include/alibabacloud/csb/model/FindServiceListResult.h
|
||||
include/alibabacloud/csb/model/PublishUnionCasServiceRequest.h
|
||||
include/alibabacloud/csb/model/PublishUnionCasServiceResult.h
|
||||
include/alibabacloud/csb/model/UpdateServiceListStatusRequest.h
|
||||
include/alibabacloud/csb/model/UpdateServiceListStatusResult.h
|
||||
include/alibabacloud/csb/model/CreateOrderRequest.h
|
||||
include/alibabacloud/csb/model/CreateOrderResult.h
|
||||
include/alibabacloud/csb/model/CreateProjectRequest.h
|
||||
include/alibabacloud/csb/model/CreateProjectResult.h
|
||||
include/alibabacloud/csb/model/DeleteServiceListRequest.h
|
||||
include/alibabacloud/csb/model/DeleteServiceListResult.h
|
||||
include/alibabacloud/csb/model/CommitSuccessedServicesRequest.h
|
||||
include/alibabacloud/csb/model/CommitSuccessedServicesResult.h
|
||||
include/alibabacloud/csb/model/FindOrderedListRequest.h
|
||||
include/alibabacloud/csb/model/FindOrderedListResult.h
|
||||
include/alibabacloud/csb/model/DeleteOrderListRequest.h
|
||||
include/alibabacloud/csb/model/DeleteOrderListResult.h
|
||||
include/alibabacloud/csb/model/CreateCredentialsRequest.h
|
||||
include/alibabacloud/csb/model/CreateCredentialsResult.h
|
||||
include/alibabacloud/csb/model/DeleteCasServiceRequest.h
|
||||
include/alibabacloud/csb/model/DeleteCasServiceResult.h
|
||||
include/alibabacloud/csb/model/DeleteProjectListRequest.h
|
||||
include/alibabacloud/csb/model/DeleteProjectListResult.h
|
||||
include/alibabacloud/csb/model/FindInstanceListRequest.h
|
||||
include/alibabacloud/csb/model/FindInstanceListResult.h
|
||||
include/alibabacloud/csb/model/PublishCasServiceRequest.h
|
||||
include/alibabacloud/csb/model/PublishCasServiceResult.h
|
||||
include/alibabacloud/csb/model/UpdateProjectListStatusRequest.h
|
||||
include/alibabacloud/csb/model/UpdateProjectListStatusResult.h
|
||||
include/alibabacloud/csb/model/FindProjectsNameListRequest.h
|
||||
include/alibabacloud/csb/model/FindProjectsNameListResult.h
|
||||
include/alibabacloud/csb/model/ReplaceCredentialRequest.h
|
||||
include/alibabacloud/csb/model/ReplaceCredentialResult.h
|
||||
include/alibabacloud/csb/model/GetProjectRequest.h
|
||||
include/alibabacloud/csb/model/GetProjectResult.h
|
||||
include/alibabacloud/csb/model/DeleteUnionCasServiceRequest.h
|
||||
include/alibabacloud/csb/model/DeleteUnionCasServiceResult.h
|
||||
include/alibabacloud/csb/model/CheckServiceExistRequest.h
|
||||
include/alibabacloud/csb/model/CheckServiceExistResult.h
|
||||
include/alibabacloud/csb/model/GetInstanceRequest.h
|
||||
include/alibabacloud/csb/model/GetInstanceResult.h
|
||||
include/alibabacloud/csb/model/RenewCredentialsRequest.h
|
||||
include/alibabacloud/csb/model/RenewCredentialsResult.h
|
||||
include/alibabacloud/csb/model/GetOrderRequest.h
|
||||
include/alibabacloud/csb/model/GetOrderResult.h
|
||||
include/alibabacloud/csb/model/UpdateOrderListRequest.h
|
||||
include/alibabacloud/csb/model/UpdateOrderListResult.h
|
||||
include/alibabacloud/csb/model/DeleteCredentialsListRequest.h
|
||||
include/alibabacloud/csb/model/DeleteCredentialsListResult.h
|
||||
include/alibabacloud/csb/model/CreateServiceRequest.h
|
||||
include/alibabacloud/csb/model/CreateServiceResult.h
|
||||
include/alibabacloud/csb/model/FindCredentialsListRequest.h
|
||||
include/alibabacloud/csb/model/FindCredentialsListResult.h
|
||||
include/alibabacloud/csb/model/ApproveOrderListRequest.h
|
||||
include/alibabacloud/csb/model/ApproveOrderListResult.h
|
||||
include/alibabacloud/csb/model/UpdateServiceRequest.h
|
||||
include/alibabacloud/csb/model/UpdateServiceResult.h
|
||||
include/alibabacloud/csb/model/DeleteProjectRequest.h
|
||||
include/alibabacloud/csb/model/DeleteProjectResult.h
|
||||
include/alibabacloud/csb/model/UpdateProjectRequest.h
|
||||
include/alibabacloud/csb/model/UpdateProjectResult.h
|
||||
include/alibabacloud/csb/model/FindOrderableListRequest.h
|
||||
include/alibabacloud/csb/model/FindOrderableListResult.h
|
||||
include/alibabacloud/csb/model/FindProjectListRequest.h
|
||||
include/alibabacloud/csb/model/FindProjectListResult.h
|
||||
include/alibabacloud/csb/model/FindApprovalOrderListRequest.h
|
||||
include/alibabacloud/csb/model/FindApprovalOrderListResult.h
|
||||
include/alibabacloud/csb/model/UpdateServiceQPSRequest.h
|
||||
include/alibabacloud/csb/model/UpdateServiceQPSResult.h
|
||||
include/alibabacloud/csb/model/UpdateOrderRequest.h
|
||||
include/alibabacloud/csb/model/UpdateOrderResult.h
|
||||
include/alibabacloud/csb/model/FindApproveServiceListRequest.h
|
||||
include/alibabacloud/csb/model/FindApproveServiceListResult.h
|
||||
include/alibabacloud/csb/model/GetServiceRequest.h
|
||||
include/alibabacloud/csb/model/GetServiceResult.h )
|
||||
|
||||
set(csb_src
|
||||
src/CSBClient.cc
|
||||
src/model/DeleteServiceRequest.cc
|
||||
src/model/DeleteServiceResult.cc
|
||||
src/model/FindServiceListRequest.cc
|
||||
src/model/FindServiceListResult.cc
|
||||
src/model/PublishUnionCasServiceRequest.cc
|
||||
src/model/PublishUnionCasServiceResult.cc
|
||||
src/model/UpdateServiceListStatusRequest.cc
|
||||
src/model/UpdateServiceListStatusResult.cc
|
||||
src/model/CreateOrderRequest.cc
|
||||
src/model/CreateOrderResult.cc
|
||||
src/model/CreateProjectRequest.cc
|
||||
src/model/CreateProjectResult.cc
|
||||
src/model/DeleteServiceListRequest.cc
|
||||
src/model/DeleteServiceListResult.cc
|
||||
src/model/CommitSuccessedServicesRequest.cc
|
||||
src/model/CommitSuccessedServicesResult.cc
|
||||
src/model/FindOrderedListRequest.cc
|
||||
src/model/FindOrderedListResult.cc
|
||||
src/model/DeleteOrderListRequest.cc
|
||||
src/model/DeleteOrderListResult.cc
|
||||
src/model/CreateCredentialsRequest.cc
|
||||
src/model/CreateCredentialsResult.cc
|
||||
src/model/DeleteCasServiceRequest.cc
|
||||
src/model/DeleteCasServiceResult.cc
|
||||
src/model/DeleteProjectListRequest.cc
|
||||
src/model/DeleteProjectListResult.cc
|
||||
src/model/FindInstanceListRequest.cc
|
||||
src/model/FindInstanceListResult.cc
|
||||
src/model/PublishCasServiceRequest.cc
|
||||
src/model/PublishCasServiceResult.cc
|
||||
src/model/UpdateProjectListStatusRequest.cc
|
||||
src/model/UpdateProjectListStatusResult.cc
|
||||
src/model/FindProjectsNameListRequest.cc
|
||||
src/model/FindProjectsNameListResult.cc
|
||||
src/model/ReplaceCredentialRequest.cc
|
||||
src/model/ReplaceCredentialResult.cc
|
||||
src/model/GetProjectRequest.cc
|
||||
src/model/GetProjectResult.cc
|
||||
src/model/DeleteUnionCasServiceRequest.cc
|
||||
src/model/DeleteUnionCasServiceResult.cc
|
||||
src/model/CheckServiceExistRequest.cc
|
||||
src/model/CheckServiceExistResult.cc
|
||||
src/model/GetInstanceRequest.cc
|
||||
src/model/GetInstanceResult.cc
|
||||
src/model/RenewCredentialsRequest.cc
|
||||
src/model/RenewCredentialsResult.cc
|
||||
src/model/GetOrderRequest.cc
|
||||
src/model/GetOrderResult.cc
|
||||
src/model/UpdateOrderListRequest.cc
|
||||
src/model/UpdateOrderListResult.cc
|
||||
src/model/DeleteCredentialsListRequest.cc
|
||||
src/model/DeleteCredentialsListResult.cc
|
||||
src/model/CreateServiceRequest.cc
|
||||
src/model/CreateServiceResult.cc
|
||||
src/model/FindCredentialsListRequest.cc
|
||||
src/model/FindCredentialsListResult.cc
|
||||
src/model/ApproveOrderListRequest.cc
|
||||
src/model/ApproveOrderListResult.cc
|
||||
src/model/UpdateServiceRequest.cc
|
||||
src/model/UpdateServiceResult.cc
|
||||
src/model/DeleteProjectRequest.cc
|
||||
src/model/DeleteProjectResult.cc
|
||||
src/model/UpdateProjectRequest.cc
|
||||
src/model/UpdateProjectResult.cc
|
||||
src/model/FindOrderableListRequest.cc
|
||||
src/model/FindOrderableListResult.cc
|
||||
src/model/FindProjectListRequest.cc
|
||||
src/model/FindProjectListResult.cc
|
||||
src/model/FindApprovalOrderListRequest.cc
|
||||
src/model/FindApprovalOrderListResult.cc
|
||||
src/model/UpdateServiceQPSRequest.cc
|
||||
src/model/UpdateServiceQPSResult.cc
|
||||
src/model/UpdateOrderRequest.cc
|
||||
src/model/UpdateOrderResult.cc
|
||||
src/model/FindApproveServiceListRequest.cc
|
||||
src/model/FindApproveServiceListResult.cc
|
||||
src/model/GetServiceRequest.cc
|
||||
src/model/GetServiceResult.cc )
|
||||
|
||||
add_library(csb ${LIB_TYPE}
|
||||
${csb_public_header}
|
||||
${csb_public_header_model}
|
||||
${csb_src})
|
||||
|
||||
set_target_properties(csb
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}csb
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(csb
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CSB_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(csb
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(csb
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(csb
|
||||
jsoncpp)
|
||||
target_include_directories(csb
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(csb
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(csb
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(csb
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(csb
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${csb_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/csb)
|
||||
install(FILES ${csb_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/csb/model)
|
||||
install(TARGETS csb
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
358
csb/include/alibabacloud/csb/CSBClient.h
Normal file
358
csb/include/alibabacloud/csb/CSBClient.h
Normal file
@@ -0,0 +1,358 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_CSBCLIENT_H_
|
||||
#define ALIBABACLOUD_CSB_CSBCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CSBExport.h"
|
||||
#include "model/DeleteServiceRequest.h"
|
||||
#include "model/DeleteServiceResult.h"
|
||||
#include "model/FindServiceListRequest.h"
|
||||
#include "model/FindServiceListResult.h"
|
||||
#include "model/PublishUnionCasServiceRequest.h"
|
||||
#include "model/PublishUnionCasServiceResult.h"
|
||||
#include "model/UpdateServiceListStatusRequest.h"
|
||||
#include "model/UpdateServiceListStatusResult.h"
|
||||
#include "model/CreateOrderRequest.h"
|
||||
#include "model/CreateOrderResult.h"
|
||||
#include "model/CreateProjectRequest.h"
|
||||
#include "model/CreateProjectResult.h"
|
||||
#include "model/DeleteServiceListRequest.h"
|
||||
#include "model/DeleteServiceListResult.h"
|
||||
#include "model/CommitSuccessedServicesRequest.h"
|
||||
#include "model/CommitSuccessedServicesResult.h"
|
||||
#include "model/FindOrderedListRequest.h"
|
||||
#include "model/FindOrderedListResult.h"
|
||||
#include "model/DeleteOrderListRequest.h"
|
||||
#include "model/DeleteOrderListResult.h"
|
||||
#include "model/CreateCredentialsRequest.h"
|
||||
#include "model/CreateCredentialsResult.h"
|
||||
#include "model/DeleteCasServiceRequest.h"
|
||||
#include "model/DeleteCasServiceResult.h"
|
||||
#include "model/DeleteProjectListRequest.h"
|
||||
#include "model/DeleteProjectListResult.h"
|
||||
#include "model/FindInstanceListRequest.h"
|
||||
#include "model/FindInstanceListResult.h"
|
||||
#include "model/PublishCasServiceRequest.h"
|
||||
#include "model/PublishCasServiceResult.h"
|
||||
#include "model/UpdateProjectListStatusRequest.h"
|
||||
#include "model/UpdateProjectListStatusResult.h"
|
||||
#include "model/FindProjectsNameListRequest.h"
|
||||
#include "model/FindProjectsNameListResult.h"
|
||||
#include "model/ReplaceCredentialRequest.h"
|
||||
#include "model/ReplaceCredentialResult.h"
|
||||
#include "model/GetProjectRequest.h"
|
||||
#include "model/GetProjectResult.h"
|
||||
#include "model/DeleteUnionCasServiceRequest.h"
|
||||
#include "model/DeleteUnionCasServiceResult.h"
|
||||
#include "model/CheckServiceExistRequest.h"
|
||||
#include "model/CheckServiceExistResult.h"
|
||||
#include "model/GetInstanceRequest.h"
|
||||
#include "model/GetInstanceResult.h"
|
||||
#include "model/RenewCredentialsRequest.h"
|
||||
#include "model/RenewCredentialsResult.h"
|
||||
#include "model/GetOrderRequest.h"
|
||||
#include "model/GetOrderResult.h"
|
||||
#include "model/UpdateOrderListRequest.h"
|
||||
#include "model/UpdateOrderListResult.h"
|
||||
#include "model/DeleteCredentialsListRequest.h"
|
||||
#include "model/DeleteCredentialsListResult.h"
|
||||
#include "model/CreateServiceRequest.h"
|
||||
#include "model/CreateServiceResult.h"
|
||||
#include "model/FindCredentialsListRequest.h"
|
||||
#include "model/FindCredentialsListResult.h"
|
||||
#include "model/ApproveOrderListRequest.h"
|
||||
#include "model/ApproveOrderListResult.h"
|
||||
#include "model/UpdateServiceRequest.h"
|
||||
#include "model/UpdateServiceResult.h"
|
||||
#include "model/DeleteProjectRequest.h"
|
||||
#include "model/DeleteProjectResult.h"
|
||||
#include "model/UpdateProjectRequest.h"
|
||||
#include "model/UpdateProjectResult.h"
|
||||
#include "model/FindOrderableListRequest.h"
|
||||
#include "model/FindOrderableListResult.h"
|
||||
#include "model/FindProjectListRequest.h"
|
||||
#include "model/FindProjectListResult.h"
|
||||
#include "model/FindApprovalOrderListRequest.h"
|
||||
#include "model/FindApprovalOrderListResult.h"
|
||||
#include "model/UpdateServiceQPSRequest.h"
|
||||
#include "model/UpdateServiceQPSResult.h"
|
||||
#include "model/UpdateOrderRequest.h"
|
||||
#include "model/UpdateOrderResult.h"
|
||||
#include "model/FindApproveServiceListRequest.h"
|
||||
#include "model/FindApproveServiceListResult.h"
|
||||
#include "model/GetServiceRequest.h"
|
||||
#include "model/GetServiceResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CSBClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::DeleteServiceResult> DeleteServiceOutcome;
|
||||
typedef std::future<DeleteServiceOutcome> DeleteServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteServiceRequest&, const DeleteServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindServiceListResult> FindServiceListOutcome;
|
||||
typedef std::future<FindServiceListOutcome> FindServiceListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindServiceListRequest&, const FindServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindServiceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishUnionCasServiceResult> PublishUnionCasServiceOutcome;
|
||||
typedef std::future<PublishUnionCasServiceOutcome> PublishUnionCasServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::PublishUnionCasServiceRequest&, const PublishUnionCasServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishUnionCasServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceListStatusResult> UpdateServiceListStatusOutcome;
|
||||
typedef std::future<UpdateServiceListStatusOutcome> UpdateServiceListStatusOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::UpdateServiceListStatusRequest&, const UpdateServiceListStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceListStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOrderResult> CreateOrderOutcome;
|
||||
typedef std::future<CreateOrderOutcome> CreateOrderOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::CreateOrderRequest&, const CreateOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
|
||||
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteServiceListResult> DeleteServiceListOutcome;
|
||||
typedef std::future<DeleteServiceListOutcome> DeleteServiceListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteServiceListRequest&, const DeleteServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CommitSuccessedServicesResult> CommitSuccessedServicesOutcome;
|
||||
typedef std::future<CommitSuccessedServicesOutcome> CommitSuccessedServicesOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::CommitSuccessedServicesRequest&, const CommitSuccessedServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CommitSuccessedServicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindOrderedListResult> FindOrderedListOutcome;
|
||||
typedef std::future<FindOrderedListOutcome> FindOrderedListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindOrderedListRequest&, const FindOrderedListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindOrderedListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteOrderListResult> DeleteOrderListOutcome;
|
||||
typedef std::future<DeleteOrderListOutcome> DeleteOrderListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteOrderListRequest&, const DeleteOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteOrderListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCredentialsResult> CreateCredentialsOutcome;
|
||||
typedef std::future<CreateCredentialsOutcome> CreateCredentialsOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::CreateCredentialsRequest&, const CreateCredentialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCredentialsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCasServiceResult> DeleteCasServiceOutcome;
|
||||
typedef std::future<DeleteCasServiceOutcome> DeleteCasServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteCasServiceRequest&, const DeleteCasServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCasServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectListResult> DeleteProjectListOutcome;
|
||||
typedef std::future<DeleteProjectListOutcome> DeleteProjectListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteProjectListRequest&, const DeleteProjectListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindInstanceListResult> FindInstanceListOutcome;
|
||||
typedef std::future<FindInstanceListOutcome> FindInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindInstanceListRequest&, const FindInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindInstanceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishCasServiceResult> PublishCasServiceOutcome;
|
||||
typedef std::future<PublishCasServiceOutcome> PublishCasServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::PublishCasServiceRequest&, const PublishCasServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishCasServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateProjectListStatusResult> UpdateProjectListStatusOutcome;
|
||||
typedef std::future<UpdateProjectListStatusOutcome> UpdateProjectListStatusOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::UpdateProjectListStatusRequest&, const UpdateProjectListStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectListStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindProjectsNameListResult> FindProjectsNameListOutcome;
|
||||
typedef std::future<FindProjectsNameListOutcome> FindProjectsNameListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindProjectsNameListRequest&, const FindProjectsNameListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindProjectsNameListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReplaceCredentialResult> ReplaceCredentialOutcome;
|
||||
typedef std::future<ReplaceCredentialOutcome> ReplaceCredentialOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::ReplaceCredentialRequest&, const ReplaceCredentialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceCredentialAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectResult> GetProjectOutcome;
|
||||
typedef std::future<GetProjectOutcome> GetProjectOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::GetProjectRequest&, const GetProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUnionCasServiceResult> DeleteUnionCasServiceOutcome;
|
||||
typedef std::future<DeleteUnionCasServiceOutcome> DeleteUnionCasServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteUnionCasServiceRequest&, const DeleteUnionCasServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUnionCasServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckServiceExistResult> CheckServiceExistOutcome;
|
||||
typedef std::future<CheckServiceExistOutcome> CheckServiceExistOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::CheckServiceExistRequest&, const CheckServiceExistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckServiceExistAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceResult> GetInstanceOutcome;
|
||||
typedef std::future<GetInstanceOutcome> GetInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::GetInstanceRequest&, const GetInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewCredentialsResult> RenewCredentialsOutcome;
|
||||
typedef std::future<RenewCredentialsOutcome> RenewCredentialsOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::RenewCredentialsRequest&, const RenewCredentialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewCredentialsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetOrderResult> GetOrderOutcome;
|
||||
typedef std::future<GetOrderOutcome> GetOrderOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::GetOrderRequest&, const GetOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateOrderListResult> UpdateOrderListOutcome;
|
||||
typedef std::future<UpdateOrderListOutcome> UpdateOrderListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::UpdateOrderListRequest&, const UpdateOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateOrderListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCredentialsListResult> DeleteCredentialsListOutcome;
|
||||
typedef std::future<DeleteCredentialsListOutcome> DeleteCredentialsListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteCredentialsListRequest&, const DeleteCredentialsListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCredentialsListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceResult> CreateServiceOutcome;
|
||||
typedef std::future<CreateServiceOutcome> CreateServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::CreateServiceRequest&, const CreateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindCredentialsListResult> FindCredentialsListOutcome;
|
||||
typedef std::future<FindCredentialsListOutcome> FindCredentialsListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindCredentialsListRequest&, const FindCredentialsListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindCredentialsListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ApproveOrderListResult> ApproveOrderListOutcome;
|
||||
typedef std::future<ApproveOrderListOutcome> ApproveOrderListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::ApproveOrderListRequest&, const ApproveOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApproveOrderListAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceResult> UpdateServiceOutcome;
|
||||
typedef std::future<UpdateServiceOutcome> UpdateServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::UpdateServiceRequest&, const UpdateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectResult> DeleteProjectOutcome;
|
||||
typedef std::future<DeleteProjectOutcome> DeleteProjectOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteProjectRequest&, const DeleteProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
|
||||
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindOrderableListResult> FindOrderableListOutcome;
|
||||
typedef std::future<FindOrderableListOutcome> FindOrderableListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindOrderableListRequest&, const FindOrderableListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindOrderableListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindProjectListResult> FindProjectListOutcome;
|
||||
typedef std::future<FindProjectListOutcome> FindProjectListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindProjectListRequest&, const FindProjectListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindProjectListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindApprovalOrderListResult> FindApprovalOrderListOutcome;
|
||||
typedef std::future<FindApprovalOrderListOutcome> FindApprovalOrderListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindApprovalOrderListRequest&, const FindApprovalOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindApprovalOrderListAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceQPSResult> UpdateServiceQPSOutcome;
|
||||
typedef std::future<UpdateServiceQPSOutcome> UpdateServiceQPSOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::UpdateServiceQPSRequest&, const UpdateServiceQPSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceQPSAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateOrderResult> UpdateOrderOutcome;
|
||||
typedef std::future<UpdateOrderOutcome> UpdateOrderOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::UpdateOrderRequest&, const UpdateOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindApproveServiceListResult> FindApproveServiceListOutcome;
|
||||
typedef std::future<FindApproveServiceListOutcome> FindApproveServiceListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindApproveServiceListRequest&, const FindApproveServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindApproveServiceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServiceResult> GetServiceOutcome;
|
||||
typedef std::future<GetServiceOutcome> GetServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::GetServiceRequest&, const GetServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceAsyncHandler;
|
||||
|
||||
CSBClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CSBClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CSBClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CSBClient();
|
||||
DeleteServiceOutcome deleteService(const Model::DeleteServiceRequest &request)const;
|
||||
void deleteServiceAsync(const Model::DeleteServiceRequest& request, const DeleteServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteServiceOutcomeCallable deleteServiceCallable(const Model::DeleteServiceRequest& request) const;
|
||||
FindServiceListOutcome findServiceList(const Model::FindServiceListRequest &request)const;
|
||||
void findServiceListAsync(const Model::FindServiceListRequest& request, const FindServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindServiceListOutcomeCallable findServiceListCallable(const Model::FindServiceListRequest& request) const;
|
||||
PublishUnionCasServiceOutcome publishUnionCasService(const Model::PublishUnionCasServiceRequest &request)const;
|
||||
void publishUnionCasServiceAsync(const Model::PublishUnionCasServiceRequest& request, const PublishUnionCasServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishUnionCasServiceOutcomeCallable publishUnionCasServiceCallable(const Model::PublishUnionCasServiceRequest& request) const;
|
||||
UpdateServiceListStatusOutcome updateServiceListStatus(const Model::UpdateServiceListStatusRequest &request)const;
|
||||
void updateServiceListStatusAsync(const Model::UpdateServiceListStatusRequest& request, const UpdateServiceListStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceListStatusOutcomeCallable updateServiceListStatusCallable(const Model::UpdateServiceListStatusRequest& request) const;
|
||||
CreateOrderOutcome createOrder(const Model::CreateOrderRequest &request)const;
|
||||
void createOrderAsync(const Model::CreateOrderRequest& request, const CreateOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOrderOutcomeCallable createOrderCallable(const Model::CreateOrderRequest& request) const;
|
||||
CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const;
|
||||
void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
|
||||
DeleteServiceListOutcome deleteServiceList(const Model::DeleteServiceListRequest &request)const;
|
||||
void deleteServiceListAsync(const Model::DeleteServiceListRequest& request, const DeleteServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteServiceListOutcomeCallable deleteServiceListCallable(const Model::DeleteServiceListRequest& request) const;
|
||||
CommitSuccessedServicesOutcome commitSuccessedServices(const Model::CommitSuccessedServicesRequest &request)const;
|
||||
void commitSuccessedServicesAsync(const Model::CommitSuccessedServicesRequest& request, const CommitSuccessedServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CommitSuccessedServicesOutcomeCallable commitSuccessedServicesCallable(const Model::CommitSuccessedServicesRequest& request) const;
|
||||
FindOrderedListOutcome findOrderedList(const Model::FindOrderedListRequest &request)const;
|
||||
void findOrderedListAsync(const Model::FindOrderedListRequest& request, const FindOrderedListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindOrderedListOutcomeCallable findOrderedListCallable(const Model::FindOrderedListRequest& request) const;
|
||||
DeleteOrderListOutcome deleteOrderList(const Model::DeleteOrderListRequest &request)const;
|
||||
void deleteOrderListAsync(const Model::DeleteOrderListRequest& request, const DeleteOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteOrderListOutcomeCallable deleteOrderListCallable(const Model::DeleteOrderListRequest& request) const;
|
||||
CreateCredentialsOutcome createCredentials(const Model::CreateCredentialsRequest &request)const;
|
||||
void createCredentialsAsync(const Model::CreateCredentialsRequest& request, const CreateCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCredentialsOutcomeCallable createCredentialsCallable(const Model::CreateCredentialsRequest& request) const;
|
||||
DeleteCasServiceOutcome deleteCasService(const Model::DeleteCasServiceRequest &request)const;
|
||||
void deleteCasServiceAsync(const Model::DeleteCasServiceRequest& request, const DeleteCasServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCasServiceOutcomeCallable deleteCasServiceCallable(const Model::DeleteCasServiceRequest& request) const;
|
||||
DeleteProjectListOutcome deleteProjectList(const Model::DeleteProjectListRequest &request)const;
|
||||
void deleteProjectListAsync(const Model::DeleteProjectListRequest& request, const DeleteProjectListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectListOutcomeCallable deleteProjectListCallable(const Model::DeleteProjectListRequest& request) const;
|
||||
FindInstanceListOutcome findInstanceList(const Model::FindInstanceListRequest &request)const;
|
||||
void findInstanceListAsync(const Model::FindInstanceListRequest& request, const FindInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindInstanceListOutcomeCallable findInstanceListCallable(const Model::FindInstanceListRequest& request) const;
|
||||
PublishCasServiceOutcome publishCasService(const Model::PublishCasServiceRequest &request)const;
|
||||
void publishCasServiceAsync(const Model::PublishCasServiceRequest& request, const PublishCasServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishCasServiceOutcomeCallable publishCasServiceCallable(const Model::PublishCasServiceRequest& request) const;
|
||||
UpdateProjectListStatusOutcome updateProjectListStatus(const Model::UpdateProjectListStatusRequest &request)const;
|
||||
void updateProjectListStatusAsync(const Model::UpdateProjectListStatusRequest& request, const UpdateProjectListStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateProjectListStatusOutcomeCallable updateProjectListStatusCallable(const Model::UpdateProjectListStatusRequest& request) const;
|
||||
FindProjectsNameListOutcome findProjectsNameList(const Model::FindProjectsNameListRequest &request)const;
|
||||
void findProjectsNameListAsync(const Model::FindProjectsNameListRequest& request, const FindProjectsNameListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindProjectsNameListOutcomeCallable findProjectsNameListCallable(const Model::FindProjectsNameListRequest& request) const;
|
||||
ReplaceCredentialOutcome replaceCredential(const Model::ReplaceCredentialRequest &request)const;
|
||||
void replaceCredentialAsync(const Model::ReplaceCredentialRequest& request, const ReplaceCredentialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReplaceCredentialOutcomeCallable replaceCredentialCallable(const Model::ReplaceCredentialRequest& request) const;
|
||||
GetProjectOutcome getProject(const Model::GetProjectRequest &request)const;
|
||||
void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectOutcomeCallable getProjectCallable(const Model::GetProjectRequest& request) const;
|
||||
DeleteUnionCasServiceOutcome deleteUnionCasService(const Model::DeleteUnionCasServiceRequest &request)const;
|
||||
void deleteUnionCasServiceAsync(const Model::DeleteUnionCasServiceRequest& request, const DeleteUnionCasServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUnionCasServiceOutcomeCallable deleteUnionCasServiceCallable(const Model::DeleteUnionCasServiceRequest& request) const;
|
||||
CheckServiceExistOutcome checkServiceExist(const Model::CheckServiceExistRequest &request)const;
|
||||
void checkServiceExistAsync(const Model::CheckServiceExistRequest& request, const CheckServiceExistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckServiceExistOutcomeCallable checkServiceExistCallable(const Model::CheckServiceExistRequest& request) const;
|
||||
GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const;
|
||||
void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const;
|
||||
RenewCredentialsOutcome renewCredentials(const Model::RenewCredentialsRequest &request)const;
|
||||
void renewCredentialsAsync(const Model::RenewCredentialsRequest& request, const RenewCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewCredentialsOutcomeCallable renewCredentialsCallable(const Model::RenewCredentialsRequest& request) const;
|
||||
GetOrderOutcome getOrder(const Model::GetOrderRequest &request)const;
|
||||
void getOrderAsync(const Model::GetOrderRequest& request, const GetOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetOrderOutcomeCallable getOrderCallable(const Model::GetOrderRequest& request) const;
|
||||
UpdateOrderListOutcome updateOrderList(const Model::UpdateOrderListRequest &request)const;
|
||||
void updateOrderListAsync(const Model::UpdateOrderListRequest& request, const UpdateOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateOrderListOutcomeCallable updateOrderListCallable(const Model::UpdateOrderListRequest& request) const;
|
||||
DeleteCredentialsListOutcome deleteCredentialsList(const Model::DeleteCredentialsListRequest &request)const;
|
||||
void deleteCredentialsListAsync(const Model::DeleteCredentialsListRequest& request, const DeleteCredentialsListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCredentialsListOutcomeCallable deleteCredentialsListCallable(const Model::DeleteCredentialsListRequest& request) const;
|
||||
CreateServiceOutcome createService(const Model::CreateServiceRequest &request)const;
|
||||
void createServiceAsync(const Model::CreateServiceRequest& request, const CreateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceOutcomeCallable createServiceCallable(const Model::CreateServiceRequest& request) const;
|
||||
FindCredentialsListOutcome findCredentialsList(const Model::FindCredentialsListRequest &request)const;
|
||||
void findCredentialsListAsync(const Model::FindCredentialsListRequest& request, const FindCredentialsListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindCredentialsListOutcomeCallable findCredentialsListCallable(const Model::FindCredentialsListRequest& request) const;
|
||||
ApproveOrderListOutcome approveOrderList(const Model::ApproveOrderListRequest &request)const;
|
||||
void approveOrderListAsync(const Model::ApproveOrderListRequest& request, const ApproveOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ApproveOrderListOutcomeCallable approveOrderListCallable(const Model::ApproveOrderListRequest& request) const;
|
||||
UpdateServiceOutcome updateService(const Model::UpdateServiceRequest &request)const;
|
||||
void updateServiceAsync(const Model::UpdateServiceRequest& request, const UpdateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceOutcomeCallable updateServiceCallable(const Model::UpdateServiceRequest& request) const;
|
||||
DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const;
|
||||
void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectOutcomeCallable deleteProjectCallable(const Model::DeleteProjectRequest& request) const;
|
||||
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
|
||||
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
|
||||
FindOrderableListOutcome findOrderableList(const Model::FindOrderableListRequest &request)const;
|
||||
void findOrderableListAsync(const Model::FindOrderableListRequest& request, const FindOrderableListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindOrderableListOutcomeCallable findOrderableListCallable(const Model::FindOrderableListRequest& request) const;
|
||||
FindProjectListOutcome findProjectList(const Model::FindProjectListRequest &request)const;
|
||||
void findProjectListAsync(const Model::FindProjectListRequest& request, const FindProjectListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindProjectListOutcomeCallable findProjectListCallable(const Model::FindProjectListRequest& request) const;
|
||||
FindApprovalOrderListOutcome findApprovalOrderList(const Model::FindApprovalOrderListRequest &request)const;
|
||||
void findApprovalOrderListAsync(const Model::FindApprovalOrderListRequest& request, const FindApprovalOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindApprovalOrderListOutcomeCallable findApprovalOrderListCallable(const Model::FindApprovalOrderListRequest& request) const;
|
||||
UpdateServiceQPSOutcome updateServiceQPS(const Model::UpdateServiceQPSRequest &request)const;
|
||||
void updateServiceQPSAsync(const Model::UpdateServiceQPSRequest& request, const UpdateServiceQPSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceQPSOutcomeCallable updateServiceQPSCallable(const Model::UpdateServiceQPSRequest& request) const;
|
||||
UpdateOrderOutcome updateOrder(const Model::UpdateOrderRequest &request)const;
|
||||
void updateOrderAsync(const Model::UpdateOrderRequest& request, const UpdateOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateOrderOutcomeCallable updateOrderCallable(const Model::UpdateOrderRequest& request) const;
|
||||
FindApproveServiceListOutcome findApproveServiceList(const Model::FindApproveServiceListRequest &request)const;
|
||||
void findApproveServiceListAsync(const Model::FindApproveServiceListRequest& request, const FindApproveServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindApproveServiceListOutcomeCallable findApproveServiceListCallable(const Model::FindApproveServiceListRequest& request) const;
|
||||
GetServiceOutcome getService(const Model::GetServiceRequest &request)const;
|
||||
void getServiceAsync(const Model::GetServiceRequest& request, const GetServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceOutcomeCallable getServiceCallable(const Model::GetServiceRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CSB_CSBCLIENT_H_
|
||||
32
csb/include/alibabacloud/csb/CSBExport.h
Normal file
32
csb/include/alibabacloud/csb/CSBExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_CSBEXPORT_H_
|
||||
#define ALIBABACLOUD_CSB_CSBEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CSB_LIBRARY)
|
||||
# define ALIBABACLOUD_CSB_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CSB_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CSB_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CSB_CSBEXPORT_H_
|
||||
51
csb/include/alibabacloud/csb/model/ApproveOrderListRequest.h
Normal file
51
csb/include/alibabacloud/csb/model/ApproveOrderListRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT ApproveOrderListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ApproveOrderListRequest();
|
||||
~ApproveOrderListRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/ApproveOrderListResult.h
Normal file
53
csb/include/alibabacloud/csb/model/ApproveOrderListResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT ApproveOrderListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ApproveOrderListResult();
|
||||
explicit ApproveOrderListResult(const std::string &payload);
|
||||
~ApproveOrderListResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CheckServiceExistRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckServiceExistRequest();
|
||||
~CheckServiceExistRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
std::string serviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTREQUEST_H_
|
||||
59
csb/include/alibabacloud/csb/model/CheckServiceExistResult.h
Normal file
59
csb/include/alibabacloud/csb/model/CheckServiceExistResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CheckServiceExistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
bool exist;
|
||||
};
|
||||
|
||||
|
||||
CheckServiceExistResult();
|
||||
explicit CheckServiceExistResult(const std::string &payload);
|
||||
~CheckServiceExistResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CommitSuccessedServicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CommitSuccessedServicesRequest();
|
||||
~CommitSuccessedServicesRequest();
|
||||
|
||||
std::string getCsbName()const;
|
||||
void setCsbName(const std::string& csbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getServices()const;
|
||||
void setServices(const std::string& services);
|
||||
|
||||
private:
|
||||
std::string csbName_;
|
||||
std::string regionId_;
|
||||
std::string services_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CommitSuccessedServicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CommitSuccessedServicesResult();
|
||||
explicit CommitSuccessedServicesResult(const std::string &payload);
|
||||
~CommitSuccessedServicesResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CreateCredentialsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCredentialsRequest();
|
||||
~CreateCredentialsRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSREQUEST_H_
|
||||
69
csb/include/alibabacloud/csb/model/CreateCredentialsResult.h
Normal file
69
csb/include/alibabacloud/csb/model/CreateCredentialsResult.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CreateCredentialsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Credentials
|
||||
{
|
||||
struct CurrentCredential
|
||||
{
|
||||
std::string secretKey;
|
||||
std::string accessKey;
|
||||
};
|
||||
CurrentCredential currentCredential;
|
||||
long id;
|
||||
};
|
||||
Credentials credentials;
|
||||
};
|
||||
|
||||
|
||||
CreateCredentialsResult();
|
||||
explicit CreateCredentialsResult(const std::string &payload);
|
||||
~CreateCredentialsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSRESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/CreateOrderRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/CreateOrderRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CREATEORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CREATEORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CreateOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateOrderRequest();
|
||||
~CreateOrderRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CREATEORDERREQUEST_H_
|
||||
59
csb/include/alibabacloud/csb/model/CreateOrderResult.h
Normal file
59
csb/include/alibabacloud/csb/model/CreateOrderResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CREATEORDERRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CREATEORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CreateOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
long id;
|
||||
};
|
||||
|
||||
|
||||
CreateOrderResult();
|
||||
explicit CreateOrderResult(const std::string &payload);
|
||||
~CreateOrderResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CREATEORDERRESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/CreateProjectRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/CreateProjectRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CREATEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CREATEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CreateProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateProjectRequest();
|
||||
~CreateProjectRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CREATEPROJECTREQUEST_H_
|
||||
59
csb/include/alibabacloud/csb/model/CreateProjectResult.h
Normal file
59
csb/include/alibabacloud/csb/model/CreateProjectResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CREATEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CREATEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CreateProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
long id;
|
||||
};
|
||||
|
||||
|
||||
CreateProjectResult();
|
||||
explicit CreateProjectResult(const std::string &payload);
|
||||
~CreateProjectResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CREATEPROJECTRESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/CreateServiceRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/CreateServiceRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CREATESERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CREATESERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CreateServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateServiceRequest();
|
||||
~CreateServiceRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CREATESERVICEREQUEST_H_
|
||||
59
csb/include/alibabacloud/csb/model/CreateServiceResult.h
Normal file
59
csb/include/alibabacloud/csb/model/CreateServiceResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_CREATESERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_CREATESERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT CreateServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
long id;
|
||||
};
|
||||
|
||||
|
||||
CreateServiceResult();
|
||||
explicit CreateServiceResult(const std::string &payload);
|
||||
~CreateServiceResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_CREATESERVICERESULT_H_
|
||||
60
csb/include/alibabacloud/csb/model/DeleteCasServiceRequest.h
Normal file
60
csb/include/alibabacloud/csb/model/DeleteCasServiceRequest.h
Normal 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_CSB_MODEL_DELETECASSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETECASSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteCasServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCasServiceRequest();
|
||||
~DeleteCasServiceRequest();
|
||||
|
||||
bool getLeafOnly()const;
|
||||
void setLeafOnly(bool leafOnly);
|
||||
std::string getCasCsbName()const;
|
||||
void setCasCsbName(const std::string& casCsbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSrcUserId()const;
|
||||
void setSrcUserId(const std::string& srcUserId);
|
||||
std::string getCasServiceId()const;
|
||||
void setCasServiceId(const std::string& casServiceId);
|
||||
|
||||
private:
|
||||
bool leafOnly_;
|
||||
std::string casCsbName_;
|
||||
std::string regionId_;
|
||||
std::string srcUserId_;
|
||||
std::string casServiceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETECASSERVICEREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/DeleteCasServiceResult.h
Normal file
53
csb/include/alibabacloud/csb/model/DeleteCasServiceResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETECASSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETECASSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteCasServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCasServiceResult();
|
||||
explicit DeleteCasServiceResult(const std::string &payload);
|
||||
~DeleteCasServiceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETECASSERVICERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteCredentialsListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCredentialsListRequest();
|
||||
~DeleteCredentialsListRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getIgnoreDauth()const;
|
||||
void setIgnoreDauth(bool ignoreDauth);
|
||||
bool getForce()const;
|
||||
void setForce(bool force);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
std::string regionId_;
|
||||
bool ignoreDauth_;
|
||||
bool force_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteCredentialsListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCredentialsListResult();
|
||||
explicit DeleteCredentialsListResult(const std::string &payload);
|
||||
~DeleteCredentialsListResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTRESULT_H_
|
||||
51
csb/include/alibabacloud/csb/model/DeleteOrderListRequest.h
Normal file
51
csb/include/alibabacloud/csb/model/DeleteOrderListRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteOrderListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteOrderListRequest();
|
||||
~DeleteOrderListRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/DeleteOrderListResult.h
Normal file
53
csb/include/alibabacloud/csb/model/DeleteOrderListResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteOrderListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteOrderListResult();
|
||||
explicit DeleteOrderListResult(const std::string &payload);
|
||||
~DeleteOrderListResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteProjectListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectListRequest();
|
||||
~DeleteProjectListRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/DeleteProjectListResult.h
Normal file
53
csb/include/alibabacloud/csb/model/DeleteProjectListResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteProjectListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectListResult();
|
||||
explicit DeleteProjectListResult(const std::string &payload);
|
||||
~DeleteProjectListResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTRESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/DeleteProjectRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/DeleteProjectRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectRequest();
|
||||
~DeleteProjectRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEPROJECTREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/DeleteProjectResult.h
Normal file
53
csb/include/alibabacloud/csb/model/DeleteProjectResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectResult();
|
||||
explicit DeleteProjectResult(const std::string &payload);
|
||||
~DeleteProjectResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEPROJECTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteServiceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteServiceListRequest();
|
||||
~DeleteServiceListRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/DeleteServiceListResult.h
Normal file
53
csb/include/alibabacloud/csb/model/DeleteServiceListResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteServiceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteServiceListResult();
|
||||
explicit DeleteServiceListResult(const std::string &payload);
|
||||
~DeleteServiceListResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTRESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/DeleteServiceRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/DeleteServiceRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETESERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETESERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteServiceRequest();
|
||||
~DeleteServiceRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string serviceName_;
|
||||
long serviceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETESERVICEREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/DeleteServiceResult.h
Normal file
53
csb/include/alibabacloud/csb/model/DeleteServiceResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETESERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETESERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteServiceResult();
|
||||
explicit DeleteServiceResult(const std::string &payload);
|
||||
~DeleteServiceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETESERVICERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteUnionCasServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteUnionCasServiceRequest();
|
||||
~DeleteUnionCasServiceRequest();
|
||||
|
||||
bool getLeafOnly()const;
|
||||
void setLeafOnly(bool leafOnly);
|
||||
std::string getCasCsbName()const;
|
||||
void setCasCsbName(const std::string& casCsbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSrcUserId()const;
|
||||
void setSrcUserId(const std::string& srcUserId);
|
||||
std::string getCasServiceId()const;
|
||||
void setCasServiceId(const std::string& casServiceId);
|
||||
|
||||
private:
|
||||
bool leafOnly_;
|
||||
std::string casCsbName_;
|
||||
std::string regionId_;
|
||||
std::string srcUserId_;
|
||||
std::string casServiceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICEREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT DeleteUnionCasServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteUnionCasServiceResult();
|
||||
explicit DeleteUnionCasServiceResult(const std::string &payload);
|
||||
~DeleteUnionCasServiceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICERESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindApprovalOrderListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindApprovalOrderListRequest();
|
||||
~FindApprovalOrderListRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAlias()const;
|
||||
void setAlias(const std::string& alias);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
bool getOnlyPending()const;
|
||||
void setOnlyPending(bool onlyPending);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string alias_;
|
||||
std::string serviceName_;
|
||||
long serviceId_;
|
||||
int pageNum_;
|
||||
bool onlyPending_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTREQUEST_H_
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindApprovalOrderListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Order
|
||||
{
|
||||
struct SlaInfo
|
||||
{
|
||||
int qps;
|
||||
int qph;
|
||||
};
|
||||
struct Total
|
||||
{
|
||||
int total;
|
||||
int errorNum;
|
||||
};
|
||||
std::string groupName;
|
||||
int status;
|
||||
std::string statisticName;
|
||||
std::string userName;
|
||||
long credentialGroupId;
|
||||
std::string projectName;
|
||||
long csbId;
|
||||
long gmtModified;
|
||||
long serviceId;
|
||||
long gmtCreate;
|
||||
std::string serviceName;
|
||||
std::string alias;
|
||||
int serviceStatus;
|
||||
std::string userId;
|
||||
Total total;
|
||||
std::string serviceVersion;
|
||||
std::string strictWhiteListJson;
|
||||
long id;
|
||||
SlaInfo slaInfo;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
std::vector<Order> orderList;
|
||||
};
|
||||
|
||||
|
||||
FindApprovalOrderListResult();
|
||||
explicit FindApprovalOrderListResult(const std::string &payload);
|
||||
~FindApprovalOrderListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindApproveServiceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindApproveServiceListRequest();
|
||||
~FindApproveServiceListRequest();
|
||||
|
||||
std::string getApproveLevel()const;
|
||||
void setApproveLevel(const std::string& approveLevel);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
bool getShowDelService()const;
|
||||
void setShowDelService(bool showDelService);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAlias()const;
|
||||
void setAlias(const std::string& alias);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
|
||||
private:
|
||||
std::string approveLevel_;
|
||||
std::string projectName_;
|
||||
bool showDelService_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
std::string alias_;
|
||||
std::string serviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTREQUEST_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindApproveServiceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Service
|
||||
{
|
||||
int status;
|
||||
std::string statisticName;
|
||||
std::string projectName;
|
||||
long createTime;
|
||||
long csbId;
|
||||
long projectId;
|
||||
std::string principalName;
|
||||
long modifiedTime;
|
||||
std::string ownerId;
|
||||
std::string scope;
|
||||
bool allVisiable;
|
||||
int qps;
|
||||
std::string serviceName;
|
||||
bool skipAuth;
|
||||
std::string userId;
|
||||
std::string serviceVersion;
|
||||
std::string interfaceName;
|
||||
std::string casTargets;
|
||||
long id;
|
||||
};
|
||||
int pageNumber;
|
||||
int currentPage;
|
||||
std::vector<Service> serviceList;
|
||||
int total;
|
||||
};
|
||||
|
||||
|
||||
FindApproveServiceListResult();
|
||||
explicit FindApproveServiceListResult(const std::string &payload);
|
||||
~FindApproveServiceListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindCredentialsListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindCredentialsListRequest();
|
||||
~FindCredentialsListRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
int pageNum_;
|
||||
std::string groupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTREQUEST_H_
|
||||
@@ -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_CSB_MODEL_FINDCREDENTIALSLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindCredentialsListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Credential
|
||||
{
|
||||
struct CurrentCredential
|
||||
{
|
||||
std::string secretKey;
|
||||
std::string accessKey;
|
||||
};
|
||||
struct NewCredential
|
||||
{
|
||||
std::string secretKey;
|
||||
std::string accessKey;
|
||||
};
|
||||
NewCredential newCredential;
|
||||
long gmtCreate;
|
||||
std::string ownerAttr;
|
||||
CurrentCredential currentCredential;
|
||||
std::string userId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Credential> credentialList;
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
};
|
||||
|
||||
|
||||
FindCredentialsListResult();
|
||||
explicit FindCredentialsListResult(const std::string &payload);
|
||||
~FindCredentialsListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTRESULT_H_
|
||||
60
csb/include/alibabacloud/csb/model/FindInstanceListRequest.h
Normal file
60
csb/include/alibabacloud/csb/model/FindInstanceListRequest.h
Normal 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_CSB_MODEL_FINDINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindInstanceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindInstanceListRequest();
|
||||
~FindInstanceListRequest();
|
||||
|
||||
std::string getSearchTxt()const;
|
||||
void setSearchTxt(const std::string& searchTxt);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
int getStatus()const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
std::string searchTxt_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
int pageNum_;
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTREQUEST_H_
|
||||
74
csb/include/alibabacloud/csb/model/FindInstanceListResult.h
Normal file
74
csb/include/alibabacloud/csb/model/FindInstanceListResult.h
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindInstanceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
long gmtCreate;
|
||||
std::string description;
|
||||
long gmtModified;
|
||||
bool visible;
|
||||
std::string vpcName;
|
||||
std::string frontStatus;
|
||||
long id;
|
||||
int instanceCategory;
|
||||
int statusCode;
|
||||
std::string name;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
std::vector<Item> itemList;
|
||||
};
|
||||
|
||||
|
||||
FindInstanceListResult();
|
||||
explicit FindInstanceListResult(const std::string &payload);
|
||||
~FindInstanceListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindOrderableListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindOrderableListRequest();
|
||||
~FindOrderableListRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAlias()const;
|
||||
void setAlias(const std::string& alias);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
std::string alias_;
|
||||
std::string serviceName_;
|
||||
int pageNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTREQUEST_H_
|
||||
84
csb/include/alibabacloud/csb/model/FindOrderableListResult.h
Normal file
84
csb/include/alibabacloud/csb/model/FindOrderableListResult.h
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindOrderableListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Service
|
||||
{
|
||||
int status;
|
||||
std::string statisticName;
|
||||
std::string projectName;
|
||||
long createTime;
|
||||
std::string approveUserId;
|
||||
long csbId;
|
||||
std::string projectId;
|
||||
std::string principalName;
|
||||
long modifiedTime;
|
||||
std::string ownerId;
|
||||
std::string scope;
|
||||
bool allVisiable;
|
||||
std::string serviceName;
|
||||
bool skipAuth;
|
||||
std::string alias;
|
||||
std::string userId;
|
||||
std::string serviceVersion;
|
||||
std::string interfaceName;
|
||||
std::string casTargets;
|
||||
long id;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
std::vector<Service> serviceList;
|
||||
};
|
||||
|
||||
|
||||
FindOrderableListResult();
|
||||
explicit FindOrderableListResult(const std::string &payload);
|
||||
~FindOrderableListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTRESULT_H_
|
||||
72
csb/include/alibabacloud/csb/model/FindOrderedListRequest.h
Normal file
72
csb/include/alibabacloud/csb/model/FindOrderedListRequest.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindOrderedListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindOrderedListRequest();
|
||||
~FindOrderedListRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
bool getShowDelOrder()const;
|
||||
void setShowDelOrder(bool showDelOrder);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getAlias()const;
|
||||
void setAlias(const std::string& alias);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
bool showDelOrder_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
std::string alias_;
|
||||
std::string serviceName_;
|
||||
int pageNum_;
|
||||
long serviceId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTREQUEST_H_
|
||||
119
csb/include/alibabacloud/csb/model/FindOrderedListResult.h
Normal file
119
csb/include/alibabacloud/csb/model/FindOrderedListResult.h
Normal file
@@ -0,0 +1,119 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindOrderedListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Order
|
||||
{
|
||||
struct Total
|
||||
{
|
||||
int total;
|
||||
int errorNum;
|
||||
};
|
||||
struct ErrorTypeCatagory
|
||||
{
|
||||
long total;
|
||||
std::string name;
|
||||
long errorNum;
|
||||
};
|
||||
struct Order1
|
||||
{
|
||||
struct SlaInfo
|
||||
{
|
||||
std::string qps;
|
||||
std::string qph;
|
||||
};
|
||||
struct Total2
|
||||
{
|
||||
int total;
|
||||
int errorNum;
|
||||
};
|
||||
std::string groupName;
|
||||
int status;
|
||||
std::string statisticName;
|
||||
std::string approveComments;
|
||||
std::string projectName;
|
||||
Total2 total2;
|
||||
long csbId;
|
||||
long gmtModified;
|
||||
long serviceId;
|
||||
long gmtCreate;
|
||||
std::string serviceName;
|
||||
std::string alias;
|
||||
int serviceStatus;
|
||||
std::string userId;
|
||||
std::string serviceVersion;
|
||||
long id;
|
||||
SlaInfo slaInfo;
|
||||
};
|
||||
std::vector<Order::ErrorTypeCatagory> errorTypeCatagoryList;
|
||||
std::vector<Order::Order1> orders;
|
||||
std::string projectName;
|
||||
int maxRT;
|
||||
std::string serviceId;
|
||||
int orderStatus;
|
||||
int aliveOrderCount;
|
||||
long gmtCreate;
|
||||
std::string serviceName;
|
||||
std::string alias;
|
||||
int serviceStatus;
|
||||
Total total;
|
||||
std::string serviceVersion;
|
||||
int minRT;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
std::vector<Order> orderList;
|
||||
};
|
||||
|
||||
|
||||
FindOrderedListResult();
|
||||
explicit FindOrderedListResult(const std::string &payload);
|
||||
~FindOrderedListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTRESULT_H_
|
||||
57
csb/include/alibabacloud/csb/model/FindProjectListRequest.h
Normal file
57
csb/include/alibabacloud/csb/model/FindProjectListRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindProjectListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindProjectListRequest();
|
||||
~FindProjectListRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
int pageNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTREQUEST_H_
|
||||
82
csb/include/alibabacloud/csb/model/FindProjectListResult.h
Normal file
82
csb/include/alibabacloud/csb/model/FindProjectListResult.h
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindProjectListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Project
|
||||
{
|
||||
int status;
|
||||
std::string projectOwnerEmail;
|
||||
std::string description;
|
||||
std::string projectName;
|
||||
std::string projectOwnerName;
|
||||
std::string projectOwnerPhoneNum;
|
||||
std::string interfaceJarName;
|
||||
long csbId;
|
||||
long gmtModified;
|
||||
int apiNum;
|
||||
std::string interfaceJarLocation;
|
||||
int deleteFlag;
|
||||
long gmtCreate;
|
||||
std::string ownerId;
|
||||
std::string userId;
|
||||
std::string jarFileKey;
|
||||
long id;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
std::vector<Project> projectList;
|
||||
int total;
|
||||
};
|
||||
|
||||
|
||||
FindProjectListResult();
|
||||
explicit FindProjectListResult(const std::string &payload);
|
||||
~FindProjectListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindProjectsNameListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindProjectsNameListRequest();
|
||||
~FindProjectsNameListRequest();
|
||||
|
||||
std::string getOperationFlag()const;
|
||||
void setOperationFlag(const std::string& operationFlag);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string operationFlag_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindProjectsNameListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::vector<std::string> projectNameList;
|
||||
};
|
||||
|
||||
|
||||
FindProjectsNameListResult();
|
||||
explicit FindProjectsNameListResult(const std::string &payload);
|
||||
~FindProjectsNameListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTRESULT_H_
|
||||
69
csb/include/alibabacloud/csb/model/FindServiceListRequest.h
Normal file
69
csb/include/alibabacloud/csb/model/FindServiceListRequest.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindServiceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindServiceListRequest();
|
||||
~FindServiceListRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
int getCasShowType()const;
|
||||
void setCasShowType(int casShowType);
|
||||
bool getShowDelService()const;
|
||||
void setShowDelService(bool showDelService);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAlias()const;
|
||||
void setAlias(const std::string& alias);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
int casShowType_;
|
||||
bool showDelService_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
std::string alias_;
|
||||
std::string serviceName_;
|
||||
int pageNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTREQUEST_H_
|
||||
86
csb/include/alibabacloud/csb/model/FindServiceListResult.h
Normal file
86
csb/include/alibabacloud/csb/model/FindServiceListResult.h
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindServiceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Service
|
||||
{
|
||||
int status;
|
||||
std::string statisticName;
|
||||
std::string description;
|
||||
std::string projectName;
|
||||
long createTime;
|
||||
long csbId;
|
||||
long projectId;
|
||||
std::string orderInfo;
|
||||
std::string principalName;
|
||||
long modifiedTime;
|
||||
std::string ownerId;
|
||||
std::string scope;
|
||||
bool allVisiable;
|
||||
std::string serviceName;
|
||||
bool skipAuth;
|
||||
std::string alias;
|
||||
std::string userId;
|
||||
std::string serviceVersion;
|
||||
std::string interfaceName;
|
||||
long id;
|
||||
std::string casTargets;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
std::vector<Service> serviceList;
|
||||
int total;
|
||||
};
|
||||
|
||||
|
||||
FindServiceListResult();
|
||||
explicit FindServiceListResult(const std::string &payload);
|
||||
~FindServiceListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTRESULT_H_
|
||||
51
csb/include/alibabacloud/csb/model/GetInstanceRequest.h
Normal file
51
csb/include/alibabacloud/csb/model/GetInstanceRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceRequest();
|
||||
~GetInstanceRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETINSTANCEREQUEST_H_
|
||||
97
csb/include/alibabacloud/csb/model/GetInstanceResult.h
Normal file
97
csb/include/alibabacloud/csb/model/GetInstanceResult.h
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Instance
|
||||
{
|
||||
std::string sentinelCtlStr;
|
||||
int sentinelGridInterval;
|
||||
std::string description;
|
||||
std::string brokerVpcName;
|
||||
long gmtModified;
|
||||
bool testable;
|
||||
int clusterMembers;
|
||||
int statusCode;
|
||||
std::string name;
|
||||
std::string ownerId;
|
||||
std::string csbAccountId;
|
||||
int dbStatus;
|
||||
bool isPublic;
|
||||
long sentinelCtrl;
|
||||
bool visible;
|
||||
long credentialGroup;
|
||||
int instanceType;
|
||||
std::string status;
|
||||
long sentinelQps;
|
||||
std::string ipList;
|
||||
long csbId;
|
||||
std::string brokerVpcId;
|
||||
std::string clientVpcName;
|
||||
std::string frontStatus;
|
||||
int instanceCategory;
|
||||
long gmtCreate;
|
||||
bool isImported;
|
||||
std::string tenantId;
|
||||
std::string userId;
|
||||
int apprLevel;
|
||||
std::string clientVpcId;
|
||||
std::string vpcName;
|
||||
long id;
|
||||
std::string apprUser1;
|
||||
std::string apprUser2;
|
||||
};
|
||||
Instance instance;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceResult();
|
||||
explicit GetInstanceResult(const std::string &payload);
|
||||
~GetInstanceResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETINSTANCERESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/GetOrderRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/GetOrderRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetOrderRequest();
|
||||
~GetOrderRequest();
|
||||
|
||||
long getOrderId()const;
|
||||
void setOrderId(long orderId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
|
||||
private:
|
||||
long orderId_;
|
||||
std::string regionId_;
|
||||
std::string serviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETORDERREQUEST_H_
|
||||
131
csb/include/alibabacloud/csb/model/GetOrderResult.h
Normal file
131
csb/include/alibabacloud/csb/model/GetOrderResult.h
Normal file
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETORDERRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Order
|
||||
{
|
||||
struct Service
|
||||
{
|
||||
std::string projectName;
|
||||
std::string ownerId;
|
||||
std::string consumeTypesJSON;
|
||||
bool skipAuth;
|
||||
bool ottFlag;
|
||||
std::string interfaceName;
|
||||
int status;
|
||||
std::string statisticName;
|
||||
std::string errDefJSON;
|
||||
long createTime;
|
||||
long csbId;
|
||||
std::string projectId;
|
||||
std::string principalName;
|
||||
std::string accessParamsJSON;
|
||||
bool sSL;
|
||||
bool active;
|
||||
std::string serviceProviderType;
|
||||
std::string scope;
|
||||
bool allVisiable;
|
||||
std::string serviceName;
|
||||
std::string alias;
|
||||
std::string provideType;
|
||||
long userId;
|
||||
std::string serviceVersion;
|
||||
std::string oldVersion;
|
||||
bool validConsumeTypes;
|
||||
long id;
|
||||
bool validProvideType;
|
||||
};
|
||||
struct SlaInfo
|
||||
{
|
||||
std::string qps;
|
||||
std::string qph;
|
||||
};
|
||||
struct Total
|
||||
{
|
||||
int total;
|
||||
int errorNum;
|
||||
};
|
||||
struct ErrorTypeCatagory
|
||||
{
|
||||
int total;
|
||||
int errorNum;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<ErrorTypeCatagory> errorTypeCatagoryList;
|
||||
std::string groupName;
|
||||
int status;
|
||||
std::string statisticName;
|
||||
long credentialGroupId;
|
||||
std::string projectName;
|
||||
long csbId;
|
||||
long gmtModified;
|
||||
Service service;
|
||||
long serviceId;
|
||||
long gmtCreate;
|
||||
std::string serviceName;
|
||||
std::string alias;
|
||||
int serviceStatus;
|
||||
std::string userId;
|
||||
Total total;
|
||||
std::string serviceVersion;
|
||||
std::string strictWhiteListJson;
|
||||
long id;
|
||||
SlaInfo slaInfo;
|
||||
std::vector<std::string> strictWhiteList;
|
||||
std::string dauthGroupName;
|
||||
};
|
||||
Order order;
|
||||
};
|
||||
|
||||
|
||||
GetOrderResult();
|
||||
explicit GetOrderResult(const std::string &payload);
|
||||
~GetOrderResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETORDERRESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/GetProjectRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/GetProjectRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetProjectRequest();
|
||||
~GetProjectRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETPROJECTREQUEST_H_
|
||||
79
csb/include/alibabacloud/csb/model/GetProjectResult.h
Normal file
79
csb/include/alibabacloud/csb/model/GetProjectResult.h
Normal 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_CSB_MODEL_GETPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Project
|
||||
{
|
||||
int status;
|
||||
std::string projectOwnerEmail;
|
||||
std::string description;
|
||||
std::string projectName;
|
||||
std::string projectOwnerName;
|
||||
std::string projectOwnerPhoneNum;
|
||||
std::string interfaceJarName;
|
||||
long csbId;
|
||||
long gmtModified;
|
||||
int apiNum;
|
||||
std::string interfaceJarLocation;
|
||||
int deleteFlag;
|
||||
long gmtCreate;
|
||||
std::string ownerId;
|
||||
std::string userId;
|
||||
std::string jarFileKey;
|
||||
long id;
|
||||
};
|
||||
std::vector<Project> projectList;
|
||||
};
|
||||
|
||||
|
||||
GetProjectResult();
|
||||
explicit GetProjectResult(const std::string &payload);
|
||||
~GetProjectResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETPROJECTRESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/GetServiceRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/GetServiceRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetServiceRequest();
|
||||
~GetServiceRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long serviceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETSERVICEREQUEST_H_
|
||||
199
csb/include/alibabacloud/csb/model/GetServiceResult.h
Normal file
199
csb/include/alibabacloud/csb/model/GetServiceResult.h
Normal file
@@ -0,0 +1,199 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Service
|
||||
{
|
||||
struct RouteConf
|
||||
{
|
||||
struct ImportConf
|
||||
{
|
||||
struct InputParameter
|
||||
{
|
||||
int catType;
|
||||
bool optional;
|
||||
int extType;
|
||||
int mapStyle;
|
||||
std::string originalName;
|
||||
std::string targetName;
|
||||
std::string passMethod;
|
||||
int depth;
|
||||
std::string paramType;
|
||||
};
|
||||
struct OutputParameter
|
||||
{
|
||||
int catType;
|
||||
bool optional;
|
||||
int extType;
|
||||
int mapStyle;
|
||||
std::string originalName;
|
||||
std::string targetName;
|
||||
std::string passMethod;
|
||||
int depth;
|
||||
std::string paramType;
|
||||
};
|
||||
std::vector<OutputParameter> outputParameterMap;
|
||||
std::string accessEndpointJSON;
|
||||
std::string provideType;
|
||||
std::vector<InputParameter> inputParameterMap;
|
||||
};
|
||||
struct ImportConfs
|
||||
{
|
||||
struct InputParameter3
|
||||
{
|
||||
int catType;
|
||||
bool optional;
|
||||
int extType;
|
||||
int mapStyle;
|
||||
std::string originalName;
|
||||
std::string targetName;
|
||||
std::string passMethod;
|
||||
int depth;
|
||||
std::string paramType;
|
||||
};
|
||||
struct OutputParameter4
|
||||
{
|
||||
int catType;
|
||||
bool optional;
|
||||
int extType;
|
||||
int mapStyle;
|
||||
std::string originalName;
|
||||
std::string targetName;
|
||||
std::string passMethod;
|
||||
int depth;
|
||||
std::string paramType;
|
||||
};
|
||||
std::vector<OutputParameter4> outputParameterMap2;
|
||||
std::string accessEndpointJSON;
|
||||
std::string provideType;
|
||||
std::vector<InputParameter3> inputParameterMap1;
|
||||
};
|
||||
ImportConfs importConfs;
|
||||
ImportConf importConf;
|
||||
std::string serviceRouteStrategy;
|
||||
};
|
||||
struct ServiceVersion
|
||||
{
|
||||
int status;
|
||||
std::string statisticName;
|
||||
bool sSL;
|
||||
bool active;
|
||||
std::string scope;
|
||||
bool allVisiable;
|
||||
bool skipAuth;
|
||||
bool ottFlag;
|
||||
std::string serviceVersion;
|
||||
std::string oldVersion;
|
||||
bool validConsumeTypes;
|
||||
long id;
|
||||
bool validProvideType;
|
||||
};
|
||||
struct VisiableGroup
|
||||
{
|
||||
int status;
|
||||
long modifiedTime;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
long id;
|
||||
long groupId;
|
||||
long serviceId;
|
||||
};
|
||||
std::string ipWhiteStr;
|
||||
RouteConf routeConf;
|
||||
std::string projectName;
|
||||
std::string approveUserId;
|
||||
std::string serviceOpenRestfulPath;
|
||||
long modifiedTime;
|
||||
std::string ownerId;
|
||||
std::string consumeTypesJSON;
|
||||
bool skipAuth;
|
||||
std::vector<ServiceVersion> serviceVersionsList;
|
||||
bool ottFlag;
|
||||
std::string interfaceName;
|
||||
std::string casTargets;
|
||||
int status;
|
||||
std::string ipBlackStr;
|
||||
std::string statisticName;
|
||||
std::string errDefJSON;
|
||||
std::string openRestfulPath;
|
||||
std::string policyHandler;
|
||||
long createTime;
|
||||
std::vector<VisiableGroup> visiableGroupList;
|
||||
long csbId;
|
||||
long projectId;
|
||||
std::string principalName;
|
||||
std::vector<std::string> consumeTypes;
|
||||
std::string accessParamsJSON;
|
||||
bool sSL;
|
||||
bool active;
|
||||
std::string serviceProviderType;
|
||||
std::string scope;
|
||||
bool allVisiable;
|
||||
std::string serviceName;
|
||||
std::string alias;
|
||||
std::string provideType;
|
||||
std::string routeConfJson;
|
||||
std::string userId;
|
||||
std::string serviceVersion;
|
||||
std::string oldVersion;
|
||||
bool validConsumeTypes;
|
||||
long id;
|
||||
std::string modelVersion;
|
||||
bool validProvideType;
|
||||
std::vector<std::string> casServTargets;
|
||||
};
|
||||
Service service;
|
||||
};
|
||||
|
||||
|
||||
GetServiceResult();
|
||||
explicit GetServiceResult(const std::string &payload);
|
||||
~GetServiceResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETSERVICERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT PublishCasServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishCasServiceRequest();
|
||||
~PublishCasServiceRequest();
|
||||
|
||||
std::string getCasCsbName()const;
|
||||
void setCasCsbName(const std::string& casCsbName);
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string casCsbName_;
|
||||
std::string data_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICEREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/PublishCasServiceResult.h
Normal file
53
csb/include/alibabacloud/csb/model/PublishCasServiceResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT PublishCasServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishCasServiceResult();
|
||||
explicit PublishCasServiceResult(const std::string &payload);
|
||||
~PublishCasServiceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT PublishUnionCasServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishUnionCasServiceRequest();
|
||||
~PublishUnionCasServiceRequest();
|
||||
|
||||
std::string getCasCsbName()const;
|
||||
void setCasCsbName(const std::string& casCsbName);
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string casCsbName_;
|
||||
std::string data_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICEREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT PublishUnionCasServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishUnionCasServiceResult();
|
||||
explicit PublishUnionCasServiceResult(const std::string &payload);
|
||||
~PublishUnionCasServiceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICERESULT_H_
|
||||
51
csb/include/alibabacloud/csb/model/RenewCredentialsRequest.h
Normal file
51
csb/include/alibabacloud/csb/model/RenewCredentialsRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT RenewCredentialsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenewCredentialsRequest();
|
||||
~RenewCredentialsRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCredentialId()const;
|
||||
void setCredentialId(long credentialId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long credentialId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSREQUEST_H_
|
||||
78
csb/include/alibabacloud/csb/model/RenewCredentialsResult.h
Normal file
78
csb/include/alibabacloud/csb/model/RenewCredentialsResult.h
Normal 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_CSB_MODEL_RENEWCREDENTIALSRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT RenewCredentialsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Credentials
|
||||
{
|
||||
struct CurrentCredential
|
||||
{
|
||||
std::string secretKey;
|
||||
std::string accessKey;
|
||||
};
|
||||
struct NewCredential
|
||||
{
|
||||
std::string secretKey;
|
||||
std::string accessKey;
|
||||
};
|
||||
NewCredential newCredential;
|
||||
long gmtCreate;
|
||||
CurrentCredential currentCredential;
|
||||
std::string userId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
Credentials credentials;
|
||||
};
|
||||
|
||||
|
||||
RenewCredentialsResult();
|
||||
explicit RenewCredentialsResult(const std::string &payload);
|
||||
~RenewCredentialsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT ReplaceCredentialRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReplaceCredentialRequest();
|
||||
~ReplaceCredentialRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCredentialId()const;
|
||||
void setCredentialId(long credentialId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long credentialId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALREQUEST_H_
|
||||
78
csb/include/alibabacloud/csb/model/ReplaceCredentialResult.h
Normal file
78
csb/include/alibabacloud/csb/model/ReplaceCredentialResult.h
Normal 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_CSB_MODEL_REPLACECREDENTIALRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT ReplaceCredentialResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Credentials
|
||||
{
|
||||
struct CurrentCredential
|
||||
{
|
||||
std::string secretKey;
|
||||
std::string accessKey;
|
||||
};
|
||||
struct NewCredential
|
||||
{
|
||||
std::string secretKey;
|
||||
std::string accessKey;
|
||||
};
|
||||
NewCredential newCredential;
|
||||
long gmtCreate;
|
||||
CurrentCredential currentCredential;
|
||||
std::string userId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
Credentials credentials;
|
||||
};
|
||||
|
||||
|
||||
ReplaceCredentialResult();
|
||||
explicit ReplaceCredentialResult(const std::string &payload);
|
||||
~ReplaceCredentialResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALRESULT_H_
|
||||
51
csb/include/alibabacloud/csb/model/UpdateOrderListRequest.h
Normal file
51
csb/include/alibabacloud/csb/model/UpdateOrderListRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT UpdateOrderListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateOrderListRequest();
|
||||
~UpdateOrderListRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTREQUEST_H_
|
||||
59
csb/include/alibabacloud/csb/model/UpdateOrderListResult.h
Normal file
59
csb/include/alibabacloud/csb/model/UpdateOrderListResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT UpdateOrderListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int updateCount;
|
||||
};
|
||||
|
||||
|
||||
UpdateOrderListResult();
|
||||
explicit UpdateOrderListResult(const std::string &payload);
|
||||
~UpdateOrderListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTRESULT_H_
|
||||
54
csb/include/alibabacloud/csb/model/UpdateOrderRequest.h
Normal file
54
csb/include/alibabacloud/csb/model/UpdateOrderRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_UPDATEORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT UpdateOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateOrderRequest();
|
||||
~UpdateOrderRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEORDERREQUEST_H_
|
||||
53
csb/include/alibabacloud/csb/model/UpdateOrderResult.h
Normal file
53
csb/include/alibabacloud/csb/model/UpdateOrderResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEORDERRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_UPDATEORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT UpdateOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateOrderResult();
|
||||
explicit UpdateOrderResult(const std::string &payload);
|
||||
~UpdateOrderResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEORDERRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT UpdateProjectListStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateProjectListStatusRequest();
|
||||
~UpdateProjectListStatusRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user