/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ConnectCases { namespace Model { class GetDomainResult { public: AWS_CONNECTCASES_API GetDomainResult(); AWS_CONNECTCASES_API GetDomainResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECTCASES_API GetDomainResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The timestamp when the Cases domain was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The timestamp when the Cases domain was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; } /** *

The timestamp when the Cases domain was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); } /** *

The timestamp when the Cases domain was created.

*/ inline GetDomainResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The timestamp when the Cases domain was created.

*/ inline GetDomainResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the Cases domain.

*/ inline const Aws::String& GetDomainArn() const{ return m_domainArn; } /** *

The Amazon Resource Name (ARN) for the Cases domain.

*/ inline void SetDomainArn(const Aws::String& value) { m_domainArn = value; } /** *

The Amazon Resource Name (ARN) for the Cases domain.

*/ inline void SetDomainArn(Aws::String&& value) { m_domainArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the Cases domain.

*/ inline void SetDomainArn(const char* value) { m_domainArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the Cases domain.

*/ inline GetDomainResult& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the Cases domain.

*/ inline GetDomainResult& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the Cases domain.

*/ inline GetDomainResult& WithDomainArn(const char* value) { SetDomainArn(value); return *this;} /** *

The unique identifier of the Cases domain.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(const Aws::String& value) { m_domainId = value; } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(const char* value) { m_domainId.assign(value); } /** *

The unique identifier of the Cases domain.

*/ inline GetDomainResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The unique identifier of the Cases domain.

*/ inline GetDomainResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The unique identifier of the Cases domain.

*/ inline GetDomainResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

The status of the Cases domain.

*/ inline const DomainStatus& GetDomainStatus() const{ return m_domainStatus; } /** *

The status of the Cases domain.

*/ inline void SetDomainStatus(const DomainStatus& value) { m_domainStatus = value; } /** *

The status of the Cases domain.

*/ inline void SetDomainStatus(DomainStatus&& value) { m_domainStatus = std::move(value); } /** *

The status of the Cases domain.

*/ inline GetDomainResult& WithDomainStatus(const DomainStatus& value) { SetDomainStatus(value); return *this;} /** *

The status of the Cases domain.

*/ inline GetDomainResult& WithDomainStatus(DomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;} /** *

The name of the Cases domain.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the Cases domain.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the Cases domain.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the Cases domain.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the Cases domain.

*/ inline GetDomainResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the Cases domain.

*/ inline GetDomainResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the Cases domain.

*/ inline GetDomainResult& WithName(const char* value) { SetName(value); return *this;} /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.

*/ inline GetDomainResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createdTime; Aws::String m_domainArn; Aws::String m_domainId; DomainStatus m_domainStatus; Aws::String m_name; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace ConnectCases } // namespace Aws