AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProfileResult.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 CreateProfileResult();
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 CreateProfileResult& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
46 inline CreateProfileResult& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
47 inline CreateProfileResult& WithProfileId(const char* value) { SetProfileId(value); return *this;}
49
51
54 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
55 inline void SetProfileArn(const Aws::String& value) { m_profileArn = value; }
56 inline void SetProfileArn(Aws::String&& value) { m_profileArn = std::move(value); }
57 inline void SetProfileArn(const char* value) { m_profileArn.assign(value); }
58 inline CreateProfileResult& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
59 inline CreateProfileResult& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
60 inline CreateProfileResult& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline void SetName(const Aws::String& value) { m_name = value; }
69 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
70 inline void SetName(const char* value) { m_name.assign(value); }
71 inline CreateProfileResult& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline CreateProfileResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline CreateProfileResult& WithName(const char* value) { SetName(value); return *this;}
75
77
80 inline const Aws::String& GetBusinessName() const{ return m_businessName; }
81 inline void SetBusinessName(const Aws::String& value) { m_businessName = value; }
82 inline void SetBusinessName(Aws::String&& value) { m_businessName = std::move(value); }
83 inline void SetBusinessName(const char* value) { m_businessName.assign(value); }
84 inline CreateProfileResult& WithBusinessName(const Aws::String& value) { SetBusinessName(value); return *this;}
85 inline CreateProfileResult& WithBusinessName(Aws::String&& value) { SetBusinessName(std::move(value)); return *this;}
86 inline CreateProfileResult& WithBusinessName(const char* value) { SetBusinessName(value); return *this;}
88
90
93 inline const Aws::String& GetPhone() const{ return m_phone; }
94 inline void SetPhone(const Aws::String& value) { m_phone = value; }
95 inline void SetPhone(Aws::String&& value) { m_phone = std::move(value); }
96 inline void SetPhone(const char* value) { m_phone.assign(value); }
97 inline CreateProfileResult& WithPhone(const Aws::String& value) { SetPhone(value); return *this;}
98 inline CreateProfileResult& WithPhone(Aws::String&& value) { SetPhone(std::move(value)); return *this;}
99 inline CreateProfileResult& WithPhone(const char* value) { SetPhone(value); return *this;}
101
103
106 inline const Aws::String& GetEmail() const{ return m_email; }
107 inline void SetEmail(const Aws::String& value) { m_email = value; }
108 inline void SetEmail(Aws::String&& value) { m_email = std::move(value); }
109 inline void SetEmail(const char* value) { m_email.assign(value); }
110 inline CreateProfileResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
111 inline CreateProfileResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
112 inline CreateProfileResult& WithEmail(const char* value) { SetEmail(value); return *this;}
114
116
119 inline const Logging& GetLogging() const{ return m_logging; }
120 inline void SetLogging(const Logging& value) { m_logging = value; }
121 inline void SetLogging(Logging&& value) { m_logging = std::move(value); }
122 inline CreateProfileResult& WithLogging(const Logging& value) { SetLogging(value); return *this;}
123 inline CreateProfileResult& WithLogging(Logging&& value) { SetLogging(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
131 inline void SetLogGroupName(const Aws::String& value) { m_logGroupName = value; }
132 inline void SetLogGroupName(Aws::String&& value) { m_logGroupName = std::move(value); }
133 inline void SetLogGroupName(const char* value) { m_logGroupName.assign(value); }
134 inline CreateProfileResult& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
135 inline CreateProfileResult& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
136 inline CreateProfileResult& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
144 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
145 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
146 inline CreateProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
147 inline CreateProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
149
151
152 inline const Aws::String& GetRequestId() const{ return m_requestId; }
153 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
154 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
155 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
156 inline CreateProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
157 inline CreateProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
158 inline CreateProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
160 private:
161
162 Aws::String m_profileId;
163
164 Aws::String m_profileArn;
165
166 Aws::String m_name;
167
168 Aws::String m_businessName;
169
170 Aws::String m_phone;
171
172 Aws::String m_email;
173
174 Logging m_logging;
175
176 Aws::String m_logGroupName;
177
178 Aws::Utils::DateTime m_createdAt;
179
180 Aws::String m_requestId;
181 };
182
183} // namespace Model
184} // namespace B2BI
185} // namespace Aws
CreateProfileResult & WithLogGroupName(const Aws::String &value)
CreateProfileResult & WithLogging(const Logging &value)
const Aws::String & GetRequestId() const
CreateProfileResult & WithProfileId(const char *value)
CreateProfileResult & WithProfileArn(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateProfileResult & WithBusinessName(const char *value)
AWS_B2BI_API CreateProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProfileResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetBusinessName(const Aws::String &value)
CreateProfileResult & WithEmail(Aws::String &&value)
const Aws::String & GetLogGroupName() const
CreateProfileResult & WithProfileArn(Aws::String &&value)
const Aws::String & GetProfileId() const
CreateProfileResult & WithProfileId(const Aws::String &value)
CreateProfileResult & WithName(const char *value)
void SetBusinessName(Aws::String &&value)
void SetEmail(const Aws::String &value)
void SetLogGroupName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateProfileResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
CreateProfileResult & WithName(Aws::String &&value)
void SetProfileArn(const Aws::String &value)
CreateProfileResult & WithName(const Aws::String &value)
CreateProfileResult & WithBusinessName(Aws::String &&value)
CreateProfileResult & WithRequestId(const char *value)
AWS_B2BI_API CreateProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetProfileArn() const
CreateProfileResult & WithPhone(const char *value)
CreateProfileResult & WithLogging(Logging &&value)
const Aws::String & GetBusinessName() const
CreateProfileResult & WithLogGroupName(Aws::String &&value)
CreateProfileResult & WithLogGroupName(const char *value)
CreateProfileResult & WithProfileId(Aws::String &&value)
CreateProfileResult & WithBusinessName(const Aws::String &value)
CreateProfileResult & WithEmail(const Aws::String &value)
CreateProfileResult & WithRequestId(const Aws::String &value)
void SetName(const Aws::String &value)
CreateProfileResult & WithPhone(Aws::String &&value)
CreateProfileResult & WithEmail(const char *value)
CreateProfileResult & WithProfileArn(const Aws::String &value)
void SetPhone(const Aws::String &value)
CreateProfileResult & WithRequestId(Aws::String &&value)
CreateProfileResult & WithPhone(const Aws::String &value)
void SetProfileId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue