First publish.

This commit is contained in:
sdk-team
2023-01-03 02:17:19 +00:00
parent a382e3172c
commit dabca8e080
65 changed files with 5127 additions and 1 deletions

View File

@@ -0,0 +1,166 @@
/*
* 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_EFLO_EFLOCLIENT_H_
#define ALIBABACLOUD_EFLO_EFLOCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "EfloExport.h"
#include "model/CreateSubnetRequest.h"
#include "model/CreateSubnetResult.h"
#include "model/CreateVccRequest.h"
#include "model/CreateVccResult.h"
#include "model/CreateVpdRequest.h"
#include "model/CreateVpdResult.h"
#include "model/DeleteSubnetRequest.h"
#include "model/DeleteSubnetResult.h"
#include "model/DeleteVpdRequest.h"
#include "model/DeleteVpdResult.h"
#include "model/GetSubnetRequest.h"
#include "model/GetSubnetResult.h"
#include "model/GetVccRequest.h"
#include "model/GetVccResult.h"
#include "model/GetVpdRequest.h"
#include "model/GetVpdResult.h"
#include "model/InitializeVccRequest.h"
#include "model/InitializeVccResult.h"
#include "model/ListSubnetsRequest.h"
#include "model/ListSubnetsResult.h"
#include "model/ListVccsRequest.h"
#include "model/ListVccsResult.h"
#include "model/ListVpdsRequest.h"
#include "model/ListVpdsResult.h"
#include "model/UpdateSubnetRequest.h"
#include "model/UpdateSubnetResult.h"
#include "model/UpdateVccRequest.h"
#include "model/UpdateVccResult.h"
#include "model/UpdateVpdRequest.h"
#include "model/UpdateVpdResult.h"
namespace AlibabaCloud
{
namespace Eflo
{
class ALIBABACLOUD_EFLO_EXPORT EfloClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::CreateSubnetResult> CreateSubnetOutcome;
typedef std::future<CreateSubnetOutcome> CreateSubnetOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::CreateSubnetRequest&, const CreateSubnetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSubnetAsyncHandler;
typedef Outcome<Error, Model::CreateVccResult> CreateVccOutcome;
typedef std::future<CreateVccOutcome> CreateVccOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::CreateVccRequest&, const CreateVccOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVccAsyncHandler;
typedef Outcome<Error, Model::CreateVpdResult> CreateVpdOutcome;
typedef std::future<CreateVpdOutcome> CreateVpdOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::CreateVpdRequest&, const CreateVpdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVpdAsyncHandler;
typedef Outcome<Error, Model::DeleteSubnetResult> DeleteSubnetOutcome;
typedef std::future<DeleteSubnetOutcome> DeleteSubnetOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::DeleteSubnetRequest&, const DeleteSubnetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSubnetAsyncHandler;
typedef Outcome<Error, Model::DeleteVpdResult> DeleteVpdOutcome;
typedef std::future<DeleteVpdOutcome> DeleteVpdOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::DeleteVpdRequest&, const DeleteVpdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVpdAsyncHandler;
typedef Outcome<Error, Model::GetSubnetResult> GetSubnetOutcome;
typedef std::future<GetSubnetOutcome> GetSubnetOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::GetSubnetRequest&, const GetSubnetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSubnetAsyncHandler;
typedef Outcome<Error, Model::GetVccResult> GetVccOutcome;
typedef std::future<GetVccOutcome> GetVccOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::GetVccRequest&, const GetVccOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVccAsyncHandler;
typedef Outcome<Error, Model::GetVpdResult> GetVpdOutcome;
typedef std::future<GetVpdOutcome> GetVpdOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::GetVpdRequest&, const GetVpdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVpdAsyncHandler;
typedef Outcome<Error, Model::InitializeVccResult> InitializeVccOutcome;
typedef std::future<InitializeVccOutcome> InitializeVccOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::InitializeVccRequest&, const InitializeVccOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitializeVccAsyncHandler;
typedef Outcome<Error, Model::ListSubnetsResult> ListSubnetsOutcome;
typedef std::future<ListSubnetsOutcome> ListSubnetsOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListSubnetsRequest&, const ListSubnetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSubnetsAsyncHandler;
typedef Outcome<Error, Model::ListVccsResult> ListVccsOutcome;
typedef std::future<ListVccsOutcome> ListVccsOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListVccsRequest&, const ListVccsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVccsAsyncHandler;
typedef Outcome<Error, Model::ListVpdsResult> ListVpdsOutcome;
typedef std::future<ListVpdsOutcome> ListVpdsOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListVpdsRequest&, const ListVpdsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpdsAsyncHandler;
typedef Outcome<Error, Model::UpdateSubnetResult> UpdateSubnetOutcome;
typedef std::future<UpdateSubnetOutcome> UpdateSubnetOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UpdateSubnetRequest&, const UpdateSubnetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSubnetAsyncHandler;
typedef Outcome<Error, Model::UpdateVccResult> UpdateVccOutcome;
typedef std::future<UpdateVccOutcome> UpdateVccOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UpdateVccRequest&, const UpdateVccOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVccAsyncHandler;
typedef Outcome<Error, Model::UpdateVpdResult> UpdateVpdOutcome;
typedef std::future<UpdateVpdOutcome> UpdateVpdOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UpdateVpdRequest&, const UpdateVpdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVpdAsyncHandler;
EfloClient(const Credentials &credentials, const ClientConfiguration &configuration);
EfloClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
EfloClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~EfloClient();
CreateSubnetOutcome createSubnet(const Model::CreateSubnetRequest &request)const;
void createSubnetAsync(const Model::CreateSubnetRequest& request, const CreateSubnetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSubnetOutcomeCallable createSubnetCallable(const Model::CreateSubnetRequest& request) const;
CreateVccOutcome createVcc(const Model::CreateVccRequest &request)const;
void createVccAsync(const Model::CreateVccRequest& request, const CreateVccAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVccOutcomeCallable createVccCallable(const Model::CreateVccRequest& request) const;
CreateVpdOutcome createVpd(const Model::CreateVpdRequest &request)const;
void createVpdAsync(const Model::CreateVpdRequest& request, const CreateVpdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVpdOutcomeCallable createVpdCallable(const Model::CreateVpdRequest& request) const;
DeleteSubnetOutcome deleteSubnet(const Model::DeleteSubnetRequest &request)const;
void deleteSubnetAsync(const Model::DeleteSubnetRequest& request, const DeleteSubnetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSubnetOutcomeCallable deleteSubnetCallable(const Model::DeleteSubnetRequest& request) const;
DeleteVpdOutcome deleteVpd(const Model::DeleteVpdRequest &request)const;
void deleteVpdAsync(const Model::DeleteVpdRequest& request, const DeleteVpdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVpdOutcomeCallable deleteVpdCallable(const Model::DeleteVpdRequest& request) const;
GetSubnetOutcome getSubnet(const Model::GetSubnetRequest &request)const;
void getSubnetAsync(const Model::GetSubnetRequest& request, const GetSubnetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSubnetOutcomeCallable getSubnetCallable(const Model::GetSubnetRequest& request) const;
GetVccOutcome getVcc(const Model::GetVccRequest &request)const;
void getVccAsync(const Model::GetVccRequest& request, const GetVccAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVccOutcomeCallable getVccCallable(const Model::GetVccRequest& request) const;
GetVpdOutcome getVpd(const Model::GetVpdRequest &request)const;
void getVpdAsync(const Model::GetVpdRequest& request, const GetVpdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVpdOutcomeCallable getVpdCallable(const Model::GetVpdRequest& request) const;
InitializeVccOutcome initializeVcc(const Model::InitializeVccRequest &request)const;
void initializeVccAsync(const Model::InitializeVccRequest& request, const InitializeVccAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InitializeVccOutcomeCallable initializeVccCallable(const Model::InitializeVccRequest& request) const;
ListSubnetsOutcome listSubnets(const Model::ListSubnetsRequest &request)const;
void listSubnetsAsync(const Model::ListSubnetsRequest& request, const ListSubnetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSubnetsOutcomeCallable listSubnetsCallable(const Model::ListSubnetsRequest& request) const;
ListVccsOutcome listVccs(const Model::ListVccsRequest &request)const;
void listVccsAsync(const Model::ListVccsRequest& request, const ListVccsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVccsOutcomeCallable listVccsCallable(const Model::ListVccsRequest& request) const;
ListVpdsOutcome listVpds(const Model::ListVpdsRequest &request)const;
void listVpdsAsync(const Model::ListVpdsRequest& request, const ListVpdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVpdsOutcomeCallable listVpdsCallable(const Model::ListVpdsRequest& request) const;
UpdateSubnetOutcome updateSubnet(const Model::UpdateSubnetRequest &request)const;
void updateSubnetAsync(const Model::UpdateSubnetRequest& request, const UpdateSubnetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSubnetOutcomeCallable updateSubnetCallable(const Model::UpdateSubnetRequest& request) const;
UpdateVccOutcome updateVcc(const Model::UpdateVccRequest &request)const;
void updateVccAsync(const Model::UpdateVccRequest& request, const UpdateVccAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateVccOutcomeCallable updateVccCallable(const Model::UpdateVccRequest& request) const;
UpdateVpdOutcome updateVpd(const Model::UpdateVpdRequest &request)const;
void updateVpdAsync(const Model::UpdateVpdRequest& request, const UpdateVpdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateVpdOutcomeCallable updateVpdCallable(const Model::UpdateVpdRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_EFLO_EFLOCLIENT_H_

View 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_EFLO_EFLOEXPORT_H_
#define ALIBABACLOUD_EFLO_EFLOEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_EFLO_LIBRARY)
# define ALIBABACLOUD_EFLO_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_EFLO_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_EFLO_EXPORT
#endif
#endif // !ALIBABACLOUD_EFLO_EFLOEXPORT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_CREATESUBNETREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_CREATESUBNETREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT CreateSubnetRequest : public RpcServiceRequest {
public:
CreateSubnetRequest();
~CreateSubnetRequest();
std::string getType() const;
void setType(const std::string &type);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
std::string getName() const;
void setName(const std::string &name);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
std::string getCidr() const;
void setCidr(const std::string &cidr);
private:
std::string type_;
std::string regionId_;
std::string vpdId_;
std::string name_;
std::string zoneId_;
std::string cidr_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_CREATESUBNETREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_CREATEVCCREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_CREATEVCCREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT CreateVccRequest : public RpcServiceRequest {
public:
CreateVccRequest();
~CreateVccRequest();
std::string getBgpCidr() const;
void setBgpCidr(const std::string &bgpCidr);
std::string getCenId() const;
void setCenId(const std::string &cenId);
std::string getDescription() const;
void setDescription(const std::string &description);
bool getAccessCouldService() const;
void setAccessCouldService(bool accessCouldService);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getVccId() const;
void setVccId(const std::string &vccId);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
std::string getVpcId() const;
void setVpcId(const std::string &vpcId);
private:
std::string bgpCidr_;
std::string cenId_;
std::string description_;
bool accessCouldService_;
std::string regionId_;
std::string vccId_;
std::string vSwitchId_;
std::string vpdId_;
std::string vpcId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEVCCREQUEST_H_

View File

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

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_CREATEVPDREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_CREATEVPDREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT CreateVpdRequest : public RpcServiceRequest {
public:
struct Subnets {
std::string regionId;
std::string name;
std::string zoneId;
std::string cidr;
std::string type;
};
CreateVpdRequest();
~CreateVpdRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getName() const;
void setName(const std::string &name);
std::string getCidr() const;
void setCidr(const std::string &cidr);
std::vector<Subnets> getSubnets() const;
void setSubnets(const std::vector<Subnets> &subnets);
private:
std::string regionId_;
std::string name_;
std::string cidr_;
std::vector<Subnets> subnets_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_CREATEVPDREQUEST_H_

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_DELETESUBNETREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_DELETESUBNETREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT DeleteSubnetRequest : public RpcServiceRequest {
public:
DeleteSubnetRequest();
~DeleteSubnetRequest();
std::string getSubnetId() const;
void setSubnetId(const std::string &subnetId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
private:
std::string subnetId_;
std::string regionId_;
std::string vpdId_;
std::string zoneId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_DELETESUBNETREQUEST_H_

View File

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

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_DELETEVPDREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_DELETEVPDREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT DeleteVpdRequest : public RpcServiceRequest {
public:
DeleteVpdRequest();
~DeleteVpdRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
private:
std::string regionId_;
std::string vpdId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_DELETEVPDREQUEST_H_

View File

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

View File

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

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_GETSUBNETRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_GETSUBNETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT GetSubnetResult : public ServiceResult
{
public:
struct Content
{
struct VpdBaseInfo
{
std::string gmtCreate;
std::string cidr;
std::string vpdId;
std::string name;
};
std::string status;
long ncCount;
long lbCount;
VpdBaseInfo vpdBaseInfo;
std::string description;
std::string zoneId;
std::string message;
std::string gmtModified;
std::string subnetId;
std::string name;
std::string gmtCreate;
std::string tenantId;
std::string type;
std::string cidr;
std::string vpdId;
long id;
std::string regionId;
};
GetSubnetResult();
explicit GetSubnetResult(const std::string &payload);
~GetSubnetResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_GETSUBNETRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_GETVCCREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_GETVCCREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT GetVccRequest : public RpcServiceRequest {
public:
GetVccRequest();
~GetVccRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getVccId() const;
void setVccId(const std::string &vccId);
private:
std::string regionId_;
std::string vccId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_GETVCCREQUEST_H_

View File

@@ -0,0 +1,115 @@
/*
* 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_EFLO_MODEL_GETVCCRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_GETVCCRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT GetVccResult : public ServiceResult
{
public:
struct Content
{
struct VpdBaseInfo
{
std::string gmtCreate;
std::string cidr;
std::string vpdId;
std::string name;
};
struct AliyunRouterInfoItem
{
std::string localGatewayIp;
std::string peerGatewayIp;
std::string mask;
std::string pcId;
std::string vbrId;
std::string vlanId;
};
struct CisRouterInfoItem
{
struct CcInfo
{
std::string status;
std::string localGatewayIp;
std::string remoteGatewayIp;
std::string ccId;
std::string vlanId;
std::string subnetMask;
};
std::string ccrId;
std::vector<CisRouterInfoItem::CcInfo> ccInfos;
};
std::string message;
std::string lineOperator;
std::string pricingCycle;
std::string currentNode;
std::string gmtModified;
std::string bgpCidr;
std::string commodityCode;
std::string vccId;
std::string status;
VpdBaseInfo vpdBaseInfo;
std::string vSwitchId;
std::string createTime;
std::string duration;
std::string payType;
std::vector<AliyunRouterInfoItem> aliyunRouterInfo;
std::string internetChargeType;
std::string bandwidthStr;
std::vector<CisRouterInfoItem> cisRouterInfo;
std::string tenantId;
std::string vpcId;
std::string vpdId;
std::string cenId;
std::string accessPointId;
std::string regionId;
std::string spec;
std::string vccName;
std::string portType;
};
GetVccResult();
explicit GetVccResult(const std::string &payload);
~GetVccResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_GETVCCRESULT_H_

View File

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

View File

@@ -0,0 +1,73 @@
/*
* 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_EFLO_MODEL_GETVPDRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_GETVPDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT GetVpdResult : public ServiceResult
{
public:
struct Content
{
std::string status;
long ncCount;
long lbCount;
std::string description;
std::string message;
long subnetCount;
std::string gmtModified;
std::string name;
std::string gmtCreate;
std::string cidr;
std::string vpdId;
std::string serviceCidr;
std::string regionId;
long vccCount;
int route;
};
GetVpdResult();
explicit GetVpdResult(const std::string &payload);
~GetVpdResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_GETVPDRESULT_H_

View File

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

View File

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

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_LISTSUBNETSREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTSUBNETSREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT ListSubnetsRequest : public RpcServiceRequest {
public:
ListSubnetsRequest();
~ListSubnetsRequest();
std::string getType() const;
void setType(const std::string &type);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getSubnetId() const;
void setSubnetId(const std::string &subnetId);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
bool getEnablePage() const;
void setEnablePage(bool enablePage);
std::string getName() const;
void setName(const std::string &name);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
std::string type_;
int pageNumber_;
std::string regionId_;
int pageSize_;
std::string subnetId_;
std::string vpdId_;
bool enablePage_;
std::string name_;
std::string zoneId_;
std::string status_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTSUBNETSREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* 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_EFLO_MODEL_LISTSUBNETSRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTSUBNETSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT ListSubnetsResult : public ServiceResult
{
public:
struct Content
{
struct DataItem
{
struct VpdBaseInfo
{
std::string gmtCreate;
std::string cidr;
std::string vpdId;
std::string name;
};
std::string status;
long ncCount;
VpdBaseInfo vpdBaseInfo;
std::string zoneId;
std::string message;
std::string gmtModified;
std::string subnetId;
std::string name;
std::string gmtCreate;
std::string tenantId;
std::string type;
std::string cidr;
std::string vpdId;
long id;
std::string regionId;
};
long total;
std::vector<DataItem> data;
};
ListSubnetsResult();
explicit ListSubnetsResult(const std::string &payload);
~ListSubnetsResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTSUBNETSRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVCCSREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTVCCSREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT ListVccsRequest : public RpcServiceRequest {
public:
ListVccsRequest();
~ListVccsRequest();
std::string getCenId() const;
void setCenId(const std::string &cenId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getVccId() const;
void setVccId(const std::string &vccId);
int getBandwidth() const;
void setBandwidth(int bandwidth);
std::string getExStatus() const;
void setExStatus(const std::string &exStatus);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
std::string getVpcId() const;
void setVpcId(const std::string &vpcId);
bool getEnablePage() const;
void setEnablePage(bool enablePage);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
std::string cenId_;
int pageNumber_;
std::string regionId_;
int pageSize_;
std::string vccId_;
int bandwidth_;
std::string exStatus_;
std::string vpdId_;
std::string vpcId_;
bool enablePage_;
std::string status_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCSREQUEST_H_

View File

@@ -0,0 +1,89 @@
/*
* 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_EFLO_MODEL_LISTVCCSRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTVCCSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT ListVccsResult : public ServiceResult
{
public:
struct Content
{
struct DataItem
{
struct VpdBaseInfo
{
std::string gmtCreate;
std::string cidr;
std::string vpdId;
std::string name;
};
std::string status;
VpdBaseInfo vpdBaseInfo;
std::string message;
std::string lineOperator;
double rate;
std::string createTime;
std::string gmtModified;
std::string bandwidthStr;
std::string tenantId;
std::string vpcId;
std::string vpdId;
std::string bgpCidr;
std::string cenId;
std::string accessPointId;
std::string regionId;
std::string vccId;
std::string spec;
std::string vccName;
std::string portType;
};
long total;
std::vector<DataItem> data;
};
ListVccsResult();
explicit ListVccsResult(const std::string &payload);
~ListVccsResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCSRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVPDSREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTVPDSREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT ListVpdsRequest : public RpcServiceRequest {
public:
ListVpdsRequest();
~ListVpdsRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
bool getWithDependence() const;
void setWithDependence(bool withDependence);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
bool getWithoutVcc() const;
void setWithoutVcc(bool withoutVcc);
int getPageSize() const;
void setPageSize(int pageSize);
bool getForSelect() const;
void setForSelect(bool forSelect);
std::string getFilterErId() const;
void setFilterErId(const std::string &filterErId);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
bool getEnablePage() const;
void setEnablePage(bool enablePage);
std::string getName() const;
void setName(const std::string &name);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
int pageNumber_;
bool withDependence_;
std::string regionId_;
bool withoutVcc_;
int pageSize_;
bool forSelect_;
std::string filterErId_;
std::string vpdId_;
bool enablePage_;
std::string name_;
std::string status_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVPDSREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVPDSRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTVPDSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT ListVpdsResult : public ServiceResult
{
public:
struct Content
{
struct DataItem
{
std::string status;
int ncCount;
std::string message;
int subnetCount;
std::string gmtModified;
std::string name;
std::string gmtCreate;
std::string cidr;
std::string vpdId;
std::string dependence;
std::string serviceCidr;
std::string regionId;
int route;
};
long total;
std::vector<DataItem> data;
};
ListVpdsResult();
explicit ListVpdsResult(const std::string &payload);
~ListVpdsResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVPDSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_UPDATESUBNETREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_UPDATESUBNETREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT UpdateSubnetRequest : public RpcServiceRequest {
public:
UpdateSubnetRequest();
~UpdateSubnetRequest();
std::string getSubnetId() const;
void setSubnetId(const std::string &subnetId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
std::string getName() const;
void setName(const std::string &name);
std::string getZoneId() const;
void setZoneId(const std::string &zoneId);
private:
std::string subnetId_;
std::string description_;
std::string regionId_;
std::string vpdId_;
std::string name_;
std::string zoneId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATESUBNETREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_UPDATEVCCREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_UPDATEVCCREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT UpdateVccRequest : public RpcServiceRequest {
public:
UpdateVccRequest();
~UpdateVccRequest();
int getBandwidth() const;
void setBandwidth(int bandwidth);
std::string getOrderId() const;
void setOrderId(const std::string &orderId);
std::string getVccName() const;
void setVccName(const std::string &vccName);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getVccId() const;
void setVccId(const std::string &vccId);
private:
int bandwidth_;
std::string orderId_;
std::string vccName_;
std::string regionId_;
std::string vccId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEVCCREQUEST_H_

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EFLO_MODEL_UPDATEVPDREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_UPDATEVPDREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT UpdateVpdRequest : public RpcServiceRequest {
public:
UpdateVpdRequest();
~UpdateVpdRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getVpdId() const;
void setVpdId(const std::string &vpdId);
std::string getName() const;
void setName(const std::string &name);
private:
std::string description_;
std::string regionId_;
std::string vpdId_;
std::string name_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATEVPDREQUEST_H_

View File

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