/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary of the domain.See Also:
AWS
* API Reference
The name of the domain.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of the domain.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The name of the domain.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The name of the domain.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The name of the domain.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The name of the domain.
*/ inline DomainSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the domain.
*/ inline DomainSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the domain.
*/ inline DomainSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The name to display.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The name to display.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The name to display.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The name to display.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The name to display.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The name to display.
*/ inline DomainSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The name to display.
*/ inline DomainSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The name to display.
*/ inline DomainSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *The time that the domain was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The time that the domain was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time that the domain was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time that the domain was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time that the domain was created.
*/ inline DomainSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The time that the domain was created.
*/ inline DomainSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The status of the domain.
*/ inline const DomainStatus& GetDomainStatus() const{ return m_domainStatus; } /** *The status of the domain.
*/ inline bool DomainStatusHasBeenSet() const { return m_domainStatusHasBeenSet; } /** *The status of the domain.
*/ inline void SetDomainStatus(const DomainStatus& value) { m_domainStatusHasBeenSet = true; m_domainStatus = value; } /** *The status of the domain.
*/ inline void SetDomainStatus(DomainStatus&& value) { m_domainStatusHasBeenSet = true; m_domainStatus = std::move(value); } /** *The status of the domain.
*/ inline DomainSummary& WithDomainStatus(const DomainStatus& value) { SetDomainStatus(value); return *this;} /** *The status of the domain.
*/ inline DomainSummary& WithDomainStatus(DomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; DomainStatus m_domainStatus; bool m_domainStatusHasBeenSet = false; }; } // namespace Model } // namespace WorkLink } // namespace Aws