/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Directory structure that includes the directory name and directory
* ARN.See Also:
AWS
* API Reference
The name of the directory.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the directory.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the directory.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the directory.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the directory.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the directory.
*/ inline Directory& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the directory.
*/ inline Directory& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the directory.
*/ inline Directory& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) that is associated with the directory. For * more information, see arns.
*/ inline const Aws::String& GetDirectoryArn() const{ return m_directoryArn; } /** *The Amazon Resource Name (ARN) that is associated with the directory. For * more information, see arns.
*/ inline bool DirectoryArnHasBeenSet() const { return m_directoryArnHasBeenSet; } /** *The Amazon Resource Name (ARN) that is associated with the directory. For * more information, see arns.
*/ inline void SetDirectoryArn(const Aws::String& value) { m_directoryArnHasBeenSet = true; m_directoryArn = value; } /** *The Amazon Resource Name (ARN) that is associated with the directory. For * more information, see arns.
*/ inline void SetDirectoryArn(Aws::String&& value) { m_directoryArnHasBeenSet = true; m_directoryArn = std::move(value); } /** *The Amazon Resource Name (ARN) that is associated with the directory. For * more information, see arns.
*/ inline void SetDirectoryArn(const char* value) { m_directoryArnHasBeenSet = true; m_directoryArn.assign(value); } /** *The Amazon Resource Name (ARN) that is associated with the directory. For * more information, see arns.
*/ inline Directory& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;} /** *The Amazon Resource Name (ARN) that is associated with the directory. For * more information, see arns.
*/ inline Directory& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that is associated with the directory. For * more information, see arns.
*/ inline Directory& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;} /** *The state of the directory. Can be either Enabled
,
* Disabled
, or Deleted
.
The state of the directory. Can be either Enabled
,
* Disabled
, or Deleted
.
The state of the directory. Can be either Enabled
,
* Disabled
, or Deleted
.
The state of the directory. Can be either Enabled
,
* Disabled
, or Deleted
.
The state of the directory. Can be either Enabled
,
* Disabled
, or Deleted
.
The state of the directory. Can be either Enabled
,
* Disabled
, or Deleted
.
The date and time when the directory was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The date and time when the directory was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time when the directory was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The date and time when the directory was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The date and time when the directory was created.
*/ inline Directory& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time when the directory was created.
*/ inline Directory& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_directoryArn; bool m_directoryArnHasBeenSet = false; DirectoryState m_state; bool m_stateHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws