Support DryRun parameter OpenAPI.

This commit is contained in:
sdk-team
2024-08-13 09:29:05 +00:00
parent 8f4a119a7e
commit 0329dcee47
27 changed files with 157 additions and 1 deletions

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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_;
}