AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetLookupTableResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace CloudWatchLogs {
23namespace Model {
25 public:
26 AWS_CLOUDWATCHLOGS_API GetLookupTableResult() = default;
29
31
34 inline const Aws::String& GetLookupTableArn() const { return m_lookupTableArn; }
35 template <typename LookupTableArnT = Aws::String>
36 void SetLookupTableArn(LookupTableArnT&& value) {
37 m_lookupTableArnHasBeenSet = true;
38 m_lookupTableArn = std::forward<LookupTableArnT>(value);
39 }
40 template <typename LookupTableArnT = Aws::String>
41 GetLookupTableResult& WithLookupTableArn(LookupTableArnT&& value) {
42 SetLookupTableArn(std::forward<LookupTableArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetLookupTableName() const { return m_lookupTableName; }
52 template <typename LookupTableNameT = Aws::String>
53 void SetLookupTableName(LookupTableNameT&& value) {
54 m_lookupTableNameHasBeenSet = true;
55 m_lookupTableName = std::forward<LookupTableNameT>(value);
56 }
57 template <typename LookupTableNameT = Aws::String>
58 GetLookupTableResult& WithLookupTableName(LookupTableNameT&& value) {
59 SetLookupTableName(std::forward<LookupTableNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 template <typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) {
71 m_descriptionHasBeenSet = true;
72 m_description = std::forward<DescriptionT>(value);
73 }
74 template <typename DescriptionT = Aws::String>
75 GetLookupTableResult& WithDescription(DescriptionT&& value) {
76 SetDescription(std::forward<DescriptionT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetTableBody() const { return m_tableBody; }
86 template <typename TableBodyT = Aws::String>
87 void SetTableBody(TableBodyT&& value) {
88 m_tableBodyHasBeenSet = true;
89 m_tableBody = std::forward<TableBodyT>(value);
90 }
91 template <typename TableBodyT = Aws::String>
92 GetLookupTableResult& WithTableBody(TableBodyT&& value) {
93 SetTableBody(std::forward<TableBodyT>(value));
94 return *this;
95 }
97
99
102 inline long long GetSizeBytes() const { return m_sizeBytes; }
103 inline void SetSizeBytes(long long value) {
104 m_sizeBytesHasBeenSet = true;
105 m_sizeBytes = value;
106 }
107 inline GetLookupTableResult& WithSizeBytes(long long value) {
108 SetSizeBytes(value);
109 return *this;
110 }
112
114
118 inline long long GetLastUpdatedTime() const { return m_lastUpdatedTime; }
119 inline void SetLastUpdatedTime(long long value) {
120 m_lastUpdatedTimeHasBeenSet = true;
121 m_lastUpdatedTime = value;
122 }
123 inline GetLookupTableResult& WithLastUpdatedTime(long long value) {
124 SetLastUpdatedTime(value);
125 return *this;
126 }
128
130
134 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
135 template <typename KmsKeyIdT = Aws::String>
136 void SetKmsKeyId(KmsKeyIdT&& value) {
137 m_kmsKeyIdHasBeenSet = true;
138 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
139 }
140 template <typename KmsKeyIdT = Aws::String>
141 GetLookupTableResult& WithKmsKeyId(KmsKeyIdT&& value) {
142 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
143 return *this;
144 }
146
148
149 inline const Aws::String& GetRequestId() const { return m_requestId; }
150 template <typename RequestIdT = Aws::String>
151 void SetRequestId(RequestIdT&& value) {
152 m_requestIdHasBeenSet = true;
153 m_requestId = std::forward<RequestIdT>(value);
154 }
155 template <typename RequestIdT = Aws::String>
156 GetLookupTableResult& WithRequestId(RequestIdT&& value) {
157 SetRequestId(std::forward<RequestIdT>(value));
158 return *this;
159 }
161 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
162
163 private:
164 Aws::String m_lookupTableArn;
165
166 Aws::String m_lookupTableName;
167
168 Aws::String m_description;
169
170 Aws::String m_tableBody;
171
172 long long m_sizeBytes{0};
173
174 long long m_lastUpdatedTime{0};
175
176 Aws::String m_kmsKeyId;
177
178 Aws::String m_requestId;
179 Aws::Http::HttpResponseCode m_HttpResponseCode;
180 bool m_lookupTableArnHasBeenSet = false;
181 bool m_lookupTableNameHasBeenSet = false;
182 bool m_descriptionHasBeenSet = false;
183 bool m_tableBodyHasBeenSet = false;
184 bool m_sizeBytesHasBeenSet = false;
185 bool m_lastUpdatedTimeHasBeenSet = false;
186 bool m_kmsKeyIdHasBeenSet = false;
187 bool m_requestIdHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace CloudWatchLogs
192} // namespace Aws
GetLookupTableResult & WithDescription(DescriptionT &&value)
GetLookupTableResult & WithLookupTableArn(LookupTableArnT &&value)
GetLookupTableResult & WithSizeBytes(long long value)
GetLookupTableResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API GetLookupTableResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLookupTableResult & WithLastUpdatedTime(long long value)
AWS_CLOUDWATCHLOGS_API GetLookupTableResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetLookupTableResult & WithKmsKeyId(KmsKeyIdT &&value)
AWS_CLOUDWATCHLOGS_API GetLookupTableResult()=default
GetLookupTableResult & WithLookupTableName(LookupTableNameT &&value)
GetLookupTableResult & WithTableBody(TableBodyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue