Supported dynamicRoute.
This commit is contained in:
342
csas/include/alibabacloud/csas/CsasClient.h
Normal file
342
csas/include/alibabacloud/csas/CsasClient.h
Normal file
@@ -0,0 +1,342 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CSAS_CSASCLIENT_H_
|
||||
#define ALIBABACLOUD_CSAS_CSASCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CsasExport.h"
|
||||
#include "model/AttachApplication2ConnectorRequest.h"
|
||||
#include "model/AttachApplication2ConnectorResult.h"
|
||||
#include "model/CreateDynamicRouteRequest.h"
|
||||
#include "model/CreateDynamicRouteResult.h"
|
||||
#include "model/CreatePrivateAccessApplicationRequest.h"
|
||||
#include "model/CreatePrivateAccessApplicationResult.h"
|
||||
#include "model/CreatePrivateAccessPolicyRequest.h"
|
||||
#include "model/CreatePrivateAccessPolicyResult.h"
|
||||
#include "model/CreatePrivateAccessTagRequest.h"
|
||||
#include "model/CreatePrivateAccessTagResult.h"
|
||||
#include "model/CreateUserGroupRequest.h"
|
||||
#include "model/CreateUserGroupResult.h"
|
||||
#include "model/DeleteDynamicRouteRequest.h"
|
||||
#include "model/DeleteDynamicRouteResult.h"
|
||||
#include "model/DeletePrivateAccessApplicationRequest.h"
|
||||
#include "model/DeletePrivateAccessApplicationResult.h"
|
||||
#include "model/DeletePrivateAccessPolicyRequest.h"
|
||||
#include "model/DeletePrivateAccessPolicyResult.h"
|
||||
#include "model/DeletePrivateAccessTagRequest.h"
|
||||
#include "model/DeletePrivateAccessTagResult.h"
|
||||
#include "model/DeleteUserGroupRequest.h"
|
||||
#include "model/DeleteUserGroupResult.h"
|
||||
#include "model/DetachApplication2ConnectorRequest.h"
|
||||
#include "model/DetachApplication2ConnectorResult.h"
|
||||
#include "model/GetDynamicRouteRequest.h"
|
||||
#include "model/GetDynamicRouteResult.h"
|
||||
#include "model/GetPrivateAccessApplicationRequest.h"
|
||||
#include "model/GetPrivateAccessApplicationResult.h"
|
||||
#include "model/GetPrivateAccessPolicyRequest.h"
|
||||
#include "model/GetPrivateAccessPolicyResult.h"
|
||||
#include "model/GetUserGroupRequest.h"
|
||||
#include "model/GetUserGroupResult.h"
|
||||
#include "model/ListApplicationsForPrivateAccessPolicyRequest.h"
|
||||
#include "model/ListApplicationsForPrivateAccessPolicyResult.h"
|
||||
#include "model/ListApplicationsForPrivateAccessTagRequest.h"
|
||||
#include "model/ListApplicationsForPrivateAccessTagResult.h"
|
||||
#include "model/ListConnectorsRequest.h"
|
||||
#include "model/ListConnectorsResult.h"
|
||||
#include "model/ListDynamicRouteRegionsRequest.h"
|
||||
#include "model/ListDynamicRouteRegionsResult.h"
|
||||
#include "model/ListDynamicRoutesRequest.h"
|
||||
#include "model/ListDynamicRoutesResult.h"
|
||||
#include "model/ListPolicesForPrivateAccessApplicationRequest.h"
|
||||
#include "model/ListPolicesForPrivateAccessApplicationResult.h"
|
||||
#include "model/ListPolicesForPrivateAccessTagRequest.h"
|
||||
#include "model/ListPolicesForPrivateAccessTagResult.h"
|
||||
#include "model/ListPolicesForUserGroupRequest.h"
|
||||
#include "model/ListPolicesForUserGroupResult.h"
|
||||
#include "model/ListPrivateAccessApplicationsRequest.h"
|
||||
#include "model/ListPrivateAccessApplicationsResult.h"
|
||||
#include "model/ListPrivateAccessApplicationsForDynamicRouteRequest.h"
|
||||
#include "model/ListPrivateAccessApplicationsForDynamicRouteResult.h"
|
||||
#include "model/ListPrivateAccessPolicesRequest.h"
|
||||
#include "model/ListPrivateAccessPolicesResult.h"
|
||||
#include "model/ListPrivateAccessTagsRequest.h"
|
||||
#include "model/ListPrivateAccessTagsResult.h"
|
||||
#include "model/ListPrivateAccessTagsForDynamicRouteRequest.h"
|
||||
#include "model/ListPrivateAccessTagsForDynamicRouteResult.h"
|
||||
#include "model/ListTagsForPrivateAccessApplicationRequest.h"
|
||||
#include "model/ListTagsForPrivateAccessApplicationResult.h"
|
||||
#include "model/ListTagsForPrivateAccessPolicyRequest.h"
|
||||
#include "model/ListTagsForPrivateAccessPolicyResult.h"
|
||||
#include "model/ListUserGroupsRequest.h"
|
||||
#include "model/ListUserGroupsResult.h"
|
||||
#include "model/ListUserGroupsForPrivateAccessPolicyRequest.h"
|
||||
#include "model/ListUserGroupsForPrivateAccessPolicyResult.h"
|
||||
#include "model/UpdateDynamicRouteRequest.h"
|
||||
#include "model/UpdateDynamicRouteResult.h"
|
||||
#include "model/UpdatePrivateAccessApplicationRequest.h"
|
||||
#include "model/UpdatePrivateAccessApplicationResult.h"
|
||||
#include "model/UpdatePrivateAccessPolicyRequest.h"
|
||||
#include "model/UpdatePrivateAccessPolicyResult.h"
|
||||
#include "model/UpdateUserGroupRequest.h"
|
||||
#include "model/UpdateUserGroupResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT CsasClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AttachApplication2ConnectorResult> AttachApplication2ConnectorOutcome;
|
||||
typedef std::future<AttachApplication2ConnectorOutcome> AttachApplication2ConnectorOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::AttachApplication2ConnectorRequest&, const AttachApplication2ConnectorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachApplication2ConnectorAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDynamicRouteResult> CreateDynamicRouteOutcome;
|
||||
typedef std::future<CreateDynamicRouteOutcome> CreateDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateDynamicRouteRequest&, const CreateDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePrivateAccessApplicationResult> CreatePrivateAccessApplicationOutcome;
|
||||
typedef std::future<CreatePrivateAccessApplicationOutcome> CreatePrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreatePrivateAccessApplicationRequest&, const CreatePrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePrivateAccessApplicationAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePrivateAccessPolicyResult> CreatePrivateAccessPolicyOutcome;
|
||||
typedef std::future<CreatePrivateAccessPolicyOutcome> CreatePrivateAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreatePrivateAccessPolicyRequest&, const CreatePrivateAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePrivateAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePrivateAccessTagResult> CreatePrivateAccessTagOutcome;
|
||||
typedef std::future<CreatePrivateAccessTagOutcome> CreatePrivateAccessTagOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreatePrivateAccessTagRequest&, const CreatePrivateAccessTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePrivateAccessTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserGroupResult> CreateUserGroupOutcome;
|
||||
typedef std::future<CreateUserGroupOutcome> CreateUserGroupOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateUserGroupRequest&, const CreateUserGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDynamicRouteResult> DeleteDynamicRouteOutcome;
|
||||
typedef std::future<DeleteDynamicRouteOutcome> DeleteDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeleteDynamicRouteRequest&, const DeleteDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePrivateAccessApplicationResult> DeletePrivateAccessApplicationOutcome;
|
||||
typedef std::future<DeletePrivateAccessApplicationOutcome> DeletePrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeletePrivateAccessApplicationRequest&, const DeletePrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePrivateAccessApplicationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePrivateAccessPolicyResult> DeletePrivateAccessPolicyOutcome;
|
||||
typedef std::future<DeletePrivateAccessPolicyOutcome> DeletePrivateAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeletePrivateAccessPolicyRequest&, const DeletePrivateAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePrivateAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePrivateAccessTagResult> DeletePrivateAccessTagOutcome;
|
||||
typedef std::future<DeletePrivateAccessTagOutcome> DeletePrivateAccessTagOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeletePrivateAccessTagRequest&, const DeletePrivateAccessTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePrivateAccessTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUserGroupResult> DeleteUserGroupOutcome;
|
||||
typedef std::future<DeleteUserGroupOutcome> DeleteUserGroupOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeleteUserGroupRequest&, const DeleteUserGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachApplication2ConnectorResult> DetachApplication2ConnectorOutcome;
|
||||
typedef std::future<DetachApplication2ConnectorOutcome> DetachApplication2ConnectorOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DetachApplication2ConnectorRequest&, const DetachApplication2ConnectorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachApplication2ConnectorAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDynamicRouteResult> GetDynamicRouteOutcome;
|
||||
typedef std::future<GetDynamicRouteOutcome> GetDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetDynamicRouteRequest&, const GetDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPrivateAccessApplicationResult> GetPrivateAccessApplicationOutcome;
|
||||
typedef std::future<GetPrivateAccessApplicationOutcome> GetPrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetPrivateAccessApplicationRequest&, const GetPrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrivateAccessApplicationAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPrivateAccessPolicyResult> GetPrivateAccessPolicyOutcome;
|
||||
typedef std::future<GetPrivateAccessPolicyOutcome> GetPrivateAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetPrivateAccessPolicyRequest&, const GetPrivateAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrivateAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserGroupResult> GetUserGroupOutcome;
|
||||
typedef std::future<GetUserGroupOutcome> GetUserGroupOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetUserGroupRequest&, const GetUserGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListApplicationsForPrivateAccessPolicyResult> ListApplicationsForPrivateAccessPolicyOutcome;
|
||||
typedef std::future<ListApplicationsForPrivateAccessPolicyOutcome> ListApplicationsForPrivateAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListApplicationsForPrivateAccessPolicyRequest&, const ListApplicationsForPrivateAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationsForPrivateAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListApplicationsForPrivateAccessTagResult> ListApplicationsForPrivateAccessTagOutcome;
|
||||
typedef std::future<ListApplicationsForPrivateAccessTagOutcome> ListApplicationsForPrivateAccessTagOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListApplicationsForPrivateAccessTagRequest&, const ListApplicationsForPrivateAccessTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationsForPrivateAccessTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListConnectorsResult> ListConnectorsOutcome;
|
||||
typedef std::future<ListConnectorsOutcome> ListConnectorsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListConnectorsRequest&, const ListConnectorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConnectorsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDynamicRouteRegionsResult> ListDynamicRouteRegionsOutcome;
|
||||
typedef std::future<ListDynamicRouteRegionsOutcome> ListDynamicRouteRegionsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListDynamicRouteRegionsRequest&, const ListDynamicRouteRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDynamicRouteRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDynamicRoutesResult> ListDynamicRoutesOutcome;
|
||||
typedef std::future<ListDynamicRoutesOutcome> ListDynamicRoutesOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListDynamicRoutesRequest&, const ListDynamicRoutesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDynamicRoutesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPolicesForPrivateAccessApplicationResult> ListPolicesForPrivateAccessApplicationOutcome;
|
||||
typedef std::future<ListPolicesForPrivateAccessApplicationOutcome> ListPolicesForPrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPolicesForPrivateAccessApplicationRequest&, const ListPolicesForPrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPolicesForPrivateAccessApplicationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPolicesForPrivateAccessTagResult> ListPolicesForPrivateAccessTagOutcome;
|
||||
typedef std::future<ListPolicesForPrivateAccessTagOutcome> ListPolicesForPrivateAccessTagOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPolicesForPrivateAccessTagRequest&, const ListPolicesForPrivateAccessTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPolicesForPrivateAccessTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPolicesForUserGroupResult> ListPolicesForUserGroupOutcome;
|
||||
typedef std::future<ListPolicesForUserGroupOutcome> ListPolicesForUserGroupOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPolicesForUserGroupRequest&, const ListPolicesForUserGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPolicesForUserGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrivateAccessApplicationsResult> ListPrivateAccessApplicationsOutcome;
|
||||
typedef std::future<ListPrivateAccessApplicationsOutcome> ListPrivateAccessApplicationsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPrivateAccessApplicationsRequest&, const ListPrivateAccessApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivateAccessApplicationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrivateAccessApplicationsForDynamicRouteResult> ListPrivateAccessApplicationsForDynamicRouteOutcome;
|
||||
typedef std::future<ListPrivateAccessApplicationsForDynamicRouteOutcome> ListPrivateAccessApplicationsForDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPrivateAccessApplicationsForDynamicRouteRequest&, const ListPrivateAccessApplicationsForDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivateAccessApplicationsForDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrivateAccessPolicesResult> ListPrivateAccessPolicesOutcome;
|
||||
typedef std::future<ListPrivateAccessPolicesOutcome> ListPrivateAccessPolicesOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPrivateAccessPolicesRequest&, const ListPrivateAccessPolicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivateAccessPolicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrivateAccessTagsResult> ListPrivateAccessTagsOutcome;
|
||||
typedef std::future<ListPrivateAccessTagsOutcome> ListPrivateAccessTagsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPrivateAccessTagsRequest&, const ListPrivateAccessTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivateAccessTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrivateAccessTagsForDynamicRouteResult> ListPrivateAccessTagsForDynamicRouteOutcome;
|
||||
typedef std::future<ListPrivateAccessTagsForDynamicRouteOutcome> ListPrivateAccessTagsForDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPrivateAccessTagsForDynamicRouteRequest&, const ListPrivateAccessTagsForDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivateAccessTagsForDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagsForPrivateAccessApplicationResult> ListTagsForPrivateAccessApplicationOutcome;
|
||||
typedef std::future<ListTagsForPrivateAccessApplicationOutcome> ListTagsForPrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListTagsForPrivateAccessApplicationRequest&, const ListTagsForPrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagsForPrivateAccessApplicationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagsForPrivateAccessPolicyResult> ListTagsForPrivateAccessPolicyOutcome;
|
||||
typedef std::future<ListTagsForPrivateAccessPolicyOutcome> ListTagsForPrivateAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListTagsForPrivateAccessPolicyRequest&, const ListTagsForPrivateAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagsForPrivateAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUserGroupsResult> ListUserGroupsOutcome;
|
||||
typedef std::future<ListUserGroupsOutcome> ListUserGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListUserGroupsRequest&, const ListUserGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUserGroupsForPrivateAccessPolicyResult> ListUserGroupsForPrivateAccessPolicyOutcome;
|
||||
typedef std::future<ListUserGroupsForPrivateAccessPolicyOutcome> ListUserGroupsForPrivateAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListUserGroupsForPrivateAccessPolicyRequest&, const ListUserGroupsForPrivateAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserGroupsForPrivateAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDynamicRouteResult> UpdateDynamicRouteOutcome;
|
||||
typedef std::future<UpdateDynamicRouteOutcome> UpdateDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateDynamicRouteRequest&, const UpdateDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdatePrivateAccessApplicationResult> UpdatePrivateAccessApplicationOutcome;
|
||||
typedef std::future<UpdatePrivateAccessApplicationOutcome> UpdatePrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdatePrivateAccessApplicationRequest&, const UpdatePrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePrivateAccessApplicationAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdatePrivateAccessPolicyResult> UpdatePrivateAccessPolicyOutcome;
|
||||
typedef std::future<UpdatePrivateAccessPolicyOutcome> UpdatePrivateAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdatePrivateAccessPolicyRequest&, const UpdatePrivateAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePrivateAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateUserGroupResult> UpdateUserGroupOutcome;
|
||||
typedef std::future<UpdateUserGroupOutcome> UpdateUserGroupOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateUserGroupRequest&, const UpdateUserGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateUserGroupAsyncHandler;
|
||||
|
||||
CsasClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CsasClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CsasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CsasClient();
|
||||
AttachApplication2ConnectorOutcome attachApplication2Connector(const Model::AttachApplication2ConnectorRequest &request)const;
|
||||
void attachApplication2ConnectorAsync(const Model::AttachApplication2ConnectorRequest& request, const AttachApplication2ConnectorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachApplication2ConnectorOutcomeCallable attachApplication2ConnectorCallable(const Model::AttachApplication2ConnectorRequest& request) const;
|
||||
CreateDynamicRouteOutcome createDynamicRoute(const Model::CreateDynamicRouteRequest &request)const;
|
||||
void createDynamicRouteAsync(const Model::CreateDynamicRouteRequest& request, const CreateDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDynamicRouteOutcomeCallable createDynamicRouteCallable(const Model::CreateDynamicRouteRequest& request) const;
|
||||
CreatePrivateAccessApplicationOutcome createPrivateAccessApplication(const Model::CreatePrivateAccessApplicationRequest &request)const;
|
||||
void createPrivateAccessApplicationAsync(const Model::CreatePrivateAccessApplicationRequest& request, const CreatePrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePrivateAccessApplicationOutcomeCallable createPrivateAccessApplicationCallable(const Model::CreatePrivateAccessApplicationRequest& request) const;
|
||||
CreatePrivateAccessPolicyOutcome createPrivateAccessPolicy(const Model::CreatePrivateAccessPolicyRequest &request)const;
|
||||
void createPrivateAccessPolicyAsync(const Model::CreatePrivateAccessPolicyRequest& request, const CreatePrivateAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePrivateAccessPolicyOutcomeCallable createPrivateAccessPolicyCallable(const Model::CreatePrivateAccessPolicyRequest& request) const;
|
||||
CreatePrivateAccessTagOutcome createPrivateAccessTag(const Model::CreatePrivateAccessTagRequest &request)const;
|
||||
void createPrivateAccessTagAsync(const Model::CreatePrivateAccessTagRequest& request, const CreatePrivateAccessTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePrivateAccessTagOutcomeCallable createPrivateAccessTagCallable(const Model::CreatePrivateAccessTagRequest& request) const;
|
||||
CreateUserGroupOutcome createUserGroup(const Model::CreateUserGroupRequest &request)const;
|
||||
void createUserGroupAsync(const Model::CreateUserGroupRequest& request, const CreateUserGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserGroupOutcomeCallable createUserGroupCallable(const Model::CreateUserGroupRequest& request) const;
|
||||
DeleteDynamicRouteOutcome deleteDynamicRoute(const Model::DeleteDynamicRouteRequest &request)const;
|
||||
void deleteDynamicRouteAsync(const Model::DeleteDynamicRouteRequest& request, const DeleteDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDynamicRouteOutcomeCallable deleteDynamicRouteCallable(const Model::DeleteDynamicRouteRequest& request) const;
|
||||
DeletePrivateAccessApplicationOutcome deletePrivateAccessApplication(const Model::DeletePrivateAccessApplicationRequest &request)const;
|
||||
void deletePrivateAccessApplicationAsync(const Model::DeletePrivateAccessApplicationRequest& request, const DeletePrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePrivateAccessApplicationOutcomeCallable deletePrivateAccessApplicationCallable(const Model::DeletePrivateAccessApplicationRequest& request) const;
|
||||
DeletePrivateAccessPolicyOutcome deletePrivateAccessPolicy(const Model::DeletePrivateAccessPolicyRequest &request)const;
|
||||
void deletePrivateAccessPolicyAsync(const Model::DeletePrivateAccessPolicyRequest& request, const DeletePrivateAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePrivateAccessPolicyOutcomeCallable deletePrivateAccessPolicyCallable(const Model::DeletePrivateAccessPolicyRequest& request) const;
|
||||
DeletePrivateAccessTagOutcome deletePrivateAccessTag(const Model::DeletePrivateAccessTagRequest &request)const;
|
||||
void deletePrivateAccessTagAsync(const Model::DeletePrivateAccessTagRequest& request, const DeletePrivateAccessTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePrivateAccessTagOutcomeCallable deletePrivateAccessTagCallable(const Model::DeletePrivateAccessTagRequest& request) const;
|
||||
DeleteUserGroupOutcome deleteUserGroup(const Model::DeleteUserGroupRequest &request)const;
|
||||
void deleteUserGroupAsync(const Model::DeleteUserGroupRequest& request, const DeleteUserGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserGroupOutcomeCallable deleteUserGroupCallable(const Model::DeleteUserGroupRequest& request) const;
|
||||
DetachApplication2ConnectorOutcome detachApplication2Connector(const Model::DetachApplication2ConnectorRequest &request)const;
|
||||
void detachApplication2ConnectorAsync(const Model::DetachApplication2ConnectorRequest& request, const DetachApplication2ConnectorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachApplication2ConnectorOutcomeCallable detachApplication2ConnectorCallable(const Model::DetachApplication2ConnectorRequest& request) const;
|
||||
GetDynamicRouteOutcome getDynamicRoute(const Model::GetDynamicRouteRequest &request)const;
|
||||
void getDynamicRouteAsync(const Model::GetDynamicRouteRequest& request, const GetDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDynamicRouteOutcomeCallable getDynamicRouteCallable(const Model::GetDynamicRouteRequest& request) const;
|
||||
GetPrivateAccessApplicationOutcome getPrivateAccessApplication(const Model::GetPrivateAccessApplicationRequest &request)const;
|
||||
void getPrivateAccessApplicationAsync(const Model::GetPrivateAccessApplicationRequest& request, const GetPrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPrivateAccessApplicationOutcomeCallable getPrivateAccessApplicationCallable(const Model::GetPrivateAccessApplicationRequest& request) const;
|
||||
GetPrivateAccessPolicyOutcome getPrivateAccessPolicy(const Model::GetPrivateAccessPolicyRequest &request)const;
|
||||
void getPrivateAccessPolicyAsync(const Model::GetPrivateAccessPolicyRequest& request, const GetPrivateAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPrivateAccessPolicyOutcomeCallable getPrivateAccessPolicyCallable(const Model::GetPrivateAccessPolicyRequest& request) const;
|
||||
GetUserGroupOutcome getUserGroup(const Model::GetUserGroupRequest &request)const;
|
||||
void getUserGroupAsync(const Model::GetUserGroupRequest& request, const GetUserGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserGroupOutcomeCallable getUserGroupCallable(const Model::GetUserGroupRequest& request) const;
|
||||
ListApplicationsForPrivateAccessPolicyOutcome listApplicationsForPrivateAccessPolicy(const Model::ListApplicationsForPrivateAccessPolicyRequest &request)const;
|
||||
void listApplicationsForPrivateAccessPolicyAsync(const Model::ListApplicationsForPrivateAccessPolicyRequest& request, const ListApplicationsForPrivateAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListApplicationsForPrivateAccessPolicyOutcomeCallable listApplicationsForPrivateAccessPolicyCallable(const Model::ListApplicationsForPrivateAccessPolicyRequest& request) const;
|
||||
ListApplicationsForPrivateAccessTagOutcome listApplicationsForPrivateAccessTag(const Model::ListApplicationsForPrivateAccessTagRequest &request)const;
|
||||
void listApplicationsForPrivateAccessTagAsync(const Model::ListApplicationsForPrivateAccessTagRequest& request, const ListApplicationsForPrivateAccessTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListApplicationsForPrivateAccessTagOutcomeCallable listApplicationsForPrivateAccessTagCallable(const Model::ListApplicationsForPrivateAccessTagRequest& request) const;
|
||||
ListConnectorsOutcome listConnectors(const Model::ListConnectorsRequest &request)const;
|
||||
void listConnectorsAsync(const Model::ListConnectorsRequest& request, const ListConnectorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConnectorsOutcomeCallable listConnectorsCallable(const Model::ListConnectorsRequest& request) const;
|
||||
ListDynamicRouteRegionsOutcome listDynamicRouteRegions(const Model::ListDynamicRouteRegionsRequest &request)const;
|
||||
void listDynamicRouteRegionsAsync(const Model::ListDynamicRouteRegionsRequest& request, const ListDynamicRouteRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDynamicRouteRegionsOutcomeCallable listDynamicRouteRegionsCallable(const Model::ListDynamicRouteRegionsRequest& request) const;
|
||||
ListDynamicRoutesOutcome listDynamicRoutes(const Model::ListDynamicRoutesRequest &request)const;
|
||||
void listDynamicRoutesAsync(const Model::ListDynamicRoutesRequest& request, const ListDynamicRoutesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDynamicRoutesOutcomeCallable listDynamicRoutesCallable(const Model::ListDynamicRoutesRequest& request) const;
|
||||
ListPolicesForPrivateAccessApplicationOutcome listPolicesForPrivateAccessApplication(const Model::ListPolicesForPrivateAccessApplicationRequest &request)const;
|
||||
void listPolicesForPrivateAccessApplicationAsync(const Model::ListPolicesForPrivateAccessApplicationRequest& request, const ListPolicesForPrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPolicesForPrivateAccessApplicationOutcomeCallable listPolicesForPrivateAccessApplicationCallable(const Model::ListPolicesForPrivateAccessApplicationRequest& request) const;
|
||||
ListPolicesForPrivateAccessTagOutcome listPolicesForPrivateAccessTag(const Model::ListPolicesForPrivateAccessTagRequest &request)const;
|
||||
void listPolicesForPrivateAccessTagAsync(const Model::ListPolicesForPrivateAccessTagRequest& request, const ListPolicesForPrivateAccessTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPolicesForPrivateAccessTagOutcomeCallable listPolicesForPrivateAccessTagCallable(const Model::ListPolicesForPrivateAccessTagRequest& request) const;
|
||||
ListPolicesForUserGroupOutcome listPolicesForUserGroup(const Model::ListPolicesForUserGroupRequest &request)const;
|
||||
void listPolicesForUserGroupAsync(const Model::ListPolicesForUserGroupRequest& request, const ListPolicesForUserGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPolicesForUserGroupOutcomeCallable listPolicesForUserGroupCallable(const Model::ListPolicesForUserGroupRequest& request) const;
|
||||
ListPrivateAccessApplicationsOutcome listPrivateAccessApplications(const Model::ListPrivateAccessApplicationsRequest &request)const;
|
||||
void listPrivateAccessApplicationsAsync(const Model::ListPrivateAccessApplicationsRequest& request, const ListPrivateAccessApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrivateAccessApplicationsOutcomeCallable listPrivateAccessApplicationsCallable(const Model::ListPrivateAccessApplicationsRequest& request) const;
|
||||
ListPrivateAccessApplicationsForDynamicRouteOutcome listPrivateAccessApplicationsForDynamicRoute(const Model::ListPrivateAccessApplicationsForDynamicRouteRequest &request)const;
|
||||
void listPrivateAccessApplicationsForDynamicRouteAsync(const Model::ListPrivateAccessApplicationsForDynamicRouteRequest& request, const ListPrivateAccessApplicationsForDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrivateAccessApplicationsForDynamicRouteOutcomeCallable listPrivateAccessApplicationsForDynamicRouteCallable(const Model::ListPrivateAccessApplicationsForDynamicRouteRequest& request) const;
|
||||
ListPrivateAccessPolicesOutcome listPrivateAccessPolices(const Model::ListPrivateAccessPolicesRequest &request)const;
|
||||
void listPrivateAccessPolicesAsync(const Model::ListPrivateAccessPolicesRequest& request, const ListPrivateAccessPolicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrivateAccessPolicesOutcomeCallable listPrivateAccessPolicesCallable(const Model::ListPrivateAccessPolicesRequest& request) const;
|
||||
ListPrivateAccessTagsOutcome listPrivateAccessTags(const Model::ListPrivateAccessTagsRequest &request)const;
|
||||
void listPrivateAccessTagsAsync(const Model::ListPrivateAccessTagsRequest& request, const ListPrivateAccessTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrivateAccessTagsOutcomeCallable listPrivateAccessTagsCallable(const Model::ListPrivateAccessTagsRequest& request) const;
|
||||
ListPrivateAccessTagsForDynamicRouteOutcome listPrivateAccessTagsForDynamicRoute(const Model::ListPrivateAccessTagsForDynamicRouteRequest &request)const;
|
||||
void listPrivateAccessTagsForDynamicRouteAsync(const Model::ListPrivateAccessTagsForDynamicRouteRequest& request, const ListPrivateAccessTagsForDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrivateAccessTagsForDynamicRouteOutcomeCallable listPrivateAccessTagsForDynamicRouteCallable(const Model::ListPrivateAccessTagsForDynamicRouteRequest& request) const;
|
||||
ListTagsForPrivateAccessApplicationOutcome listTagsForPrivateAccessApplication(const Model::ListTagsForPrivateAccessApplicationRequest &request)const;
|
||||
void listTagsForPrivateAccessApplicationAsync(const Model::ListTagsForPrivateAccessApplicationRequest& request, const ListTagsForPrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagsForPrivateAccessApplicationOutcomeCallable listTagsForPrivateAccessApplicationCallable(const Model::ListTagsForPrivateAccessApplicationRequest& request) const;
|
||||
ListTagsForPrivateAccessPolicyOutcome listTagsForPrivateAccessPolicy(const Model::ListTagsForPrivateAccessPolicyRequest &request)const;
|
||||
void listTagsForPrivateAccessPolicyAsync(const Model::ListTagsForPrivateAccessPolicyRequest& request, const ListTagsForPrivateAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagsForPrivateAccessPolicyOutcomeCallable listTagsForPrivateAccessPolicyCallable(const Model::ListTagsForPrivateAccessPolicyRequest& request) const;
|
||||
ListUserGroupsOutcome listUserGroups(const Model::ListUserGroupsRequest &request)const;
|
||||
void listUserGroupsAsync(const Model::ListUserGroupsRequest& request, const ListUserGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUserGroupsOutcomeCallable listUserGroupsCallable(const Model::ListUserGroupsRequest& request) const;
|
||||
ListUserGroupsForPrivateAccessPolicyOutcome listUserGroupsForPrivateAccessPolicy(const Model::ListUserGroupsForPrivateAccessPolicyRequest &request)const;
|
||||
void listUserGroupsForPrivateAccessPolicyAsync(const Model::ListUserGroupsForPrivateAccessPolicyRequest& request, const ListUserGroupsForPrivateAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUserGroupsForPrivateAccessPolicyOutcomeCallable listUserGroupsForPrivateAccessPolicyCallable(const Model::ListUserGroupsForPrivateAccessPolicyRequest& request) const;
|
||||
UpdateDynamicRouteOutcome updateDynamicRoute(const Model::UpdateDynamicRouteRequest &request)const;
|
||||
void updateDynamicRouteAsync(const Model::UpdateDynamicRouteRequest& request, const UpdateDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDynamicRouteOutcomeCallable updateDynamicRouteCallable(const Model::UpdateDynamicRouteRequest& request) const;
|
||||
UpdatePrivateAccessApplicationOutcome updatePrivateAccessApplication(const Model::UpdatePrivateAccessApplicationRequest &request)const;
|
||||
void updatePrivateAccessApplicationAsync(const Model::UpdatePrivateAccessApplicationRequest& request, const UpdatePrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdatePrivateAccessApplicationOutcomeCallable updatePrivateAccessApplicationCallable(const Model::UpdatePrivateAccessApplicationRequest& request) const;
|
||||
UpdatePrivateAccessPolicyOutcome updatePrivateAccessPolicy(const Model::UpdatePrivateAccessPolicyRequest &request)const;
|
||||
void updatePrivateAccessPolicyAsync(const Model::UpdatePrivateAccessPolicyRequest& request, const UpdatePrivateAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdatePrivateAccessPolicyOutcomeCallable updatePrivateAccessPolicyCallable(const Model::UpdatePrivateAccessPolicyRequest& request) const;
|
||||
UpdateUserGroupOutcome updateUserGroup(const Model::UpdateUserGroupRequest &request)const;
|
||||
void updateUserGroupAsync(const Model::UpdateUserGroupRequest& request, const UpdateUserGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateUserGroupOutcomeCallable updateUserGroupCallable(const Model::UpdateUserGroupRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CSAS_CSASCLIENT_H_
|
||||
32
csas/include/alibabacloud/csas/CsasExport.h
Normal file
32
csas/include/alibabacloud/csas/CsasExport.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_CSAS_CSASEXPORT_H_
|
||||
#define ALIBABACLOUD_CSAS_CSASEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CSAS_LIBRARY)
|
||||
# define ALIBABACLOUD_CSAS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CSAS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CSAS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CSAS_CSASEXPORT_H_
|
||||
@@ -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_CSAS_MODEL_ATTACHAPPLICATION2CONNECTORREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_ATTACHAPPLICATION2CONNECTORREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT AttachApplication2ConnectorRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AttachApplication2ConnectorRequest();
|
||||
~AttachApplication2ConnectorRequest();
|
||||
std::string getConnectorId() const;
|
||||
void setConnectorId(const std::string &connectorId);
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string connectorId_;
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_ATTACHAPPLICATION2CONNECTORREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_ATTACHAPPLICATION2CONNECTORRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_ATTACHAPPLICATION2CONNECTORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT AttachApplication2ConnectorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachApplication2ConnectorResult();
|
||||
explicit AttachApplication2ConnectorResult(const std::string &payload);
|
||||
~AttachApplication2ConnectorResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_ATTACHAPPLICATION2CONNECTORRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_CREATEDYNAMICROUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEDYNAMICROUTEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreateDynamicRouteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateDynamicRouteRequest();
|
||||
~CreateDynamicRouteRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getDynamicRouteType() const;
|
||||
void setDynamicRouteType(const std::string &dynamicRouteType);
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
std::vector<std::string> getRegionIds() const;
|
||||
void setRegionIds(const std::vector<std::string> ®ionIds);
|
||||
int getPriority() const;
|
||||
void setPriority(int priority);
|
||||
std::string getNextHop() const;
|
||||
void setNextHop(const std::string &nextHop);
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getApplicationType() const;
|
||||
void setApplicationType(const std::string &applicationType);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string sourceIp_;
|
||||
std::string dynamicRouteType_;
|
||||
std::vector<std::string> tagIds_;
|
||||
std::vector<std::string> regionIds_;
|
||||
int priority_;
|
||||
std::string nextHop_;
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string name_;
|
||||
std::string applicationType_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEDYNAMICROUTEREQUEST_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_CSAS_MODEL_CREATEDYNAMICROUTERESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEDYNAMICROUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreateDynamicRouteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDynamicRouteResult();
|
||||
explicit CreateDynamicRouteResult(const std::string &payload);
|
||||
~CreateDynamicRouteResult();
|
||||
std::string getDynamicRouteId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicRouteId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEDYNAMICROUTERESULT_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreatePrivateAccessApplicationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct PortRanges {
|
||||
int end;
|
||||
int begin;
|
||||
};
|
||||
CreatePrivateAccessApplicationRequest();
|
||||
~CreatePrivateAccessApplicationRequest();
|
||||
std::vector<std::string> getAddresses() const;
|
||||
void setAddresses(const std::vector<std::string> &addresses);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getProtocol() const;
|
||||
void setProtocol(const std::string &protocol);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
std::vector<PortRanges> getPortRanges() const;
|
||||
void setPortRanges(const std::vector<PortRanges> &portRanges);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::vector<std::string> addresses_;
|
||||
std::string description_;
|
||||
std::string protocol_;
|
||||
std::string sourceIp_;
|
||||
std::vector<std::string> tagIds_;
|
||||
std::vector<PortRanges> portRanges_;
|
||||
std::string name_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSAPPLICATIONREQUEST_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_CSAS_MODEL_CREATEPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreatePrivateAccessApplicationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePrivateAccessApplicationResult();
|
||||
explicit CreatePrivateAccessApplicationResult(const std::string &payload);
|
||||
~CreatePrivateAccessApplicationResult();
|
||||
std::string getApplicationId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string applicationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSAPPLICATIONRESULT_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_CSAS_MODEL_CREATEPRIVATEACCESSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreatePrivateAccessPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct CustomUserAttributes {
|
||||
std::string userGroupType;
|
||||
int idpId;
|
||||
std::string value;
|
||||
std::string relation;
|
||||
};
|
||||
CreatePrivateAccessPolicyRequest();
|
||||
~CreatePrivateAccessPolicyRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::vector<CustomUserAttributes> getCustomUserAttributes() const;
|
||||
void setCustomUserAttributes(const std::vector<CustomUserAttributes> &customUserAttributes);
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
std::vector<std::string> getUserGroupIds() const;
|
||||
void setUserGroupIds(const std::vector<std::string> &userGroupIds);
|
||||
std::string getPolicyAction() const;
|
||||
void setPolicyAction(const std::string &policyAction);
|
||||
int getPriority() const;
|
||||
void setPriority(int priority);
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getUserGroupMode() const;
|
||||
void setUserGroupMode(const std::string &userGroupMode);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getApplicationType() const;
|
||||
void setApplicationType(const std::string &applicationType);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string sourceIp_;
|
||||
std::vector<CustomUserAttributes> customUserAttributes_;
|
||||
std::vector<std::string> tagIds_;
|
||||
std::vector<std::string> userGroupIds_;
|
||||
std::string policyAction_;
|
||||
int priority_;
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string userGroupMode_;
|
||||
std::string name_;
|
||||
std::string applicationType_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSPOLICYREQUEST_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_CSAS_MODEL_CREATEPRIVATEACCESSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreatePrivateAccessPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePrivateAccessPolicyResult();
|
||||
explicit CreatePrivateAccessPolicyResult(const std::string &payload);
|
||||
~CreatePrivateAccessPolicyResult();
|
||||
std::string getPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string policyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSPOLICYRESULT_H_
|
||||
@@ -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_CSAS_MODEL_CREATEPRIVATEACCESSTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSTAGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreatePrivateAccessTagRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreatePrivateAccessTagRequest();
|
||||
~CreatePrivateAccessTagRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string sourceIp_;
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSTAGREQUEST_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_CSAS_MODEL_CREATEPRIVATEACCESSTAGRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreatePrivateAccessTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePrivateAccessTagResult();
|
||||
explicit CreatePrivateAccessTagResult(const std::string &payload);
|
||||
~CreatePrivateAccessTagResult();
|
||||
std::string getTagId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string tagId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEPRIVATEACCESSTAGRESULT_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_CSAS_MODEL_CREATEUSERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEUSERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreateUserGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Attributes {
|
||||
std::string userGroupType;
|
||||
int idpId;
|
||||
std::string value;
|
||||
std::string relation;
|
||||
};
|
||||
CreateUserGroupRequest();
|
||||
~CreateUserGroupRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::vector<Attributes> getAttributes() const;
|
||||
void setAttributes(const std::vector<Attributes> &attributes);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string sourceIp_;
|
||||
std::string name_;
|
||||
std::vector<Attributes> attributes_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEUSERGROUPREQUEST_H_
|
||||
51
csas/include/alibabacloud/csas/model/CreateUserGroupResult.h
Normal file
51
csas/include/alibabacloud/csas/model/CreateUserGroupResult.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_CSAS_MODEL_CREATEUSERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_CREATEUSERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT CreateUserGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUserGroupResult();
|
||||
explicit CreateUserGroupResult(const std::string &payload);
|
||||
~CreateUserGroupResult();
|
||||
std::string getUserGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string userGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEUSERGROUPRESULT_H_
|
||||
@@ -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_CSAS_MODEL_DELETEDYNAMICROUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEDYNAMICROUTEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeleteDynamicRouteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteDynamicRouteRequest();
|
||||
~DeleteDynamicRouteRequest();
|
||||
std::string getDynamicRouteId() const;
|
||||
void setDynamicRouteId(const std::string &dynamicRouteId);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string dynamicRouteId_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEDYNAMICROUTEREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_DELETEDYNAMICROUTERESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEDYNAMICROUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeleteDynamicRouteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDynamicRouteResult();
|
||||
explicit DeleteDynamicRouteResult(const std::string &payload);
|
||||
~DeleteDynamicRouteResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEDYNAMICROUTERESULT_H_
|
||||
@@ -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_CSAS_MODEL_DELETEPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeletePrivateAccessApplicationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeletePrivateAccessApplicationRequest();
|
||||
~DeletePrivateAccessApplicationRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string applicationId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_DELETEPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeletePrivateAccessApplicationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePrivateAccessApplicationResult();
|
||||
explicit DeletePrivateAccessApplicationResult(const std::string &payload);
|
||||
~DeletePrivateAccessApplicationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
@@ -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_CSAS_MODEL_DELETEPRIVATEACCESSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeletePrivateAccessPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeletePrivateAccessPolicyRequest();
|
||||
~DeletePrivateAccessPolicyRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getPolicyId() const;
|
||||
void setPolicyId(const std::string &policyId);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string policyId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSPOLICYREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_DELETEPRIVATEACCESSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeletePrivateAccessPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePrivateAccessPolicyResult();
|
||||
explicit DeletePrivateAccessPolicyResult(const std::string &payload);
|
||||
~DeletePrivateAccessPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSPOLICYRESULT_H_
|
||||
@@ -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_CSAS_MODEL_DELETEPRIVATEACCESSTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSTAGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeletePrivateAccessTagRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeletePrivateAccessTagRequest();
|
||||
~DeletePrivateAccessTagRequest();
|
||||
std::string getTagId() const;
|
||||
void setTagId(const std::string &tagId);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string tagId_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSTAGREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_DELETEPRIVATEACCESSTAGRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeletePrivateAccessTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePrivateAccessTagResult();
|
||||
explicit DeletePrivateAccessTagResult(const std::string &payload);
|
||||
~DeletePrivateAccessTagResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEPRIVATEACCESSTAGRESULT_H_
|
||||
@@ -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_CSAS_MODEL_DELETEUSERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEUSERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeleteUserGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteUserGroupRequest();
|
||||
~DeleteUserGroupRequest();
|
||||
std::string getUserGroupId() const;
|
||||
void setUserGroupId(const std::string &userGroupId);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string userGroupId_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEUSERGROUPREQUEST_H_
|
||||
49
csas/include/alibabacloud/csas/model/DeleteUserGroupResult.h
Normal file
49
csas/include/alibabacloud/csas/model/DeleteUserGroupResult.h
Normal 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_CSAS_MODEL_DELETEUSERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DELETEUSERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT DeleteUserGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteUserGroupResult();
|
||||
explicit DeleteUserGroupResult(const std::string &payload);
|
||||
~DeleteUserGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEUSERGROUPRESULT_H_
|
||||
@@ -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_CSAS_MODEL_DETACHAPPLICATION2CONNECTORREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DETACHAPPLICATION2CONNECTORREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT DetachApplication2ConnectorRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DetachApplication2ConnectorRequest();
|
||||
~DetachApplication2ConnectorRequest();
|
||||
std::string getConnectorId() const;
|
||||
void setConnectorId(const std::string &connectorId);
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string connectorId_;
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DETACHAPPLICATION2CONNECTORREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_DETACHAPPLICATION2CONNECTORRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_DETACHAPPLICATION2CONNECTORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT DetachApplication2ConnectorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetachApplication2ConnectorResult();
|
||||
explicit DetachApplication2ConnectorResult(const std::string &payload);
|
||||
~DetachApplication2ConnectorResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_DETACHAPPLICATION2CONNECTORRESULT_H_
|
||||
@@ -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_CSAS_MODEL_GETDYNAMICROUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_GETDYNAMICROUTEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT GetDynamicRouteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDynamicRouteRequest();
|
||||
~GetDynamicRouteRequest();
|
||||
std::string getDynamicRouteId() const;
|
||||
void setDynamicRouteId(const std::string &dynamicRouteId);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string dynamicRouteId_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_GETDYNAMICROUTEREQUEST_H_
|
||||
66
csas/include/alibabacloud/csas/model/GetDynamicRouteResult.h
Normal file
66
csas/include/alibabacloud/csas/model/GetDynamicRouteResult.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_GETDYNAMICROUTERESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_GETDYNAMICROUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT GetDynamicRouteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DynamicRoute
|
||||
{
|
||||
std::string status;
|
||||
std::string applicationType;
|
||||
std::string description;
|
||||
std::vector<std::string> tagIds;
|
||||
std::vector<std::string> regionIds;
|
||||
int priority;
|
||||
std::string nextHop;
|
||||
std::vector<std::string> applicationIds;
|
||||
std::string createTime;
|
||||
std::string dynamicRouteId;
|
||||
std::string dynamicRouteType;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetDynamicRouteResult();
|
||||
explicit GetDynamicRouteResult(const std::string &payload);
|
||||
~GetDynamicRouteResult();
|
||||
DynamicRoute getDynamicRoute()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DynamicRoute dynamicRoute_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_GETDYNAMICROUTERESULT_H_
|
||||
@@ -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_CSAS_MODEL_GETPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT GetPrivateAccessApplicationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetPrivateAccessApplicationRequest();
|
||||
~GetPrivateAccessApplicationRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string applicationId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_GETPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT GetPrivateAccessApplicationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Application
|
||||
{
|
||||
struct PortRange
|
||||
{
|
||||
int begin;
|
||||
int end;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<std::string> addresses;
|
||||
std::string description;
|
||||
std::vector<std::string> tagIds;
|
||||
std::vector<PortRange> portRanges;
|
||||
std::string createTime;
|
||||
std::vector<std::string> policyIds;
|
||||
std::string applicationId;
|
||||
std::string protocol;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetPrivateAccessApplicationResult();
|
||||
explicit GetPrivateAccessApplicationResult(const std::string &payload);
|
||||
~GetPrivateAccessApplicationResult();
|
||||
Application getApplication()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Application application_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
@@ -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_CSAS_MODEL_GETPRIVATEACCESSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT GetPrivateAccessPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetPrivateAccessPolicyRequest();
|
||||
~GetPrivateAccessPolicyRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getPolicyId() const;
|
||||
void setPolicyId(const std::string &policyId);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string policyId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT GetPrivateAccessPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
struct CustomUserAttribute
|
||||
{
|
||||
std::string relation;
|
||||
int idpId;
|
||||
std::string userGroupType;
|
||||
std::string value;
|
||||
};
|
||||
std::vector<CustomUserAttribute> customUserAttributes;
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::vector<std::string> tagIds;
|
||||
int priority;
|
||||
std::vector<std::string> applicationIds;
|
||||
std::string createTime;
|
||||
std::string name;
|
||||
std::string userGroupMode;
|
||||
std::string applicationType;
|
||||
std::vector<std::string> userGroupIds;
|
||||
std::string policyAction;
|
||||
std::string policyId;
|
||||
};
|
||||
|
||||
|
||||
GetPrivateAccessPolicyResult();
|
||||
explicit GetPrivateAccessPolicyResult(const std::string &payload);
|
||||
~GetPrivateAccessPolicyResult();
|
||||
Policy getPolicy()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Policy policy_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_GETPRIVATEACCESSPOLICYRESULT_H_
|
||||
45
csas/include/alibabacloud/csas/model/GetUserGroupRequest.h
Normal file
45
csas/include/alibabacloud/csas/model/GetUserGroupRequest.h
Normal 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_CSAS_MODEL_GETUSERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_GETUSERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT GetUserGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetUserGroupRequest();
|
||||
~GetUserGroupRequest();
|
||||
std::string getUserGroupId() const;
|
||||
void setUserGroupId(const std::string &userGroupId);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string userGroupId_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_GETUSERGROUPREQUEST_H_
|
||||
66
csas/include/alibabacloud/csas/model/GetUserGroupResult.h
Normal file
66
csas/include/alibabacloud/csas/model/GetUserGroupResult.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_GETUSERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_GETUSERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT GetUserGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserGroup
|
||||
{
|
||||
struct Attribute
|
||||
{
|
||||
std::string relation;
|
||||
int idpId;
|
||||
std::string userGroupType;
|
||||
std::string value;
|
||||
};
|
||||
std::string description;
|
||||
std::string userGroupId;
|
||||
std::string createTime;
|
||||
std::vector<Attribute> attributes;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetUserGroupResult();
|
||||
explicit GetUserGroupResult(const std::string &payload);
|
||||
~GetUserGroupResult();
|
||||
UserGroup getUserGroup()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
UserGroup userGroup_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_GETUSERGROUPRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListApplicationsForPrivateAccessPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListApplicationsForPrivateAccessPolicyRequest();
|
||||
~ListApplicationsForPrivateAccessPolicyRequest();
|
||||
std::vector<std::string> getPolicyIds() const;
|
||||
void setPolicyIds(const std::vector<std::string> &policyIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> policyIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListApplicationsForPrivateAccessPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
struct Application
|
||||
{
|
||||
struct PortRange
|
||||
{
|
||||
int begin;
|
||||
int end;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<std::string> addresses;
|
||||
std::string description;
|
||||
std::vector<Application::PortRange> portRanges;
|
||||
std::string createTime;
|
||||
std::string applicationId;
|
||||
std::string protocol;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Policy::Application> applications;
|
||||
std::string policyId;
|
||||
};
|
||||
|
||||
|
||||
ListApplicationsForPrivateAccessPolicyResult();
|
||||
explicit ListApplicationsForPrivateAccessPolicyResult(const std::string &payload);
|
||||
~ListApplicationsForPrivateAccessPolicyResult();
|
||||
std::vector<Policy> getPolices()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Policy> polices_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSTAGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListApplicationsForPrivateAccessTagRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListApplicationsForPrivateAccessTagRequest();
|
||||
~ListApplicationsForPrivateAccessTagRequest();
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> tagIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSTAGREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSTAGRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListApplicationsForPrivateAccessTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
struct Application
|
||||
{
|
||||
struct PortRange
|
||||
{
|
||||
int begin;
|
||||
int end;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<std::string> addresses;
|
||||
std::string description;
|
||||
std::vector<Application::PortRange> portRanges;
|
||||
std::string createTime;
|
||||
std::string applicationId;
|
||||
std::string protocol;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Tag::Application> applications;
|
||||
std::string tagId;
|
||||
};
|
||||
|
||||
|
||||
ListApplicationsForPrivateAccessTagResult();
|
||||
explicit ListApplicationsForPrivateAccessTagResult(const std::string &payload);
|
||||
~ListApplicationsForPrivateAccessTagResult();
|
||||
std::vector<Tag> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTAPPLICATIONSFORPRIVATEACCESSTAGRESULT_H_
|
||||
60
csas/include/alibabacloud/csas/model/ListConnectorsRequest.h
Normal file
60
csas/include/alibabacloud/csas/model/ListConnectorsRequest.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_CSAS_MODEL_LISTCONNECTORSREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTCONNECTORSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListConnectorsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListConnectorsRequest();
|
||||
~ListConnectorsRequest();
|
||||
std::string getSwitchStatus() const;
|
||||
void setSwitchStatus(const std::string &switchStatus);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::vector<std::string> getConnectorIds() const;
|
||||
void setConnectorIds(const std::vector<std::string> &connectorIds);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string switchStatus_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::string name_;
|
||||
std::vector<std::string> connectorIds_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTCONNECTORSREQUEST_H_
|
||||
74
csas/include/alibabacloud/csas/model/ListConnectorsResult.h
Normal file
74
csas/include/alibabacloud/csas/model/ListConnectorsResult.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_CSAS_MODEL_LISTCONNECTORSRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTCONNECTORSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListConnectorsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Connector
|
||||
{
|
||||
struct UpgradeTime
|
||||
{
|
||||
std::string start;
|
||||
std::string end;
|
||||
};
|
||||
struct Application
|
||||
{
|
||||
std::string applicationName;
|
||||
std::string applicationId;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<Connector::Application> applications;
|
||||
std::string createTime;
|
||||
std::string regionId;
|
||||
UpgradeTime upgradeTime;
|
||||
std::string switchStatus;
|
||||
std::string connectorId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListConnectorsResult();
|
||||
explicit ListConnectorsResult(const std::string &payload);
|
||||
~ListConnectorsResult();
|
||||
std::vector<Connector> getConnectors()const;
|
||||
int getTotalNum()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Connector> connectors_;
|
||||
int totalNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTCONNECTORSRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTDYNAMICROUTEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTEREGIONSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListDynamicRouteRegionsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListDynamicRouteRegionsRequest();
|
||||
~ListDynamicRouteRegionsRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTEREGIONSREQUEST_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_CSAS_MODEL_LISTDYNAMICROUTEREGIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTEREGIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListDynamicRouteRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListDynamicRouteRegionsResult();
|
||||
explicit ListDynamicRouteRegionsResult(const std::string &payload);
|
||||
~ListDynamicRouteRegionsResult();
|
||||
int getTotalNum()const;
|
||||
std::vector<std::string> getRegions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalNum_;
|
||||
std::vector<std::string> regions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTEREGIONSRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTDYNAMICROUTESREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListDynamicRoutesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListDynamicRoutesRequest();
|
||||
~ListDynamicRoutesRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::vector<std::string> getDynamicRouteIds() const;
|
||||
void setDynamicRouteIds(const std::vector<std::string> &dynamicRouteIds);
|
||||
std::string getTagId() const;
|
||||
void setTagId(const std::string &tagId);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::vector<std::string> getRegionIds() const;
|
||||
void setRegionIds(const std::vector<std::string> ®ionIds);
|
||||
std::string getNextHop() const;
|
||||
void setNextHop(const std::string &nextHop);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string applicationId_;
|
||||
std::vector<std::string> dynamicRouteIds_;
|
||||
std::string tagId_;
|
||||
int currentPage_;
|
||||
std::vector<std::string> regionIds_;
|
||||
std::string nextHop_;
|
||||
std::string name_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTESREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTESRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListDynamicRoutesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DynamicRoute
|
||||
{
|
||||
std::string status;
|
||||
std::string applicationType;
|
||||
std::string description;
|
||||
std::vector<std::string> tagIds;
|
||||
std::vector<std::string> regionIds;
|
||||
int priority;
|
||||
std::string nextHop;
|
||||
std::vector<std::string> applicationIds;
|
||||
std::string createTime;
|
||||
std::string dynamicRouteId;
|
||||
std::string dynamicRouteType;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListDynamicRoutesResult();
|
||||
explicit ListDynamicRoutesResult(const std::string &payload);
|
||||
~ListDynamicRoutesResult();
|
||||
int getTotalNum()const;
|
||||
std::vector<DynamicRoute> getDynamicRoutes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalNum_;
|
||||
std::vector<DynamicRoute> dynamicRoutes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTDYNAMICROUTESRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPolicesForPrivateAccessApplicationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListPolicesForPrivateAccessApplicationRequest();
|
||||
~ListPolicesForPrivateAccessApplicationRequest();
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPolicesForPrivateAccessApplicationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Application
|
||||
{
|
||||
struct Policy
|
||||
{
|
||||
struct CustomUserAttribute
|
||||
{
|
||||
std::string relation;
|
||||
int idpId;
|
||||
std::string userGroupType;
|
||||
std::string value;
|
||||
};
|
||||
std::vector<Policy::CustomUserAttribute> customUserAttributes;
|
||||
std::string status;
|
||||
std::string applicationType;
|
||||
std::string description;
|
||||
std::string userGroupType;
|
||||
int priority;
|
||||
std::string createTime;
|
||||
std::string policyAction;
|
||||
std::string policyId;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Application::Policy> policies;
|
||||
std::string applicationId;
|
||||
};
|
||||
|
||||
|
||||
ListPolicesForPrivateAccessApplicationResult();
|
||||
explicit ListPolicesForPrivateAccessApplicationResult(const std::string &payload);
|
||||
~ListPolicesForPrivateAccessApplicationResult();
|
||||
std::vector<Application> getApplications()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Application> applications_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSTAGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPolicesForPrivateAccessTagRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListPolicesForPrivateAccessTagRequest();
|
||||
~ListPolicesForPrivateAccessTagRequest();
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> tagIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSTAGREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSTAGRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPolicesForPrivateAccessTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
struct Policy
|
||||
{
|
||||
struct CustomUserAttribute
|
||||
{
|
||||
std::string relation;
|
||||
int idpId;
|
||||
std::string userGroupType;
|
||||
std::string value;
|
||||
};
|
||||
std::vector<Policy::CustomUserAttribute> customUserAttributes;
|
||||
std::string status;
|
||||
std::string applicationType;
|
||||
std::string description;
|
||||
std::string userGroupType;
|
||||
int priority;
|
||||
std::string createTime;
|
||||
std::string policyAction;
|
||||
std::string policyId;
|
||||
std::string name;
|
||||
};
|
||||
std::string tagId;
|
||||
std::vector<Tag::Policy> polices;
|
||||
};
|
||||
|
||||
|
||||
ListPolicesForPrivateAccessTagResult();
|
||||
explicit ListPolicesForPrivateAccessTagResult(const std::string &payload);
|
||||
~ListPolicesForPrivateAccessTagResult();
|
||||
std::vector<Tag> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORPRIVATEACCESSTAGRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTPOLICESFORUSERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORUSERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPolicesForUserGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListPolicesForUserGroupRequest();
|
||||
~ListPolicesForUserGroupRequest();
|
||||
std::vector<std::string> getUserGroupIds() const;
|
||||
void setUserGroupIds(const std::vector<std::string> &userGroupIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> userGroupIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORUSERGROUPREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_LISTPOLICESFORUSERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORUSERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPolicesForUserGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserGroup
|
||||
{
|
||||
struct Policy
|
||||
{
|
||||
std::string policyType;
|
||||
std::string policyId;
|
||||
std::string name;
|
||||
};
|
||||
std::string userGroupId;
|
||||
std::vector<UserGroup::Policy> polices;
|
||||
};
|
||||
|
||||
|
||||
ListPolicesForUserGroupResult();
|
||||
explicit ListPolicesForUserGroupResult(const std::string &payload);
|
||||
~ListPolicesForUserGroupResult();
|
||||
std::vector<UserGroup> getUserGroups()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<UserGroup> userGroups_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPOLICESFORUSERGROUPRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSFORDYNAMICROUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSFORDYNAMICROUTEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessApplicationsForDynamicRouteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListPrivateAccessApplicationsForDynamicRouteRequest();
|
||||
~ListPrivateAccessApplicationsForDynamicRouteRequest();
|
||||
std::vector<std::string> getDynamicRouteIds() const;
|
||||
void setDynamicRouteIds(const std::vector<std::string> &dynamicRouteIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> dynamicRouteIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSFORDYNAMICROUTEREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSFORDYNAMICROUTERESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSFORDYNAMICROUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessApplicationsForDynamicRouteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DynamicRoute
|
||||
{
|
||||
struct Application
|
||||
{
|
||||
struct PortRange
|
||||
{
|
||||
int begin;
|
||||
int end;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<std::string> addresses;
|
||||
std::string description;
|
||||
std::vector<Application::PortRange> portRanges;
|
||||
std::string createTime;
|
||||
std::string applicationId;
|
||||
std::string protocol;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<DynamicRoute::Application> applications;
|
||||
std::string dynamicRouteId;
|
||||
};
|
||||
|
||||
|
||||
ListPrivateAccessApplicationsForDynamicRouteResult();
|
||||
explicit ListPrivateAccessApplicationsForDynamicRouteResult(const std::string &payload);
|
||||
~ListPrivateAccessApplicationsForDynamicRouteResult();
|
||||
std::vector<DynamicRoute> getDynamicRoutes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DynamicRoute> dynamicRoutes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSFORDYNAMICROUTERESULT_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_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessApplicationsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListPrivateAccessApplicationsRequest();
|
||||
~ListPrivateAccessApplicationsRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getPolicyId() const;
|
||||
void setPolicyId(const std::string &policyId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAddress() const;
|
||||
void setAddress(const std::string &address);
|
||||
std::string getTagId() const;
|
||||
void setTagId(const std::string &tagId);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string policyId_;
|
||||
int pageSize_;
|
||||
std::string address_;
|
||||
std::string tagId_;
|
||||
int currentPage_;
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string name_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessApplicationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Application
|
||||
{
|
||||
struct PortRange
|
||||
{
|
||||
int begin;
|
||||
int end;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<std::string> addresses;
|
||||
std::string description;
|
||||
std::vector<std::string> tagIds;
|
||||
std::vector<Application::PortRange> portRanges;
|
||||
std::string createTime;
|
||||
std::vector<std::string> policyIds;
|
||||
std::string applicationId;
|
||||
std::string protocol;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListPrivateAccessApplicationsResult();
|
||||
explicit ListPrivateAccessApplicationsResult(const std::string &payload);
|
||||
~ListPrivateAccessApplicationsResult();
|
||||
int getTotalNum()const;
|
||||
std::vector<Application> getApplications()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalNum_;
|
||||
std::vector<Application> applications_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSAPPLICATIONSRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTPRIVATEACCESSPOLICESREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSPOLICESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessPolicesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListPrivateAccessPolicesRequest();
|
||||
~ListPrivateAccessPolicesRequest();
|
||||
std::vector<std::string> getPolicyIds() const;
|
||||
void setPolicyIds(const std::vector<std::string> &policyIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::string getTagId() const;
|
||||
void setTagId(const std::string &tagId);
|
||||
std::string getUserGroupId() const;
|
||||
void setUserGroupId(const std::string &userGroupId);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getPolicyAction() const;
|
||||
void setPolicyAction(const std::string &policyAction);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::vector<std::string> policyIds_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string applicationId_;
|
||||
std::string tagId_;
|
||||
std::string userGroupId_;
|
||||
int currentPage_;
|
||||
std::string policyAction_;
|
||||
std::string name_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSPOLICESREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSPOLICESRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSPOLICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessPolicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
struct CustomUserAttribute
|
||||
{
|
||||
std::string relation;
|
||||
int idpId;
|
||||
std::string userGroupType;
|
||||
std::string value;
|
||||
};
|
||||
std::vector<Policy::CustomUserAttribute> customUserAttributes;
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::vector<std::string> tagIds;
|
||||
int priority;
|
||||
std::vector<std::string> applicationIds;
|
||||
std::string createTime;
|
||||
std::string name;
|
||||
std::string userGroupMode;
|
||||
std::string applicationType;
|
||||
std::vector<std::string> userGroupIds;
|
||||
std::string policyAction;
|
||||
std::string policyId;
|
||||
};
|
||||
|
||||
|
||||
ListPrivateAccessPolicesResult();
|
||||
explicit ListPrivateAccessPolicesResult(const std::string &payload);
|
||||
~ListPrivateAccessPolicesResult();
|
||||
int getTotalNum()const;
|
||||
std::vector<Policy> getPolices()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalNum_;
|
||||
std::vector<Policy> polices_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSPOLICESRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTPRIVATEACCESSTAGSFORDYNAMICROUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSFORDYNAMICROUTEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessTagsForDynamicRouteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListPrivateAccessTagsForDynamicRouteRequest();
|
||||
~ListPrivateAccessTagsForDynamicRouteRequest();
|
||||
std::vector<std::string> getDynamicRouteIds() const;
|
||||
void setDynamicRouteIds(const std::vector<std::string> &dynamicRouteIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> dynamicRouteIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSFORDYNAMICROUTEREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSFORDYNAMICROUTERESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSFORDYNAMICROUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessTagsForDynamicRouteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DynamicRoute
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagType;
|
||||
std::string description;
|
||||
std::string createTime;
|
||||
std::string tagId;
|
||||
std::string name;
|
||||
};
|
||||
std::string dynamicRouteId;
|
||||
std::vector<DynamicRoute::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
ListPrivateAccessTagsForDynamicRouteResult();
|
||||
explicit ListPrivateAccessTagsForDynamicRouteResult(const std::string &payload);
|
||||
~ListPrivateAccessTagsForDynamicRouteResult();
|
||||
std::vector<DynamicRoute> getDynamicRoutes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DynamicRoute> dynamicRoutes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSFORDYNAMICROUTERESULT_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_CSAS_MODEL_LISTPRIVATEACCESSTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessTagsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListPrivateAccessTagsRequest();
|
||||
~ListPrivateAccessTagsRequest();
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getPolicyId() const;
|
||||
void setPolicyId(const std::string &policyId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string policyId_;
|
||||
int pageSize_;
|
||||
std::string applicationId_;
|
||||
std::vector<std::string> tagIds_;
|
||||
int currentPage_;
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSREQUEST_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_CSAS_MODEL_LISTPRIVATEACCESSTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListPrivateAccessTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string tagType;
|
||||
std::string description;
|
||||
std::vector<std::string> applicationIds;
|
||||
std::string createTime;
|
||||
std::string tagId;
|
||||
std::vector<std::string> policyIds;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListPrivateAccessTagsResult();
|
||||
explicit ListPrivateAccessTagsResult(const std::string &payload);
|
||||
~ListPrivateAccessTagsResult();
|
||||
int getTotalNum()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalNum_;
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTPRIVATEACCESSTAGSRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListTagsForPrivateAccessApplicationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListTagsForPrivateAccessApplicationRequest();
|
||||
~ListTagsForPrivateAccessApplicationRequest();
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListTagsForPrivateAccessApplicationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Application
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagType;
|
||||
std::string description;
|
||||
std::string createTime;
|
||||
std::string tagId;
|
||||
std::string name;
|
||||
};
|
||||
std::string applicationId;
|
||||
std::vector<Application::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
ListTagsForPrivateAccessApplicationResult();
|
||||
explicit ListTagsForPrivateAccessApplicationResult(const std::string &payload);
|
||||
~ListTagsForPrivateAccessApplicationResult();
|
||||
std::vector<Application> getApplications()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Application> applications_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListTagsForPrivateAccessPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListTagsForPrivateAccessPolicyRequest();
|
||||
~ListTagsForPrivateAccessPolicyRequest();
|
||||
std::vector<std::string> getPolicyIds() const;
|
||||
void setPolicyIds(const std::vector<std::string> &policyIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> policyIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListTagsForPrivateAccessPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagType;
|
||||
std::string description;
|
||||
std::string createTime;
|
||||
std::string tagId;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<Policy::Tag> tags;
|
||||
std::string policyId;
|
||||
};
|
||||
|
||||
|
||||
ListTagsForPrivateAccessPolicyResult();
|
||||
explicit ListTagsForPrivateAccessPolicyResult(const std::string &payload);
|
||||
~ListTagsForPrivateAccessPolicyResult();
|
||||
std::vector<Policy> getPolices()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Policy> polices_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTTAGSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
@@ -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_CSAS_MODEL_LISTUSERGROUPSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListUserGroupsForPrivateAccessPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListUserGroupsForPrivateAccessPolicyRequest();
|
||||
~ListUserGroupsForPrivateAccessPolicyRequest();
|
||||
std::vector<std::string> getPolicyIds() const;
|
||||
void setPolicyIds(const std::vector<std::string> &policyIds);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
|
||||
private:
|
||||
std::vector<std::string> policyIds_;
|
||||
std::string sourceIp_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSFORPRIVATEACCESSPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListUserGroupsForPrivateAccessPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Policy
|
||||
{
|
||||
struct UserGroup
|
||||
{
|
||||
struct Attribute
|
||||
{
|
||||
std::string relation;
|
||||
int idpId;
|
||||
std::string userGroupType;
|
||||
std::string value;
|
||||
};
|
||||
std::string description;
|
||||
std::string userGroupId;
|
||||
std::string createTime;
|
||||
std::vector<UserGroup::Attribute> attributes;
|
||||
std::string name;
|
||||
};
|
||||
std::string policyId;
|
||||
std::vector<Policy::UserGroup> userGroups;
|
||||
};
|
||||
|
||||
|
||||
ListUserGroupsForPrivateAccessPolicyResult();
|
||||
explicit ListUserGroupsForPrivateAccessPolicyResult(const std::string &payload);
|
||||
~ListUserGroupsForPrivateAccessPolicyResult();
|
||||
std::vector<Policy> getPolices()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Policy> polices_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSFORPRIVATEACCESSPOLICYRESULT_H_
|
||||
60
csas/include/alibabacloud/csas/model/ListUserGroupsRequest.h
Normal file
60
csas/include/alibabacloud/csas/model/ListUserGroupsRequest.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_CSAS_MODEL_LISTUSERGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListUserGroupsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListUserGroupsRequest();
|
||||
~ListUserGroupsRequest();
|
||||
std::string getAttributeValue() const;
|
||||
void setAttributeValue(const std::string &attributeValue);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getPAPolicyId() const;
|
||||
void setPAPolicyId(const std::string &pAPolicyId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::vector<std::string> getUserGroupIds() const;
|
||||
void setUserGroupIds(const std::vector<std::string> &userGroupIds);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
std::string attributeValue_;
|
||||
std::string sourceIp_;
|
||||
std::string pAPolicyId_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<std::string> userGroupIds_;
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSREQUEST_H_
|
||||
68
csas/include/alibabacloud/csas/model/ListUserGroupsResult.h
Normal file
68
csas/include/alibabacloud/csas/model/ListUserGroupsResult.h
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT ListUserGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserGroup
|
||||
{
|
||||
struct Attribute
|
||||
{
|
||||
std::string relation;
|
||||
int idpId;
|
||||
std::string userGroupType;
|
||||
std::string value;
|
||||
};
|
||||
std::string description;
|
||||
std::string userGroupId;
|
||||
std::string createTime;
|
||||
std::vector<UserGroup::Attribute> attributes;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListUserGroupsResult();
|
||||
explicit ListUserGroupsResult(const std::string &payload);
|
||||
~ListUserGroupsResult();
|
||||
int getTotalNum()const;
|
||||
std::vector<UserGroup> getUserGroups()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalNum_;
|
||||
std::vector<UserGroup> userGroups_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTUSERGROUPSRESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSAS_MODEL_UPDATEDYNAMICROUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_UPDATEDYNAMICROUTEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT UpdateDynamicRouteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateDynamicRouteRequest();
|
||||
~UpdateDynamicRouteRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getDynamicRouteId() const;
|
||||
void setDynamicRouteId(const std::string &dynamicRouteId);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getDynamicRouteType() const;
|
||||
void setDynamicRouteType(const std::string &dynamicRouteType);
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
std::vector<std::string> getRegionIds() const;
|
||||
void setRegionIds(const std::vector<std::string> ®ionIds);
|
||||
int getPriority() const;
|
||||
void setPriority(int priority);
|
||||
std::string getNextHop() const;
|
||||
void setNextHop(const std::string &nextHop);
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getModifyType() const;
|
||||
void setModifyType(const std::string &modifyType);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getApplicationType() const;
|
||||
void setApplicationType(const std::string &applicationType);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string dynamicRouteId_;
|
||||
std::string sourceIp_;
|
||||
std::string dynamicRouteType_;
|
||||
std::vector<std::string> tagIds_;
|
||||
std::vector<std::string> regionIds_;
|
||||
int priority_;
|
||||
std::string nextHop_;
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string modifyType_;
|
||||
std::string name_;
|
||||
std::string applicationType_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEDYNAMICROUTEREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_UPDATEDYNAMICROUTERESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_UPDATEDYNAMICROUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT UpdateDynamicRouteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateDynamicRouteResult();
|
||||
explicit UpdateDynamicRouteResult(const std::string &payload);
|
||||
~UpdateDynamicRouteResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEDYNAMICROUTERESULT_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CSAS_MODEL_UPDATEPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_UPDATEPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT UpdatePrivateAccessApplicationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct PortRanges {
|
||||
int end;
|
||||
int begin;
|
||||
};
|
||||
UpdatePrivateAccessApplicationRequest();
|
||||
~UpdatePrivateAccessApplicationRequest();
|
||||
std::vector<std::string> getAddresses() const;
|
||||
void setAddresses(const std::vector<std::string> &addresses);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getProtocol() const;
|
||||
void setProtocol(const std::string &protocol);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
std::vector<PortRanges> getPortRanges() const;
|
||||
void setPortRanges(const std::vector<PortRanges> &portRanges);
|
||||
std::string getModifyType() const;
|
||||
void setModifyType(const std::string &modifyType);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::vector<std::string> addresses_;
|
||||
std::string description_;
|
||||
std::string protocol_;
|
||||
std::string sourceIp_;
|
||||
std::string applicationId_;
|
||||
std::vector<std::string> tagIds_;
|
||||
std::vector<PortRanges> portRanges_;
|
||||
std::string modifyType_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEPRIVATEACCESSAPPLICATIONREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_UPDATEPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_UPDATEPRIVATEACCESSAPPLICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT UpdatePrivateAccessApplicationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdatePrivateAccessApplicationResult();
|
||||
explicit UpdatePrivateAccessApplicationResult(const std::string &payload);
|
||||
~UpdatePrivateAccessApplicationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEPRIVATEACCESSAPPLICATIONRESULT_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_CSAS_MODEL_UPDATEPRIVATEACCESSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_UPDATEPRIVATEACCESSPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT UpdatePrivateAccessPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct CustomUserAttributes {
|
||||
std::string userGroupType;
|
||||
int idpId;
|
||||
std::string value;
|
||||
std::string relation;
|
||||
};
|
||||
UpdatePrivateAccessPolicyRequest();
|
||||
~UpdatePrivateAccessPolicyRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getPolicyId() const;
|
||||
void setPolicyId(const std::string &policyId);
|
||||
std::vector<CustomUserAttributes> getCustomUserAttributes() const;
|
||||
void setCustomUserAttributes(const std::vector<CustomUserAttributes> &customUserAttributes);
|
||||
std::vector<std::string> getTagIds() const;
|
||||
void setTagIds(const std::vector<std::string> &tagIds);
|
||||
std::vector<std::string> getUserGroupIds() const;
|
||||
void setUserGroupIds(const std::vector<std::string> &userGroupIds);
|
||||
std::string getPolicyAction() const;
|
||||
void setPolicyAction(const std::string &policyAction);
|
||||
int getPriority() const;
|
||||
void setPriority(int priority);
|
||||
std::vector<std::string> getApplicationIds() const;
|
||||
void setApplicationIds(const std::vector<std::string> &applicationIds);
|
||||
std::string getUserGroupMode() const;
|
||||
void setUserGroupMode(const std::string &userGroupMode);
|
||||
std::string getModifyType() const;
|
||||
void setModifyType(const std::string &modifyType);
|
||||
std::string getApplicationType() const;
|
||||
void setApplicationType(const std::string &applicationType);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string sourceIp_;
|
||||
std::string policyId_;
|
||||
std::vector<CustomUserAttributes> customUserAttributes_;
|
||||
std::vector<std::string> tagIds_;
|
||||
std::vector<std::string> userGroupIds_;
|
||||
std::string policyAction_;
|
||||
int priority_;
|
||||
std::vector<std::string> applicationIds_;
|
||||
std::string userGroupMode_;
|
||||
std::string modifyType_;
|
||||
std::string applicationType_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEPRIVATEACCESSPOLICYREQUEST_H_
|
||||
@@ -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_CSAS_MODEL_UPDATEPRIVATEACCESSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_UPDATEPRIVATEACCESSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT UpdatePrivateAccessPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdatePrivateAccessPolicyResult();
|
||||
explicit UpdatePrivateAccessPolicyResult(const std::string &payload);
|
||||
~UpdatePrivateAccessPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEPRIVATEACCESSPOLICYRESULT_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_CSAS_MODEL_UPDATEUSERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_UPDATEUSERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Csas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CSAS_EXPORT UpdateUserGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Attributes {
|
||||
std::string userGroupType;
|
||||
int idpId;
|
||||
std::string value;
|
||||
std::string relation;
|
||||
};
|
||||
UpdateUserGroupRequest();
|
||||
~UpdateUserGroupRequest();
|
||||
std::string getUserGroupId() const;
|
||||
void setUserGroupId(const std::string &userGroupId);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSourceIp() const;
|
||||
void setSourceIp(const std::string &sourceIp);
|
||||
std::string getModifyType() const;
|
||||
void setModifyType(const std::string &modifyType);
|
||||
std::vector<Attributes> getAttributes() const;
|
||||
void setAttributes(const std::vector<Attributes> &attributes);
|
||||
|
||||
private:
|
||||
std::string userGroupId_;
|
||||
std::string description_;
|
||||
std::string sourceIp_;
|
||||
std::string modifyType_;
|
||||
std::vector<Attributes> attributes_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Csas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEUSERGROUPREQUEST_H_
|
||||
49
csas/include/alibabacloud/csas/model/UpdateUserGroupResult.h
Normal file
49
csas/include/alibabacloud/csas/model/UpdateUserGroupResult.h
Normal 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_CSAS_MODEL_UPDATEUSERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CSAS_MODEL_UPDATEUSERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csas/CsasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Csas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSAS_EXPORT UpdateUserGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateUserGroupResult();
|
||||
explicit UpdateUserGroupResult(const std::string &payload);
|
||||
~UpdateUserGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEUSERGROUPRESULT_H_
|
||||
Reference in New Issue
Block a user