7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/PolicyType.h>
22namespace Organizations
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
71 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
72 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
89 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
103 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
129 inline void SetAwsManaged(
bool value) { m_awsManagedHasBeenSet =
true; m_awsManaged = value; }
135 bool m_idHasBeenSet =
false;
138 bool m_arnHasBeenSet =
false;
141 bool m_nameHasBeenSet =
false;
144 bool m_descriptionHasBeenSet =
false;
147 bool m_typeHasBeenSet =
false;
150 bool m_awsManagedHasBeenSet =
false;
void SetId(const Aws::String &value)
const Aws::String & GetName() const
void SetArn(const char *value)
PolicySummary & WithId(const Aws::String &value)
void SetDescription(const char *value)
const PolicyType & GetType() const
void SetDescription(const Aws::String &value)
PolicySummary & WithId(Aws::String &&value)
const Aws::String & GetArn() const
PolicySummary & WithId(const char *value)
void SetDescription(Aws::String &&value)
void SetId(Aws::String &&value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
PolicySummary & WithDescription(const char *value)
AWS_ORGANIZATIONS_API PolicySummary(Aws::Utils::Json::JsonView jsonValue)
PolicySummary & WithName(const char *value)
PolicySummary & WithType(const PolicyType &value)
PolicySummary & WithArn(const char *value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
AWS_ORGANIZATIONS_API PolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetType(PolicyType &&value)
bool AwsManagedHasBeenSet() const
AWS_ORGANIZATIONS_API PolicySummary()
bool DescriptionHasBeenSet() const
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
PolicySummary & WithArn(const Aws::String &value)
const Aws::String & GetDescription() const
PolicySummary & WithType(PolicyType &&value)
bool GetAwsManaged() const
PolicySummary & WithName(const Aws::String &value)
PolicySummary & WithArn(Aws::String &&value)
void SetId(const char *value)
void SetName(const char *value)
void SetName(Aws::String &&value)
PolicySummary & WithName(Aws::String &&value)
bool ArnHasBeenSet() const
void SetAwsManaged(bool value)
PolicySummary & WithDescription(const Aws::String &value)
void SetType(const PolicyType &value)
void SetArn(Aws::String &&value)
PolicySummary & WithAwsManaged(bool value)
PolicySummary & WithDescription(Aws::String &&value)
void SetArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue