/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object in a list that represents a domain.See Also:
AWS
* API Reference
The unique name of the domain.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The unique name of the domain.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The unique name of the domain.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The unique name of the domain.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The unique name of the domain.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The unique name of the domain.
*/ inline ListDomainItem& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The unique name of the domain.
*/ inline ListDomainItem& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The unique name of the domain.
*/ inline ListDomainItem& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The timestamp of when the domain was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The timestamp of when the domain was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The timestamp of when the domain was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The timestamp of when the domain was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The timestamp of when the domain was created.
*/ inline ListDomainItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The timestamp of when the domain was created.
*/ inline ListDomainItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The timestamp of when the domain was most recently edited.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The timestamp of when the domain was most recently edited.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The timestamp of when the domain was most recently edited.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The timestamp of when the domain was most recently edited.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The timestamp of when the domain was most recently edited.
*/ inline ListDomainItem& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The timestamp of when the domain was most recently edited.
*/ inline ListDomainItem& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *The tags used to organize, track, or control access for this resource.
*/ inline const Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags used to organize, track, or control access for this resource.
*/ inline void SetTags(const Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline void SetTags(Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& WithTags(const Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& WithTags(Aws::MapThe tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for this resource.
*/ inline ListDomainItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::Map