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/PolicyTypeSummary.h>
21namespace Organizations {
34 AWS_ORGANIZATIONS_API
Root() =
default;
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));
91 template <
typename NameT = Aws::String>
93 m_nameHasBeenSet =
true;
94 m_name = std::forward<NameT>(value);
96 template <
typename NameT = Aws::String>
98 SetName(std::forward<NameT>(value));
114 template <
typename PolicyTypesT = Aws::Vector<PolicyTypeSummary>>
116 m_policyTypesHasBeenSet =
true;
117 m_policyTypes = std::forward<PolicyTypesT>(value);
119 template <
typename PolicyTypesT = Aws::Vector<PolicyTypeSummary>>
124 template <
typename PolicyTypesT = PolicyTypeSummary>
126 m_policyTypesHasBeenSet =
true;
127 m_policyTypes.emplace_back(std::forward<PolicyTypesT>(value));
139 bool m_idHasBeenSet =
false;
140 bool m_arnHasBeenSet =
false;
141 bool m_nameHasBeenSet =
false;
142 bool m_policyTypesHasBeenSet =
false;
const Aws::Vector< PolicyTypeSummary > & GetPolicyTypes() const
Root & WithName(NameT &&value)
AWS_ORGANIZATIONS_API Root()=default
void SetArn(ArnT &&value)
Root & WithId(IdT &&value)
bool ArnHasBeenSet() const
bool PolicyTypesHasBeenSet() const
bool IdHasBeenSet() const
void SetPolicyTypes(PolicyTypesT &&value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
const Aws::String & GetId() const
AWS_ORGANIZATIONS_API Root & operator=(Aws::Utils::Json::JsonView jsonValue)
Root & WithPolicyTypes(PolicyTypesT &&value)
Root & AddPolicyTypes(PolicyTypesT &&value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
AWS_ORGANIZATIONS_API Root(Aws::Utils::Json::JsonView jsonValue)
Root & WithArn(ArnT &&value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue