AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::KMS::Model::GenerateDataKeyResult Class Reference

#include <GenerateDataKeyResult.h>

Public Member Functions

 GenerateDataKeyResult ()
 
 GenerateDataKeyResult (const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
 
GenerateDataKeyResultoperator= (const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
 
const Aws::Utils::ByteBufferGetCiphertextBlob () const
 
void SetCiphertextBlob (const Aws::Utils::ByteBuffer &value)
 
void SetCiphertextBlob (Aws::Utils::ByteBuffer &&value)
 
GenerateDataKeyResultWithCiphertextBlob (const Aws::Utils::ByteBuffer &value)
 
GenerateDataKeyResultWithCiphertextBlob (Aws::Utils::ByteBuffer &&value)
 
const Aws::Utils::CryptoBufferGetPlaintext () const
 
void SetPlaintext (const Aws::Utils::CryptoBuffer &value)
 
void SetPlaintext (Aws::Utils::CryptoBuffer &&value)
 
GenerateDataKeyResultWithPlaintext (const Aws::Utils::CryptoBuffer &value)
 
GenerateDataKeyResultWithPlaintext (Aws::Utils::CryptoBuffer &&value)
 
const Aws::StringGetKeyId () const
 
void SetKeyId (const Aws::String &value)
 
void SetKeyId (Aws::String &&value)
 
void SetKeyId (const char *value)
 
GenerateDataKeyResultWithKeyId (const Aws::String &value)
 
GenerateDataKeyResultWithKeyId (Aws::String &&value)
 
GenerateDataKeyResultWithKeyId (const char *value)
 

Detailed Description

Definition at line 28 of file GenerateDataKeyResult.h.

Constructor & Destructor Documentation

◆ GenerateDataKeyResult() [1/2]

Aws::KMS::Model::GenerateDataKeyResult::GenerateDataKeyResult ( )

◆ GenerateDataKeyResult() [2/2]

Aws::KMS::Model::GenerateDataKeyResult::GenerateDataKeyResult ( const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &  result)

Member Function Documentation

◆ GetCiphertextBlob()

const Aws::Utils::ByteBuffer& Aws::KMS::Model::GenerateDataKeyResult::GetCiphertextBlob ( ) const
inline

The encrypted copy of the data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

Definition at line 40 of file GenerateDataKeyResult.h.

◆ GetKeyId()

const Aws::String& Aws::KMS::Model::GenerateDataKeyResult::GetKeyId ( ) const
inline

The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.

Definition at line 113 of file GenerateDataKeyResult.h.

◆ GetPlaintext()

const Aws::Utils::CryptoBuffer& Aws::KMS::Model::GenerateDataKeyResult::GetPlaintext ( ) const
inline

The plaintext data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of KMS. Then, remove it from memory as soon as possible.

Definition at line 73 of file GenerateDataKeyResult.h.

◆ operator=()

GenerateDataKeyResult& Aws::KMS::Model::GenerateDataKeyResult::operator= ( const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &  result)

◆ SetCiphertextBlob() [1/2]

void Aws::KMS::Model::GenerateDataKeyResult::SetCiphertextBlob ( const Aws::Utils::ByteBuffer value)
inline

The encrypted copy of the data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

Definition at line 46 of file GenerateDataKeyResult.h.

◆ SetCiphertextBlob() [2/2]

void Aws::KMS::Model::GenerateDataKeyResult::SetCiphertextBlob ( Aws::Utils::ByteBuffer &&  value)
inline

The encrypted copy of the data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

Definition at line 52 of file GenerateDataKeyResult.h.

◆ SetKeyId() [1/3]

void Aws::KMS::Model::GenerateDataKeyResult::SetKeyId ( const Aws::String value)
inline

The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.

Definition at line 120 of file GenerateDataKeyResult.h.

◆ SetKeyId() [2/3]

void Aws::KMS::Model::GenerateDataKeyResult::SetKeyId ( Aws::String &&  value)
inline

The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.

Definition at line 127 of file GenerateDataKeyResult.h.

◆ SetKeyId() [3/3]

void Aws::KMS::Model::GenerateDataKeyResult::SetKeyId ( const char *  value)
inline

The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.

Definition at line 134 of file GenerateDataKeyResult.h.

◆ SetPlaintext() [1/2]

void Aws::KMS::Model::GenerateDataKeyResult::SetPlaintext ( const Aws::Utils::CryptoBuffer value)
inline

The plaintext data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of KMS. Then, remove it from memory as soon as possible.

Definition at line 81 of file GenerateDataKeyResult.h.

◆ SetPlaintext() [2/2]

void Aws::KMS::Model::GenerateDataKeyResult::SetPlaintext ( Aws::Utils::CryptoBuffer &&  value)
inline

The plaintext data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of KMS. Then, remove it from memory as soon as possible.

Definition at line 89 of file GenerateDataKeyResult.h.

◆ WithCiphertextBlob() [1/2]

GenerateDataKeyResult& Aws::KMS::Model::GenerateDataKeyResult::WithCiphertextBlob ( const Aws::Utils::ByteBuffer value)
inline

The encrypted copy of the data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

Definition at line 58 of file GenerateDataKeyResult.h.

◆ WithCiphertextBlob() [2/2]

GenerateDataKeyResult& Aws::KMS::Model::GenerateDataKeyResult::WithCiphertextBlob ( Aws::Utils::ByteBuffer &&  value)
inline

The encrypted copy of the data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

Definition at line 64 of file GenerateDataKeyResult.h.

◆ WithKeyId() [1/3]

GenerateDataKeyResult& Aws::KMS::Model::GenerateDataKeyResult::WithKeyId ( const Aws::String value)
inline

The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.

Definition at line 141 of file GenerateDataKeyResult.h.

◆ WithKeyId() [2/3]

GenerateDataKeyResult& Aws::KMS::Model::GenerateDataKeyResult::WithKeyId ( Aws::String &&  value)
inline

The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.

Definition at line 148 of file GenerateDataKeyResult.h.

◆ WithKeyId() [3/3]

GenerateDataKeyResult& Aws::KMS::Model::GenerateDataKeyResult::WithKeyId ( const char *  value)
inline

The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.

Definition at line 155 of file GenerateDataKeyResult.h.

◆ WithPlaintext() [1/2]

GenerateDataKeyResult& Aws::KMS::Model::GenerateDataKeyResult::WithPlaintext ( const Aws::Utils::CryptoBuffer value)
inline

The plaintext data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of KMS. Then, remove it from memory as soon as possible.

Definition at line 97 of file GenerateDataKeyResult.h.

◆ WithPlaintext() [2/2]

GenerateDataKeyResult& Aws::KMS::Model::GenerateDataKeyResult::WithPlaintext ( Aws::Utils::CryptoBuffer &&  value)
inline

The plaintext data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of KMS. Then, remove it from memory as soon as possible.

Definition at line 105 of file GenerateDataKeyResult.h.


The documentation for this class was generated from the following file: