AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateProfileResult.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 UpdateProfileResult() = 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 UpdateProfileResult& WithProfileId(ProfileIdT&& value) {
44 SetProfileId(std::forward<ProfileIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
54 template <typename ProfileArnT = Aws::String>
55 void SetProfileArn(ProfileArnT&& value) {
56 m_profileArnHasBeenSet = true;
57 m_profileArn = std::forward<ProfileArnT>(value);
58 }
59 template <typename ProfileArnT = Aws::String>
60 UpdateProfileResult& WithProfileArn(ProfileArnT&& value) {
61 SetProfileArn(std::forward<ProfileArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
77 UpdateProfileResult& WithName(NameT&& value) {
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetEmail() const { return m_email; }
88 template <typename EmailT = Aws::String>
89 void SetEmail(EmailT&& value) {
90 m_emailHasBeenSet = true;
91 m_email = std::forward<EmailT>(value);
92 }
93 template <typename EmailT = Aws::String>
94 UpdateProfileResult& WithEmail(EmailT&& value) {
95 SetEmail(std::forward<EmailT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetPhone() const { return m_phone; }
105 template <typename PhoneT = Aws::String>
106 void SetPhone(PhoneT&& value) {
107 m_phoneHasBeenSet = true;
108 m_phone = std::forward<PhoneT>(value);
109 }
110 template <typename PhoneT = Aws::String>
112 SetPhone(std::forward<PhoneT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetBusinessName() const { return m_businessName; }
122 template <typename BusinessNameT = Aws::String>
123 void SetBusinessName(BusinessNameT&& value) {
124 m_businessNameHasBeenSet = true;
125 m_businessName = std::forward<BusinessNameT>(value);
126 }
127 template <typename BusinessNameT = Aws::String>
128 UpdateProfileResult& WithBusinessName(BusinessNameT&& value) {
129 SetBusinessName(std::forward<BusinessNameT>(value));
130 return *this;
131 }
133
135
138 inline Logging GetLogging() const { return m_logging; }
139 inline void SetLogging(Logging value) {
140 m_loggingHasBeenSet = true;
141 m_logging = value;
142 }
144 SetLogging(value);
145 return *this;
146 }
148
150
153 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
154 template <typename LogGroupNameT = Aws::String>
155 void SetLogGroupName(LogGroupNameT&& value) {
156 m_logGroupNameHasBeenSet = true;
157 m_logGroupName = std::forward<LogGroupNameT>(value);
158 }
159 template <typename LogGroupNameT = Aws::String>
160 UpdateProfileResult& WithLogGroupName(LogGroupNameT&& value) {
161 SetLogGroupName(std::forward<LogGroupNameT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
171 template <typename CreatedAtT = Aws::Utils::DateTime>
172 void SetCreatedAt(CreatedAtT&& value) {
173 m_createdAtHasBeenSet = true;
174 m_createdAt = std::forward<CreatedAtT>(value);
175 }
176 template <typename CreatedAtT = Aws::Utils::DateTime>
177 UpdateProfileResult& WithCreatedAt(CreatedAtT&& value) {
178 SetCreatedAt(std::forward<CreatedAtT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
188 template <typename ModifiedAtT = Aws::Utils::DateTime>
189 void SetModifiedAt(ModifiedAtT&& value) {
190 m_modifiedAtHasBeenSet = true;
191 m_modifiedAt = std::forward<ModifiedAtT>(value);
192 }
193 template <typename ModifiedAtT = Aws::Utils::DateTime>
194 UpdateProfileResult& WithModifiedAt(ModifiedAtT&& value) {
195 SetModifiedAt(std::forward<ModifiedAtT>(value));
196 return *this;
197 }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template <typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) {
205 m_requestIdHasBeenSet = true;
206 m_requestId = std::forward<RequestIdT>(value);
207 }
208 template <typename RequestIdT = Aws::String>
209 UpdateProfileResult& WithRequestId(RequestIdT&& value) {
210 SetRequestId(std::forward<RequestIdT>(value));
211 return *this;
212 }
214 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
215
216 private:
217 Aws::String m_profileId;
218
219 Aws::String m_profileArn;
220
221 Aws::String m_name;
222
223 Aws::String m_email;
224
225 Aws::String m_phone;
226
227 Aws::String m_businessName;
228
229 Logging m_logging{Logging::NOT_SET};
230
231 Aws::String m_logGroupName;
232
233 Aws::Utils::DateTime m_createdAt{};
234
235 Aws::Utils::DateTime m_modifiedAt{};
236
237 Aws::String m_requestId;
238 Aws::Http::HttpResponseCode m_HttpResponseCode;
239 bool m_profileIdHasBeenSet = false;
240 bool m_profileArnHasBeenSet = false;
241 bool m_nameHasBeenSet = false;
242 bool m_emailHasBeenSet = false;
243 bool m_phoneHasBeenSet = false;
244 bool m_businessNameHasBeenSet = false;
245 bool m_loggingHasBeenSet = false;
246 bool m_logGroupNameHasBeenSet = false;
247 bool m_createdAtHasBeenSet = false;
248 bool m_modifiedAtHasBeenSet = false;
249 bool m_requestIdHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace B2BI
254} // namespace Aws
const Aws::String & GetProfileId() const
const Aws::String & GetBusinessName() const
const Aws::String & GetLogGroupName() const
const Aws::Utils::DateTime & GetModifiedAt() const
void SetBusinessName(BusinessNameT &&value)
UpdateProfileResult & WithName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateProfileResult & WithBusinessName(BusinessNameT &&value)
AWS_B2BI_API UpdateProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateProfileResult & WithLogging(Logging value)
const Aws::String & GetRequestId() const
UpdateProfileResult & WithPhone(PhoneT &&value)
UpdateProfileResult & WithProfileArn(ProfileArnT &&value)
UpdateProfileResult & WithRequestId(RequestIdT &&value)
UpdateProfileResult & WithCreatedAt(CreatedAtT &&value)
UpdateProfileResult & WithEmail(EmailT &&value)
UpdateProfileResult & WithLogGroupName(LogGroupNameT &&value)
void SetLogGroupName(LogGroupNameT &&value)
UpdateProfileResult & WithProfileId(ProfileIdT &&value)
AWS_B2BI_API UpdateProfileResult()=default
const Aws::String & GetProfileArn() const
UpdateProfileResult & WithModifiedAt(ModifiedAtT &&value)
AWS_B2BI_API UpdateProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue