AWS SDK for C++

AWS SDK for C++ Version 1.11.789

Loading...
Searching...
No Matches
GetProfileResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/Logging.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace B2BI {
25namespace Model {
27 public:
28 AWS_B2BI_API GetProfileResult() = default;
31
33
36 inline const Aws::String& GetProfileId() const { return m_profileId; }
37 template <typename ProfileIdT = Aws::String>
38 void SetProfileId(ProfileIdT&& value) {
39 m_profileIdHasBeenSet = true;
40 m_profileId = std::forward<ProfileIdT>(value);
41 }
42 template <typename ProfileIdT = Aws::String>
43 GetProfileResult& WithProfileId(ProfileIdT&& value) {
44 SetProfileId(std::forward<ProfileIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
55 template <typename ProfileArnT = Aws::String>
56 void SetProfileArn(ProfileArnT&& value) {
57 m_profileArnHasBeenSet = true;
58 m_profileArn = std::forward<ProfileArnT>(value);
59 }
60 template <typename ProfileArnT = Aws::String>
61 GetProfileResult& WithProfileArn(ProfileArnT&& value) {
62 SetProfileArn(std::forward<ProfileArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 template <typename NameT = Aws::String>
73 void SetName(NameT&& value) {
74 m_nameHasBeenSet = true;
75 m_name = std::forward<NameT>(value);
76 }
77 template <typename NameT = Aws::String>
78 GetProfileResult& WithName(NameT&& value) {
79 SetName(std::forward<NameT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetEmail() const { return m_email; }
89 template <typename EmailT = Aws::String>
90 void SetEmail(EmailT&& value) {
91 m_emailHasBeenSet = true;
92 m_email = std::forward<EmailT>(value);
93 }
94 template <typename EmailT = Aws::String>
95 GetProfileResult& WithEmail(EmailT&& value) {
96 SetEmail(std::forward<EmailT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetPhone() const { return m_phone; }
106 template <typename PhoneT = Aws::String>
107 void SetPhone(PhoneT&& value) {
108 m_phoneHasBeenSet = true;
109 m_phone = std::forward<PhoneT>(value);
110 }
111 template <typename PhoneT = Aws::String>
112 GetProfileResult& WithPhone(PhoneT&& value) {
113 SetPhone(std::forward<PhoneT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetBusinessName() const { return m_businessName; }
123 template <typename BusinessNameT = Aws::String>
124 void SetBusinessName(BusinessNameT&& value) {
125 m_businessNameHasBeenSet = true;
126 m_businessName = std::forward<BusinessNameT>(value);
127 }
128 template <typename BusinessNameT = Aws::String>
129 GetProfileResult& WithBusinessName(BusinessNameT&& value) {
130 SetBusinessName(std::forward<BusinessNameT>(value));
131 return *this;
132 }
134
136
139 inline Logging GetLogging() const { return m_logging; }
140 inline void SetLogging(Logging value) {
141 m_loggingHasBeenSet = true;
142 m_logging = value;
143 }
145 SetLogging(value);
146 return *this;
147 }
149
151
154 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
155 template <typename LogGroupNameT = Aws::String>
156 void SetLogGroupName(LogGroupNameT&& value) {
157 m_logGroupNameHasBeenSet = true;
158 m_logGroupName = std::forward<LogGroupNameT>(value);
159 }
160 template <typename LogGroupNameT = Aws::String>
161 GetProfileResult& WithLogGroupName(LogGroupNameT&& value) {
162 SetLogGroupName(std::forward<LogGroupNameT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
172 template <typename CreatedAtT = Aws::Utils::DateTime>
173 void SetCreatedAt(CreatedAtT&& value) {
174 m_createdAtHasBeenSet = true;
175 m_createdAt = std::forward<CreatedAtT>(value);
176 }
177 template <typename CreatedAtT = Aws::Utils::DateTime>
178 GetProfileResult& WithCreatedAt(CreatedAtT&& value) {
179 SetCreatedAt(std::forward<CreatedAtT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
189 template <typename ModifiedAtT = Aws::Utils::DateTime>
190 void SetModifiedAt(ModifiedAtT&& value) {
191 m_modifiedAtHasBeenSet = true;
192 m_modifiedAt = std::forward<ModifiedAtT>(value);
193 }
194 template <typename ModifiedAtT = Aws::Utils::DateTime>
195 GetProfileResult& WithModifiedAt(ModifiedAtT&& value) {
196 SetModifiedAt(std::forward<ModifiedAtT>(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>
210 GetProfileResult& WithRequestId(RequestIdT&& value) {
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_profileId;
219
220 Aws::String m_profileArn;
221
222 Aws::String m_name;
223
224 Aws::String m_email;
225
226 Aws::String m_phone;
227
228 Aws::String m_businessName;
229
230 Logging m_logging{Logging::NOT_SET};
231
232 Aws::String m_logGroupName;
233
234 Aws::Utils::DateTime m_createdAt{};
235
236 Aws::Utils::DateTime m_modifiedAt{};
237
238 Aws::String m_requestId;
239 Aws::Http::HttpResponseCode m_HttpResponseCode;
240 bool m_profileIdHasBeenSet = false;
241 bool m_profileArnHasBeenSet = false;
242 bool m_nameHasBeenSet = false;
243 bool m_emailHasBeenSet = false;
244 bool m_phoneHasBeenSet = false;
245 bool m_businessNameHasBeenSet = false;
246 bool m_loggingHasBeenSet = false;
247 bool m_logGroupNameHasBeenSet = false;
248 bool m_createdAtHasBeenSet = false;
249 bool m_modifiedAtHasBeenSet = false;
250 bool m_requestIdHasBeenSet = false;
251};
252
253} // namespace Model
254} // namespace B2BI
255} // namespace Aws
GetProfileResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetBusinessName() const
GetProfileResult & WithProfileId(ProfileIdT &&value)
GetProfileResult & WithProfileArn(ProfileArnT &&value)
AWS_B2BI_API GetProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProfileResult & WithLogging(Logging value)
void SetRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetLogGroupName(LogGroupNameT &&value)
GetProfileResult & WithModifiedAt(ModifiedAtT &&value)
GetProfileResult & WithEmail(EmailT &&value)
void SetProfileArn(ProfileArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::String & GetProfileId() const
GetProfileResult & WithPhone(PhoneT &&value)
const Aws::String & GetName() const
AWS_B2BI_API GetProfileResult()=default
const Aws::String & GetRequestId() const
void SetProfileId(ProfileIdT &&value)
GetProfileResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetPhone() const
GetProfileResult & WithBusinessName(BusinessNameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetProfileArn() const
AWS_B2BI_API GetProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBusinessName(BusinessNameT &&value)
const Aws::String & GetLogGroupName() const
void SetModifiedAt(ModifiedAtT &&value)
GetProfileResult & WithLogGroupName(LogGroupNameT &&value)
GetProfileResult & WithName(NameT &&value)
const Aws::String & GetEmail() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue