7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/ParentType.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); }
70 inline void SetType(
ParentType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
77 bool m_idHasBeenSet =
false;
80 bool m_typeHasBeenSet =
false;
void SetId(const Aws::String &value)
Parent & WithId(Aws::String &&value)
void SetId(Aws::String &&value)
Parent & WithId(const char *value)
void SetId(const char *value)
bool IdHasBeenSet() const
AWS_ORGANIZATIONS_API Parent & operator=(Aws::Utils::Json::JsonView jsonValue)
Parent & WithType(const ParentType &value)
AWS_ORGANIZATIONS_API Parent(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API Parent()
Parent & WithType(ParentType &&value)
bool TypeHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
const ParentType & GetType() const
void SetType(const ParentType &value)
void SetType(ParentType &&value)
Parent & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue