AWS SDK for C++  1.9.160
AWS SDK for C++
EncryptionConfig.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 Connect
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
45 
49  inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
50 
54  inline void SetEncryptionType(const EncryptionType& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
55 
59  inline void SetEncryptionType(EncryptionType&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
60 
64  inline EncryptionConfig& WithEncryptionType(const EncryptionType& value) { SetEncryptionType(value); return *this;}
65 
69  inline EncryptionConfig& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
70 
71 
76  inline const Aws::String& GetKeyId() const{ return m_keyId; }
77 
82  inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
83 
88  inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
89 
94  inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
95 
100  inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
101 
106  inline EncryptionConfig& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
107 
112  inline EncryptionConfig& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
113 
118  inline EncryptionConfig& WithKeyId(const char* value) { SetKeyId(value); return *this;}
119 
120  private:
121 
122  EncryptionType m_encryptionType;
123  bool m_encryptionTypeHasBeenSet;
124 
125  Aws::String m_keyId;
126  bool m_keyIdHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace Connect
131 } // namespace Aws
Aws::Connect::Model::EncryptionConfig::EncryptionConfig
EncryptionConfig()
Aws::Connect::Model::EncryptionConfig::GetKeyId
const Aws::String & GetKeyId() const
Definition: EncryptionConfig.h:76
Aws::Connect::Model::EncryptionConfig::SetKeyId
void SetKeyId(Aws::String &&value)
Definition: EncryptionConfig.h:94
Aws::Connect::Model::EncryptionType
EncryptionType
Definition: EncryptionType.h:17
Aws::Connect::Model::EncryptionConfig::WithKeyId
EncryptionConfig & WithKeyId(Aws::String &&value)
Definition: EncryptionConfig.h:112
Aws::Connect::Model::EncryptionConfig::SetKeyId
void SetKeyId(const Aws::String &value)
Definition: EncryptionConfig.h:88
Aws::Connect::Model::EncryptionConfig::WithKeyId
EncryptionConfig & WithKeyId(const Aws::String &value)
Definition: EncryptionConfig.h:106
Aws::Connect::Model::EncryptionConfig::WithEncryptionType
EncryptionConfig & WithEncryptionType(EncryptionType &&value)
Definition: EncryptionConfig.h:69
Aws::Connect::Model::EncryptionConfig::SetEncryptionType
void SetEncryptionType(EncryptionType &&value)
Definition: EncryptionConfig.h:59
Aws::Connect::Model::EncryptionConfig::WithEncryptionType
EncryptionConfig & WithEncryptionType(const EncryptionType &value)
Definition: EncryptionConfig.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::EncryptionConfig::GetEncryptionType
const EncryptionType & GetEncryptionType() const
Definition: EncryptionConfig.h:44
Aws::Connect::Model::EncryptionConfig::operator=
EncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::EncryptionConfig::KeyIdHasBeenSet
bool KeyIdHasBeenSet() const
Definition: EncryptionConfig.h:82
EncryptionType.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::EncryptionConfig::SetKeyId
void SetKeyId(const char *value)
Definition: EncryptionConfig.h:100
Aws::Connect::Model::EncryptionConfig::WithKeyId
EncryptionConfig & WithKeyId(const char *value)
Definition: EncryptionConfig.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::EncryptionConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::EncryptionConfig::SetEncryptionType
void SetEncryptionType(const EncryptionType &value)
Definition: EncryptionConfig.h:54
Connect_EXPORTS.h
Aws::Connect::Model::EncryptionConfig::EncryptionTypeHasBeenSet
bool EncryptionTypeHasBeenSet() const
Definition: EncryptionConfig.h:49
Aws::Connect::Model::EncryptionConfig::EncryptionConfig
EncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::EncryptionConfig
Definition: EncryptionConfig.h:33