Fixed SDK update delay.
This commit is contained in:
@@ -28,6 +28,10 @@
|
||||
#include "model/BatchDeleteScdnDomainConfigsResult.h"
|
||||
#include "model/BatchSetScdnDomainConfigsRequest.h"
|
||||
#include "model/BatchSetScdnDomainConfigsResult.h"
|
||||
#include "model/BatchStartScdnDomainRequest.h"
|
||||
#include "model/BatchStartScdnDomainResult.h"
|
||||
#include "model/BatchStopScdnDomainRequest.h"
|
||||
#include "model/BatchStopScdnDomainResult.h"
|
||||
#include "model/BatchUpdateScdnDomainRequest.h"
|
||||
#include "model/BatchUpdateScdnDomainResult.h"
|
||||
#include "model/CheckScdnServiceRequest.h"
|
||||
@@ -156,6 +160,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::BatchSetScdnDomainConfigsResult> BatchSetScdnDomainConfigsOutcome;
|
||||
typedef std::future<BatchSetScdnDomainConfigsOutcome> BatchSetScdnDomainConfigsOutcomeCallable;
|
||||
typedef std::function<void(const ScdnClient*, const Model::BatchSetScdnDomainConfigsRequest&, const BatchSetScdnDomainConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchSetScdnDomainConfigsAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchStartScdnDomainResult> BatchStartScdnDomainOutcome;
|
||||
typedef std::future<BatchStartScdnDomainOutcome> BatchStartScdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const ScdnClient*, const Model::BatchStartScdnDomainRequest&, const BatchStartScdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchStartScdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchStopScdnDomainResult> BatchStopScdnDomainOutcome;
|
||||
typedef std::future<BatchStopScdnDomainOutcome> BatchStopScdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const ScdnClient*, const Model::BatchStopScdnDomainRequest&, const BatchStopScdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchStopScdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchUpdateScdnDomainResult> BatchUpdateScdnDomainOutcome;
|
||||
typedef std::future<BatchUpdateScdnDomainOutcome> BatchUpdateScdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const ScdnClient*, const Model::BatchUpdateScdnDomainRequest&, const BatchUpdateScdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchUpdateScdnDomainAsyncHandler;
|
||||
@@ -335,6 +345,12 @@ namespace AlibabaCloud
|
||||
BatchSetScdnDomainConfigsOutcome batchSetScdnDomainConfigs(const Model::BatchSetScdnDomainConfigsRequest &request)const;
|
||||
void batchSetScdnDomainConfigsAsync(const Model::BatchSetScdnDomainConfigsRequest& request, const BatchSetScdnDomainConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchSetScdnDomainConfigsOutcomeCallable batchSetScdnDomainConfigsCallable(const Model::BatchSetScdnDomainConfigsRequest& request) const;
|
||||
BatchStartScdnDomainOutcome batchStartScdnDomain(const Model::BatchStartScdnDomainRequest &request)const;
|
||||
void batchStartScdnDomainAsync(const Model::BatchStartScdnDomainRequest& request, const BatchStartScdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchStartScdnDomainOutcomeCallable batchStartScdnDomainCallable(const Model::BatchStartScdnDomainRequest& request) const;
|
||||
BatchStopScdnDomainOutcome batchStopScdnDomain(const Model::BatchStopScdnDomainRequest &request)const;
|
||||
void batchStopScdnDomainAsync(const Model::BatchStopScdnDomainRequest& request, const BatchStopScdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchStopScdnDomainOutcomeCallable batchStopScdnDomainCallable(const Model::BatchStopScdnDomainRequest& request) const;
|
||||
BatchUpdateScdnDomainOutcome batchUpdateScdnDomain(const Model::BatchUpdateScdnDomainRequest &request)const;
|
||||
void batchUpdateScdnDomainAsync(const Model::BatchUpdateScdnDomainRequest& request, const BatchUpdateScdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchUpdateScdnDomainOutcomeCallable batchUpdateScdnDomainCallable(const Model::BatchUpdateScdnDomainRequest& request) const;
|
||||
|
||||
@@ -32,15 +32,23 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_SCDN_EXPORT BatchSetScdnDomainConfigsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainConfigModel
|
||||
{
|
||||
std::string functionName;
|
||||
std::string domainName;
|
||||
long configId;
|
||||
};
|
||||
|
||||
|
||||
BatchSetScdnDomainConfigsResult();
|
||||
explicit BatchSetScdnDomainConfigsResult(const std::string &payload);
|
||||
~BatchSetScdnDomainConfigsResult();
|
||||
std::vector<DomainConfigModel> getDomainConfigList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DomainConfigModel> domainConfigList_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_SCDN_MODEL_BATCHSTARTSCDNDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_SCDN_MODEL_BATCHSTARTSCDNDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/scdn/ScdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Scdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SCDN_EXPORT BatchStartScdnDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchStartScdnDomainRequest();
|
||||
~BatchStartScdnDomainRequest();
|
||||
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string domainNames_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SCDN_MODEL_BATCHSTARTSCDNDOMAINREQUEST_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_SCDN_MODEL_BATCHSTARTSCDNDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_SCDN_MODEL_BATCHSTARTSCDNDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/scdn/ScdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Scdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SCDN_EXPORT BatchStartScdnDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BatchStartScdnDomainResult();
|
||||
explicit BatchStartScdnDomainResult(const std::string &payload);
|
||||
~BatchStartScdnDomainResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SCDN_MODEL_BATCHSTARTSCDNDOMAINRESULT_H_
|
||||
@@ -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_SCDN_MODEL_BATCHSTOPSCDNDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_SCDN_MODEL_BATCHSTOPSCDNDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/scdn/ScdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Scdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SCDN_EXPORT BatchStopScdnDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchStopScdnDomainRequest();
|
||||
~BatchStopScdnDomainRequest();
|
||||
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string domainNames_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SCDN_MODEL_BATCHSTOPSCDNDOMAINREQUEST_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_SCDN_MODEL_BATCHSTOPSCDNDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_SCDN_MODEL_BATCHSTOPSCDNDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/scdn/ScdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Scdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SCDN_EXPORT BatchStopScdnDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BatchStopScdnDomainResult();
|
||||
explicit BatchStopScdnDomainResult(const std::string &payload);
|
||||
~BatchStopScdnDomainResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SCDN_MODEL_BATCHSTOPSCDNDOMAINRESULT_H_
|
||||
@@ -43,12 +43,15 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getConfigId()const;
|
||||
void setConfigId(const std::string& configId);
|
||||
|
||||
private:
|
||||
std::string functionNames_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string configId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user