7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/ChildType.h>
22namespace Organizations
56 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
57 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
69 inline void SetType(
const ChildType& value) { m_typeHasBeenSet =
true; m_type = value; }
70 inline void SetType(
ChildType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
77 bool m_idHasBeenSet =
false;
80 bool m_typeHasBeenSet =
false;
const ChildType & GetType() const
Child & WithType(ChildType &&value)
Child & WithId(const char *value)
AWS_ORGANIZATIONS_API Child()
void SetId(Aws::String &&value)
AWS_ORGANIZATIONS_API Child & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const ChildType &value)
void SetId(const char *value)
void SetType(ChildType &&value)
bool TypeHasBeenSet() const
AWS_ORGANIZATIONS_API Child(Aws::Utils::Json::JsonView jsonValue)
Child & WithId(Aws::String &&value)
Child & WithType(const ChildType &value)
Child & WithId(const Aws::String &value)
bool IdHasBeenSet() const
void SetId(const Aws::String &value)
const Aws::String & GetId() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue