AWS SDK for C++  1.9.106
AWS SDK for C++
EncryptionAtRest.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Kafka
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
49  inline const Aws::String& GetDataVolumeKMSKeyId() const{ return m_dataVolumeKMSKeyId; }
50 
57  inline bool DataVolumeKMSKeyIdHasBeenSet() const { return m_dataVolumeKMSKeyIdHasBeenSet; }
58 
65  inline void SetDataVolumeKMSKeyId(const Aws::String& value) { m_dataVolumeKMSKeyIdHasBeenSet = true; m_dataVolumeKMSKeyId = value; }
66 
73  inline void SetDataVolumeKMSKeyId(Aws::String&& value) { m_dataVolumeKMSKeyIdHasBeenSet = true; m_dataVolumeKMSKeyId = std::move(value); }
74 
81  inline void SetDataVolumeKMSKeyId(const char* value) { m_dataVolumeKMSKeyIdHasBeenSet = true; m_dataVolumeKMSKeyId.assign(value); }
82 
89  inline EncryptionAtRest& WithDataVolumeKMSKeyId(const Aws::String& value) { SetDataVolumeKMSKeyId(value); return *this;}
90 
97  inline EncryptionAtRest& WithDataVolumeKMSKeyId(Aws::String&& value) { SetDataVolumeKMSKeyId(std::move(value)); return *this;}
98 
105  inline EncryptionAtRest& WithDataVolumeKMSKeyId(const char* value) { SetDataVolumeKMSKeyId(value); return *this;}
106 
107  private:
108 
109  Aws::String m_dataVolumeKMSKeyId;
110  bool m_dataVolumeKMSKeyIdHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace Kafka
115 } // namespace Aws
Aws::Kafka::Model::EncryptionAtRest::WithDataVolumeKMSKeyId
EncryptionAtRest & WithDataVolumeKMSKeyId(const Aws::String &value)
Definition: EncryptionAtRest.h:89
Aws::Kafka::Model::EncryptionAtRest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::EncryptionAtRest::WithDataVolumeKMSKeyId
EncryptionAtRest & WithDataVolumeKMSKeyId(const char *value)
Definition: EncryptionAtRest.h:105
Aws::Kafka::Model::EncryptionAtRest::SetDataVolumeKMSKeyId
void SetDataVolumeKMSKeyId(Aws::String &&value)
Definition: EncryptionAtRest.h:73
Aws::Kafka::Model::EncryptionAtRest::EncryptionAtRest
EncryptionAtRest()
Aws::Kafka::Model::EncryptionAtRest::SetDataVolumeKMSKeyId
void SetDataVolumeKMSKeyId(const Aws::String &value)
Definition: EncryptionAtRest.h:65
Aws::Kafka::Model::EncryptionAtRest::WithDataVolumeKMSKeyId
EncryptionAtRest & WithDataVolumeKMSKeyId(Aws::String &&value)
Definition: EncryptionAtRest.h:97
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::EncryptionAtRest
Definition: EncryptionAtRest.h:35
Aws::Kafka::Model::EncryptionAtRest::operator=
EncryptionAtRest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::EncryptionAtRest::SetDataVolumeKMSKeyId
void SetDataVolumeKMSKeyId(const char *value)
Definition: EncryptionAtRest.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::EncryptionAtRest::GetDataVolumeKMSKeyId
const Aws::String & GetDataVolumeKMSKeyId() const
Definition: EncryptionAtRest.h:49
Aws::Kafka::Model::EncryptionAtRest::EncryptionAtRest
EncryptionAtRest(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::EncryptionAtRest::DataVolumeKMSKeyIdHasBeenSet
bool DataVolumeKMSKeyIdHasBeenSet() const
Definition: EncryptionAtRest.h:57