AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
AwsEncryptionKeyConfigurationInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9#include <aws/odb/model/ExternalIdType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
30 public:
31 AWS_ODB_API AwsEncryptionKeyConfigurationInput() = default;
35
37
41 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
42 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
43 template <typename IamRoleArnT = Aws::String>
44 void SetIamRoleArn(IamRoleArnT&& value) {
45 m_iamRoleArnHasBeenSet = true;
46 m_iamRoleArn = std::forward<IamRoleArnT>(value);
47 }
48 template <typename IamRoleArnT = Aws::String>
50 SetIamRoleArn(std::forward<IamRoleArnT>(value));
51 return *this;
52 }
54
56
59 inline ExternalIdType GetExternalIdType() const { return m_externalIdType; }
60 inline bool ExternalIdTypeHasBeenSet() const { return m_externalIdTypeHasBeenSet; }
61 inline void SetExternalIdType(ExternalIdType value) {
62 m_externalIdTypeHasBeenSet = true;
63 m_externalIdType = value;
64 }
66 SetExternalIdType(value);
67 return *this;
68 }
70
72
76 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
77 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
78 template <typename KmsKeyIdT = Aws::String>
79 void SetKmsKeyId(KmsKeyIdT&& value) {
80 m_kmsKeyIdHasBeenSet = true;
81 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
82 }
83 template <typename KmsKeyIdT = Aws::String>
85 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_iamRoleArn;
91
93
94 Aws::String m_kmsKeyId;
95 bool m_iamRoleArnHasBeenSet = false;
96 bool m_externalIdTypeHasBeenSet = false;
97 bool m_kmsKeyIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace odb
102} // namespace Aws
AwsEncryptionKeyConfigurationInput & WithKmsKeyId(KmsKeyIdT &&value)
AWS_ODB_API AwsEncryptionKeyConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API AwsEncryptionKeyConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
AwsEncryptionKeyConfigurationInput & WithIamRoleArn(IamRoleArnT &&value)
AwsEncryptionKeyConfigurationInput & WithExternalIdType(ExternalIdType value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue