Support DryRun parameter OpenAPI.
This commit is contained in:
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT AsymmetricDecryptRequest : public RpcServiceReques
|
||||
public:
|
||||
AsymmetricDecryptRequest();
|
||||
~AsymmetricDecryptRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyVersionId() const;
|
||||
void setKeyVersionId(const std::string &keyVersionId);
|
||||
std::string getKeyId() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setAlgorithm(const std::string &algorithm);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyVersionId_;
|
||||
std::string keyId_;
|
||||
std::string ciphertextBlob_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT AsymmetricEncryptRequest : public RpcServiceReques
|
||||
public:
|
||||
AsymmetricEncryptRequest();
|
||||
~AsymmetricEncryptRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyVersionId() const;
|
||||
void setKeyVersionId(const std::string &keyVersionId);
|
||||
std::string getKeyId() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setAlgorithm(const std::string &algorithm);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyVersionId_;
|
||||
std::string keyId_;
|
||||
std::string plaintext_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT AsymmetricSignRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AsymmetricSignRequest();
|
||||
~AsymmetricSignRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyVersionId() const;
|
||||
void setKeyVersionId(const std::string &keyVersionId);
|
||||
std::string getKeyId() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setAlgorithm(const std::string &algorithm);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyVersionId_;
|
||||
std::string keyId_;
|
||||
std::string digest_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT AsymmetricVerifyRequest : public RpcServiceRequest
|
||||
public:
|
||||
AsymmetricVerifyRequest();
|
||||
~AsymmetricVerifyRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyVersionId() const;
|
||||
void setKeyVersionId(const std::string &keyVersionId);
|
||||
std::string getKeyId() const;
|
||||
@@ -42,6 +44,7 @@ public:
|
||||
void setAlgorithm(const std::string &algorithm);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyVersionId_;
|
||||
std::string keyId_;
|
||||
std::string digest_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_KMS_EXPORT DecryptRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DecryptRequest();
|
||||
~DecryptRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getEncryptionContext() const;
|
||||
void setEncryptionContext(const std::string &encryptionContext);
|
||||
std::string getCiphertextBlob() const;
|
||||
void setCiphertextBlob(const std::string &ciphertextBlob);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string encryptionContext_;
|
||||
std::string ciphertextBlob_;
|
||||
};
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT EncryptRequest : public RpcServiceRequest {
|
||||
public:
|
||||
EncryptRequest();
|
||||
~EncryptRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyId() const;
|
||||
void setKeyId(const std::string &keyId);
|
||||
std::string getPlaintext() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setEncryptionContext(const std::string &encryptionContext);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyId_;
|
||||
std::string plaintext_;
|
||||
std::string encryptionContext_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT ExportDataKeyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ExportDataKeyRequest();
|
||||
~ExportDataKeyRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getPublicKeyBlob() const;
|
||||
void setPublicKeyBlob(const std::string &publicKeyBlob);
|
||||
std::string getEncryptionContext() const;
|
||||
@@ -42,6 +44,7 @@ public:
|
||||
void setWrappingKeySpec(const std::string &wrappingKeySpec);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string publicKeyBlob_;
|
||||
std::string encryptionContext_;
|
||||
std::string wrappingAlgorithm_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT GenerateAndExportDataKeyRequest : public RpcServic
|
||||
public:
|
||||
GenerateAndExportDataKeyRequest();
|
||||
~GenerateAndExportDataKeyRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyId() const;
|
||||
void setKeyId(const std::string &keyId);
|
||||
std::string getKeySpec() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
void setWrappingKeySpec(const std::string &wrappingKeySpec);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyId_;
|
||||
std::string keySpec_;
|
||||
int numberOfBytes_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT GenerateDataKeyRequest : public RpcServiceRequest
|
||||
public:
|
||||
GenerateDataKeyRequest();
|
||||
~GenerateDataKeyRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyId() const;
|
||||
void setKeyId(const std::string &keyId);
|
||||
std::string getKeySpec() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setEncryptionContext(const std::string &encryptionContext);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyId_;
|
||||
std::string keySpec_;
|
||||
int numberOfBytes_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT GenerateDataKeyWithoutPlaintextRequest : public Rp
|
||||
public:
|
||||
GenerateDataKeyWithoutPlaintextRequest();
|
||||
~GenerateDataKeyWithoutPlaintextRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyId() const;
|
||||
void setKeyId(const std::string &keyId);
|
||||
std::string getKeySpec() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setEncryptionContext(const std::string &encryptionContext);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyId_;
|
||||
std::string keySpec_;
|
||||
int numberOfBytes_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_KMS_EXPORT GetPublicKeyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetPublicKeyRequest();
|
||||
~GetPublicKeyRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getKeyVersionId() const;
|
||||
void setKeyVersionId(const std::string &keyVersionId);
|
||||
std::string getKeyId() const;
|
||||
void setKeyId(const std::string &keyId);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string keyVersionId_;
|
||||
std::string keyId_;
|
||||
};
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_KMS_EXPORT GetSecretValueRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetSecretValueRequest();
|
||||
~GetSecretValueRequest();
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getVersionId() const;
|
||||
void setVersionId(const std::string &versionId);
|
||||
std::string getVersionStage() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setFetchExtendedConfig(bool fetchExtendedConfig);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string versionId_;
|
||||
std::string versionStage_;
|
||||
std::string secretName_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~ReEncryptRequest();
|
||||
std::string getDestinationEncryptionContext() const;
|
||||
void setDestinationEncryptionContext(const std::string &destinationEncryptionContext);
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::string getSourceKeyId() const;
|
||||
void setSourceKeyId(const std::string &sourceKeyId);
|
||||
std::string getSourceEncryptionAlgorithm() const;
|
||||
@@ -47,6 +49,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string destinationEncryptionContext_;
|
||||
std::string dryRun_;
|
||||
std::string sourceKeyId_;
|
||||
std::string sourceEncryptionAlgorithm_;
|
||||
std::string sourceKeyVersionId_;
|
||||
|
||||
@@ -25,6 +25,15 @@ AsymmetricDecryptRequest::AsymmetricDecryptRequest()
|
||||
|
||||
AsymmetricDecryptRequest::~AsymmetricDecryptRequest() {}
|
||||
|
||||
std::string AsymmetricDecryptRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void AsymmetricDecryptRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string AsymmetricDecryptRequest::getKeyVersionId() const {
|
||||
return keyVersionId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ AsymmetricEncryptRequest::AsymmetricEncryptRequest()
|
||||
|
||||
AsymmetricEncryptRequest::~AsymmetricEncryptRequest() {}
|
||||
|
||||
std::string AsymmetricEncryptRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void AsymmetricEncryptRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string AsymmetricEncryptRequest::getKeyVersionId() const {
|
||||
return keyVersionId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ AsymmetricSignRequest::AsymmetricSignRequest()
|
||||
|
||||
AsymmetricSignRequest::~AsymmetricSignRequest() {}
|
||||
|
||||
std::string AsymmetricSignRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void AsymmetricSignRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string AsymmetricSignRequest::getKeyVersionId() const {
|
||||
return keyVersionId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ AsymmetricVerifyRequest::AsymmetricVerifyRequest()
|
||||
|
||||
AsymmetricVerifyRequest::~AsymmetricVerifyRequest() {}
|
||||
|
||||
std::string AsymmetricVerifyRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void AsymmetricVerifyRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string AsymmetricVerifyRequest::getKeyVersionId() const {
|
||||
return keyVersionId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ DecryptRequest::DecryptRequest()
|
||||
|
||||
DecryptRequest::~DecryptRequest() {}
|
||||
|
||||
std::string DecryptRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void DecryptRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string DecryptRequest::getEncryptionContext() const {
|
||||
return encryptionContext_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ EncryptRequest::EncryptRequest()
|
||||
|
||||
EncryptRequest::~EncryptRequest() {}
|
||||
|
||||
std::string EncryptRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void EncryptRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string EncryptRequest::getKeyId() const {
|
||||
return keyId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ ExportDataKeyRequest::ExportDataKeyRequest()
|
||||
|
||||
ExportDataKeyRequest::~ExportDataKeyRequest() {}
|
||||
|
||||
std::string ExportDataKeyRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void ExportDataKeyRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string ExportDataKeyRequest::getPublicKeyBlob() const {
|
||||
return publicKeyBlob_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ GenerateAndExportDataKeyRequest::GenerateAndExportDataKeyRequest()
|
||||
|
||||
GenerateAndExportDataKeyRequest::~GenerateAndExportDataKeyRequest() {}
|
||||
|
||||
std::string GenerateAndExportDataKeyRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void GenerateAndExportDataKeyRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string GenerateAndExportDataKeyRequest::getKeyId() const {
|
||||
return keyId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ GenerateDataKeyRequest::GenerateDataKeyRequest()
|
||||
|
||||
GenerateDataKeyRequest::~GenerateDataKeyRequest() {}
|
||||
|
||||
std::string GenerateDataKeyRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void GenerateDataKeyRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string GenerateDataKeyRequest::getKeyId() const {
|
||||
return keyId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ GenerateDataKeyWithoutPlaintextRequest::GenerateDataKeyWithoutPlaintextRequest()
|
||||
|
||||
GenerateDataKeyWithoutPlaintextRequest::~GenerateDataKeyWithoutPlaintextRequest() {}
|
||||
|
||||
std::string GenerateDataKeyWithoutPlaintextRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void GenerateDataKeyWithoutPlaintextRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string GenerateDataKeyWithoutPlaintextRequest::getKeyId() const {
|
||||
return keyId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ GetPublicKeyRequest::GetPublicKeyRequest()
|
||||
|
||||
GetPublicKeyRequest::~GetPublicKeyRequest() {}
|
||||
|
||||
std::string GetPublicKeyRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void GetPublicKeyRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string GetPublicKeyRequest::getKeyVersionId() const {
|
||||
return keyVersionId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ GetSecretValueRequest::GetSecretValueRequest()
|
||||
|
||||
GetSecretValueRequest::~GetSecretValueRequest() {}
|
||||
|
||||
std::string GetSecretValueRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void GetSecretValueRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string GetSecretValueRequest::getVersionId() const {
|
||||
return versionId_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void ReEncryptRequest::setDestinationEncryptionContext(const std::string &destin
|
||||
setParameter(std::string("DestinationEncryptionContext"), destinationEncryptionContext);
|
||||
}
|
||||
|
||||
std::string ReEncryptRequest::getDryRun() const {
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void ReEncryptRequest::setDryRun(const std::string &dryRun) {
|
||||
dryRun_ = dryRun;
|
||||
setParameter(std::string("DryRun"), dryRun);
|
||||
}
|
||||
|
||||
std::string ReEncryptRequest::getSourceKeyId() const {
|
||||
return sourceKeyId_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user