/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a list of child entities, either OUs or accounts.See
* Also:
AWS
* API Reference
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string * requires one of the following:
Account - A string that * consists of exactly 12 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 contains the OU). This string is * followed by a second "-" dash and from 8 to 32 additional lowercase letters or * digits.
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string * requires one of the following:
Account - A string that * consists of exactly 12 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 contains the OU). This string is * followed by a second "-" dash and from 8 to 32 additional lowercase letters or * digits.
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string * requires one of the following:
Account - A string that * consists of exactly 12 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 contains the OU). This string is * followed by a second "-" dash and from 8 to 32 additional lowercase letters or * digits.
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string * requires one of the following:
Account - A string that * consists of exactly 12 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 contains the OU). This string is * followed by a second "-" dash and from 8 to 32 additional lowercase letters or * digits.
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string * requires one of the following:
Account - A string that * consists of exactly 12 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 contains the OU). This string is * followed by a second "-" dash and from 8 to 32 additional lowercase letters or * digits.
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string * requires one of the following:
Account - A string that * consists of exactly 12 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 contains the OU). This string is * followed by a second "-" dash and from 8 to 32 additional lowercase letters or * digits.
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string * requires one of the following:
Account - A string that * consists of exactly 12 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 contains the OU). This string is * followed by a second "-" dash and from 8 to 32 additional lowercase letters or * digits.
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string * requires one of the following:
Account - A string that * consists of exactly 12 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 contains the OU). This string is * followed by a second "-" dash and from 8 to 32 additional lowercase letters or * digits.
The type of this child entity.
*/ inline const ChildType& GetType() const{ return m_type; } /** *The type of this child entity.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of this child entity.
*/ inline void SetType(const ChildType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of this child entity.
*/ inline void SetType(ChildType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of this child entity.
*/ inline Child& WithType(const ChildType& value) { SetType(value); return *this;} /** *The type of this child entity.
*/ inline Child& WithType(ChildType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; ChildType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Organizations } // namespace Aws