regenerate code
This commit is contained in:
@@ -46,6 +46,8 @@
|
||||
#include "model/ChangeDomainGroupResult.h"
|
||||
#include "model/ChangeDomainOfDnsProductRequest.h"
|
||||
#include "model/ChangeDomainOfDnsProductResult.h"
|
||||
#include "model/CopyGtmConfigRequest.h"
|
||||
#include "model/CopyGtmConfigResult.h"
|
||||
#include "model/DeleteCustomLinesRequest.h"
|
||||
#include "model/DeleteCustomLinesResult.h"
|
||||
#include "model/DeleteDomainRequest.h"
|
||||
@@ -239,6 +241,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ChangeDomainOfDnsProductResult> ChangeDomainOfDnsProductOutcome;
|
||||
typedef std::future<ChangeDomainOfDnsProductOutcome> ChangeDomainOfDnsProductOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ChangeDomainOfDnsProductRequest&, const ChangeDomainOfDnsProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeDomainOfDnsProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::CopyGtmConfigResult> CopyGtmConfigOutcome;
|
||||
typedef std::future<CopyGtmConfigOutcome> CopyGtmConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::CopyGtmConfigRequest&, const CopyGtmConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopyGtmConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCustomLinesResult> DeleteCustomLinesOutcome;
|
||||
typedef std::future<DeleteCustomLinesOutcome> DeleteCustomLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteCustomLinesRequest&, const DeleteCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomLinesAsyncHandler;
|
||||
@@ -502,6 +507,9 @@ namespace AlibabaCloud
|
||||
ChangeDomainOfDnsProductOutcome changeDomainOfDnsProduct(const Model::ChangeDomainOfDnsProductRequest &request)const;
|
||||
void changeDomainOfDnsProductAsync(const Model::ChangeDomainOfDnsProductRequest& request, const ChangeDomainOfDnsProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeDomainOfDnsProductOutcomeCallable changeDomainOfDnsProductCallable(const Model::ChangeDomainOfDnsProductRequest& request) const;
|
||||
CopyGtmConfigOutcome copyGtmConfig(const Model::CopyGtmConfigRequest &request)const;
|
||||
void copyGtmConfigAsync(const Model::CopyGtmConfigRequest& request, const CopyGtmConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CopyGtmConfigOutcomeCallable copyGtmConfigCallable(const Model::CopyGtmConfigRequest& request) const;
|
||||
DeleteCustomLinesOutcome deleteCustomLines(const Model::DeleteCustomLinesRequest &request)const;
|
||||
void deleteCustomLinesAsync(const Model::DeleteCustomLinesRequest& request, const DeleteCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomLinesOutcomeCallable deleteCustomLinesCallable(const Model::DeleteCustomLinesRequest& request) const;
|
||||
|
||||
@@ -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_ALIDNS_MODEL_COPYGTMCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_COPYGTMCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT CopyGtmConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CopyGtmConfigRequest();
|
||||
~CopyGtmConfigRequest();
|
||||
|
||||
std::string getSourceId()const;
|
||||
void setSourceId(const std::string& sourceId);
|
||||
std::string getTargetId()const;
|
||||
void setTargetId(const std::string& targetId);
|
||||
std::string getCopyType()const;
|
||||
void setCopyType(const std::string& copyType);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceId_;
|
||||
std::string targetId_;
|
||||
std::string copyType_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_COPYGTMCONFIGREQUEST_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_ALIDNS_MODEL_COPYGTMCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_COPYGTMCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT CopyGtmConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CopyGtmConfigResult();
|
||||
explicit CopyGtmConfigResult(const std::string &payload);
|
||||
~CopyGtmConfigResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_COPYGTMCONFIGRESULT_H_
|
||||
@@ -37,16 +37,20 @@ namespace AlibabaCloud
|
||||
DescribeGtmInstanceStatusResult();
|
||||
explicit DescribeGtmInstanceStatusResult(const std::string &payload);
|
||||
~DescribeGtmInstanceStatusResult();
|
||||
std::string getStatus()const;
|
||||
int getStrategyNotAvailableNum()const;
|
||||
int getSwitchToFailoverStrategyNum()const;
|
||||
std::string getStatusReason()const;
|
||||
int getAddrNotAvailableNum()const;
|
||||
int getAddrPoolNotAvailableNum()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
int strategyNotAvailableNum_;
|
||||
int switchToFailoverStrategyNum_;
|
||||
std::string statusReason_;
|
||||
int addrNotAvailableNum_;
|
||||
int addrPoolNotAvailableNum_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user