AWS SDK for C++

AWS SDK for C++ Version 1.11.711

Loading...
Searching...
No Matches
GetLoggingConfigurationResult.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/LoggingConfigurationState.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 GetLoggingConfigurationResult() = 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
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 LoggingConfigurationState 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 GetLoggingConfigurationResult& 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 private:
198 Aws::String m_arn;
199
200 Aws::String m_id;
201
202 Aws::Utils::DateTime m_createTime{};
203
204 Aws::Utils::DateTime m_updateTime{};
205
206 Aws::String m_name;
207
208 DestinationConfiguration m_destinationConfiguration;
209
211
213
214 Aws::String m_requestId;
215 bool m_arnHasBeenSet = false;
216 bool m_idHasBeenSet = false;
217 bool m_createTimeHasBeenSet = false;
218 bool m_updateTimeHasBeenSet = false;
219 bool m_nameHasBeenSet = false;
220 bool m_destinationConfigurationHasBeenSet = false;
221 bool m_stateHasBeenSet = false;
222 bool m_tagsHasBeenSet = false;
223 bool m_requestIdHasBeenSet = false;
224};
225
226} // namespace Model
227} // namespace ivschat
228} // 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