AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetProfileId() const{ return m_profileId; }
42 inline void SetProfileId(const Aws::String& value) { m_profileId = value; }
43 inline void SetProfileId(Aws::String&& value) { m_profileId = std::move(value); }
44 inline void SetProfileId(const char* value) { m_profileId.assign(value); }
45 inline GetProfileResult& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
46 inline GetProfileResult& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
47 inline GetProfileResult& WithProfileId(const char* value) { SetProfileId(value); return *this;}
49
51
55 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
56 inline void SetProfileArn(const Aws::String& value) { m_profileArn = value; }
57 inline void SetProfileArn(Aws::String&& value) { m_profileArn = std::move(value); }
58 inline void SetProfileArn(const char* value) { m_profileArn.assign(value); }
59 inline GetProfileResult& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
60 inline GetProfileResult& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
61 inline GetProfileResult& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline void SetName(const Aws::String& value) { m_name = value; }
70 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
71 inline void SetName(const char* value) { m_name.assign(value); }
72 inline GetProfileResult& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline GetProfileResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline GetProfileResult& WithName(const char* value) { SetName(value); return *this;}
76
78
81 inline const Aws::String& GetEmail() const{ return m_email; }
82 inline void SetEmail(const Aws::String& value) { m_email = value; }
83 inline void SetEmail(Aws::String&& value) { m_email = std::move(value); }
84 inline void SetEmail(const char* value) { m_email.assign(value); }
85 inline GetProfileResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
86 inline GetProfileResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
87 inline GetProfileResult& WithEmail(const char* value) { SetEmail(value); return *this;}
89
91
94 inline const Aws::String& GetPhone() const{ return m_phone; }
95 inline void SetPhone(const Aws::String& value) { m_phone = value; }
96 inline void SetPhone(Aws::String&& value) { m_phone = std::move(value); }
97 inline void SetPhone(const char* value) { m_phone.assign(value); }
98 inline GetProfileResult& WithPhone(const Aws::String& value) { SetPhone(value); return *this;}
99 inline GetProfileResult& WithPhone(Aws::String&& value) { SetPhone(std::move(value)); return *this;}
100 inline GetProfileResult& WithPhone(const char* value) { SetPhone(value); return *this;}
102
104
107 inline const Aws::String& GetBusinessName() const{ return m_businessName; }
108 inline void SetBusinessName(const Aws::String& value) { m_businessName = value; }
109 inline void SetBusinessName(Aws::String&& value) { m_businessName = std::move(value); }
110 inline void SetBusinessName(const char* value) { m_businessName.assign(value); }
111 inline GetProfileResult& WithBusinessName(const Aws::String& value) { SetBusinessName(value); return *this;}
112 inline GetProfileResult& WithBusinessName(Aws::String&& value) { SetBusinessName(std::move(value)); return *this;}
113 inline GetProfileResult& WithBusinessName(const char* value) { SetBusinessName(value); return *this;}
115
117
120 inline const Logging& GetLogging() const{ return m_logging; }
121 inline void SetLogging(const Logging& value) { m_logging = value; }
122 inline void SetLogging(Logging&& value) { m_logging = std::move(value); }
123 inline GetProfileResult& WithLogging(const Logging& value) { SetLogging(value); return *this;}
124 inline GetProfileResult& WithLogging(Logging&& value) { SetLogging(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
132 inline void SetLogGroupName(const Aws::String& value) { m_logGroupName = value; }
133 inline void SetLogGroupName(Aws::String&& value) { m_logGroupName = std::move(value); }
134 inline void SetLogGroupName(const char* value) { m_logGroupName.assign(value); }
135 inline GetProfileResult& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
136 inline GetProfileResult& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
137 inline GetProfileResult& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
145 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
146 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
147 inline GetProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
148 inline GetProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
156 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
157 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
158 inline GetProfileResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
159 inline GetProfileResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
161
163
164 inline const Aws::String& GetRequestId() const{ return m_requestId; }
165 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
166 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
167 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
168 inline GetProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
169 inline GetProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
170 inline GetProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
172 private:
173
174 Aws::String m_profileId;
175
176 Aws::String m_profileArn;
177
178 Aws::String m_name;
179
180 Aws::String m_email;
181
182 Aws::String m_phone;
183
184 Aws::String m_businessName;
185
186 Logging m_logging;
187
188 Aws::String m_logGroupName;
189
190 Aws::Utils::DateTime m_createdAt;
191
192 Aws::Utils::DateTime m_modifiedAt;
193
194 Aws::String m_requestId;
195 };
196
197} // namespace Model
198} // namespace B2BI
199} // namespace Aws
void SetRequestId(Aws::String &&value)
GetProfileResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetProfileArn(const char *value)
const Aws::String & GetBusinessName() const
GetProfileResult & WithName(const Aws::String &value)
GetProfileResult & WithModifiedAt(Aws::Utils::DateTime &&value)
void SetPhone(Aws::String &&value)
void SetProfileArn(Aws::String &&value)
GetProfileResult & WithProfileId(const Aws::String &value)
AWS_B2BI_API GetProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLogGroupName(Aws::String &&value)
void SetLogGroupName(const Aws::String &value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
void SetBusinessName(const Aws::String &value)
GetProfileResult & WithEmail(Aws::String &&value)
void SetName(const Aws::String &value)
GetProfileResult & WithPhone(Aws::String &&value)
GetProfileResult & WithRequestId(Aws::String &&value)
GetProfileResult & WithName(const char *value)
GetProfileResult & WithLogging(Logging &&value)
GetProfileResult & WithName(Aws::String &&value)
GetProfileResult & WithEmail(const Aws::String &value)
GetProfileResult & WithPhone(const char *value)
GetProfileResult & WithLogGroupName(Aws::String &&value)
GetProfileResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetProfileResult & WithPhone(const Aws::String &value)
GetProfileResult & WithProfileArn(Aws::String &&value)
GetProfileResult & WithRequestId(const char *value)
void SetBusinessName(const char *value)
void SetLogGroupName(const char *value)
GetProfileResult & WithModifiedAt(const Aws::Utils::DateTime &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
void SetProfileId(Aws::String &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
GetProfileResult & WithBusinessName(Aws::String &&value)
const Aws::String & GetProfileId() const
GetProfileResult & WithBusinessName(const Aws::String &value)
GetProfileResult & WithProfileArn(const char *value)
const Aws::String & GetName() const
GetProfileResult & WithLogging(const Logging &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetProfileResult & WithProfileId(Aws::String &&value)
void SetProfileArn(const Aws::String &value)
void SetBusinessName(Aws::String &&value)
GetProfileResult & WithProfileId(const char *value)
GetProfileResult & WithBusinessName(const char *value)
GetProfileResult & WithLogGroupName(const char *value)
void SetRequestId(const char *value)
const Aws::String & GetRequestId() const
void SetEmail(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetPhone() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetProfileArn() const
GetProfileResult & WithProfileArn(const Aws::String &value)
AWS_B2BI_API GetProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProfileId(const Aws::String &value)
GetProfileResult & WithLogGroupName(const Aws::String &value)
GetProfileResult & WithEmail(const char *value)
void SetLogging(const Logging &value)
const Aws::String & GetLogGroupName() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetProfileResult & WithRequestId(const Aws::String &value)
const Aws::String & GetEmail() const
void SetPhone(const Aws::String &value)
void SetProfileId(const char *value)
void SetEmail(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue