AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ProfileArnT = Aws::String>
51 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
52 template<typename ProfileArnT = Aws::String>
53 Profile& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
61 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
62 template<typename ProfileVersionT = Aws::String>
63 void SetProfileVersion(ProfileVersionT&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::forward<ProfileVersionT>(value); }
64 template<typename ProfileVersionT = Aws::String>
65 Profile& WithProfileVersion(ProfileVersionT&& value) { SetProfileVersion(std::forward<ProfileVersionT>(value)); return *this;}
67
69
72 inline const Aws::String& GetProfileName() const { return m_profileName; }
73 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
74 template<typename ProfileNameT = Aws::String>
75 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
76 template<typename ProfileNameT = Aws::String>
77 Profile& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetProfileDescription() const { return m_profileDescription; }
85 inline bool ProfileDescriptionHasBeenSet() const { return m_profileDescriptionHasBeenSet; }
86 template<typename ProfileDescriptionT = Aws::String>
87 void SetProfileDescription(ProfileDescriptionT&& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = std::forward<ProfileDescriptionT>(value); }
88 template<typename ProfileDescriptionT = Aws::String>
89 Profile& WithProfileDescription(ProfileDescriptionT&& value) { SetProfileDescription(std::forward<ProfileDescriptionT>(value)); return *this;}
91
93
96 inline const Aws::Vector<ProfileQuestion>& GetProfileQuestions() const { return m_profileQuestions; }
97 inline bool ProfileQuestionsHasBeenSet() const { return m_profileQuestionsHasBeenSet; }
98 template<typename ProfileQuestionsT = Aws::Vector<ProfileQuestion>>
99 void SetProfileQuestions(ProfileQuestionsT&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions = std::forward<ProfileQuestionsT>(value); }
100 template<typename ProfileQuestionsT = Aws::Vector<ProfileQuestion>>
101 Profile& WithProfileQuestions(ProfileQuestionsT&& value) { SetProfileQuestions(std::forward<ProfileQuestionsT>(value)); return *this;}
102 template<typename ProfileQuestionsT = ProfileQuestion>
103 Profile& AddProfileQuestions(ProfileQuestionsT&& value) { m_profileQuestionsHasBeenSet = true; m_profileQuestions.emplace_back(std::forward<ProfileQuestionsT>(value)); return *this; }
105
107
108 inline const Aws::String& GetOwner() const { return m_owner; }
109 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
110 template<typename OwnerT = Aws::String>
111 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
112 template<typename OwnerT = Aws::String>
113 Profile& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
115
117
118 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
119 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
120 template<typename CreatedAtT = Aws::Utils::DateTime>
121 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
122 template<typename CreatedAtT = Aws::Utils::DateTime>
123 Profile& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
125
127
128 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
129 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
130 template<typename UpdatedAtT = Aws::Utils::DateTime>
131 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
132 template<typename UpdatedAtT = Aws::Utils::DateTime>
133 Profile& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
135
137
140 inline const Aws::String& GetShareInvitationId() const { return m_shareInvitationId; }
141 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
142 template<typename ShareInvitationIdT = Aws::String>
143 void SetShareInvitationId(ShareInvitationIdT&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::forward<ShareInvitationIdT>(value); }
144 template<typename ShareInvitationIdT = Aws::String>
145 Profile& WithShareInvitationId(ShareInvitationIdT&& value) { SetShareInvitationId(std::forward<ShareInvitationIdT>(value)); return *this;}
147
149
152 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
153 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
154 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
156 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 Profile& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
158 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
159 Profile& AddTags(TagsKeyT&& key, TagsValueT&& value) {
160 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
161 }
163 private:
164
165 Aws::String m_profileArn;
166 bool m_profileArnHasBeenSet = false;
167
168 Aws::String m_profileVersion;
169 bool m_profileVersionHasBeenSet = false;
170
171 Aws::String m_profileName;
172 bool m_profileNameHasBeenSet = false;
173
174 Aws::String m_profileDescription;
175 bool m_profileDescriptionHasBeenSet = false;
176
177 Aws::Vector<ProfileQuestion> m_profileQuestions;
178 bool m_profileQuestionsHasBeenSet = false;
179
180 Aws::String m_owner;
181 bool m_ownerHasBeenSet = false;
182
183 Aws::Utils::DateTime m_createdAt{};
184 bool m_createdAtHasBeenSet = false;
185
186 Aws::Utils::DateTime m_updatedAt{};
187 bool m_updatedAtHasBeenSet = false;
188
189 Aws::String m_shareInvitationId;
190 bool m_shareInvitationIdHasBeenSet = false;
191
193 bool m_tagsHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace WellArchitected
198} // namespace Aws
void SetProfileArn(ProfileArnT &&value)
Definition Profile.h:51
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Profile.h:118
void SetUpdatedAt(UpdatedAtT &&value)
Definition Profile.h:131
Profile & WithCreatedAt(CreatedAtT &&value)
Definition Profile.h:123
AWS_WELLARCHITECTED_API Profile()=default
bool ProfileDescriptionHasBeenSet() const
Definition Profile.h:85
const Aws::String & GetProfileVersion() const
Definition Profile.h:60
const Aws::String & GetShareInvitationId() const
Definition Profile.h:140
Profile & WithProfileArn(ProfileArnT &&value)
Definition Profile.h:53
const Aws::String & GetProfileDescription() const
Definition Profile.h:84
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProfileDescription(ProfileDescriptionT &&value)
Definition Profile.h:87
void SetProfileVersion(ProfileVersionT &&value)
Definition Profile.h:63
Profile & WithProfileVersion(ProfileVersionT &&value)
Definition Profile.h:65
const Aws::String & GetProfileName() const
Definition Profile.h:72
void SetProfileQuestions(ProfileQuestionsT &&value)
Definition Profile.h:99
Profile & WithShareInvitationId(ShareInvitationIdT &&value)
Definition Profile.h:145
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Profile.h:128
void SetShareInvitationId(ShareInvitationIdT &&value)
Definition Profile.h:143
const Aws::String & GetOwner() const
Definition Profile.h:108
const Aws::String & GetProfileArn() const
Definition Profile.h:48
void SetOwner(OwnerT &&value)
Definition Profile.h:111
Profile & WithOwner(OwnerT &&value)
Definition Profile.h:113
void SetCreatedAt(CreatedAtT &&value)
Definition Profile.h:121
Profile & WithProfileName(ProfileNameT &&value)
Definition Profile.h:77
Profile & WithProfileDescription(ProfileDescriptionT &&value)
Definition Profile.h:89
AWS_WELLARCHITECTED_API Profile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProfileName(ProfileNameT &&value)
Definition Profile.h:75
Profile & WithTags(TagsT &&value)
Definition Profile.h:157
Profile & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Profile.h:159
Profile & AddProfileQuestions(ProfileQuestionsT &&value)
Definition Profile.h:103
const Aws::Vector< ProfileQuestion > & GetProfileQuestions() const
Definition Profile.h:96
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Profile.h:152
Profile & WithProfileQuestions(ProfileQuestionsT &&value)
Definition Profile.h:101
Profile & WithUpdatedAt(UpdatedAtT &&value)
Definition Profile.h:133
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