AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeEmailAddressResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AliasConfiguration.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.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 Connect {
26namespace Model {
28 public:
29 AWS_CONNECT_API DescribeEmailAddressResult() = default;
32
34
37 inline const Aws::String& GetEmailAddressId() const { return m_emailAddressId; }
38 template <typename EmailAddressIdT = Aws::String>
39 void SetEmailAddressId(EmailAddressIdT&& value) {
40 m_emailAddressIdHasBeenSet = true;
41 m_emailAddressId = std::forward<EmailAddressIdT>(value);
42 }
43 template <typename EmailAddressIdT = Aws::String>
45 SetEmailAddressId(std::forward<EmailAddressIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetEmailAddressArn() const { return m_emailAddressArn; }
55 template <typename EmailAddressArnT = Aws::String>
56 void SetEmailAddressArn(EmailAddressArnT&& value) {
57 m_emailAddressArnHasBeenSet = true;
58 m_emailAddressArn = std::forward<EmailAddressArnT>(value);
59 }
60 template <typename EmailAddressArnT = Aws::String>
62 SetEmailAddressArn(std::forward<EmailAddressArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
72 template <typename EmailAddressT = Aws::String>
73 void SetEmailAddress(EmailAddressT&& value) {
74 m_emailAddressHasBeenSet = true;
75 m_emailAddress = std::forward<EmailAddressT>(value);
76 }
77 template <typename EmailAddressT = Aws::String>
79 SetEmailAddress(std::forward<EmailAddressT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDisplayName() const { return m_displayName; }
89 template <typename DisplayNameT = Aws::String>
90 void SetDisplayName(DisplayNameT&& value) {
91 m_displayNameHasBeenSet = true;
92 m_displayName = std::forward<DisplayNameT>(value);
93 }
94 template <typename DisplayNameT = Aws::String>
96 SetDisplayName(std::forward<DisplayNameT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 template <typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) {
108 m_descriptionHasBeenSet = true;
109 m_description = std::forward<DescriptionT>(value);
110 }
111 template <typename DescriptionT = Aws::String>
113 SetDescription(std::forward<DescriptionT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetCreateTimestamp() const { return m_createTimestamp; }
123 template <typename CreateTimestampT = Aws::String>
124 void SetCreateTimestamp(CreateTimestampT&& value) {
125 m_createTimestampHasBeenSet = true;
126 m_createTimestamp = std::forward<CreateTimestampT>(value);
127 }
128 template <typename CreateTimestampT = Aws::String>
130 SetCreateTimestamp(std::forward<CreateTimestampT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetModifiedTimestamp() const { return m_modifiedTimestamp; }
140 template <typename ModifiedTimestampT = Aws::String>
141 void SetModifiedTimestamp(ModifiedTimestampT&& value) {
142 m_modifiedTimestampHasBeenSet = true;
143 m_modifiedTimestamp = std::forward<ModifiedTimestampT>(value);
144 }
145 template <typename ModifiedTimestampT = Aws::String>
147 SetModifiedTimestamp(std::forward<ModifiedTimestampT>(value));
148 return *this;
149 }
151
153
158 inline const Aws::Vector<AliasConfiguration>& GetAliasConfigurations() const { return m_aliasConfigurations; }
159 template <typename AliasConfigurationsT = Aws::Vector<AliasConfiguration>>
160 void SetAliasConfigurations(AliasConfigurationsT&& value) {
161 m_aliasConfigurationsHasBeenSet = true;
162 m_aliasConfigurations = std::forward<AliasConfigurationsT>(value);
163 }
164 template <typename AliasConfigurationsT = Aws::Vector<AliasConfiguration>>
166 SetAliasConfigurations(std::forward<AliasConfigurationsT>(value));
167 return *this;
168 }
169 template <typename AliasConfigurationsT = AliasConfiguration>
170 DescribeEmailAddressResult& AddAliasConfigurations(AliasConfigurationsT&& value) {
171 m_aliasConfigurationsHasBeenSet = true;
172 m_aliasConfigurations.emplace_back(std::forward<AliasConfigurationsT>(value));
173 return *this;
174 }
176
178
182 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
183 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
184 void SetTags(TagsT&& value) {
185 m_tagsHasBeenSet = true;
186 m_tags = std::forward<TagsT>(value);
187 }
188 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
190 SetTags(std::forward<TagsT>(value));
191 return *this;
192 }
193 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
194 DescribeEmailAddressResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
195 m_tagsHasBeenSet = true;
196 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
197 return *this;
198 }
200
202
203 inline const Aws::String& GetRequestId() const { return m_requestId; }
204 template <typename RequestIdT = Aws::String>
205 void SetRequestId(RequestIdT&& value) {
206 m_requestIdHasBeenSet = true;
207 m_requestId = std::forward<RequestIdT>(value);
208 }
209 template <typename RequestIdT = Aws::String>
211 SetRequestId(std::forward<RequestIdT>(value));
212 return *this;
213 }
215 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
216
217 private:
218 Aws::String m_emailAddressId;
219
220 Aws::String m_emailAddressArn;
221
222 Aws::String m_emailAddress;
223
224 Aws::String m_displayName;
225
226 Aws::String m_description;
227
228 Aws::String m_createTimestamp;
229
230 Aws::String m_modifiedTimestamp;
231
232 Aws::Vector<AliasConfiguration> m_aliasConfigurations;
233
235
236 Aws::String m_requestId;
237 Aws::Http::HttpResponseCode m_HttpResponseCode;
238 bool m_emailAddressIdHasBeenSet = false;
239 bool m_emailAddressArnHasBeenSet = false;
240 bool m_emailAddressHasBeenSet = false;
241 bool m_displayNameHasBeenSet = false;
242 bool m_descriptionHasBeenSet = false;
243 bool m_createTimestampHasBeenSet = false;
244 bool m_modifiedTimestampHasBeenSet = false;
245 bool m_aliasConfigurationsHasBeenSet = false;
246 bool m_tagsHasBeenSet = false;
247 bool m_requestIdHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace Connect
252} // namespace Aws
DescribeEmailAddressResult & WithCreateTimestamp(CreateTimestampT &&value)
const Aws::Vector< AliasConfiguration > & GetAliasConfigurations() const
DescribeEmailAddressResult & WithEmailAddressArn(EmailAddressArnT &&value)
DescribeEmailAddressResult & WithDescription(DescriptionT &&value)
DescribeEmailAddressResult & WithRequestId(RequestIdT &&value)
DescribeEmailAddressResult & WithAliasConfigurations(AliasConfigurationsT &&value)
DescribeEmailAddressResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeEmailAddressResult & WithTags(TagsT &&value)
DescribeEmailAddressResult & WithDisplayName(DisplayNameT &&value)
AWS_CONNECT_API DescribeEmailAddressResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEmailAddressResult & AddAliasConfigurations(AliasConfigurationsT &&value)
DescribeEmailAddressResult & WithModifiedTimestamp(ModifiedTimestampT &&value)
AWS_CONNECT_API DescribeEmailAddressResult()=default
AWS_CONNECT_API DescribeEmailAddressResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEmailAddressResult & WithEmailAddressId(EmailAddressIdT &&value)
DescribeEmailAddressResult & WithEmailAddress(EmailAddressT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue