7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/organizations/Organizations_EXPORTS.h>
10#include <aws/organizations/model/OrganizationFeatureSet.h>
11#include <aws/organizations/model/PolicyTypeSummary.h>
22namespace Organizations {
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
70 template <
typename ArnT = Aws::String>
72 m_arnHasBeenSet =
true;
73 m_arn = std::forward<ArnT>(value);
75 template <
typename ArnT = Aws::String>
77 SetArn(std::forward<ArnT>(value));
95 m_featureSetHasBeenSet =
true;
115 template <
typename MasterAccountArnT = Aws::String>
117 m_masterAccountArnHasBeenSet =
true;
118 m_masterAccountArn = std::forward<MasterAccountArnT>(value);
120 template <
typename MasterAccountArnT = Aws::String>
135 template <
typename MasterAccountIdT = Aws::String>
137 m_masterAccountIdHasBeenSet =
true;
138 m_masterAccountId = std::forward<MasterAccountIdT>(value);
140 template <
typename MasterAccountIdT = Aws::String>
154 template <
typename MasterAccountEmailT = Aws::String>
156 m_masterAccountEmailHasBeenSet =
true;
157 m_masterAccountEmail = std::forward<MasterAccountEmailT>(value);
159 template <
typename MasterAccountEmailT = Aws::String>
175 template <
typename AvailablePolicyTypesT = Aws::Vector<PolicyTypeSummary>>
177 m_availablePolicyTypesHasBeenSet =
true;
178 m_availablePolicyTypes = std::forward<AvailablePolicyTypesT>(value);
180 template <
typename AvailablePolicyTypesT = Aws::Vector<PolicyTypeSummary>>
185 template <
typename AvailablePolicyTypesT = PolicyTypeSummary>
187 m_availablePolicyTypesHasBeenSet =
true;
188 m_availablePolicyTypes.emplace_back(std::forward<AvailablePolicyTypesT>(value));
206 bool m_idHasBeenSet =
false;
207 bool m_arnHasBeenSet =
false;
208 bool m_featureSetHasBeenSet =
false;
209 bool m_masterAccountArnHasBeenSet =
false;
210 bool m_masterAccountIdHasBeenSet =
false;
211 bool m_masterAccountEmailHasBeenSet =
false;
212 bool m_availablePolicyTypesHasBeenSet =
false;
void SetMasterAccountId(MasterAccountIdT &&value)
Organization & AddAvailablePolicyTypes(AvailablePolicyTypesT &&value)
bool FeatureSetHasBeenSet() const
bool MasterAccountEmailHasBeenSet() const
OrganizationFeatureSet GetFeatureSet() const
Organization & WithAvailablePolicyTypes(AvailablePolicyTypesT &&value)
bool ArnHasBeenSet() const
Organization & WithMasterAccountArn(MasterAccountArnT &&value)
bool MasterAccountIdHasBeenSet() const
const Aws::String & GetMasterAccountArn() const
bool AvailablePolicyTypesHasBeenSet() const
const Aws::Vector< PolicyTypeSummary > & GetAvailablePolicyTypes() const
const Aws::String & GetId() const
Organization & WithMasterAccountId(MasterAccountIdT &&value)
void SetAvailablePolicyTypes(AvailablePolicyTypesT &&value)
AWS_ORGANIZATIONS_API Organization(Aws::Utils::Json::JsonView jsonValue)
Organization & WithArn(ArnT &&value)
void SetMasterAccountEmail(MasterAccountEmailT &&value)
const Aws::String & GetMasterAccountId() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool MasterAccountArnHasBeenSet() const
Organization & WithFeatureSet(OrganizationFeatureSet value)
Organization & WithId(IdT &&value)
bool IdHasBeenSet() const
const Aws::String & GetArn() const
Organization & WithMasterAccountEmail(MasterAccountEmailT &&value)
AWS_ORGANIZATIONS_API Organization()=default
const Aws::String & GetMasterAccountEmail() const
void SetMasterAccountArn(MasterAccountArnT &&value)
void SetArn(ArnT &&value)
void SetFeatureSet(OrganizationFeatureSet value)
AWS_ORGANIZATIONS_API Organization & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue