/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifier that contains details about the directory consumer account with
* whom the directory is being unshared.See Also:
AWS
* API Reference
Identifier of the directory consumer account.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *Identifier of the directory consumer account.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *Identifier of the directory consumer account.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *Identifier of the directory consumer account.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *Identifier of the directory consumer account.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *Identifier of the directory consumer account.
*/ inline UnshareTarget& WithId(const Aws::String& value) { SetId(value); return *this;} /** *Identifier of the directory consumer account.
*/ inline UnshareTarget& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *Identifier of the directory consumer account.
*/ inline UnshareTarget& WithId(const char* value) { SetId(value); return *this;} /** *Type of identifier to be used in the Id field.
*/ inline const TargetType& GetType() const{ return m_type; } /** *Type of identifier to be used in the Id field.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Type of identifier to be used in the Id field.
*/ inline void SetType(const TargetType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Type of identifier to be used in the Id field.
*/ inline void SetType(TargetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Type of identifier to be used in the Id field.
*/ inline UnshareTarget& WithType(const TargetType& value) { SetType(value); return *this;} /** *Type of identifier to be used in the Id field.
*/ inline UnshareTarget& WithType(TargetType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; TargetType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws