/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about either a root or an organizational unit (OU) that
* can contain OUs or accounts in an organization.See Also:
AWS
* API Reference
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string * requires one of the following:
Root - A string that * begins with "r-" followed by from 4 to 32 lowercase letters or digits.
Organizational unit (OU) - A string that begins with "ou-" * followed by from 4 to 32 lowercase letters or digits (the ID of the root that * the OU is in). This string is followed by a second "-" dash and from 8 to 32 * additional lowercase letters or digits.
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string * requires one of the following:
Root - A string that * begins with "r-" followed by from 4 to 32 lowercase letters or digits.
Organizational unit (OU) - A string that begins with "ou-" * followed by from 4 to 32 lowercase letters or digits (the ID of the root that * the OU is in). This string is followed by a second "-" dash and from 8 to 32 * additional lowercase letters or digits.
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string * requires one of the following:
Root - A string that * begins with "r-" followed by from 4 to 32 lowercase letters or digits.
Organizational unit (OU) - A string that begins with "ou-" * followed by from 4 to 32 lowercase letters or digits (the ID of the root that * the OU is in). This string is followed by a second "-" dash and from 8 to 32 * additional lowercase letters or digits.
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string * requires one of the following:
Root - A string that * begins with "r-" followed by from 4 to 32 lowercase letters or digits.
Organizational unit (OU) - A string that begins with "ou-" * followed by from 4 to 32 lowercase letters or digits (the ID of the root that * the OU is in). This string is followed by a second "-" dash and from 8 to 32 * additional lowercase letters or digits.
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string * requires one of the following:
Root - A string that * begins with "r-" followed by from 4 to 32 lowercase letters or digits.
Organizational unit (OU) - A string that begins with "ou-" * followed by from 4 to 32 lowercase letters or digits (the ID of the root that * the OU is in). This string is followed by a second "-" dash and from 8 to 32 * additional lowercase letters or digits.
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string * requires one of the following:
Root - A string that * begins with "r-" followed by from 4 to 32 lowercase letters or digits.
Organizational unit (OU) - A string that begins with "ou-" * followed by from 4 to 32 lowercase letters or digits (the ID of the root that * the OU is in). This string is followed by a second "-" dash and from 8 to 32 * additional lowercase letters or digits.
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string * requires one of the following:
Root - A string that * begins with "r-" followed by from 4 to 32 lowercase letters or digits.
Organizational unit (OU) - A string that begins with "ou-" * followed by from 4 to 32 lowercase letters or digits (the ID of the root that * the OU is in). This string is followed by a second "-" dash and from 8 to 32 * additional lowercase letters or digits.
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string * requires one of the following:
Root - A string that * begins with "r-" followed by from 4 to 32 lowercase letters or digits.
Organizational unit (OU) - A string that begins with "ou-" * followed by from 4 to 32 lowercase letters or digits (the ID of the root that * the OU is in). This string is followed by a second "-" dash and from 8 to 32 * additional lowercase letters or digits.
The type of the parent entity.
*/ inline const ParentType& GetType() const{ return m_type; } /** *The type of the parent entity.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the parent entity.
*/ inline void SetType(const ParentType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the parent entity.
*/ inline void SetType(ParentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the parent entity.
*/ inline Parent& WithType(const ParentType& value) { SetType(value); return *this;} /** *The type of the parent entity.
*/ inline Parent& WithType(ParentType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; ParentType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Organizations } // namespace Aws