Update by SDK platform.
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
#include "model/DescribeAuditPolicyResult.h"
|
||||
#include "model/DescribeAuditRecordsRequest.h"
|
||||
#include "model/DescribeAuditRecordsResult.h"
|
||||
#include "model/DescribeAvailabilityZonesRequest.h"
|
||||
#include "model/DescribeAvailabilityZonesResult.h"
|
||||
#include "model/DescribeAvailableEngineVersionRequest.h"
|
||||
#include "model/DescribeAvailableEngineVersionResult.h"
|
||||
#include "model/DescribeAvailableResourceRequest.h"
|
||||
@@ -278,6 +280,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAuditRecordsResult> DescribeAuditRecordsOutcome;
|
||||
typedef std::future<DescribeAuditRecordsOutcome> DescribeAuditRecordsOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DescribeAuditRecordsRequest&, const DescribeAuditRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAvailabilityZonesResult> DescribeAvailabilityZonesOutcome;
|
||||
typedef std::future<DescribeAvailabilityZonesOutcome> DescribeAvailabilityZonesOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DescribeAvailabilityZonesRequest&, const DescribeAvailabilityZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAvailabilityZonesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAvailableEngineVersionResult> DescribeAvailableEngineVersionOutcome;
|
||||
typedef std::future<DescribeAvailableEngineVersionOutcome> DescribeAvailableEngineVersionOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::DescribeAvailableEngineVersionRequest&, const DescribeAvailableEngineVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAvailableEngineVersionAsyncHandler;
|
||||
@@ -568,6 +573,9 @@ namespace AlibabaCloud
|
||||
DescribeAuditRecordsOutcome describeAuditRecords(const Model::DescribeAuditRecordsRequest &request)const;
|
||||
void describeAuditRecordsAsync(const Model::DescribeAuditRecordsRequest& request, const DescribeAuditRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuditRecordsOutcomeCallable describeAuditRecordsCallable(const Model::DescribeAuditRecordsRequest& request) const;
|
||||
DescribeAvailabilityZonesOutcome describeAvailabilityZones(const Model::DescribeAvailabilityZonesRequest &request)const;
|
||||
void describeAvailabilityZonesAsync(const Model::DescribeAvailabilityZonesRequest& request, const DescribeAvailabilityZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAvailabilityZonesOutcomeCallable describeAvailabilityZonesCallable(const Model::DescribeAvailabilityZonesRequest& request) const;
|
||||
DescribeAvailableEngineVersionOutcome describeAvailableEngineVersion(const Model::DescribeAvailableEngineVersionRequest &request)const;
|
||||
void describeAvailableEngineVersionAsync(const Model::DescribeAvailableEngineVersionRequest& request, const DescribeAvailableEngineVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAvailableEngineVersionOutcomeCallable describeAvailableEngineVersionCallable(const Model::DescribeAvailableEngineVersionRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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_DDS_MODEL_DESCRIBEAVAILABILITYZONESREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_DESCRIBEAVAILABILITYZONESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT DescribeAvailabilityZonesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAvailabilityZonesRequest();
|
||||
~DescribeAvailabilityZonesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStorageType() const;
|
||||
void setStorageType(const std::string &storageType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getExcludeZoneId() const;
|
||||
void setExcludeZoneId(const std::string &excludeZoneId);
|
||||
std::string getExcludeSecondaryZoneId() const;
|
||||
void setExcludeSecondaryZoneId(const std::string &excludeSecondaryZoneId);
|
||||
std::string getInstanceChargeType() const;
|
||||
void setInstanceChargeType(const std::string &instanceChargeType);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getLevel() const;
|
||||
void setLevel(const std::string &level);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getMongoType() const;
|
||||
void setMongoType(const std::string &mongoType);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getStorageSupport() const;
|
||||
void setStorageSupport(const std::string &storageSupport);
|
||||
std::string getDbType() const;
|
||||
void setDbType(const std::string &dbType);
|
||||
std::string getAcceptLanguage() const;
|
||||
void setAcceptLanguage(const std::string &acceptLanguage);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string storageType_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string excludeZoneId_;
|
||||
std::string excludeSecondaryZoneId_;
|
||||
std::string instanceChargeType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string level_;
|
||||
std::string ownerAccount_;
|
||||
std::string mongoType_;
|
||||
long ownerId_;
|
||||
std::string storageSupport_;
|
||||
std::string dbType_;
|
||||
std::string acceptLanguage_;
|
||||
std::string zoneId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_DESCRIBEAVAILABILITYZONESREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_DESCRIBEAVAILABILITYZONESRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_DESCRIBEAVAILABILITYZONESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT DescribeAvailabilityZonesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AvailableZone
|
||||
{
|
||||
std::string zoneName;
|
||||
std::string zoneId;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeAvailabilityZonesResult();
|
||||
explicit DescribeAvailabilityZonesResult(const std::string &payload);
|
||||
~DescribeAvailabilityZonesResult();
|
||||
std::vector<AvailableZone> getAvailableZones()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AvailableZone> availableZones_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_DESCRIBEAVAILABILITYZONESRESULT_H_
|
||||
Reference in New Issue
Block a user