AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace B2BI {
24namespace Model {
26 public:
27 AWS_B2BI_API UpdateProfileResult() = default;
30
32
35 inline const Aws::String& GetProfileId() const { return m_profileId; }
36 template <typename ProfileIdT = Aws::String>
37 void SetProfileId(ProfileIdT&& value) {
38 m_profileIdHasBeenSet = true;
39 m_profileId = std::forward<ProfileIdT>(value);
40 }
41 template <typename ProfileIdT = Aws::String>
42 UpdateProfileResult& WithProfileId(ProfileIdT&& value) {
43 SetProfileId(std::forward<ProfileIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
53 template <typename ProfileArnT = Aws::String>
54 void SetProfileArn(ProfileArnT&& value) {
55 m_profileArnHasBeenSet = true;
56 m_profileArn = std::forward<ProfileArnT>(value);
57 }
58 template <typename ProfileArnT = Aws::String>
59 UpdateProfileResult& WithProfileArn(ProfileArnT&& value) {
60 SetProfileArn(std::forward<ProfileArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template <typename NameT = Aws::String>
71 void SetName(NameT&& value) {
72 m_nameHasBeenSet = true;
73 m_name = std::forward<NameT>(value);
74 }
75 template <typename NameT = Aws::String>
76 UpdateProfileResult& WithName(NameT&& value) {
77 SetName(std::forward<NameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetEmail() const { return m_email; }
87 template <typename EmailT = Aws::String>
88 void SetEmail(EmailT&& value) {
89 m_emailHasBeenSet = true;
90 m_email = std::forward<EmailT>(value);
91 }
92 template <typename EmailT = Aws::String>
93 UpdateProfileResult& WithEmail(EmailT&& value) {
94 SetEmail(std::forward<EmailT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetPhone() const { return m_phone; }
104 template <typename PhoneT = Aws::String>
105 void SetPhone(PhoneT&& value) {
106 m_phoneHasBeenSet = true;
107 m_phone = std::forward<PhoneT>(value);
108 }
109 template <typename PhoneT = Aws::String>
111 SetPhone(std::forward<PhoneT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetBusinessName() const { return m_businessName; }
121 template <typename BusinessNameT = Aws::String>
122 void SetBusinessName(BusinessNameT&& value) {
123 m_businessNameHasBeenSet = true;
124 m_businessName = std::forward<BusinessNameT>(value);
125 }
126 template <typename BusinessNameT = Aws::String>
127 UpdateProfileResult& WithBusinessName(BusinessNameT&& value) {
128 SetBusinessName(std::forward<BusinessNameT>(value));
129 return *this;
130 }
132
134
137 inline Logging GetLogging() const { return m_logging; }
138 inline void SetLogging(Logging value) {
139 m_loggingHasBeenSet = true;
140 m_logging = value;
141 }
143 SetLogging(value);
144 return *this;
145 }
147
149
152 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
153 template <typename LogGroupNameT = Aws::String>
154 void SetLogGroupName(LogGroupNameT&& value) {
155 m_logGroupNameHasBeenSet = true;
156 m_logGroupName = std::forward<LogGroupNameT>(value);
157 }
158 template <typename LogGroupNameT = Aws::String>
159 UpdateProfileResult& WithLogGroupName(LogGroupNameT&& value) {
160 SetLogGroupName(std::forward<LogGroupNameT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
170 template <typename CreatedAtT = Aws::Utils::DateTime>
171 void SetCreatedAt(CreatedAtT&& value) {
172 m_createdAtHasBeenSet = true;
173 m_createdAt = std::forward<CreatedAtT>(value);
174 }
175 template <typename CreatedAtT = Aws::Utils::DateTime>
176 UpdateProfileResult& WithCreatedAt(CreatedAtT&& value) {
177 SetCreatedAt(std::forward<CreatedAtT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
187 template <typename ModifiedAtT = Aws::Utils::DateTime>
188 void SetModifiedAt(ModifiedAtT&& value) {
189 m_modifiedAtHasBeenSet = true;
190 m_modifiedAt = std::forward<ModifiedAtT>(value);
191 }
192 template <typename ModifiedAtT = Aws::Utils::DateTime>
193 UpdateProfileResult& WithModifiedAt(ModifiedAtT&& value) {
194 SetModifiedAt(std::forward<ModifiedAtT>(value));
195 return *this;
196 }
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template <typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) {
204 m_requestIdHasBeenSet = true;
205 m_requestId = std::forward<RequestIdT>(value);
206 }
207 template <typename RequestIdT = Aws::String>
208 UpdateProfileResult& WithRequestId(RequestIdT&& value) {
209 SetRequestId(std::forward<RequestIdT>(value));
210 return *this;
211 }
213 private:
214 Aws::String m_profileId;
215
216 Aws::String m_profileArn;
217
218 Aws::String m_name;
219
220 Aws::String m_email;
221
222 Aws::String m_phone;
223
224 Aws::String m_businessName;
225
226 Logging m_logging{Logging::NOT_SET};
227
228 Aws::String m_logGroupName;
229
230 Aws::Utils::DateTime m_createdAt{};
231
232 Aws::Utils::DateTime m_modifiedAt{};
233
234 Aws::String m_requestId;
235 bool m_profileIdHasBeenSet = false;
236 bool m_profileArnHasBeenSet = false;
237 bool m_nameHasBeenSet = false;
238 bool m_emailHasBeenSet = false;
239 bool m_phoneHasBeenSet = false;
240 bool m_businessNameHasBeenSet = false;
241 bool m_loggingHasBeenSet = false;
242 bool m_logGroupNameHasBeenSet = false;
243 bool m_createdAtHasBeenSet = false;
244 bool m_modifiedAtHasBeenSet = false;
245 bool m_requestIdHasBeenSet = false;
246};
247
248} // namespace Model
249} // namespace B2BI
250} // 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)
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