AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
UpdateLoggingConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ivschat/Ivschat_EXPORTS.h>
11#include <aws/ivschat/model/DestinationConfiguration.h>
12#include <aws/ivschat/model/UpdateLoggingConfigurationState.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ivschat {
26namespace Model {
28 public:
29 AWS_IVSCHAT_API UpdateLoggingConfigurationResult() = default;
32
34
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetId() const { return m_id; }
57 template <typename IdT = Aws::String>
58 void SetId(IdT&& value) {
59 m_idHasBeenSet = true;
60 m_id = std::forward<IdT>(value);
61 }
62 template <typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
75 template <typename CreateTimeT = Aws::Utils::DateTime>
76 void SetCreateTime(CreateTimeT&& value) {
77 m_createTimeHasBeenSet = true;
78 m_createTime = std::forward<CreateTimeT>(value);
79 }
80 template <typename CreateTimeT = Aws::Utils::DateTime>
82 SetCreateTime(std::forward<CreateTimeT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
93 template <typename UpdateTimeT = Aws::Utils::DateTime>
94 void SetUpdateTime(UpdateTimeT&& value) {
95 m_updateTimeHasBeenSet = true;
96 m_updateTime = std::forward<UpdateTimeT>(value);
97 }
98 template <typename UpdateTimeT = Aws::Utils::DateTime>
100 SetUpdateTime(std::forward<UpdateTimeT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetName() const { return m_name; }
110 template <typename NameT = Aws::String>
111 void SetName(NameT&& value) {
112 m_nameHasBeenSet = true;
113 m_name = std::forward<NameT>(value);
114 }
115 template <typename NameT = Aws::String>
117 SetName(std::forward<NameT>(value));
118 return *this;
119 }
121
123
129 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
130 template <typename DestinationConfigurationT = DestinationConfiguration>
131 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
132 m_destinationConfigurationHasBeenSet = true;
133 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
134 }
135 template <typename DestinationConfigurationT = DestinationConfiguration>
137 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
138 return *this;
139 }
141
143
147 inline UpdateLoggingConfigurationState GetState() const { return m_state; }
149 m_stateHasBeenSet = true;
150 m_state = value;
151 }
153 SetState(value);
154 return *this;
155 }
157
159
163 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
164 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 void SetTags(TagsT&& value) {
166 m_tagsHasBeenSet = true;
167 m_tags = std::forward<TagsT>(value);
168 }
169 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 SetTags(std::forward<TagsT>(value));
172 return *this;
173 }
174 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
175 UpdateLoggingConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
176 m_tagsHasBeenSet = true;
177 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_arn;
198
199 Aws::String m_id;
200
201 Aws::Utils::DateTime m_createTime{};
202
203 Aws::Utils::DateTime m_updateTime{};
204
205 Aws::String m_name;
206
207 DestinationConfiguration m_destinationConfiguration;
208
210
212
213 Aws::String m_requestId;
214 bool m_arnHasBeenSet = false;
215 bool m_idHasBeenSet = false;
216 bool m_createTimeHasBeenSet = false;
217 bool m_updateTimeHasBeenSet = false;
218 bool m_nameHasBeenSet = false;
219 bool m_destinationConfigurationHasBeenSet = false;
220 bool m_stateHasBeenSet = false;
221 bool m_tagsHasBeenSet = false;
222 bool m_requestIdHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace ivschat
227} // 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