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/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/wellarchitected/model/ProfileQuestion.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace WellArchitected
26{
27namespace Model
28{
29
35 class Profile
36 {
37 public:
38 AWS_WELLARCHITECTED_API Profile();
39 AWS_WELLARCHITECTED_API Profile(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API Profile& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
49 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
50 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
51 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
52 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
53 inline Profile& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
54 inline Profile& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
55 inline Profile& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
57
59
62 inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; }
63 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
64 inline void SetProfileVersion(const Aws::String& value) { m_profileVersionHasBeenSet = true; m_profileVersion = value; }
65 inline void SetProfileVersion(Aws::String&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::move(value); }
66 inline void SetProfileVersion(const char* value) { m_profileVersionHasBeenSet = true; m_profileVersion.assign(value); }
67 inline Profile& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;}
68 inline Profile& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;}
69 inline Profile& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;}
71
73
76 inline const Aws::String& GetProfileName() const{ return m_profileName; }
77 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
78 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
79 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
80 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
81 inline Profile& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
82 inline Profile& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
83 inline Profile& WithProfileName(const char* value) { SetProfileName(value); return *this;}
85
87
90 inline const Aws::String& GetProfileDescription() const{ return m_profileDescription; }
91 inline bool ProfileDescriptionHasBeenSet() const { return m_profileDescriptionHasBeenSet; }
92 inline void SetProfileDescription(const Aws::String& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = value; }
93 inline void SetProfileDescription(Aws::String&& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = std::move(value); }
94 inline void SetProfileDescription(const char* value) { m_profileDescriptionHasBeenSet = true; m_profileDescription.assign(value); }
95 inline Profile& WithProfileDescription(const Aws::String& value) { SetProfileDescription(value); return *this;}
96 inline Profile& WithProfileDescription(Aws::String&& value) { SetProfileDescription(std::move(value)); return *this;}
97 inline Profile& WithProfileDescription(const char* value) { SetProfileDescription(value); return *this;}
99
101
104 inline const Aws::Vector<ProfileQuestion>& GetProfileQuestions() const{ return m_profileQuestions; }
105 inline bool ProfileQuestionsHasBeenSet() const { return m_profileQuestionsHasBeenSet; }
106 inline void SetProfileQuestions(const Aws::Vector<ProfileQuestion>& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions = value; }
107 inline void SetProfileQuestions(Aws::Vector<ProfileQuestion>&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions = std::move(value); }
109 inline Profile& WithProfileQuestions(Aws::Vector<ProfileQuestion>&& value) { SetProfileQuestions(std::move(value)); return *this;}
110 inline Profile& AddProfileQuestions(const ProfileQuestion& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.push_back(value); return *this; }
111 inline Profile& AddProfileQuestions(ProfileQuestion&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.push_back(std::move(value)); return *this; }
113
115
116 inline const Aws::String& GetOwner() const{ return m_owner; }
117 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
118 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
119 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
120 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
121 inline Profile& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
122 inline Profile& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
123 inline Profile& WithOwner(const char* value) { SetOwner(value); return *this;}
125
127
128 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
129 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
130 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
131 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
132 inline Profile& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
133 inline Profile& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
135
137
138 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
139 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
140 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
141 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
142 inline Profile& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
143 inline Profile& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
145
147
150 inline const Aws::String& GetShareInvitationId() const{ return m_shareInvitationId; }
151 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
152 inline void SetShareInvitationId(const Aws::String& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = value; }
153 inline void SetShareInvitationId(Aws::String&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::move(value); }
154 inline void SetShareInvitationId(const char* value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId.assign(value); }
155 inline Profile& WithShareInvitationId(const Aws::String& value) { SetShareInvitationId(value); return *this;}
156 inline Profile& WithShareInvitationId(Aws::String&& value) { SetShareInvitationId(std::move(value)); return *this;}
157 inline Profile& WithShareInvitationId(const char* value) { SetShareInvitationId(value); return *this;}
159
161
164 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
165 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
166 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
167 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
168 inline Profile& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
169 inline Profile& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
170 inline Profile& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
171 inline Profile& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
172 inline Profile& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
173 inline Profile& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
174 inline Profile& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
175 inline Profile& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
176 inline Profile& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
178 private:
179
180 Aws::String m_profileArn;
181 bool m_profileArnHasBeenSet = false;
182
183 Aws::String m_profileVersion;
184 bool m_profileVersionHasBeenSet = false;
185
186 Aws::String m_profileName;
187 bool m_profileNameHasBeenSet = false;
188
189 Aws::String m_profileDescription;
190 bool m_profileDescriptionHasBeenSet = false;
191
192 Aws::Vector<ProfileQuestion> m_profileQuestions;
193 bool m_profileQuestionsHasBeenSet = false;
194
195 Aws::String m_owner;
196 bool m_ownerHasBeenSet = false;
197
198 Aws::Utils::DateTime m_createdAt;
199 bool m_createdAtHasBeenSet = false;
200
201 Aws::Utils::DateTime m_updatedAt;
202 bool m_updatedAtHasBeenSet = false;
203
204 Aws::String m_shareInvitationId;
205 bool m_shareInvitationIdHasBeenSet = false;
206
208 bool m_tagsHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace WellArchitected
213} // namespace Aws
Profile & AddTags(const char *key, Aws::String &&value)
Definition Profile.h:174
Profile & WithProfileArn(Aws::String &&value)
Definition Profile.h:54
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Profile.h:167
Profile & WithProfileName(const Aws::String &value)
Definition Profile.h:81
Profile & WithProfileVersion(const char *value)
Definition Profile.h:69
Profile & WithOwner(const char *value)
Definition Profile.h:123
void SetShareInvitationId(const Aws::String &value)
Definition Profile.h:152
Profile & WithProfileName(const char *value)
Definition Profile.h:83
Profile & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Profile.h:132
Profile & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Profile.h:133
Profile & WithProfileDescription(const char *value)
Definition Profile.h:97
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Profile.h:130
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Profile.h:128
Profile & WithOwner(const Aws::String &value)
Definition Profile.h:121
Profile & AddTags(Aws::String &&key, const char *value)
Definition Profile.h:175
void SetProfileQuestions(Aws::Vector< ProfileQuestion > &&value)
Definition Profile.h:107
void SetProfileVersion(const char *value)
Definition Profile.h:66
void SetProfileDescription(const char *value)
Definition Profile.h:94
void SetProfileName(const Aws::String &value)
Definition Profile.h:78
Profile & AddTags(const Aws::String &key, Aws::String &&value)
Definition Profile.h:172
bool ProfileDescriptionHasBeenSet() const
Definition Profile.h:91
const Aws::String & GetProfileVersion() const
Definition Profile.h:62
void SetProfileDescription(Aws::String &&value)
Definition Profile.h:93
Profile & AddTags(Aws::String &&key, const Aws::String &value)
Definition Profile.h:171
void SetOwner(const Aws::String &value)
Definition Profile.h:118
Profile & WithOwner(Aws::String &&value)
Definition Profile.h:122
void SetOwner(Aws::String &&value)
Definition Profile.h:119
Profile & AddTags(Aws::String &&key, Aws::String &&value)
Definition Profile.h:173
const Aws::String & GetShareInvitationId() const
Definition Profile.h:150
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Profile.h:141
Profile & AddProfileQuestions(ProfileQuestion &&value)
Definition Profile.h:111
Profile & WithShareInvitationId(Aws::String &&value)
Definition Profile.h:156
void SetProfileVersion(const Aws::String &value)
Definition Profile.h:64
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Profile.h:166
const Aws::String & GetProfileDescription() const
Definition Profile.h:90
Profile & WithProfileVersion(const Aws::String &value)
Definition Profile.h:67
Profile & WithProfileDescription(const Aws::String &value)
Definition Profile.h:95
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API Profile()
void SetProfileDescription(const Aws::String &value)
Definition Profile.h:92
Profile & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Profile.h:142
Profile & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Profile.h:143
void SetProfileQuestions(const Aws::Vector< ProfileQuestion > &value)
Definition Profile.h:106
void SetProfileArn(const char *value)
Definition Profile.h:52
void SetProfileArn(const Aws::String &value)
Definition Profile.h:50
const Aws::String & GetProfileName() const
Definition Profile.h:76
void SetProfileName(const char *value)
Definition Profile.h:80
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Profile.h:138
Profile & WithProfileName(Aws::String &&value)
Definition Profile.h:82
const Aws::String & GetOwner() const
Definition Profile.h:116
Profile & WithProfileVersion(Aws::String &&value)
Definition Profile.h:68
Profile & WithProfileQuestions(Aws::Vector< ProfileQuestion > &&value)
Definition Profile.h:109
void SetProfileName(Aws::String &&value)
Definition Profile.h:79
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Profile.h:140
Profile & WithShareInvitationId(const Aws::String &value)
Definition Profile.h:155
Profile & AddTags(const char *key, const char *value)
Definition Profile.h:176
const Aws::String & GetProfileArn() const
Definition Profile.h:48
void SetShareInvitationId(const char *value)
Definition Profile.h:154
void SetOwner(const char *value)
Definition Profile.h:120
AWS_WELLARCHITECTED_API Profile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProfileVersion(Aws::String &&value)
Definition Profile.h:65
Profile & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Profile.h:169
Profile & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Profile.h:168
void SetShareInvitationId(Aws::String &&value)
Definition Profile.h:153
Profile & AddTags(const Aws::String &key, const Aws::String &value)
Definition Profile.h:170
Profile & AddProfileQuestions(const ProfileQuestion &value)
Definition Profile.h:110
Profile & WithProfileArn(const char *value)
Definition Profile.h:55
const Aws::Vector< ProfileQuestion > & GetProfileQuestions() const
Definition Profile.h:104
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Profile.h:164
Profile & WithShareInvitationId(const char *value)
Definition Profile.h:157
void SetProfileArn(Aws::String &&value)
Definition Profile.h:51
Profile & WithProfileDescription(Aws::String &&value)
Definition Profile.h:96
Profile & WithProfileArn(const Aws::String &value)
Definition Profile.h:53
Profile & WithProfileQuestions(const Aws::Vector< ProfileQuestion > &value)
Definition Profile.h:108
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Profile.h:131
AWS_WELLARCHITECTED_API Profile(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue