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>
25namespace WellArchitected
38 AWS_WELLARCHITECTED_API
Profile() =
default;
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>
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>
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>
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>
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>>
102 template<
typename ProfileQuestionsT = ProfileQuestion>
103 Profile&
AddProfileQuestions(ProfileQuestionsT&& value) { m_profileQuestionsHasBeenSet =
true; m_profileQuestions.emplace_back(std::forward<ProfileQuestionsT>(value));
return *
this; }
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>
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>
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>
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>
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>>
158 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
160 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
166 bool m_profileArnHasBeenSet =
false;
169 bool m_profileVersionHasBeenSet =
false;
172 bool m_profileNameHasBeenSet =
false;
175 bool m_profileDescriptionHasBeenSet =
false;
178 bool m_profileQuestionsHasBeenSet =
false;
181 bool m_ownerHasBeenSet =
false;
184 bool m_createdAtHasBeenSet =
false;
187 bool m_updatedAtHasBeenSet =
false;
190 bool m_shareInvitationIdHasBeenSet =
false;
193 bool m_tagsHasBeenSet =
false;
bool OwnerHasBeenSet() const
void SetProfileArn(ProfileArnT &&value)
bool ProfileNameHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
Profile & WithCreatedAt(CreatedAtT &&value)
AWS_WELLARCHITECTED_API Profile()=default
bool CreatedAtHasBeenSet() const
bool ProfileDescriptionHasBeenSet() const
const Aws::String & GetProfileVersion() const
bool TagsHasBeenSet() const
const Aws::String & GetShareInvitationId() const
Profile & WithProfileArn(ProfileArnT &&value)
const Aws::String & GetProfileDescription() const
void SetTags(TagsT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProfileDescription(ProfileDescriptionT &&value)
void SetProfileVersion(ProfileVersionT &&value)
bool ShareInvitationIdHasBeenSet() const
Profile & WithProfileVersion(ProfileVersionT &&value)
const Aws::String & GetProfileName() const
void SetProfileQuestions(ProfileQuestionsT &&value)
Profile & WithShareInvitationId(ShareInvitationIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetShareInvitationId(ShareInvitationIdT &&value)
const Aws::String & GetOwner() const
bool UpdatedAtHasBeenSet() const
bool ProfileQuestionsHasBeenSet() const
const Aws::String & GetProfileArn() const
void SetOwner(OwnerT &&value)
Profile & WithOwner(OwnerT &&value)
void SetCreatedAt(CreatedAtT &&value)
Profile & WithProfileName(ProfileNameT &&value)
Profile & WithProfileDescription(ProfileDescriptionT &&value)
AWS_WELLARCHITECTED_API Profile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProfileName(ProfileNameT &&value)
Profile & WithTags(TagsT &&value)
Profile & AddTags(TagsKeyT &&key, TagsValueT &&value)
Profile & AddProfileQuestions(ProfileQuestionsT &&value)
const Aws::Vector< ProfileQuestion > & GetProfileQuestions() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Profile & WithProfileQuestions(ProfileQuestionsT &&value)
Profile & WithUpdatedAt(UpdatedAtT &&value)
AWS_WELLARCHITECTED_API Profile(Aws::Utils::Json::JsonView jsonValue)
bool ProfileVersionHasBeenSet() const
bool ProfileArnHasBeenSet() const
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