AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
9#include <aws/sso-admin/model/KmsKeyType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSOAdmin {
21namespace Model {
22
30 public:
31 AWS_SSOADMIN_API EncryptionConfiguration() = default;
34 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline KmsKeyType GetKeyType() const { return m_keyType; }
41 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
42 inline void SetKeyType(KmsKeyType value) {
43 m_keyTypeHasBeenSet = true;
44 m_keyType = value;
45 }
47 SetKeyType(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
58 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
59 template <typename KmsKeyArnT = Aws::String>
60 void SetKmsKeyArn(KmsKeyArnT&& value) {
61 m_kmsKeyArnHasBeenSet = true;
62 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
63 }
64 template <typename KmsKeyArnT = Aws::String>
66 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
67 return *this;
68 }
70 private:
72
73 Aws::String m_kmsKeyArn;
74 bool m_keyTypeHasBeenSet = false;
75 bool m_kmsKeyArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SSOAdmin
80} // namespace Aws
AWS_SSOADMIN_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSOADMIN_API EncryptionConfiguration()=default
EncryptionConfiguration & WithKeyType(KmsKeyType value)
AWS_SSOADMIN_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue