AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetProfileResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/b2bi/model/Logging.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace B2BI
26{
27namespace Model
28{
30 {
31 public:
32 AWS_B2BI_API GetProfileResult() = default;
35
36
38
41 inline const Aws::String& GetProfileId() const { return m_profileId; }
42 template<typename ProfileIdT = Aws::String>
43 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
44 template<typename ProfileIdT = Aws::String>
45 GetProfileResult& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
54 template<typename ProfileArnT = Aws::String>
55 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
56 template<typename ProfileArnT = Aws::String>
57 GetProfileResult& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const { return m_name; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 GetProfileResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetEmail() const { return m_email; }
76 template<typename EmailT = Aws::String>
77 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
78 template<typename EmailT = Aws::String>
79 GetProfileResult& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
81
83
86 inline const Aws::String& GetPhone() const { return m_phone; }
87 template<typename PhoneT = Aws::String>
88 void SetPhone(PhoneT&& value) { m_phoneHasBeenSet = true; m_phone = std::forward<PhoneT>(value); }
89 template<typename PhoneT = Aws::String>
90 GetProfileResult& WithPhone(PhoneT&& value) { SetPhone(std::forward<PhoneT>(value)); return *this;}
92
94
97 inline const Aws::String& GetBusinessName() const { return m_businessName; }
98 template<typename BusinessNameT = Aws::String>
99 void SetBusinessName(BusinessNameT&& value) { m_businessNameHasBeenSet = true; m_businessName = std::forward<BusinessNameT>(value); }
100 template<typename BusinessNameT = Aws::String>
101 GetProfileResult& WithBusinessName(BusinessNameT&& value) { SetBusinessName(std::forward<BusinessNameT>(value)); return *this;}
103
105
108 inline Logging GetLogging() const { return m_logging; }
109 inline void SetLogging(Logging value) { m_loggingHasBeenSet = true; m_logging = value; }
110 inline GetProfileResult& WithLogging(Logging value) { SetLogging(value); return *this;}
112
114
117 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
118 template<typename LogGroupNameT = Aws::String>
119 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::forward<LogGroupNameT>(value); }
120 template<typename LogGroupNameT = Aws::String>
121 GetProfileResult& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
129 template<typename CreatedAtT = Aws::Utils::DateTime>
130 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
131 template<typename CreatedAtT = Aws::Utils::DateTime>
132 GetProfileResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
140 template<typename ModifiedAtT = Aws::Utils::DateTime>
141 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
142 template<typename ModifiedAtT = Aws::Utils::DateTime>
143 GetProfileResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
145
147
148 inline const Aws::String& GetRequestId() const { return m_requestId; }
149 template<typename RequestIdT = Aws::String>
150 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
151 template<typename RequestIdT = Aws::String>
152 GetProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
154 private:
155
156 Aws::String m_profileId;
157 bool m_profileIdHasBeenSet = false;
158
159 Aws::String m_profileArn;
160 bool m_profileArnHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 Aws::String m_email;
166 bool m_emailHasBeenSet = false;
167
168 Aws::String m_phone;
169 bool m_phoneHasBeenSet = false;
170
171 Aws::String m_businessName;
172 bool m_businessNameHasBeenSet = false;
173
174 Logging m_logging{Logging::NOT_SET};
175 bool m_loggingHasBeenSet = false;
176
177 Aws::String m_logGroupName;
178 bool m_logGroupNameHasBeenSet = false;
179
180 Aws::Utils::DateTime m_createdAt{};
181 bool m_createdAtHasBeenSet = false;
182
183 Aws::Utils::DateTime m_modifiedAt{};
184 bool m_modifiedAtHasBeenSet = false;
185
186 Aws::String m_requestId;
187 bool m_requestIdHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace B2BI
192} // 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)
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