Support MatchAddressType in RouteMap API.
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
#include "model/CreateTransitRouterMulticastDomainResult.h"
|
||||
#include "model/CreateTransitRouterPeerAttachmentRequest.h"
|
||||
#include "model/CreateTransitRouterPeerAttachmentResult.h"
|
||||
#include "model/CreateTransitRouterPrefixListAssociationRequest.h"
|
||||
#include "model/CreateTransitRouterPrefixListAssociationResult.h"
|
||||
#include "model/CreateTransitRouterRouteEntryRequest.h"
|
||||
#include "model/CreateTransitRouterRouteEntryResult.h"
|
||||
#include "model/CreateTransitRouterRouteTableRequest.h"
|
||||
@@ -98,6 +100,8 @@
|
||||
#include "model/DeleteTransitRouterMulticastDomainResult.h"
|
||||
#include "model/DeleteTransitRouterPeerAttachmentRequest.h"
|
||||
#include "model/DeleteTransitRouterPeerAttachmentResult.h"
|
||||
#include "model/DeleteTransitRouterPrefixListAssociationRequest.h"
|
||||
#include "model/DeleteTransitRouterPrefixListAssociationResult.h"
|
||||
#include "model/DeleteTransitRouterRouteEntryRequest.h"
|
||||
#include "model/DeleteTransitRouterRouteEntryResult.h"
|
||||
#include "model/DeleteTransitRouterRouteTableRequest.h"
|
||||
@@ -194,6 +198,8 @@
|
||||
#include "model/ListTransitRouterMulticastGroupsResult.h"
|
||||
#include "model/ListTransitRouterPeerAttachmentsRequest.h"
|
||||
#include "model/ListTransitRouterPeerAttachmentsResult.h"
|
||||
#include "model/ListTransitRouterPrefixListAssociationRequest.h"
|
||||
#include "model/ListTransitRouterPrefixListAssociationResult.h"
|
||||
#include "model/ListTransitRouterRouteEntriesRequest.h"
|
||||
#include "model/ListTransitRouterRouteEntriesResult.h"
|
||||
#include "model/ListTransitRouterRouteTableAssociationsRequest.h"
|
||||
@@ -342,6 +348,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateTransitRouterPeerAttachmentResult> CreateTransitRouterPeerAttachmentOutcome;
|
||||
typedef std::future<CreateTransitRouterPeerAttachmentOutcome> CreateTransitRouterPeerAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterPeerAttachmentRequest&, const CreateTransitRouterPeerAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterPeerAttachmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTransitRouterPrefixListAssociationResult> CreateTransitRouterPrefixListAssociationOutcome;
|
||||
typedef std::future<CreateTransitRouterPrefixListAssociationOutcome> CreateTransitRouterPrefixListAssociationOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterPrefixListAssociationRequest&, const CreateTransitRouterPrefixListAssociationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterPrefixListAssociationAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTransitRouterRouteEntryResult> CreateTransitRouterRouteEntryOutcome;
|
||||
typedef std::future<CreateTransitRouterRouteEntryOutcome> CreateTransitRouterRouteEntryOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterRouteEntryRequest&, const CreateTransitRouterRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterRouteEntryAsyncHandler;
|
||||
@@ -399,6 +408,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteTransitRouterPeerAttachmentResult> DeleteTransitRouterPeerAttachmentOutcome;
|
||||
typedef std::future<DeleteTransitRouterPeerAttachmentOutcome> DeleteTransitRouterPeerAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterPeerAttachmentRequest&, const DeleteTransitRouterPeerAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterPeerAttachmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTransitRouterPrefixListAssociationResult> DeleteTransitRouterPrefixListAssociationOutcome;
|
||||
typedef std::future<DeleteTransitRouterPrefixListAssociationOutcome> DeleteTransitRouterPrefixListAssociationOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterPrefixListAssociationRequest&, const DeleteTransitRouterPrefixListAssociationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterPrefixListAssociationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTransitRouterRouteEntryResult> DeleteTransitRouterRouteEntryOutcome;
|
||||
typedef std::future<DeleteTransitRouterRouteEntryOutcome> DeleteTransitRouterRouteEntryOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterRouteEntryRequest&, const DeleteTransitRouterRouteEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterRouteEntryAsyncHandler;
|
||||
@@ -543,6 +555,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListTransitRouterPeerAttachmentsResult> ListTransitRouterPeerAttachmentsOutcome;
|
||||
typedef std::future<ListTransitRouterPeerAttachmentsOutcome> ListTransitRouterPeerAttachmentsOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterPeerAttachmentsRequest&, const ListTransitRouterPeerAttachmentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterPeerAttachmentsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTransitRouterPrefixListAssociationResult> ListTransitRouterPrefixListAssociationOutcome;
|
||||
typedef std::future<ListTransitRouterPrefixListAssociationOutcome> ListTransitRouterPrefixListAssociationOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterPrefixListAssociationRequest&, const ListTransitRouterPrefixListAssociationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterPrefixListAssociationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTransitRouterRouteEntriesResult> ListTransitRouterRouteEntriesOutcome;
|
||||
typedef std::future<ListTransitRouterRouteEntriesOutcome> ListTransitRouterRouteEntriesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterRouteEntriesRequest&, const ListTransitRouterRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterRouteEntriesAsyncHandler;
|
||||
@@ -728,6 +743,9 @@ namespace AlibabaCloud
|
||||
CreateTransitRouterPeerAttachmentOutcome createTransitRouterPeerAttachment(const Model::CreateTransitRouterPeerAttachmentRequest &request)const;
|
||||
void createTransitRouterPeerAttachmentAsync(const Model::CreateTransitRouterPeerAttachmentRequest& request, const CreateTransitRouterPeerAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTransitRouterPeerAttachmentOutcomeCallable createTransitRouterPeerAttachmentCallable(const Model::CreateTransitRouterPeerAttachmentRequest& request) const;
|
||||
CreateTransitRouterPrefixListAssociationOutcome createTransitRouterPrefixListAssociation(const Model::CreateTransitRouterPrefixListAssociationRequest &request)const;
|
||||
void createTransitRouterPrefixListAssociationAsync(const Model::CreateTransitRouterPrefixListAssociationRequest& request, const CreateTransitRouterPrefixListAssociationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTransitRouterPrefixListAssociationOutcomeCallable createTransitRouterPrefixListAssociationCallable(const Model::CreateTransitRouterPrefixListAssociationRequest& request) const;
|
||||
CreateTransitRouterRouteEntryOutcome createTransitRouterRouteEntry(const Model::CreateTransitRouterRouteEntryRequest &request)const;
|
||||
void createTransitRouterRouteEntryAsync(const Model::CreateTransitRouterRouteEntryRequest& request, const CreateTransitRouterRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTransitRouterRouteEntryOutcomeCallable createTransitRouterRouteEntryCallable(const Model::CreateTransitRouterRouteEntryRequest& request) const;
|
||||
@@ -785,6 +803,9 @@ namespace AlibabaCloud
|
||||
DeleteTransitRouterPeerAttachmentOutcome deleteTransitRouterPeerAttachment(const Model::DeleteTransitRouterPeerAttachmentRequest &request)const;
|
||||
void deleteTransitRouterPeerAttachmentAsync(const Model::DeleteTransitRouterPeerAttachmentRequest& request, const DeleteTransitRouterPeerAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTransitRouterPeerAttachmentOutcomeCallable deleteTransitRouterPeerAttachmentCallable(const Model::DeleteTransitRouterPeerAttachmentRequest& request) const;
|
||||
DeleteTransitRouterPrefixListAssociationOutcome deleteTransitRouterPrefixListAssociation(const Model::DeleteTransitRouterPrefixListAssociationRequest &request)const;
|
||||
void deleteTransitRouterPrefixListAssociationAsync(const Model::DeleteTransitRouterPrefixListAssociationRequest& request, const DeleteTransitRouterPrefixListAssociationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTransitRouterPrefixListAssociationOutcomeCallable deleteTransitRouterPrefixListAssociationCallable(const Model::DeleteTransitRouterPrefixListAssociationRequest& request) const;
|
||||
DeleteTransitRouterRouteEntryOutcome deleteTransitRouterRouteEntry(const Model::DeleteTransitRouterRouteEntryRequest &request)const;
|
||||
void deleteTransitRouterRouteEntryAsync(const Model::DeleteTransitRouterRouteEntryRequest& request, const DeleteTransitRouterRouteEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTransitRouterRouteEntryOutcomeCallable deleteTransitRouterRouteEntryCallable(const Model::DeleteTransitRouterRouteEntryRequest& request) const;
|
||||
@@ -929,6 +950,9 @@ namespace AlibabaCloud
|
||||
ListTransitRouterPeerAttachmentsOutcome listTransitRouterPeerAttachments(const Model::ListTransitRouterPeerAttachmentsRequest &request)const;
|
||||
void listTransitRouterPeerAttachmentsAsync(const Model::ListTransitRouterPeerAttachmentsRequest& request, const ListTransitRouterPeerAttachmentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTransitRouterPeerAttachmentsOutcomeCallable listTransitRouterPeerAttachmentsCallable(const Model::ListTransitRouterPeerAttachmentsRequest& request) const;
|
||||
ListTransitRouterPrefixListAssociationOutcome listTransitRouterPrefixListAssociation(const Model::ListTransitRouterPrefixListAssociationRequest &request)const;
|
||||
void listTransitRouterPrefixListAssociationAsync(const Model::ListTransitRouterPrefixListAssociationRequest& request, const ListTransitRouterPrefixListAssociationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTransitRouterPrefixListAssociationOutcomeCallable listTransitRouterPrefixListAssociationCallable(const Model::ListTransitRouterPrefixListAssociationRequest& request) const;
|
||||
ListTransitRouterRouteEntriesOutcome listTransitRouterRouteEntries(const Model::ListTransitRouterRouteEntriesRequest &request)const;
|
||||
void listTransitRouterRouteEntriesAsync(const Model::ListTransitRouterRouteEntriesRequest& request, const ListTransitRouterRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTransitRouterRouteEntriesOutcomeCallable listTransitRouterRouteEntriesCallable(const Model::ListTransitRouterRouteEntriesRequest& request) const;
|
||||
|
||||
@@ -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_CBN_MODEL_CREATETRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Cbn {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterPrefixListAssociationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateTransitRouterPrefixListAssociationRequest();
|
||||
~CreateTransitRouterPrefixListAssociationRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPrefixListId() const;
|
||||
void setPrefixListId(const std::string &prefixListId);
|
||||
long getOwnerUid() const;
|
||||
void setOwnerUid(long ownerUid);
|
||||
std::string getNextHopType() const;
|
||||
void setNextHopType(const std::string &nextHopType);
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId() const;
|
||||
void setTransitRouterId(const std::string &transitRouterId);
|
||||
std::string getTransitRouterTableId() const;
|
||||
void setTransitRouterTableId(const std::string &transitRouterTableId);
|
||||
std::string getNextHop() const;
|
||||
void setNextHop(const std::string &nextHop);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string prefixListId_;
|
||||
long ownerUid_;
|
||||
std::string nextHopType_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
std::string transitRouterTableId_;
|
||||
std::string nextHop_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cbn
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_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_CBN_MODEL_CREATETRANSITROUTERPREFIXLISTASSOCIATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERPREFIXLISTASSOCIATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterPrefixListAssociationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateTransitRouterPrefixListAssociationResult();
|
||||
explicit CreateTransitRouterPrefixListAssociationResult(const std::string &payload);
|
||||
~CreateTransitRouterPrefixListAssociationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERPREFIXLISTASSOCIATIONRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_DELETETRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Cbn {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteTransitRouterPrefixListAssociationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteTransitRouterPrefixListAssociationRequest();
|
||||
~DeleteTransitRouterPrefixListAssociationRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPrefixListId() const;
|
||||
void setPrefixListId(const std::string &prefixListId);
|
||||
std::string getNextHopType() const;
|
||||
void setNextHopType(const std::string &nextHopType);
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId() const;
|
||||
void setTransitRouterId(const std::string &transitRouterId);
|
||||
std::string getTransitRouterTableId() const;
|
||||
void setTransitRouterTableId(const std::string &transitRouterTableId);
|
||||
std::string getNextHop() const;
|
||||
void setNextHop(const std::string &nextHop);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string prefixListId_;
|
||||
std::string nextHopType_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
std::string transitRouterTableId_;
|
||||
std::string nextHop_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cbn
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_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_CBN_MODEL_DELETETRANSITROUTERPREFIXLISTASSOCIATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERPREFIXLISTASSOCIATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteTransitRouterPrefixListAssociationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTransitRouterPrefixListAssociationResult();
|
||||
explicit DeleteTransitRouterPrefixListAssociationResult(const std::string &payload);
|
||||
~DeleteTransitRouterPrefixListAssociationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRANSITROUTERPREFIXLISTASSOCIATIONRESULT_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_CBN_MODEL_LISTTRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Cbn {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CBN_EXPORT ListTransitRouterPrefixListAssociationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListTransitRouterPrefixListAssociationRequest();
|
||||
~ListTransitRouterPrefixListAssociationRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPrefixListId() const;
|
||||
void setPrefixListId(const std::string &prefixListId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerUid() const;
|
||||
void setOwnerUid(long ownerUid);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId() const;
|
||||
void setTransitRouterId(const std::string &transitRouterId);
|
||||
std::string getTransitRouterTableId() const;
|
||||
void setTransitRouterTableId(const std::string &transitRouterTableId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string prefixListId_;
|
||||
int pageSize_;
|
||||
long ownerUid_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
std::string transitRouterTableId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cbn
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERPREFIXLISTASSOCIATIONREQUEST_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_CBN_MODEL_LISTTRANSITROUTERPREFIXLISTASSOCIATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERPREFIXLISTASSOCIATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListTransitRouterPrefixListAssociationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrefixList
|
||||
{
|
||||
std::string status;
|
||||
std::string transitRouterTableId;
|
||||
std::string nextHopType;
|
||||
std::string prefixListId;
|
||||
long ownerUid;
|
||||
std::string nextHop;
|
||||
std::string nextHopInstanceId;
|
||||
};
|
||||
|
||||
|
||||
ListTransitRouterPrefixListAssociationResult();
|
||||
explicit ListTransitRouterPrefixListAssociationResult(const std::string &payload);
|
||||
~ListTransitRouterPrefixListAssociationResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<PrefixList> getPrefixLists()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<PrefixList> prefixLists_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRANSITROUTERPREFIXLISTASSOCIATIONRESULT_H_
|
||||
Reference in New Issue
Block a user