AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Profile.h
1
6#pragma once
7#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/route53profiles/model/ShareStatus.h>
11#include <aws/route53profiles/model/ProfileStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Route53Profiles
25{
26namespace Model
27{
28
35 class Profile
36 {
37 public:
38 AWS_ROUTE53PROFILES_API Profile();
39 AWS_ROUTE53PROFILES_API Profile(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53PROFILES_API Profile& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ROUTE53PROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline Profile& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline Profile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline Profile& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
64 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
65 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
66 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
67 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
68 inline Profile& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
69 inline Profile& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
70 inline Profile& WithClientToken(const char* value) { SetClientToken(value); return *this;}
72
74
78 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
79 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
80 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
81 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
82 inline Profile& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
83 inline Profile& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetId() const{ return m_id; }
91 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
92 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
93 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
94 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
95 inline Profile& WithId(const Aws::String& value) { SetId(value); return *this;}
96 inline Profile& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
97 inline Profile& WithId(const char* value) { SetId(value); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetModificationTime() const{ return m_modificationTime; }
106 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
107 inline void SetModificationTime(const Aws::Utils::DateTime& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = value; }
108 inline void SetModificationTime(Aws::Utils::DateTime&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::move(value); }
109 inline Profile& WithModificationTime(const Aws::Utils::DateTime& value) { SetModificationTime(value); return *this;}
110 inline Profile& WithModificationTime(Aws::Utils::DateTime&& value) { SetModificationTime(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetName() const{ return m_name; }
118 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
119 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
120 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
121 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
122 inline Profile& WithName(const Aws::String& value) { SetName(value); return *this;}
123 inline Profile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
124 inline Profile& WithName(const char* value) { SetName(value); return *this;}
126
128
131 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
132 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
133 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
134 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
135 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
136 inline Profile& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
137 inline Profile& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
138 inline Profile& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
140
142
145 inline const ShareStatus& GetShareStatus() const{ return m_shareStatus; }
146 inline bool ShareStatusHasBeenSet() const { return m_shareStatusHasBeenSet; }
147 inline void SetShareStatus(const ShareStatus& value) { m_shareStatusHasBeenSet = true; m_shareStatus = value; }
148 inline void SetShareStatus(ShareStatus&& value) { m_shareStatusHasBeenSet = true; m_shareStatus = std::move(value); }
149 inline Profile& WithShareStatus(const ShareStatus& value) { SetShareStatus(value); return *this;}
150 inline Profile& WithShareStatus(ShareStatus&& value) { SetShareStatus(std::move(value)); return *this;}
152
154
157 inline const ProfileStatus& GetStatus() const{ return m_status; }
158 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
159 inline void SetStatus(const ProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; }
160 inline void SetStatus(ProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
161 inline Profile& WithStatus(const ProfileStatus& value) { SetStatus(value); return *this;}
162 inline Profile& WithStatus(ProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
164
166
169 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
170 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
171 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
172 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
173 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
174 inline Profile& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
175 inline Profile& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
176 inline Profile& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
178 private:
179
180 Aws::String m_arn;
181 bool m_arnHasBeenSet = false;
182
183 Aws::String m_clientToken;
184 bool m_clientTokenHasBeenSet = false;
185
186 Aws::Utils::DateTime m_creationTime;
187 bool m_creationTimeHasBeenSet = false;
188
189 Aws::String m_id;
190 bool m_idHasBeenSet = false;
191
192 Aws::Utils::DateTime m_modificationTime;
193 bool m_modificationTimeHasBeenSet = false;
194
195 Aws::String m_name;
196 bool m_nameHasBeenSet = false;
197
198 Aws::String m_ownerId;
199 bool m_ownerIdHasBeenSet = false;
200
201 ShareStatus m_shareStatus;
202 bool m_shareStatusHasBeenSet = false;
203
204 ProfileStatus m_status;
205 bool m_statusHasBeenSet = false;
206
207 Aws::String m_statusMessage;
208 bool m_statusMessageHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace Route53Profiles
213} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
Definition Profile.h:78
void SetId(Aws::String &&value)
Definition Profile.h:93
Profile & WithClientToken(const char *value)
Definition Profile.h:70
const ProfileStatus & GetStatus() const
Definition Profile.h:157
Profile & WithStatus(const ProfileStatus &value)
Definition Profile.h:161
Profile & WithName(Aws::String &&value)
Definition Profile.h:123
void SetOwnerId(const char *value)
Definition Profile.h:135
void SetModificationTime(Aws::Utils::DateTime &&value)
Definition Profile.h:108
void SetArn(Aws::String &&value)
Definition Profile.h:51
const Aws::String & GetStatusMessage() const
Definition Profile.h:169
AWS_ROUTE53PROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOwnerId(const Aws::String &value)
Definition Profile.h:133
void SetName(Aws::String &&value)
Definition Profile.h:120
Profile & WithOwnerId(Aws::String &&value)
Definition Profile.h:137
const Aws::String & GetClientToken() const
Definition Profile.h:63
void SetStatus(const ProfileStatus &value)
Definition Profile.h:159
void SetClientToken(const char *value)
Definition Profile.h:67
Profile & WithModificationTime(const Aws::Utils::DateTime &value)
Definition Profile.h:109
void SetArn(const char *value)
Definition Profile.h:52
const Aws::String & GetOwnerId() const
Definition Profile.h:131
void SetStatusMessage(const char *value)
Definition Profile.h:173
Profile & WithClientToken(const Aws::String &value)
Definition Profile.h:68
Profile & WithId(const char *value)
Definition Profile.h:97
Profile & WithOwnerId(const Aws::String &value)
Definition Profile.h:136
void SetShareStatus(const ShareStatus &value)
Definition Profile.h:147
Profile & WithArn(const char *value)
Definition Profile.h:55
Profile & WithClientToken(Aws::String &&value)
Definition Profile.h:69
void SetShareStatus(ShareStatus &&value)
Definition Profile.h:148
void SetName(const Aws::String &value)
Definition Profile.h:119
Profile & WithStatusMessage(const Aws::String &value)
Definition Profile.h:174
Profile & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Profile.h:82
void SetStatus(ProfileStatus &&value)
Definition Profile.h:160
Profile & WithArn(const Aws::String &value)
Definition Profile.h:53
Profile & WithShareStatus(const ShareStatus &value)
Definition Profile.h:149
Profile & WithName(const char *value)
Definition Profile.h:124
AWS_ROUTE53PROFILES_API Profile(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
Definition Profile.h:50
void SetStatusMessage(Aws::String &&value)
Definition Profile.h:172
const Aws::String & GetId() const
Definition Profile.h:90
Profile & WithId(Aws::String &&value)
Definition Profile.h:96
Profile & WithOwnerId(const char *value)
Definition Profile.h:138
void SetId(const Aws::String &value)
Definition Profile.h:92
void SetOwnerId(Aws::String &&value)
Definition Profile.h:134
Profile & WithStatusMessage(const char *value)
Definition Profile.h:176
void SetName(const char *value)
Definition Profile.h:121
void SetId(const char *value)
Definition Profile.h:94
Profile & WithShareStatus(ShareStatus &&value)
Definition Profile.h:150
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Profile.h:81
void SetModificationTime(const Aws::Utils::DateTime &value)
Definition Profile.h:107
const Aws::String & GetName() const
Definition Profile.h:117
Profile & WithArn(Aws::String &&value)
Definition Profile.h:54
const ShareStatus & GetShareStatus() const
Definition Profile.h:145
AWS_ROUTE53PROFILES_API Profile()
void SetStatusMessage(const Aws::String &value)
Definition Profile.h:171
Profile & WithModificationTime(Aws::Utils::DateTime &&value)
Definition Profile.h:110
void SetClientToken(const Aws::String &value)
Definition Profile.h:65
const Aws::String & GetArn() const
Definition Profile.h:48
const Aws::Utils::DateTime & GetModificationTime() const
Definition Profile.h:105
Profile & WithStatus(ProfileStatus &&value)
Definition Profile.h:162
AWS_ROUTE53PROFILES_API Profile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Profile.h:80
Profile & WithStatusMessage(Aws::String &&value)
Definition Profile.h:175
Profile & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Profile.h:83
Profile & WithName(const Aws::String &value)
Definition Profile.h:122
Profile & WithId(const Aws::String &value)
Definition Profile.h:95
void SetClientToken(Aws::String &&value)
Definition Profile.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue