AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetLoggingConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ivschat/Ivschat_EXPORTS.h>
12#include <aws/ivschat/model/DestinationConfiguration.h>
13#include <aws/ivschat/model/LoggingConfigurationState.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ivschat {
27namespace Model {
29 public:
30 AWS_IVSCHAT_API GetLoggingConfigurationResult() = default;
33
35
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetId() const { return m_id; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
77 template <typename CreateTimeT = Aws::Utils::DateTime>
78 void SetCreateTime(CreateTimeT&& value) {
79 m_createTimeHasBeenSet = true;
80 m_createTime = std::forward<CreateTimeT>(value);
81 }
82 template <typename CreateTimeT = Aws::Utils::DateTime>
84 SetCreateTime(std::forward<CreateTimeT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
95 template <typename UpdateTimeT = Aws::Utils::DateTime>
96 void SetUpdateTime(UpdateTimeT&& value) {
97 m_updateTimeHasBeenSet = true;
98 m_updateTime = std::forward<UpdateTimeT>(value);
99 }
100 template <typename UpdateTimeT = Aws::Utils::DateTime>
102 SetUpdateTime(std::forward<UpdateTimeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetName() const { return m_name; }
112 template <typename NameT = Aws::String>
113 void SetName(NameT&& value) {
114 m_nameHasBeenSet = true;
115 m_name = std::forward<NameT>(value);
116 }
117 template <typename NameT = Aws::String>
119 SetName(std::forward<NameT>(value));
120 return *this;
121 }
123
125
131 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
132 template <typename DestinationConfigurationT = DestinationConfiguration>
133 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
134 m_destinationConfigurationHasBeenSet = true;
135 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
136 }
137 template <typename DestinationConfigurationT = DestinationConfiguration>
139 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
140 return *this;
141 }
143
145
149 inline LoggingConfigurationState GetState() const { return m_state; }
151 m_stateHasBeenSet = true;
152 m_state = value;
153 }
155 SetState(value);
156 return *this;
157 }
159
161
165 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
166 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 void SetTags(TagsT&& value) {
168 m_tagsHasBeenSet = true;
169 m_tags = std::forward<TagsT>(value);
170 }
171 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 SetTags(std::forward<TagsT>(value));
174 return *this;
175 }
176 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
177 GetLoggingConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
178 m_tagsHasBeenSet = true;
179 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
180 return *this;
181 }
183
185
186 inline const Aws::String& GetRequestId() const { return m_requestId; }
187 template <typename RequestIdT = Aws::String>
188 void SetRequestId(RequestIdT&& value) {
189 m_requestIdHasBeenSet = true;
190 m_requestId = std::forward<RequestIdT>(value);
191 }
192 template <typename RequestIdT = Aws::String>
194 SetRequestId(std::forward<RequestIdT>(value));
195 return *this;
196 }
198 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
199
200 private:
201 Aws::String m_arn;
202
203 Aws::String m_id;
204
205 Aws::Utils::DateTime m_createTime{};
206
207 Aws::Utils::DateTime m_updateTime{};
208
209 Aws::String m_name;
210
211 DestinationConfiguration m_destinationConfiguration;
212
214
216
217 Aws::String m_requestId;
218 Aws::Http::HttpResponseCode m_HttpResponseCode;
219 bool m_arnHasBeenSet = false;
220 bool m_idHasBeenSet = false;
221 bool m_createTimeHasBeenSet = false;
222 bool m_updateTimeHasBeenSet = false;
223 bool m_nameHasBeenSet = false;
224 bool m_destinationConfigurationHasBeenSet = false;
225 bool m_stateHasBeenSet = false;
226 bool m_tagsHasBeenSet = false;
227 bool m_requestIdHasBeenSet = false;
228};
229
230} // namespace Model
231} // namespace ivschat
232} // namespace Aws
GetLoggingConfigurationResult & WithCreateTime(CreateTimeT &&value)
AWS_IVSCHAT_API GetLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggingConfigurationResult & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetLoggingConfigurationResult & WithUpdateTime(UpdateTimeT &&value)
GetLoggingConfigurationResult & WithRequestId(RequestIdT &&value)
const DestinationConfiguration & GetDestinationConfiguration() const
GetLoggingConfigurationResult & WithId(IdT &&value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
AWS_IVSCHAT_API GetLoggingConfigurationResult()=default
GetLoggingConfigurationResult & WithState(LoggingConfigurationState value)
GetLoggingConfigurationResult & WithDestinationConfiguration(DestinationConfigurationT &&value)
GetLoggingConfigurationResult & WithTags(TagsT &&value)
GetLoggingConfigurationResult & WithArn(ArnT &&value)
GetLoggingConfigurationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IVSCHAT_API GetLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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