AWS SDK for C++  1.9.160
AWS SDK for C++
DeliveryStreamEncryptionConfigurationInput.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Firehose
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
48  inline const Aws::String& GetKeyARN() const{ return m_keyARN; }
49 
56  inline bool KeyARNHasBeenSet() const { return m_keyARNHasBeenSet; }
57 
64  inline void SetKeyARN(const Aws::String& value) { m_keyARNHasBeenSet = true; m_keyARN = value; }
65 
72  inline void SetKeyARN(Aws::String&& value) { m_keyARNHasBeenSet = true; m_keyARN = std::move(value); }
73 
80  inline void SetKeyARN(const char* value) { m_keyARNHasBeenSet = true; m_keyARN.assign(value); }
81 
88  inline DeliveryStreamEncryptionConfigurationInput& WithKeyARN(const Aws::String& value) { SetKeyARN(value); return *this;}
89 
96  inline DeliveryStreamEncryptionConfigurationInput& WithKeyARN(Aws::String&& value) { SetKeyARN(std::move(value)); return *this;}
97 
104  inline DeliveryStreamEncryptionConfigurationInput& WithKeyARN(const char* value) { SetKeyARN(value); return *this;}
105 
106 
132  inline const KeyType& GetKeyType() const{ return m_keyType; }
133 
159  inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
160 
186  inline void SetKeyType(const KeyType& value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
187 
213  inline void SetKeyType(KeyType&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); }
214 
240  inline DeliveryStreamEncryptionConfigurationInput& WithKeyType(const KeyType& value) { SetKeyType(value); return *this;}
241 
267  inline DeliveryStreamEncryptionConfigurationInput& WithKeyType(KeyType&& value) { SetKeyType(std::move(value)); return *this;}
268 
269  private:
270 
271  Aws::String m_keyARN;
272  bool m_keyARNHasBeenSet;
273 
274  KeyType m_keyType;
275  bool m_keyTypeHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace Firehose
280 } // namespace Aws
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::SetKeyARN
void SetKeyARN(Aws::String &&value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:72
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::DeliveryStreamEncryptionConfigurationInput
DeliveryStreamEncryptionConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::SetKeyType
void SetKeyType(const KeyType &value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:186
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::GetKeyARN
const Aws::String & GetKeyARN() const
Definition: DeliveryStreamEncryptionConfigurationInput.h:48
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::DeliveryStreamEncryptionConfigurationInput
DeliveryStreamEncryptionConfigurationInput()
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::WithKeyARN
DeliveryStreamEncryptionConfigurationInput & WithKeyARN(Aws::String &&value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:96
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::SetKeyARN
void SetKeyARN(const Aws::String &value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:64
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::operator=
DeliveryStreamEncryptionConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::WithKeyType
DeliveryStreamEncryptionConfigurationInput & WithKeyType(KeyType &&value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:267
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::SetKeyARN
void SetKeyARN(const char *value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:80
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::KeyTypeHasBeenSet
bool KeyTypeHasBeenSet() const
Definition: DeliveryStreamEncryptionConfigurationInput.h:159
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::WithKeyARN
DeliveryStreamEncryptionConfigurationInput & WithKeyARN(const Aws::String &value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:88
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Firehose_EXPORTS.h
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::WithKeyARN
DeliveryStreamEncryptionConfigurationInput & WithKeyARN(const char *value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:104
KeyType.h
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::WithKeyType
DeliveryStreamEncryptionConfigurationInput & WithKeyType(const KeyType &value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:240
Aws::Firehose::Model::KeyType
KeyType
Definition: KeyType.h:17
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::GetKeyType
const KeyType & GetKeyType() const
Definition: DeliveryStreamEncryptionConfigurationInput.h:132
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::SetKeyType
void SetKeyType(KeyType &&value)
Definition: DeliveryStreamEncryptionConfigurationInput.h:213
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput
Definition: DeliveryStreamEncryptionConfigurationInput.h:34
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput::KeyARNHasBeenSet
bool KeyARNHasBeenSet() const
Definition: DeliveryStreamEncryptionConfigurationInput.h:56