AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfileResourceAssociation.h
1
6#pragma once
7#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53profiles/model/ProfileStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Route53Profiles
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ROUTE53PROFILES_API ProfileResourceAssociation();
38 AWS_ROUTE53PROFILES_API ProfileResourceAssociation(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53PROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
49 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
50 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
51 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
53 inline ProfileResourceAssociation& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline ProfileResourceAssociation& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline ProfileResourceAssociation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline ProfileResourceAssociation& WithId(const char* value) { SetId(value); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetModificationTime() const{ return m_modificationTime; }
76 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
77 inline void SetModificationTime(const Aws::Utils::DateTime& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = value; }
78 inline void SetModificationTime(Aws::Utils::DateTime&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::move(value); }
82
84
87 inline const Aws::String& GetName() const{ return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 inline ProfileResourceAssociation& WithName(const Aws::String& value) { SetName(value); return *this;}
93 inline ProfileResourceAssociation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
94 inline ProfileResourceAssociation& WithName(const char* value) { SetName(value); return *this;}
96
98
102 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
103 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
104 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
105 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
106 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
107 inline ProfileResourceAssociation& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
108 inline ProfileResourceAssociation& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
109 inline ProfileResourceAssociation& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
111
113
116 inline const Aws::String& GetProfileId() const{ return m_profileId; }
117 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
118 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
119 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
120 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
121 inline ProfileResourceAssociation& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
122 inline ProfileResourceAssociation& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
123 inline ProfileResourceAssociation& WithProfileId(const char* value) { SetProfileId(value); return *this;}
125
127
130 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
131 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
132 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
133 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
134 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
135 inline ProfileResourceAssociation& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
136 inline ProfileResourceAssociation& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
137 inline ProfileResourceAssociation& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
139
141
145 inline const Aws::String& GetResourceProperties() const{ return m_resourceProperties; }
146 inline bool ResourcePropertiesHasBeenSet() const { return m_resourcePropertiesHasBeenSet; }
147 inline void SetResourceProperties(const Aws::String& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = value; }
148 inline void SetResourceProperties(Aws::String&& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = std::move(value); }
149 inline void SetResourceProperties(const char* value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties.assign(value); }
151 inline ProfileResourceAssociation& WithResourceProperties(Aws::String&& value) { SetResourceProperties(std::move(value)); return *this;}
152 inline ProfileResourceAssociation& WithResourceProperties(const char* value) { SetResourceProperties(value); return *this;}
154
156
160 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
161 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
162 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
163 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
164 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
165 inline ProfileResourceAssociation& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
166 inline ProfileResourceAssociation& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
167 inline ProfileResourceAssociation& WithResourceType(const char* value) { SetResourceType(value); return *this;}
169
171
174 inline const ProfileStatus& GetStatus() const{ return m_status; }
175 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
176 inline void SetStatus(const ProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; }
177 inline void SetStatus(ProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
178 inline ProfileResourceAssociation& WithStatus(const ProfileStatus& value) { SetStatus(value); return *this;}
179 inline ProfileResourceAssociation& WithStatus(ProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
181
183
186 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
187 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
188 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
189 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
190 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
191 inline ProfileResourceAssociation& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
192 inline ProfileResourceAssociation& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
193 inline ProfileResourceAssociation& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
195 private:
196
197 Aws::Utils::DateTime m_creationTime;
198 bool m_creationTimeHasBeenSet = false;
199
200 Aws::String m_id;
201 bool m_idHasBeenSet = false;
202
203 Aws::Utils::DateTime m_modificationTime;
204 bool m_modificationTimeHasBeenSet = false;
205
206 Aws::String m_name;
207 bool m_nameHasBeenSet = false;
208
209 Aws::String m_ownerId;
210 bool m_ownerIdHasBeenSet = false;
211
212 Aws::String m_profileId;
213 bool m_profileIdHasBeenSet = false;
214
215 Aws::String m_resourceArn;
216 bool m_resourceArnHasBeenSet = false;
217
218 Aws::String m_resourceProperties;
219 bool m_resourcePropertiesHasBeenSet = false;
220
221 Aws::String m_resourceType;
222 bool m_resourceTypeHasBeenSet = false;
223
224 ProfileStatus m_status;
225 bool m_statusHasBeenSet = false;
226
227 Aws::String m_statusMessage;
228 bool m_statusMessageHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace Route53Profiles
233} // namespace Aws
ProfileResourceAssociation & WithOwnerId(const char *value)
ProfileResourceAssociation & WithName(const Aws::String &value)
AWS_ROUTE53PROFILES_API ProfileResourceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53PROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileResourceAssociation & WithProfileId(const Aws::String &value)
ProfileResourceAssociation & WithStatusMessage(const char *value)
ProfileResourceAssociation & WithModificationTime(Aws::Utils::DateTime &&value)
ProfileResourceAssociation & WithCreationTime(const Aws::Utils::DateTime &value)
ProfileResourceAssociation & WithId(const char *value)
ProfileResourceAssociation & WithId(const Aws::String &value)
ProfileResourceAssociation & WithCreationTime(Aws::Utils::DateTime &&value)
ProfileResourceAssociation & WithResourceType(const char *value)
ProfileResourceAssociation & WithResourceProperties(Aws::String &&value)
ProfileResourceAssociation & WithStatusMessage(Aws::String &&value)
ProfileResourceAssociation & WithProfileId(const char *value)
ProfileResourceAssociation & WithOwnerId(const Aws::String &value)
ProfileResourceAssociation & WithResourceProperties(const Aws::String &value)
ProfileResourceAssociation & WithResourceProperties(const char *value)
ProfileResourceAssociation & WithResourceType(Aws::String &&value)
ProfileResourceAssociation & WithId(Aws::String &&value)
AWS_ROUTE53PROFILES_API ProfileResourceAssociation(Aws::Utils::Json::JsonView jsonValue)
ProfileResourceAssociation & WithStatus(const ProfileStatus &value)
ProfileResourceAssociation & WithResourceArn(const char *value)
ProfileResourceAssociation & WithProfileId(Aws::String &&value)
ProfileResourceAssociation & WithResourceType(const Aws::String &value)
ProfileResourceAssociation & WithStatus(ProfileStatus &&value)
ProfileResourceAssociation & WithName(const char *value)
ProfileResourceAssociation & WithName(Aws::String &&value)
ProfileResourceAssociation & WithModificationTime(const Aws::Utils::DateTime &value)
ProfileResourceAssociation & WithOwnerId(Aws::String &&value)
ProfileResourceAssociation & WithResourceArn(Aws::String &&value)
ProfileResourceAssociation & WithResourceArn(const Aws::String &value)
ProfileResourceAssociation & WithStatusMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue