7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/TargetType.h>
22namespace Organizations
58 inline void SetTargetId(
const char* value) { m_targetIdHasBeenSet =
true; m_targetId.assign(value); }
75 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
76 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
93 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
113 bool m_targetIdHasBeenSet =
false;
116 bool m_arnHasBeenSet =
false;
119 bool m_nameHasBeenSet =
false;
122 bool m_typeHasBeenSet =
false;
void SetArn(Aws::String &&value)
bool NameHasBeenSet() const
PolicyTargetSummary & WithType(const TargetType &value)
PolicyTargetSummary & WithName(const Aws::String &value)
PolicyTargetSummary & WithType(TargetType &&value)
PolicyTargetSummary & WithName(Aws::String &&value)
PolicyTargetSummary & WithTargetId(const char *value)
void SetType(TargetType &&value)
void SetType(const TargetType &value)
PolicyTargetSummary & WithArn(const Aws::String &value)
PolicyTargetSummary & WithName(const char *value)
void SetName(const char *value)
const Aws::String & GetName() const
bool TargetIdHasBeenSet() const
const Aws::String & GetTargetId() const
AWS_ORGANIZATIONS_API PolicyTargetSummary()
void SetTargetId(const Aws::String &value)
PolicyTargetSummary & WithTargetId(const Aws::String &value)
void SetTargetId(Aws::String &&value)
void SetArn(const char *value)
void SetArn(const Aws::String &value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
PolicyTargetSummary & WithArn(const char *value)
const TargetType & GetType() const
void SetTargetId(const char *value)
PolicyTargetSummary & WithTargetId(Aws::String &&value)
const Aws::String & GetArn() const
PolicyTargetSummary & WithArn(Aws::String &&value)
AWS_ORGANIZATIONS_API PolicyTargetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetName(Aws::String &&value)
bool ArnHasBeenSet() const
AWS_ORGANIZATIONS_API PolicyTargetSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue