7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/organizations/Organizations_EXPORTS.h>
9#include <aws/organizations/model/PolicyType.h>
20namespace Organizations {
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
68 template <
typename ArnT = Aws::String>
70 m_arnHasBeenSet =
true;
71 m_arn = std::forward<ArnT>(value);
73 template <
typename ArnT = Aws::String>
75 SetArn(std::forward<ArnT>(value));
89 template <
typename NameT = Aws::String>
91 m_nameHasBeenSet =
true;
92 m_name = std::forward<NameT>(value);
94 template <
typename NameT = Aws::String>
96 SetName(std::forward<NameT>(value));
107 template <
typename DescriptionT = Aws::String>
109 m_descriptionHasBeenSet =
true;
110 m_description = std::forward<DescriptionT>(value);
112 template <
typename DescriptionT = Aws::String>
126 m_typeHasBeenSet =
true;
144 m_awsManagedHasBeenSet =
true;
145 m_awsManaged = value;
163 bool m_awsManaged{
false};
164 bool m_idHasBeenSet =
false;
165 bool m_arnHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
168 bool m_typeHasBeenSet =
false;
169 bool m_awsManagedHasBeenSet =
false;
const Aws::String & GetName() const
PolicyType GetType() const
AWS_ORGANIZATIONS_API PolicySummary()=default
const Aws::String & GetArn() const
void SetType(PolicyType value)
PolicySummary & WithArn(ArnT &&value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ORGANIZATIONS_API PolicySummary(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
PolicySummary & WithName(NameT &&value)
PolicySummary & WithDescription(DescriptionT &&value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
void SetArn(ArnT &&value)
AWS_ORGANIZATIONS_API PolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
bool AwsManagedHasBeenSet() const
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
bool GetAwsManaged() const
PolicySummary & WithType(PolicyType value)
bool ArnHasBeenSet() const
void SetAwsManaged(bool value)
PolicySummary & WithId(IdT &&value)
PolicySummary & WithAwsManaged(bool value)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue