AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateProfileResult.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 CreateProfileResult() = 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 CreateProfileResult& 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 CreateProfileResult& 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 CreateProfileResult& WithName(NameT&& value) {
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetBusinessName() const { return m_businessName; }
88 template <typename BusinessNameT = Aws::String>
89 void SetBusinessName(BusinessNameT&& value) {
90 m_businessNameHasBeenSet = true;
91 m_businessName = std::forward<BusinessNameT>(value);
92 }
93 template <typename BusinessNameT = Aws::String>
94 CreateProfileResult& WithBusinessName(BusinessNameT&& value) {
95 SetBusinessName(std::forward<BusinessNameT>(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& GetEmail() const { return m_email; }
122 template <typename EmailT = Aws::String>
123 void SetEmail(EmailT&& value) {
124 m_emailHasBeenSet = true;
125 m_email = std::forward<EmailT>(value);
126 }
127 template <typename EmailT = Aws::String>
129 SetEmail(std::forward<EmailT>(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 CreateProfileResult& 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 CreateProfileResult& WithCreatedAt(CreatedAtT&& value) {
178 SetCreatedAt(std::forward<CreatedAtT>(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>
192 CreateProfileResult& WithRequestId(RequestIdT&& value) {
193 SetRequestId(std::forward<RequestIdT>(value));
194 return *this;
195 }
197 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
198
199 private:
200 Aws::String m_profileId;
201
202 Aws::String m_profileArn;
203
204 Aws::String m_name;
205
206 Aws::String m_businessName;
207
208 Aws::String m_phone;
209
210 Aws::String m_email;
211
212 Logging m_logging{Logging::NOT_SET};
213
214 Aws::String m_logGroupName;
215
216 Aws::Utils::DateTime m_createdAt{};
217
218 Aws::String m_requestId;
219 Aws::Http::HttpResponseCode m_HttpResponseCode;
220 bool m_profileIdHasBeenSet = false;
221 bool m_profileArnHasBeenSet = false;
222 bool m_nameHasBeenSet = false;
223 bool m_businessNameHasBeenSet = false;
224 bool m_phoneHasBeenSet = false;
225 bool m_emailHasBeenSet = false;
226 bool m_loggingHasBeenSet = false;
227 bool m_logGroupNameHasBeenSet = false;
228 bool m_createdAtHasBeenSet = false;
229 bool m_requestIdHasBeenSet = false;
230};
231
232} // namespace Model
233} // namespace B2BI
234} // namespace Aws
void SetBusinessName(BusinessNameT &&value)
const Aws::String & GetRequestId() const
AWS_B2BI_API CreateProfileResult()=default
AWS_B2BI_API CreateProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLogGroupName(LogGroupNameT &&value)
const Aws::String & GetLogGroupName() const
const Aws::String & GetProfileId() const
CreateProfileResult & WithName(NameT &&value)
CreateProfileResult & WithProfileArn(ProfileArnT &&value)
CreateProfileResult & WithBusinessName(BusinessNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_B2BI_API CreateProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetProfileArn() const
CreateProfileResult & WithLogging(Logging value)
CreateProfileResult & WithEmail(EmailT &&value)
const Aws::String & GetBusinessName() const
CreateProfileResult & WithPhone(PhoneT &&value)
CreateProfileResult & WithCreatedAt(CreatedAtT &&value)
CreateProfileResult & WithRequestId(RequestIdT &&value)
CreateProfileResult & WithLogGroupName(LogGroupNameT &&value)
CreateProfileResult & WithProfileId(ProfileIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue