7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace Organizations
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); }
99 bool m_idHasBeenSet =
false;
102 bool m_arnHasBeenSet =
false;
105 bool m_nameHasBeenSet =
false;
void SetArn(const Aws::String &value)
OrganizationalUnit & WithName(Aws::String &&value)
void SetName(const char *value)
void SetArn(const char *value)
void SetId(const char *value)
void SetName(const Aws::String &value)
bool ArnHasBeenSet() const
OrganizationalUnit & WithId(Aws::String &&value)
AWS_ORGANIZATIONS_API OrganizationalUnit()
const Aws::String & GetId() const
OrganizationalUnit & WithId(const char *value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationalUnit & WithId(const Aws::String &value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
OrganizationalUnit & WithArn(const Aws::String &value)
AWS_ORGANIZATIONS_API OrganizationalUnit(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API OrganizationalUnit & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
OrganizationalUnit & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
bool IdHasBeenSet() const
void SetName(Aws::String &&value)
OrganizationalUnit & WithName(const Aws::String &value)
OrganizationalUnit & WithArn(const char *value)
void SetId(Aws::String &&value)
OrganizationalUnit & WithName(const char *value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue