AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateLoggingConfigurationResult.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/UpdateLoggingConfigurationState.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 UpdateLoggingConfigurationResult() = 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
57 inline const Aws::String& GetId() const { return m_id; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
76 template <typename CreateTimeT = Aws::Utils::DateTime>
77 void SetCreateTime(CreateTimeT&& value) {
78 m_createTimeHasBeenSet = true;
79 m_createTime = std::forward<CreateTimeT>(value);
80 }
81 template <typename CreateTimeT = Aws::Utils::DateTime>
83 SetCreateTime(std::forward<CreateTimeT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
94 template <typename UpdateTimeT = Aws::Utils::DateTime>
95 void SetUpdateTime(UpdateTimeT&& value) {
96 m_updateTimeHasBeenSet = true;
97 m_updateTime = std::forward<UpdateTimeT>(value);
98 }
99 template <typename UpdateTimeT = Aws::Utils::DateTime>
101 SetUpdateTime(std::forward<UpdateTimeT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetName() const { return m_name; }
111 template <typename NameT = Aws::String>
112 void SetName(NameT&& value) {
113 m_nameHasBeenSet = true;
114 m_name = std::forward<NameT>(value);
115 }
116 template <typename NameT = Aws::String>
118 SetName(std::forward<NameT>(value));
119 return *this;
120 }
122
124
130 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
131 template <typename DestinationConfigurationT = DestinationConfiguration>
132 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
133 m_destinationConfigurationHasBeenSet = true;
134 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
135 }
136 template <typename DestinationConfigurationT = DestinationConfiguration>
138 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
139 return *this;
140 }
142
144
148 inline UpdateLoggingConfigurationState GetState() const { return m_state; }
150 m_stateHasBeenSet = true;
151 m_state = value;
152 }
154 SetState(value);
155 return *this;
156 }
158
160
164 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
165 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
166 void SetTags(TagsT&& value) {
167 m_tagsHasBeenSet = true;
168 m_tags = std::forward<TagsT>(value);
169 }
170 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 SetTags(std::forward<TagsT>(value));
173 return *this;
174 }
175 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
176 UpdateLoggingConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
177 m_tagsHasBeenSet = true;
178 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
179 return *this;
180 }
182
184
185 inline const Aws::String& GetRequestId() const { return m_requestId; }
186 template <typename RequestIdT = Aws::String>
187 void SetRequestId(RequestIdT&& value) {
188 m_requestIdHasBeenSet = true;
189 m_requestId = std::forward<RequestIdT>(value);
190 }
191 template <typename RequestIdT = Aws::String>
193 SetRequestId(std::forward<RequestIdT>(value));
194 return *this;
195 }
197 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
198
199 private:
200 Aws::String m_arn;
201
202 Aws::String m_id;
203
204 Aws::Utils::DateTime m_createTime{};
205
206 Aws::Utils::DateTime m_updateTime{};
207
208 Aws::String m_name;
209
210 DestinationConfiguration m_destinationConfiguration;
211
213
215
216 Aws::String m_requestId;
217 Aws::Http::HttpResponseCode m_HttpResponseCode;
218 bool m_arnHasBeenSet = false;
219 bool m_idHasBeenSet = false;
220 bool m_createTimeHasBeenSet = false;
221 bool m_updateTimeHasBeenSet = false;
222 bool m_nameHasBeenSet = false;
223 bool m_destinationConfigurationHasBeenSet = false;
224 bool m_stateHasBeenSet = false;
225 bool m_tagsHasBeenSet = false;
226 bool m_requestIdHasBeenSet = false;
227};
228
229} // namespace Model
230} // namespace ivschat
231} // namespace Aws
AWS_IVSCHAT_API UpdateLoggingConfigurationResult()=default
UpdateLoggingConfigurationResult & WithUpdateTime(UpdateTimeT &&value)
UpdateLoggingConfigurationResult & WithDestinationConfiguration(DestinationConfigurationT &&value)
AWS_IVSCHAT_API UpdateLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLoggingConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateLoggingConfigurationResult & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateLoggingConfigurationResult & WithTags(TagsT &&value)
UpdateLoggingConfigurationResult & WithState(UpdateLoggingConfigurationState value)
UpdateLoggingConfigurationResult & WithArn(ArnT &&value)
UpdateLoggingConfigurationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IVSCHAT_API UpdateLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLoggingConfigurationResult & WithCreateTime(CreateTimeT &&value)
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