@@ -30,10 +30,10 @@
|
||||
#include "model/CancelKeyDeletionResult.h"
|
||||
#include "model/DisableKeyRequest.h"
|
||||
#include "model/DisableKeyResult.h"
|
||||
#include "model/DeleteAliasRequest.h"
|
||||
#include "model/DeleteAliasResult.h"
|
||||
#include "model/DecryptRequest.h"
|
||||
#include "model/DecryptResult.h"
|
||||
#include "model/DeleteAliasRequest.h"
|
||||
#include "model/DeleteAliasResult.h"
|
||||
#include "model/TagResourceRequest.h"
|
||||
#include "model/TagResourceResult.h"
|
||||
#include "model/DescribeKeyRequest.h"
|
||||
@@ -48,20 +48,22 @@
|
||||
#include "model/ImportKeyMaterialResult.h"
|
||||
#include "model/EncryptRequest.h"
|
||||
#include "model/EncryptResult.h"
|
||||
#include "model/UntagResourceRequest.h"
|
||||
#include "model/UntagResourceResult.h"
|
||||
#include "model/UpdateAliasRequest.h"
|
||||
#include "model/UpdateAliasResult.h"
|
||||
#include "model/UntagResourceRequest.h"
|
||||
#include "model/UntagResourceResult.h"
|
||||
#include "model/ListAliasesByKeyIdRequest.h"
|
||||
#include "model/ListAliasesByKeyIdResult.h"
|
||||
#include "model/EnableKeyRequest.h"
|
||||
#include "model/EnableKeyResult.h"
|
||||
#include "model/ScheduleKeyDeletionRequest.h"
|
||||
#include "model/ScheduleKeyDeletionResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/ScheduleKeyDeletionRequest.h"
|
||||
#include "model/ScheduleKeyDeletionResult.h"
|
||||
#include "model/ListKeysRequest.h"
|
||||
#include "model/ListKeysResult.h"
|
||||
#include "model/DescribeServiceRequest.h"
|
||||
#include "model/DescribeServiceResult.h"
|
||||
#include "model/GetParametersForImportRequest.h"
|
||||
#include "model/GetParametersForImportResult.h"
|
||||
#include "model/CreateKeyRequest.h"
|
||||
@@ -87,12 +89,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DisableKeyResult> DisableKeyOutcome;
|
||||
typedef std::future<DisableKeyOutcome> DisableKeyOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::DisableKeyRequest&, const DisableKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAliasResult> DeleteAliasOutcome;
|
||||
typedef std::future<DeleteAliasOutcome> DeleteAliasOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::DeleteAliasRequest&, const DeleteAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::DecryptResult> DecryptOutcome;
|
||||
typedef std::future<DecryptOutcome> DecryptOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::DecryptRequest&, const DecryptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DecryptAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAliasResult> DeleteAliasOutcome;
|
||||
typedef std::future<DeleteAliasOutcome> DeleteAliasOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::DeleteAliasRequest&, const DeleteAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourceResult> TagResourceOutcome;
|
||||
typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::TagResourceRequest&, const TagResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourceAsyncHandler;
|
||||
@@ -114,27 +116,30 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::EncryptResult> EncryptOutcome;
|
||||
typedef std::future<EncryptOutcome> EncryptOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::EncryptRequest&, const EncryptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EncryptAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourceResult> UntagResourceOutcome;
|
||||
typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::UntagResourceRequest&, const UntagResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAliasResult> UpdateAliasOutcome;
|
||||
typedef std::future<UpdateAliasOutcome> UpdateAliasOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::UpdateAliasRequest&, const UpdateAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourceResult> UntagResourceOutcome;
|
||||
typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::UntagResourceRequest&, const UntagResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAliasesByKeyIdResult> ListAliasesByKeyIdOutcome;
|
||||
typedef std::future<ListAliasesByKeyIdOutcome> ListAliasesByKeyIdOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::ListAliasesByKeyIdRequest&, const ListAliasesByKeyIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAliasesByKeyIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableKeyResult> EnableKeyOutcome;
|
||||
typedef std::future<EnableKeyOutcome> EnableKeyOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::EnableKeyRequest&, const EnableKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ScheduleKeyDeletionResult> ScheduleKeyDeletionOutcome;
|
||||
typedef std::future<ScheduleKeyDeletionOutcome> ScheduleKeyDeletionOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::ScheduleKeyDeletionRequest&, const ScheduleKeyDeletionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScheduleKeyDeletionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ScheduleKeyDeletionResult> ScheduleKeyDeletionOutcome;
|
||||
typedef std::future<ScheduleKeyDeletionOutcome> ScheduleKeyDeletionOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::ScheduleKeyDeletionRequest&, const ScheduleKeyDeletionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScheduleKeyDeletionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListKeysResult> ListKeysOutcome;
|
||||
typedef std::future<ListKeysOutcome> ListKeysOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::ListKeysRequest&, const ListKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListKeysAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeServiceResult> DescribeServiceOutcome;
|
||||
typedef std::future<DescribeServiceOutcome> DescribeServiceOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::DescribeServiceRequest&, const DescribeServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetParametersForImportResult> GetParametersForImportOutcome;
|
||||
typedef std::future<GetParametersForImportOutcome> GetParametersForImportOutcomeCallable;
|
||||
typedef std::function<void(const KmsClient*, const Model::GetParametersForImportRequest&, const GetParametersForImportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetParametersForImportAsyncHandler;
|
||||
@@ -158,12 +163,12 @@ namespace AlibabaCloud
|
||||
DisableKeyOutcome disableKey(const Model::DisableKeyRequest &request)const;
|
||||
void disableKeyAsync(const Model::DisableKeyRequest& request, const DisableKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableKeyOutcomeCallable disableKeyCallable(const Model::DisableKeyRequest& request) const;
|
||||
DeleteAliasOutcome deleteAlias(const Model::DeleteAliasRequest &request)const;
|
||||
void deleteAliasAsync(const Model::DeleteAliasRequest& request, const DeleteAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAliasOutcomeCallable deleteAliasCallable(const Model::DeleteAliasRequest& request) const;
|
||||
DecryptOutcome decrypt(const Model::DecryptRequest &request)const;
|
||||
void decryptAsync(const Model::DecryptRequest& request, const DecryptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DecryptOutcomeCallable decryptCallable(const Model::DecryptRequest& request) const;
|
||||
DeleteAliasOutcome deleteAlias(const Model::DeleteAliasRequest &request)const;
|
||||
void deleteAliasAsync(const Model::DeleteAliasRequest& request, const DeleteAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAliasOutcomeCallable deleteAliasCallable(const Model::DeleteAliasRequest& request) const;
|
||||
TagResourceOutcome tagResource(const Model::TagResourceRequest &request)const;
|
||||
void tagResourceAsync(const Model::TagResourceRequest& request, const TagResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourceOutcomeCallable tagResourceCallable(const Model::TagResourceRequest& request) const;
|
||||
@@ -185,27 +190,30 @@ namespace AlibabaCloud
|
||||
EncryptOutcome encrypt(const Model::EncryptRequest &request)const;
|
||||
void encryptAsync(const Model::EncryptRequest& request, const EncryptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EncryptOutcomeCallable encryptCallable(const Model::EncryptRequest& request) const;
|
||||
UntagResourceOutcome untagResource(const Model::UntagResourceRequest &request)const;
|
||||
void untagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourceOutcomeCallable untagResourceCallable(const Model::UntagResourceRequest& request) const;
|
||||
UpdateAliasOutcome updateAlias(const Model::UpdateAliasRequest &request)const;
|
||||
void updateAliasAsync(const Model::UpdateAliasRequest& request, const UpdateAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAliasOutcomeCallable updateAliasCallable(const Model::UpdateAliasRequest& request) const;
|
||||
UntagResourceOutcome untagResource(const Model::UntagResourceRequest &request)const;
|
||||
void untagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourceOutcomeCallable untagResourceCallable(const Model::UntagResourceRequest& request) const;
|
||||
ListAliasesByKeyIdOutcome listAliasesByKeyId(const Model::ListAliasesByKeyIdRequest &request)const;
|
||||
void listAliasesByKeyIdAsync(const Model::ListAliasesByKeyIdRequest& request, const ListAliasesByKeyIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAliasesByKeyIdOutcomeCallable listAliasesByKeyIdCallable(const Model::ListAliasesByKeyIdRequest& request) const;
|
||||
EnableKeyOutcome enableKey(const Model::EnableKeyRequest &request)const;
|
||||
void enableKeyAsync(const Model::EnableKeyRequest& request, const EnableKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableKeyOutcomeCallable enableKeyCallable(const Model::EnableKeyRequest& request) const;
|
||||
ScheduleKeyDeletionOutcome scheduleKeyDeletion(const Model::ScheduleKeyDeletionRequest &request)const;
|
||||
void scheduleKeyDeletionAsync(const Model::ScheduleKeyDeletionRequest& request, const ScheduleKeyDeletionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ScheduleKeyDeletionOutcomeCallable scheduleKeyDeletionCallable(const Model::ScheduleKeyDeletionRequest& request) const;
|
||||
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||
ScheduleKeyDeletionOutcome scheduleKeyDeletion(const Model::ScheduleKeyDeletionRequest &request)const;
|
||||
void scheduleKeyDeletionAsync(const Model::ScheduleKeyDeletionRequest& request, const ScheduleKeyDeletionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ScheduleKeyDeletionOutcomeCallable scheduleKeyDeletionCallable(const Model::ScheduleKeyDeletionRequest& request) const;
|
||||
ListKeysOutcome listKeys(const Model::ListKeysRequest &request)const;
|
||||
void listKeysAsync(const Model::ListKeysRequest& request, const ListKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListKeysOutcomeCallable listKeysCallable(const Model::ListKeysRequest& request) const;
|
||||
DescribeServiceOutcome describeService(const Model::DescribeServiceRequest &request)const;
|
||||
void describeServiceAsync(const Model::DescribeServiceRequest& request, const DescribeServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServiceOutcomeCallable describeServiceCallable(const Model::DescribeServiceRequest& request) const;
|
||||
GetParametersForImportOutcome getParametersForImport(const Model::GetParametersForImportRequest &request)const;
|
||||
void getParametersForImportAsync(const Model::GetParametersForImportRequest& request, const GetParametersForImportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetParametersForImportOutcomeCallable getParametersForImportCallable(const Model::GetParametersForImportRequest& request) const;
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,13 +39,10 @@ namespace AlibabaCloud
|
||||
void setAliasName(const std::string& aliasName);
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string aliasName_;
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
CreateKeyRequest();
|
||||
~CreateKeyRequest();
|
||||
|
||||
std::string getProtectionLevel()const;
|
||||
void setProtectionLevel(const std::string& protectionLevel);
|
||||
std::string getKeyUsage()const;
|
||||
void setKeyUsage(const std::string& keyUsage);
|
||||
std::string getOrigin()const;
|
||||
void setOrigin(const std::string& origin);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string protectionLevel_;
|
||||
std::string keyUsage_;
|
||||
std::string origin_;
|
||||
std::string description_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string origin;
|
||||
std::string creationDate;
|
||||
std::string protectionLevel;
|
||||
std::string description;
|
||||
std::string materialExpireTime;
|
||||
std::string keyUsage;
|
||||
|
||||
@@ -37,14 +37,11 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getEncryptionContext()const;
|
||||
void setEncryptionContext(const std::string& encryptionContext);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
std::string getCiphertextBlob()const;
|
||||
void setCiphertextBlob(const std::string& ciphertextBlob);
|
||||
|
||||
private:
|
||||
std::string encryptionContext_;
|
||||
std::string sTSToken_;
|
||||
std::string ciphertextBlob_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getAliasName()const;
|
||||
void setAliasName(const std::string& aliasName);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string aliasName_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string origin;
|
||||
std::string creationDate;
|
||||
std::string protectionLevel;
|
||||
std::string description;
|
||||
std::string materialExpireTime;
|
||||
std::string keyUsage;
|
||||
|
||||
@@ -35,11 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
45
kms/include/alibabacloud/kms/model/DescribeServiceRequest.h
Normal file
45
kms/include/alibabacloud/kms/model/DescribeServiceRequest.h
Normal 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_KMS_MODEL_DESCRIBESERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_KMS_MODEL_DESCRIBESERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/kms/KmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Kms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_KMS_EXPORT DescribeServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeServiceRequest();
|
||||
~DescribeServiceRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_KMS_MODEL_DESCRIBESERVICEREQUEST_H_
|
||||
55
kms/include/alibabacloud/kms/model/DescribeServiceResult.h
Normal file
55
kms/include/alibabacloud/kms/model/DescribeServiceResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_KMS_MODEL_DESCRIBESERVICERESULT_H_
|
||||
#define ALIBABACLOUD_KMS_MODEL_DESCRIBESERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/kms/KmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Kms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_KMS_EXPORT DescribeServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ProtectionLevel
|
||||
{
|
||||
std::string type;
|
||||
};
|
||||
|
||||
|
||||
DescribeServiceResult();
|
||||
explicit DescribeServiceResult(const std::string &payload);
|
||||
~DescribeServiceResult();
|
||||
std::vector<ProtectionLevel> getProtectionLevels()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ProtectionLevel> protectionLevels_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_KMS_MODEL_DESCRIBESERVICERESULT_H_
|
||||
@@ -37,12 +37,9 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,15 +39,12 @@ namespace AlibabaCloud
|
||||
void setEncryptionContext(const std::string& encryptionContext);
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
std::string getPlaintext()const;
|
||||
void setPlaintext(const std::string& plaintext);
|
||||
|
||||
private:
|
||||
std::string encryptionContext_;
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
std::string plaintext_;
|
||||
|
||||
};
|
||||
|
||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getKeySpec()const;
|
||||
void setKeySpec(const std::string& keySpec);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
int getNumberOfBytes()const;
|
||||
void setNumberOfBytes(int numberOfBytes);
|
||||
|
||||
@@ -50,7 +48,6 @@ namespace AlibabaCloud
|
||||
std::string encryptionContext_;
|
||||
std::string keyId_;
|
||||
std::string keySpec_;
|
||||
std::string sTSToken_;
|
||||
int numberOfBytes_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,8 +37,6 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
std::string getWrappingAlgorithm()const;
|
||||
void setWrappingAlgorithm(const std::string& wrappingAlgorithm);
|
||||
std::string getWrappingKeySpec()const;
|
||||
@@ -46,7 +44,6 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
std::string wrappingAlgorithm_;
|
||||
std::string wrappingKeySpec_;
|
||||
|
||||
|
||||
@@ -43,15 +43,12 @@ namespace AlibabaCloud
|
||||
void setKeyMaterialExpireUnix(long keyMaterialExpireUnix);
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string importToken_;
|
||||
std::string encryptedKeyMaterial_;
|
||||
long keyMaterialExpireUnix_;
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,15 +39,12 @@ namespace AlibabaCloud
|
||||
void setPageSize(int pageSize);
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,14 +37,11 @@ namespace AlibabaCloud
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string sTSToken_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,14 +37,11 @@ namespace AlibabaCloud
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string sTSToken_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,13 +39,10 @@ namespace AlibabaCloud
|
||||
void setPendingWindowInDays(int pendingWindowInDays);
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
int pendingWindowInDays_;
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,14 +37,11 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
|
||||
private:
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
std::string tags_;
|
||||
|
||||
};
|
||||
|
||||
@@ -39,13 +39,10 @@ namespace AlibabaCloud
|
||||
void setTagKeys(const std::string& tagKeys);
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string tagKeys_;
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,13 +39,10 @@ namespace AlibabaCloud
|
||||
void setAliasName(const std::string& aliasName);
|
||||
std::string getKeyId()const;
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getSTSToken()const;
|
||||
void setSTSToken(const std::string& sTSToken);
|
||||
|
||||
private:
|
||||
std::string aliasName_;
|
||||
std::string keyId_;
|
||||
std::string sTSToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user