AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
LookupTableConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CloudWatchLogs {
21namespace Model {
22
30 public:
31 AWS_CLOUDWATCHLOGS_API LookupTableConfiguration() = default;
32 AWS_CLOUDWATCHLOGS_API LookupTableConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetTableName() const { return m_tableName; }
42 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
43 template <typename TableNameT = Aws::String>
44 void SetTableName(TableNameT&& value) {
45 m_tableNameHasBeenSet = true;
46 m_tableName = std::forward<TableNameT>(value);
47 }
48 template <typename TableNameT = Aws::String>
50 SetTableName(std::forward<TableNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
61 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
62 template <typename RoleArnT = Aws::String>
63 void SetRoleArn(RoleArnT&& value) {
64 m_roleArnHasBeenSet = true;
65 m_roleArn = std::forward<RoleArnT>(value);
66 }
67 template <typename RoleArnT = Aws::String>
69 SetRoleArn(std::forward<RoleArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
98 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
99 template <typename KmsKeyIdT = Aws::String>
100 void SetKmsKeyId(KmsKeyIdT&& value) {
101 m_kmsKeyIdHasBeenSet = true;
102 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
103 }
104 template <typename KmsKeyIdT = Aws::String>
106 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
107 return *this;
108 }
110
112
117 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
118 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
119 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 void SetTags(TagsT&& value) {
121 m_tagsHasBeenSet = true;
122 m_tags = std::forward<TagsT>(value);
123 }
124 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 SetTags(std::forward<TagsT>(value));
127 return *this;
128 }
129 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
130 LookupTableConfiguration& AddTags(TagsKeyT&& key, TagsValueT&& value) {
131 m_tagsHasBeenSet = true;
132 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
133 return *this;
134 }
136 private:
137 Aws::String m_tableName;
138
139 Aws::String m_roleArn;
140
141 Aws::String m_description;
142
143 Aws::String m_kmsKeyId;
144
146 bool m_tableNameHasBeenSet = false;
147 bool m_roleArnHasBeenSet = false;
148 bool m_descriptionHasBeenSet = false;
149 bool m_kmsKeyIdHasBeenSet = false;
150 bool m_tagsHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace CloudWatchLogs
155} // namespace Aws
AWS_CLOUDWATCHLOGS_API LookupTableConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
LookupTableConfiguration & WithRoleArn(RoleArnT &&value)
AWS_CLOUDWATCHLOGS_API LookupTableConfiguration()=default
LookupTableConfiguration & WithDescription(DescriptionT &&value)
LookupTableConfiguration & WithKmsKeyId(KmsKeyIdT &&value)
LookupTableConfiguration & AddTags(TagsKeyT &&key, TagsValueT &&value)
LookupTableConfiguration & WithTableName(TableNameT &&value)
AWS_CLOUDWATCHLOGS_API LookupTableConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue