/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 GetLayoutResult { public: AWS_CONNECTCASES_API GetLayoutResult(); AWS_CONNECTCASES_API GetLayoutResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECTCASES_API GetLayoutResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about which fields will be present in the layout, the order of * the fields, and read-only attribute of the field.

*/ inline const LayoutContent& GetContent() const{ return m_content; } /** *

Information about which fields will be present in the layout, the order of * the fields, and read-only attribute of the field.

*/ inline void SetContent(const LayoutContent& value) { m_content = value; } /** *

Information about which fields will be present in the layout, the order of * the fields, and read-only attribute of the field.

*/ inline void SetContent(LayoutContent&& value) { m_content = std::move(value); } /** *

Information about which fields will be present in the layout, the order of * the fields, and read-only attribute of the field.

*/ inline GetLayoutResult& WithContent(const LayoutContent& value) { SetContent(value); return *this;} /** *

Information about which fields will be present in the layout, the order of * the fields, and read-only attribute of the field.

*/ inline GetLayoutResult& WithContent(LayoutContent&& value) { SetContent(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the newly created layout.

*/ inline const Aws::String& GetLayoutArn() const{ return m_layoutArn; } /** *

The Amazon Resource Name (ARN) of the newly created layout.

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

The Amazon Resource Name (ARN) of the newly created layout.

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

The Amazon Resource Name (ARN) of the newly created layout.

*/ inline void SetLayoutArn(const char* value) { m_layoutArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the newly created layout.

*/ inline GetLayoutResult& WithLayoutArn(const Aws::String& value) { SetLayoutArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the newly created layout.

*/ inline GetLayoutResult& WithLayoutArn(Aws::String&& value) { SetLayoutArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the newly created layout.

*/ inline GetLayoutResult& WithLayoutArn(const char* value) { SetLayoutArn(value); return *this;} /** *

The unique identifier of the layout.

*/ inline const Aws::String& GetLayoutId() const{ return m_layoutId; } /** *

The unique identifier of the layout.

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

The unique identifier of the layout.

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

The unique identifier of the layout.

*/ inline void SetLayoutId(const char* value) { m_layoutId.assign(value); } /** *

The unique identifier of the layout.

*/ inline GetLayoutResult& WithLayoutId(const Aws::String& value) { SetLayoutId(value); return *this;} /** *

The unique identifier of the layout.

*/ inline GetLayoutResult& WithLayoutId(Aws::String&& value) { SetLayoutId(std::move(value)); return *this;} /** *

The unique identifier of the layout.

*/ inline GetLayoutResult& WithLayoutId(const char* value) { SetLayoutId(value); return *this;} /** *

The name of the layout. It must be unique.

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

The name of the layout. It must be unique.

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

The name of the layout. It must be unique.

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

The name of the layout. It must be unique.

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

The name of the layout. It must be unique.

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

The name of the layout. It must be unique.

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

The name of the layout. It must be unique.

*/ inline GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& 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 GetLayoutResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetLayoutResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetLayoutResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: LayoutContent m_content; Aws::String m_layoutArn; Aws::String m_layoutId; Aws::String m_name; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace ConnectCases } // namespace Aws