Generated 2022-12-01 for ResourceCenter.

This commit is contained in:
sdk-team
2024-10-08 07:58:51 +00:00
parent 429d57cff4
commit e676e2e38f
83 changed files with 4026 additions and 83 deletions

View File

@@ -22,14 +22,32 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "ResourceCenterExport.h"
#include "model/AssociateDefaultFilterRequest.h"
#include "model/AssociateDefaultFilterResult.h"
#include "model/CreateFilterRequest.h"
#include "model/CreateFilterResult.h"
#include "model/CreateSavedQueryRequest.h"
#include "model/CreateSavedQueryResult.h"
#include "model/DeleteFilterRequest.h"
#include "model/DeleteFilterResult.h"
#include "model/DeleteSavedQueryRequest.h"
#include "model/DeleteSavedQueryResult.h"
#include "model/DisableMultiAccountResourceCenterRequest.h"
#include "model/DisableMultiAccountResourceCenterResult.h"
#include "model/DisableResourceCenterRequest.h"
#include "model/DisableResourceCenterResult.h"
#include "model/DisassociateDefaultFilterRequest.h"
#include "model/DisassociateDefaultFilterResult.h"
#include "model/EnableMultiAccountResourceCenterRequest.h"
#include "model/EnableMultiAccountResourceCenterResult.h"
#include "model/EnableResourceCenterRequest.h"
#include "model/EnableResourceCenterResult.h"
#include "model/ExecuteMultiAccountSQLQueryRequest.h"
#include "model/ExecuteMultiAccountSQLQueryResult.h"
#include "model/ExecuteSQLQueryRequest.h"
#include "model/ExecuteSQLQueryResult.h"
#include "model/GetExampleQueryRequest.h"
#include "model/GetExampleQueryResult.h"
#include "model/GetMultiAccountResourceCenterServiceStatusRequest.h"
#include "model/GetMultiAccountResourceCenterServiceStatusResult.h"
#include "model/GetMultiAccountResourceConfigurationRequest.h"
@@ -40,6 +58,12 @@
#include "model/GetResourceConfigurationResult.h"
#include "model/GetResourceCountsRequest.h"
#include "model/GetResourceCountsResult.h"
#include "model/GetSavedQueryRequest.h"
#include "model/GetSavedQueryResult.h"
#include "model/ListExampleQueriesRequest.h"
#include "model/ListExampleQueriesResult.h"
#include "model/ListFiltersRequest.h"
#include "model/ListFiltersResult.h"
#include "model/ListMultiAccountResourceGroupsRequest.h"
#include "model/ListMultiAccountResourceGroupsResult.h"
#include "model/ListMultiAccountTagKeysRequest.h"
@@ -48,6 +72,8 @@
#include "model/ListMultiAccountTagValuesResult.h"
#include "model/ListResourceTypesRequest.h"
#include "model/ListResourceTypesResult.h"
#include "model/ListSavedQueriesRequest.h"
#include "model/ListSavedQueriesResult.h"
#include "model/ListTagKeysRequest.h"
#include "model/ListTagKeysResult.h"
#include "model/ListTagValuesRequest.h"
@@ -56,6 +82,10 @@
#include "model/SearchMultiAccountResourcesResult.h"
#include "model/SearchResourcesRequest.h"
#include "model/SearchResourcesResult.h"
#include "model/UpdateFilterRequest.h"
#include "model/UpdateFilterResult.h"
#include "model/UpdateSavedQueryRequest.h"
#include "model/UpdateSavedQueryResult.h"
namespace AlibabaCloud
@@ -65,18 +95,45 @@ namespace AlibabaCloud
class ALIBABACLOUD_RESOURCECENTER_EXPORT ResourceCenterClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AssociateDefaultFilterResult> AssociateDefaultFilterOutcome;
typedef std::future<AssociateDefaultFilterOutcome> AssociateDefaultFilterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::AssociateDefaultFilterRequest&, const AssociateDefaultFilterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateDefaultFilterAsyncHandler;
typedef Outcome<Error, Model::CreateFilterResult> CreateFilterOutcome;
typedef std::future<CreateFilterOutcome> CreateFilterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::CreateFilterRequest&, const CreateFilterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFilterAsyncHandler;
typedef Outcome<Error, Model::CreateSavedQueryResult> CreateSavedQueryOutcome;
typedef std::future<CreateSavedQueryOutcome> CreateSavedQueryOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::CreateSavedQueryRequest&, const CreateSavedQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSavedQueryAsyncHandler;
typedef Outcome<Error, Model::DeleteFilterResult> DeleteFilterOutcome;
typedef std::future<DeleteFilterOutcome> DeleteFilterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::DeleteFilterRequest&, const DeleteFilterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFilterAsyncHandler;
typedef Outcome<Error, Model::DeleteSavedQueryResult> DeleteSavedQueryOutcome;
typedef std::future<DeleteSavedQueryOutcome> DeleteSavedQueryOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::DeleteSavedQueryRequest&, const DeleteSavedQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSavedQueryAsyncHandler;
typedef Outcome<Error, Model::DisableMultiAccountResourceCenterResult> DisableMultiAccountResourceCenterOutcome;
typedef std::future<DisableMultiAccountResourceCenterOutcome> DisableMultiAccountResourceCenterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::DisableMultiAccountResourceCenterRequest&, const DisableMultiAccountResourceCenterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableMultiAccountResourceCenterAsyncHandler;
typedef Outcome<Error, Model::DisableResourceCenterResult> DisableResourceCenterOutcome;
typedef std::future<DisableResourceCenterOutcome> DisableResourceCenterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::DisableResourceCenterRequest&, const DisableResourceCenterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableResourceCenterAsyncHandler;
typedef Outcome<Error, Model::DisassociateDefaultFilterResult> DisassociateDefaultFilterOutcome;
typedef std::future<DisassociateDefaultFilterOutcome> DisassociateDefaultFilterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::DisassociateDefaultFilterRequest&, const DisassociateDefaultFilterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisassociateDefaultFilterAsyncHandler;
typedef Outcome<Error, Model::EnableMultiAccountResourceCenterResult> EnableMultiAccountResourceCenterOutcome;
typedef std::future<EnableMultiAccountResourceCenterOutcome> EnableMultiAccountResourceCenterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::EnableMultiAccountResourceCenterRequest&, const EnableMultiAccountResourceCenterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableMultiAccountResourceCenterAsyncHandler;
typedef Outcome<Error, Model::EnableResourceCenterResult> EnableResourceCenterOutcome;
typedef std::future<EnableResourceCenterOutcome> EnableResourceCenterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::EnableResourceCenterRequest&, const EnableResourceCenterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableResourceCenterAsyncHandler;
typedef Outcome<Error, Model::ExecuteMultiAccountSQLQueryResult> ExecuteMultiAccountSQLQueryOutcome;
typedef std::future<ExecuteMultiAccountSQLQueryOutcome> ExecuteMultiAccountSQLQueryOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::ExecuteMultiAccountSQLQueryRequest&, const ExecuteMultiAccountSQLQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecuteMultiAccountSQLQueryAsyncHandler;
typedef Outcome<Error, Model::ExecuteSQLQueryResult> ExecuteSQLQueryOutcome;
typedef std::future<ExecuteSQLQueryOutcome> ExecuteSQLQueryOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::ExecuteSQLQueryRequest&, const ExecuteSQLQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecuteSQLQueryAsyncHandler;
typedef Outcome<Error, Model::GetExampleQueryResult> GetExampleQueryOutcome;
typedef std::future<GetExampleQueryOutcome> GetExampleQueryOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::GetExampleQueryRequest&, const GetExampleQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetExampleQueryAsyncHandler;
typedef Outcome<Error, Model::GetMultiAccountResourceCenterServiceStatusResult> GetMultiAccountResourceCenterServiceStatusOutcome;
typedef std::future<GetMultiAccountResourceCenterServiceStatusOutcome> GetMultiAccountResourceCenterServiceStatusOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::GetMultiAccountResourceCenterServiceStatusRequest&, const GetMultiAccountResourceCenterServiceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMultiAccountResourceCenterServiceStatusAsyncHandler;
@@ -92,6 +149,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetResourceCountsResult> GetResourceCountsOutcome;
typedef std::future<GetResourceCountsOutcome> GetResourceCountsOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::GetResourceCountsRequest&, const GetResourceCountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceCountsAsyncHandler;
typedef Outcome<Error, Model::GetSavedQueryResult> GetSavedQueryOutcome;
typedef std::future<GetSavedQueryOutcome> GetSavedQueryOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::GetSavedQueryRequest&, const GetSavedQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSavedQueryAsyncHandler;
typedef Outcome<Error, Model::ListExampleQueriesResult> ListExampleQueriesOutcome;
typedef std::future<ListExampleQueriesOutcome> ListExampleQueriesOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::ListExampleQueriesRequest&, const ListExampleQueriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExampleQueriesAsyncHandler;
typedef Outcome<Error, Model::ListFiltersResult> ListFiltersOutcome;
typedef std::future<ListFiltersOutcome> ListFiltersOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::ListFiltersRequest&, const ListFiltersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFiltersAsyncHandler;
typedef Outcome<Error, Model::ListMultiAccountResourceGroupsResult> ListMultiAccountResourceGroupsOutcome;
typedef std::future<ListMultiAccountResourceGroupsOutcome> ListMultiAccountResourceGroupsOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::ListMultiAccountResourceGroupsRequest&, const ListMultiAccountResourceGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMultiAccountResourceGroupsAsyncHandler;
@@ -104,6 +170,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListResourceTypesResult> ListResourceTypesOutcome;
typedef std::future<ListResourceTypesOutcome> ListResourceTypesOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::ListResourceTypesRequest&, const ListResourceTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceTypesAsyncHandler;
typedef Outcome<Error, Model::ListSavedQueriesResult> ListSavedQueriesOutcome;
typedef std::future<ListSavedQueriesOutcome> ListSavedQueriesOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::ListSavedQueriesRequest&, const ListSavedQueriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSavedQueriesAsyncHandler;
typedef Outcome<Error, Model::ListTagKeysResult> ListTagKeysOutcome;
typedef std::future<ListTagKeysOutcome> ListTagKeysOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::ListTagKeysRequest&, const ListTagKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagKeysAsyncHandler;
@@ -116,23 +185,56 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SearchResourcesResult> SearchResourcesOutcome;
typedef std::future<SearchResourcesOutcome> SearchResourcesOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::SearchResourcesRequest&, const SearchResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchResourcesAsyncHandler;
typedef Outcome<Error, Model::UpdateFilterResult> UpdateFilterOutcome;
typedef std::future<UpdateFilterOutcome> UpdateFilterOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::UpdateFilterRequest&, const UpdateFilterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateFilterAsyncHandler;
typedef Outcome<Error, Model::UpdateSavedQueryResult> UpdateSavedQueryOutcome;
typedef std::future<UpdateSavedQueryOutcome> UpdateSavedQueryOutcomeCallable;
typedef std::function<void(const ResourceCenterClient*, const Model::UpdateSavedQueryRequest&, const UpdateSavedQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSavedQueryAsyncHandler;
ResourceCenterClient(const Credentials &credentials, const ClientConfiguration &configuration);
ResourceCenterClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ResourceCenterClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ResourceCenterClient();
AssociateDefaultFilterOutcome associateDefaultFilter(const Model::AssociateDefaultFilterRequest &request)const;
void associateDefaultFilterAsync(const Model::AssociateDefaultFilterRequest& request, const AssociateDefaultFilterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssociateDefaultFilterOutcomeCallable associateDefaultFilterCallable(const Model::AssociateDefaultFilterRequest& request) const;
CreateFilterOutcome createFilter(const Model::CreateFilterRequest &request)const;
void createFilterAsync(const Model::CreateFilterRequest& request, const CreateFilterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFilterOutcomeCallable createFilterCallable(const Model::CreateFilterRequest& request) const;
CreateSavedQueryOutcome createSavedQuery(const Model::CreateSavedQueryRequest &request)const;
void createSavedQueryAsync(const Model::CreateSavedQueryRequest& request, const CreateSavedQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSavedQueryOutcomeCallable createSavedQueryCallable(const Model::CreateSavedQueryRequest& request) const;
DeleteFilterOutcome deleteFilter(const Model::DeleteFilterRequest &request)const;
void deleteFilterAsync(const Model::DeleteFilterRequest& request, const DeleteFilterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFilterOutcomeCallable deleteFilterCallable(const Model::DeleteFilterRequest& request) const;
DeleteSavedQueryOutcome deleteSavedQuery(const Model::DeleteSavedQueryRequest &request)const;
void deleteSavedQueryAsync(const Model::DeleteSavedQueryRequest& request, const DeleteSavedQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSavedQueryOutcomeCallable deleteSavedQueryCallable(const Model::DeleteSavedQueryRequest& request) const;
DisableMultiAccountResourceCenterOutcome disableMultiAccountResourceCenter(const Model::DisableMultiAccountResourceCenterRequest &request)const;
void disableMultiAccountResourceCenterAsync(const Model::DisableMultiAccountResourceCenterRequest& request, const DisableMultiAccountResourceCenterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableMultiAccountResourceCenterOutcomeCallable disableMultiAccountResourceCenterCallable(const Model::DisableMultiAccountResourceCenterRequest& request) const;
DisableResourceCenterOutcome disableResourceCenter(const Model::DisableResourceCenterRequest &request)const;
void disableResourceCenterAsync(const Model::DisableResourceCenterRequest& request, const DisableResourceCenterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableResourceCenterOutcomeCallable disableResourceCenterCallable(const Model::DisableResourceCenterRequest& request) const;
DisassociateDefaultFilterOutcome disassociateDefaultFilter(const Model::DisassociateDefaultFilterRequest &request)const;
void disassociateDefaultFilterAsync(const Model::DisassociateDefaultFilterRequest& request, const DisassociateDefaultFilterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisassociateDefaultFilterOutcomeCallable disassociateDefaultFilterCallable(const Model::DisassociateDefaultFilterRequest& request) const;
EnableMultiAccountResourceCenterOutcome enableMultiAccountResourceCenter(const Model::EnableMultiAccountResourceCenterRequest &request)const;
void enableMultiAccountResourceCenterAsync(const Model::EnableMultiAccountResourceCenterRequest& request, const EnableMultiAccountResourceCenterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableMultiAccountResourceCenterOutcomeCallable enableMultiAccountResourceCenterCallable(const Model::EnableMultiAccountResourceCenterRequest& request) const;
EnableResourceCenterOutcome enableResourceCenter(const Model::EnableResourceCenterRequest &request)const;
void enableResourceCenterAsync(const Model::EnableResourceCenterRequest& request, const EnableResourceCenterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableResourceCenterOutcomeCallable enableResourceCenterCallable(const Model::EnableResourceCenterRequest& request) const;
ExecuteMultiAccountSQLQueryOutcome executeMultiAccountSQLQuery(const Model::ExecuteMultiAccountSQLQueryRequest &request)const;
void executeMultiAccountSQLQueryAsync(const Model::ExecuteMultiAccountSQLQueryRequest& request, const ExecuteMultiAccountSQLQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExecuteMultiAccountSQLQueryOutcomeCallable executeMultiAccountSQLQueryCallable(const Model::ExecuteMultiAccountSQLQueryRequest& request) const;
ExecuteSQLQueryOutcome executeSQLQuery(const Model::ExecuteSQLQueryRequest &request)const;
void executeSQLQueryAsync(const Model::ExecuteSQLQueryRequest& request, const ExecuteSQLQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExecuteSQLQueryOutcomeCallable executeSQLQueryCallable(const Model::ExecuteSQLQueryRequest& request) const;
GetExampleQueryOutcome getExampleQuery(const Model::GetExampleQueryRequest &request)const;
void getExampleQueryAsync(const Model::GetExampleQueryRequest& request, const GetExampleQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetExampleQueryOutcomeCallable getExampleQueryCallable(const Model::GetExampleQueryRequest& request) const;
GetMultiAccountResourceCenterServiceStatusOutcome getMultiAccountResourceCenterServiceStatus(const Model::GetMultiAccountResourceCenterServiceStatusRequest &request)const;
void getMultiAccountResourceCenterServiceStatusAsync(const Model::GetMultiAccountResourceCenterServiceStatusRequest& request, const GetMultiAccountResourceCenterServiceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMultiAccountResourceCenterServiceStatusOutcomeCallable getMultiAccountResourceCenterServiceStatusCallable(const Model::GetMultiAccountResourceCenterServiceStatusRequest& request) const;
@@ -148,6 +250,15 @@ namespace AlibabaCloud
GetResourceCountsOutcome getResourceCounts(const Model::GetResourceCountsRequest &request)const;
void getResourceCountsAsync(const Model::GetResourceCountsRequest& request, const GetResourceCountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResourceCountsOutcomeCallable getResourceCountsCallable(const Model::GetResourceCountsRequest& request) const;
GetSavedQueryOutcome getSavedQuery(const Model::GetSavedQueryRequest &request)const;
void getSavedQueryAsync(const Model::GetSavedQueryRequest& request, const GetSavedQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSavedQueryOutcomeCallable getSavedQueryCallable(const Model::GetSavedQueryRequest& request) const;
ListExampleQueriesOutcome listExampleQueries(const Model::ListExampleQueriesRequest &request)const;
void listExampleQueriesAsync(const Model::ListExampleQueriesRequest& request, const ListExampleQueriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListExampleQueriesOutcomeCallable listExampleQueriesCallable(const Model::ListExampleQueriesRequest& request) const;
ListFiltersOutcome listFilters(const Model::ListFiltersRequest &request)const;
void listFiltersAsync(const Model::ListFiltersRequest& request, const ListFiltersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFiltersOutcomeCallable listFiltersCallable(const Model::ListFiltersRequest& request) const;
ListMultiAccountResourceGroupsOutcome listMultiAccountResourceGroups(const Model::ListMultiAccountResourceGroupsRequest &request)const;
void listMultiAccountResourceGroupsAsync(const Model::ListMultiAccountResourceGroupsRequest& request, const ListMultiAccountResourceGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMultiAccountResourceGroupsOutcomeCallable listMultiAccountResourceGroupsCallable(const Model::ListMultiAccountResourceGroupsRequest& request) const;
@@ -160,6 +271,9 @@ namespace AlibabaCloud
ListResourceTypesOutcome listResourceTypes(const Model::ListResourceTypesRequest &request)const;
void listResourceTypesAsync(const Model::ListResourceTypesRequest& request, const ListResourceTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListResourceTypesOutcomeCallable listResourceTypesCallable(const Model::ListResourceTypesRequest& request) const;
ListSavedQueriesOutcome listSavedQueries(const Model::ListSavedQueriesRequest &request)const;
void listSavedQueriesAsync(const Model::ListSavedQueriesRequest& request, const ListSavedQueriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSavedQueriesOutcomeCallable listSavedQueriesCallable(const Model::ListSavedQueriesRequest& request) const;
ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const;
void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const;
@@ -172,6 +286,12 @@ namespace AlibabaCloud
SearchResourcesOutcome searchResources(const Model::SearchResourcesRequest &request)const;
void searchResourcesAsync(const Model::SearchResourcesRequest& request, const SearchResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchResourcesOutcomeCallable searchResourcesCallable(const Model::SearchResourcesRequest& request) const;
UpdateFilterOutcome updateFilter(const Model::UpdateFilterRequest &request)const;
void updateFilterAsync(const Model::UpdateFilterRequest& request, const UpdateFilterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateFilterOutcomeCallable updateFilterCallable(const Model::UpdateFilterRequest& request) const;
UpdateSavedQueryOutcome updateSavedQuery(const Model::UpdateSavedQueryRequest &request)const;
void updateSavedQueryAsync(const Model::UpdateSavedQueryRequest& request, const UpdateSavedQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSavedQueryOutcomeCallable updateSavedQueryCallable(const Model::UpdateSavedQueryRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -0,0 +1,42 @@
/*
* 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_RESOURCECENTER_MODEL_ASSOCIATEDEFAULTFILTERREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_ASSOCIATEDEFAULTFILTERREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT AssociateDefaultFilterRequest : public RpcServiceRequest {
public:
AssociateDefaultFilterRequest();
~AssociateDefaultFilterRequest();
std::string getFilterName() const;
void setFilterName(const std::string &filterName);
private:
std::string filterName_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_ASSOCIATEDEFAULTFILTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_ASSOCIATEDEFAULTFILTERRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_ASSOCIATEDEFAULTFILTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT AssociateDefaultFilterResult : public ServiceResult
{
public:
AssociateDefaultFilterResult();
explicit AssociateDefaultFilterResult(const std::string &payload);
~AssociateDefaultFilterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_ASSOCIATEDEFAULTFILTERRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* 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_RESOURCECENTER_MODEL_CREATEFILTERREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_CREATEFILTERREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT CreateFilterRequest : public RpcServiceRequest {
public:
CreateFilterRequest();
~CreateFilterRequest();
std::string getFilterName() const;
void setFilterName(const std::string &filterName);
std::string getFilterConfiguration() const;
void setFilterConfiguration(const std::string &filterConfiguration);
private:
std::string filterName_;
std::string filterConfiguration_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_CREATEFILTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_CREATEFILTERRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_CREATEFILTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT CreateFilterResult : public ServiceResult
{
public:
CreateFilterResult();
explicit CreateFilterResult(const std::string &payload);
~CreateFilterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_CREATEFILTERRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_RESOURCECENTER_MODEL_CREATESAVEDQUERYREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_CREATESAVEDQUERYREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT CreateSavedQueryRequest : public RpcServiceRequest {
public:
CreateSavedQueryRequest();
~CreateSavedQueryRequest();
std::string getExpression() const;
void setExpression(const std::string &expression);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getName() const;
void setName(const std::string &name);
private:
std::string expression_;
std::string description_;
std::string name_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_CREATESAVEDQUERYREQUEST_H_

View 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_RESOURCECENTER_MODEL_CREATESAVEDQUERYRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_CREATESAVEDQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT CreateSavedQueryResult : public ServiceResult
{
public:
CreateSavedQueryResult();
explicit CreateSavedQueryResult(const std::string &payload);
~CreateSavedQueryResult();
std::string getQueryId()const;
protected:
void parse(const std::string &payload);
private:
std::string queryId_;
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_CREATESAVEDQUERYRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* 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_RESOURCECENTER_MODEL_DELETEFILTERREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_DELETEFILTERREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT DeleteFilterRequest : public RpcServiceRequest {
public:
DeleteFilterRequest();
~DeleteFilterRequest();
std::string getFilterName() const;
void setFilterName(const std::string &filterName);
private:
std::string filterName_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_DELETEFILTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_DELETEFILTERRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_DELETEFILTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT DeleteFilterResult : public ServiceResult
{
public:
DeleteFilterResult();
explicit DeleteFilterResult(const std::string &payload);
~DeleteFilterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_DELETEFILTERRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* 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_RESOURCECENTER_MODEL_DELETESAVEDQUERYREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_DELETESAVEDQUERYREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT DeleteSavedQueryRequest : public RpcServiceRequest {
public:
DeleteSavedQueryRequest();
~DeleteSavedQueryRequest();
std::string getQueryId() const;
void setQueryId(const std::string &queryId);
private:
std::string queryId_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_DELETESAVEDQUERYREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_DELETESAVEDQUERYRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_DELETESAVEDQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT DeleteSavedQueryResult : public ServiceResult
{
public:
DeleteSavedQueryResult();
explicit DeleteSavedQueryResult(const std::string &payload);
~DeleteSavedQueryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_DELETESAVEDQUERYRESULT_H_

View File

@@ -0,0 +1,39 @@
/*
* 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_RESOURCECENTER_MODEL_DISASSOCIATEDEFAULTFILTERREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_DISASSOCIATEDEFAULTFILTERREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT DisassociateDefaultFilterRequest : public RpcServiceRequest {
public:
DisassociateDefaultFilterRequest();
~DisassociateDefaultFilterRequest();
private:
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_DISASSOCIATEDEFAULTFILTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_DISASSOCIATEDEFAULTFILTERRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_DISASSOCIATEDEFAULTFILTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT DisassociateDefaultFilterResult : public ServiceResult
{
public:
DisassociateDefaultFilterResult();
explicit DisassociateDefaultFilterResult(const std::string &payload);
~DisassociateDefaultFilterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_DISASSOCIATEDEFAULTFILTERRESULT_H_

View 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_RESOURCECENTER_MODEL_EXECUTEMULTIACCOUNTSQLQUERYREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTEMULTIACCOUNTSQLQUERYREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT ExecuteMultiAccountSQLQueryRequest : public RpcServiceRequest {
public:
ExecuteMultiAccountSQLQueryRequest();
~ExecuteMultiAccountSQLQueryRequest();
std::string getExpression() const;
void setExpression(const std::string &expression);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getScope() const;
void setScope(const std::string &scope);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string expression_;
std::string nextToken_;
std::string scope_;
int maxResults_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTEMULTIACCOUNTSQLQUERYREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTEMULTIACCOUNTSQLQUERYRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTEMULTIACCOUNTSQLQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT ExecuteMultiAccountSQLQueryResult : public ServiceResult
{
public:
struct Column
{
std::string type;
std::string name;
};
ExecuteMultiAccountSQLQueryResult();
explicit ExecuteMultiAccountSQLQueryResult(const std::string &payload);
~ExecuteMultiAccountSQLQueryResult();
std::string getNextToken()const;
int getMaxResults()const;
std::vector<Column> getColumns()const;
std::vector<std::string> getRows()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
int maxResults_;
std::vector<Column> columns_;
std::vector<std::string> rows_;
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTEMULTIACCOUNTSQLQUERYRESULT_H_

View 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_RESOURCECENTER_MODEL_EXECUTESQLQUERYREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTESQLQUERYREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT ExecuteSQLQueryRequest : public RpcServiceRequest {
public:
ExecuteSQLQueryRequest();
~ExecuteSQLQueryRequest();
std::string getExpression() const;
void setExpression(const std::string &expression);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getScope() const;
void setScope(const std::string &scope);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string expression_;
std::string nextToken_;
std::string scope_;
int maxResults_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTESQLQUERYREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTESQLQUERYRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTESQLQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT ExecuteSQLQueryResult : public ServiceResult
{
public:
struct Column
{
std::string type;
std::string name;
};
ExecuteSQLQueryResult();
explicit ExecuteSQLQueryResult(const std::string &payload);
~ExecuteSQLQueryResult();
std::string getNextToken()const;
int getMaxResults()const;
std::vector<Column> getColumns()const;
std::vector<std::string> getRows()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
int maxResults_;
std::vector<Column> columns_;
std::vector<std::string> rows_;
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_EXECUTESQLQUERYRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* 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_RESOURCECENTER_MODEL_GETEXAMPLEQUERYREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_GETEXAMPLEQUERYREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT GetExampleQueryRequest : public RpcServiceRequest {
public:
GetExampleQueryRequest();
~GetExampleQueryRequest();
std::string getQueryId() const;
void setQueryId(const std::string &queryId);
private:
std::string queryId_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_GETEXAMPLEQUERYREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_RESOURCECENTER_MODEL_GETEXAMPLEQUERYRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_GETEXAMPLEQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT GetExampleQueryResult : public ServiceResult
{
public:
struct ExampleQuery
{
std::string description;
std::string expression;
std::string queryId;
std::string name;
};
GetExampleQueryResult();
explicit GetExampleQueryResult(const std::string &payload);
~GetExampleQueryResult();
ExampleQuery getExampleQuery()const;
protected:
void parse(const std::string &payload);
private:
ExampleQuery exampleQuery_;
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_GETEXAMPLEQUERYRESULT_H_

View File

@@ -30,20 +30,20 @@ class ALIBABACLOUD_RESOURCECENTER_EXPORT GetMultiAccountResourceConfigurationReq
public:
GetMultiAccountResourceConfigurationRequest();
~GetMultiAccountResourceConfigurationRequest();
std::string getResourceId() const;
void setResourceId(const std::string &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getAccountId() const;
void setAccountId(const std::string &accountId);
std::string getResourceRegionId() const;
void setResourceRegionId(const std::string &resourceRegionId);
std::string getResourceId() const;
void setResourceId(const std::string &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
std::string resourceId_;
std::string resourceType_;
std::string accountId_;
std::string resourceRegionId_;
std::string resourceId_;
std::string resourceType_;
};
} // namespace Model
} // namespace ResourceCenter

View File

@@ -32,15 +32,52 @@ namespace AlibabaCloud
class ALIBABACLOUD_RESOURCECENTER_EXPORT GetMultiAccountResourceConfigurationResult : public ServiceResult
{
public:
struct IpAddressAttribute
{
std::string version;
std::string networkType;
std::string ipAddress;
};
struct Tag
{
std::string value;
std::string key;
};
GetMultiAccountResourceConfigurationResult();
explicit GetMultiAccountResourceConfigurationResult(const std::string &payload);
~GetMultiAccountResourceConfigurationResult();
std::string getAccountId()const;
std::string getConfiguration()const;
std::string getResourceGroupId()const;
std::string getZoneId()const;
std::string getResourceName()const;
std::string getCreateTime()const;
std::string getResourceType()const;
std::vector<std::string> getIpAddresses()const;
std::string getResourceId()const;
std::string getRegionId()const;
std::vector<IpAddressAttribute> getIpAddressAttributes()const;
std::string getExpireTime()const;
std::vector<Tag> getTags()const;
protected:
void parse(const std::string &payload);
private:
std::string accountId_;
std::string configuration_;
std::string resourceGroupId_;
std::string zoneId_;
std::string resourceName_;
std::string createTime_;
std::string resourceType_;
std::vector<std::string> ipAddresses_;
std::string resourceId_;
std::string regionId_;
std::vector<IpAddressAttribute> ipAddressAttributes_;
std::string expireTime_;
std::vector<Tag> tags_;
};
}

View File

@@ -36,11 +36,14 @@ public:
~GetResourceCountsRequest();
std::vector<Filter> getFilter() const;
void setFilter(const std::vector<Filter> &filter);
std::string getView() const;
void setView(const std::string &view);
std::string getGroupByKey() const;
void setGroupByKey(const std::string &groupByKey);
private:
std::vector<Filter> filter_;
std::string view_;
std::string groupByKey_;
};
} // namespace Model

View File

@@ -0,0 +1,42 @@
/*
* 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_RESOURCECENTER_MODEL_GETSAVEDQUERYREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_GETSAVEDQUERYREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT GetSavedQueryRequest : public RpcServiceRequest {
public:
GetSavedQueryRequest();
~GetSavedQueryRequest();
std::string getQueryId() const;
void setQueryId(const std::string &queryId);
private:
std::string queryId_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_GETSAVEDQUERYREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_GETSAVEDQUERYRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_GETSAVEDQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT GetSavedQueryResult : public ServiceResult
{
public:
struct SavedQuery
{
std::string description;
std::string expression;
std::string queryId;
std::string createTime;
std::string updateTime;
std::string name;
};
GetSavedQueryResult();
explicit GetSavedQueryResult(const std::string &payload);
~GetSavedQueryResult();
SavedQuery getSavedQuery()const;
protected:
void parse(const std::string &payload);
private:
SavedQuery savedQuery_;
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_GETSAVEDQUERYRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* 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_RESOURCECENTER_MODEL_LISTEXAMPLEQUERIESREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_LISTEXAMPLEQUERIESREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT ListExampleQueriesRequest : public RpcServiceRequest {
public:
ListExampleQueriesRequest();
~ListExampleQueriesRequest();
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getMaxResults() const;
void setMaxResults(const std::string &maxResults);
private:
std::string nextToken_;
std::string maxResults_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_LISTEXAMPLEQUERIESREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_RESOURCECENTER_MODEL_LISTEXAMPLEQUERIESRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_LISTEXAMPLEQUERIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT ListExampleQueriesResult : public ServiceResult
{
public:
struct ExampleQuery
{
std::string description;
std::string queryId;
std::string name;
};
ListExampleQueriesResult();
explicit ListExampleQueriesResult(const std::string &payload);
~ListExampleQueriesResult();
std::vector<ExampleQuery> getExampleQueries()const;
std::string getNextToken()const;
std::string getMaxResults()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ExampleQuery> exampleQueries_;
std::string nextToken_;
std::string maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_LISTEXAMPLEQUERIESRESULT_H_

View File

@@ -0,0 +1,39 @@
/*
* 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_RESOURCECENTER_MODEL_LISTFILTERSREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_LISTFILTERSREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT ListFiltersRequest : public RpcServiceRequest {
public:
ListFiltersRequest();
~ListFiltersRequest();
private:
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_LISTFILTERSREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_RESOURCECENTER_MODEL_LISTFILTERSRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_LISTFILTERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT ListFiltersResult : public ServiceResult
{
public:
struct Filter
{
std::string filterConfiguration;
std::string filterName;
};
ListFiltersResult();
explicit ListFiltersResult(const std::string &payload);
~ListFiltersResult();
std::vector<Filter> getFilters()const;
std::string getDefaultFilterName()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Filter> filters_;
std::string defaultFilterName_;
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_LISTFILTERSRESULT_H_

View File

@@ -32,17 +32,17 @@ public:
~ListMultiAccountResourceGroupsRequest();
std::string getAccountId() const;
void setAccountId(const std::string &accountId);
std::vector<std::string> getResourceGroupIds() const;
void setResourceGroupIds(const std::vector<std::string> &resourceGroupIds);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::vector<std::string> getResourceGroupIds() const;
void setResourceGroupIds(const std::vector<std::string> &resourceGroupIds);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string accountId_;
std::vector<std::string> resourceGroupIds_;
std::string nextToken_;
std::vector<std::string> resourceGroupIds_;
int maxResults_;
};
} // namespace Model

View File

@@ -46,6 +46,7 @@ namespace AlibabaCloud
};
std::string resourceTypeName;
std::string productName;
bool authorized;
std::vector<std::string> filterKeys;
CodeMapping codeMapping;
std::string resourceType;
@@ -58,8 +59,8 @@ namespace AlibabaCloud
~ListResourceTypesResult();
std::vector<ResourceType> getResourceTypes()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
@@ -68,8 +69,8 @@ namespace AlibabaCloud
private:
std::vector<ResourceType> resourceTypes_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorCode_;
std::string errorMessage_;
bool success_;

View File

@@ -0,0 +1,45 @@
/*
* 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_RESOURCECENTER_MODEL_LISTSAVEDQUERIESREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_LISTSAVEDQUERIESREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT ListSavedQueriesRequest : public RpcServiceRequest {
public:
ListSavedQueriesRequest();
~ListSavedQueriesRequest();
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getMaxResults() const;
void setMaxResults(const std::string &maxResults);
private:
std::string nextToken_;
std::string maxResults_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_LISTSAVEDQUERIESREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_LISTSAVEDQUERIESRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_LISTSAVEDQUERIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT ListSavedQueriesResult : public ServiceResult
{
public:
struct SavedQuery
{
std::string description;
std::string queryId;
std::string createTime;
std::string updateTime;
std::string name;
};
ListSavedQueriesResult();
explicit ListSavedQueriesResult(const std::string &payload);
~ListSavedQueriesResult();
std::string getNextToken()const;
std::string getMaxResults()const;
std::vector<SavedQuery> getSavedQueries()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::string maxResults_;
std::vector<SavedQuery> savedQueries_;
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_LISTSAVEDQUERIESRESULT_H_

View File

@@ -40,6 +40,12 @@ namespace AlibabaCloud
};
struct Resource
{
struct IpAddressAttribute
{
std::string version;
std::string networkType;
std::string ipAddress;
};
struct Tag
{
std::string value;
@@ -54,6 +60,8 @@ namespace AlibabaCloud
std::string createTime;
std::string resourceType;
std::string regionId;
std::vector<Resource::IpAddressAttribute> ipAddressAttributes;
std::string expireTime;
std::vector<Resource::Tag> tags;
};

View File

@@ -40,6 +40,8 @@ public:
~SearchResourcesRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getView() const;
void setView(const std::string &view);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
SortCriterion getSortCriterion() const;
@@ -51,6 +53,7 @@ public:
private:
std::string resourceGroupId_;
std::string view_;
std::string nextToken_;
SortCriterion sortCriterion_;
std::vector<Filter> filter_;

View File

@@ -45,6 +45,12 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
struct IpAddressAttribute
{
std::string version;
std::string networkType;
std::string ipAddress;
};
std::vector<std::string> ipAddresses;
std::string accountId;
std::string resourceGroupId;
@@ -54,6 +60,8 @@ namespace AlibabaCloud
std::string createTime;
std::string resourceType;
std::string regionId;
std::vector<Resource::IpAddressAttribute> ipAddressAttributes;
std::string expireTime;
std::vector<Resource::Tag> tags;
};

View File

@@ -0,0 +1,45 @@
/*
* 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_RESOURCECENTER_MODEL_UPDATEFILTERREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATEFILTERREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT UpdateFilterRequest : public RpcServiceRequest {
public:
UpdateFilterRequest();
~UpdateFilterRequest();
std::string getFilterName() const;
void setFilterName(const std::string &filterName);
std::string getFilterConfiguration() const;
void setFilterConfiguration(const std::string &filterConfiguration);
private:
std::string filterName_;
std::string filterConfiguration_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATEFILTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATEFILTERRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATEFILTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT UpdateFilterResult : public ServiceResult
{
public:
UpdateFilterResult();
explicit UpdateFilterResult(const std::string &payload);
~UpdateFilterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATEFILTERRESULT_H_

View 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_RESOURCECENTER_MODEL_UPDATESAVEDQUERYREQUEST_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATESAVEDQUERYREQUEST_H_
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace ResourceCenter {
namespace Model {
class ALIBABACLOUD_RESOURCECENTER_EXPORT UpdateSavedQueryRequest : public RpcServiceRequest {
public:
UpdateSavedQueryRequest();
~UpdateSavedQueryRequest();
std::string getExpression() const;
void setExpression(const std::string &expression);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getQueryId() const;
void setQueryId(const std::string &queryId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string expression_;
std::string description_;
std::string queryId_;
std::string name_;
};
} // namespace Model
} // namespace ResourceCenter
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATESAVEDQUERYREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATESAVEDQUERYRESULT_H_
#define ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATESAVEDQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/resourcecenter/ResourceCenterExport.h>
namespace AlibabaCloud
{
namespace ResourceCenter
{
namespace Model
{
class ALIBABACLOUD_RESOURCECENTER_EXPORT UpdateSavedQueryResult : public ServiceResult
{
public:
UpdateSavedQueryResult();
explicit UpdateSavedQueryResult(const std::string &payload);
~UpdateSavedQueryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RESOURCECENTER_MODEL_UPDATESAVEDQUERYRESULT_H_