7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/organizations/model/PolicyTypeSummary.h>
23namespace Organizations
39 AWS_ORGANIZATIONS_API
Root();
55 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
56 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
73 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
74 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
91 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
118 bool m_idHasBeenSet =
false;
121 bool m_arnHasBeenSet =
false;
124 bool m_nameHasBeenSet =
false;
127 bool m_policyTypesHasBeenSet =
false;
const Aws::Vector< PolicyTypeSummary > & GetPolicyTypes() const
void SetArn(Aws::String &&value)
void SetPolicyTypes(const Aws::Vector< PolicyTypeSummary > &value)
Root & WithName(const Aws::String &value)
bool ArnHasBeenSet() const
Root & WithId(const Aws::String &value)
void SetId(const char *value)
bool PolicyTypesHasBeenSet() const
void SetName(const char *value)
Root & WithPolicyTypes(Aws::Vector< PolicyTypeSummary > &&value)
Root & WithArn(const char *value)
Root & AddPolicyTypes(const PolicyTypeSummary &value)
bool IdHasBeenSet() const
void SetName(const Aws::String &value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
void SetName(Aws::String &&value)
void SetId(Aws::String &&value)
const Aws::String & GetId() const
AWS_ORGANIZATIONS_API Root & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyTypes(Aws::Vector< PolicyTypeSummary > &&value)
Root & WithName(Aws::String &&value)
void SetArn(const Aws::String &value)
Root & WithName(const char *value)
AWS_ORGANIZATIONS_API Root()
void SetId(const Aws::String &value)
void SetArn(const char *value)
Root & WithId(Aws::String &&value)
bool NameHasBeenSet() const
Root & WithPolicyTypes(const Aws::Vector< PolicyTypeSummary > &value)
Root & WithArn(Aws::String &&value)
Root & AddPolicyTypes(PolicyTypeSummary &&value)
Root & WithId(const char *value)
AWS_ORGANIZATIONS_API Root(Aws::Utils::Json::JsonView jsonValue)
Root & WithArn(const Aws::String &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