/** * 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 GetCaseResult { public: AWS_CONNECTCASES_API GetCaseResult(); AWS_CONNECTCASES_API GetCaseResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECTCASES_API GetCaseResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of detailed field information.

*/ inline const Aws::Vector& GetFields() const{ return m_fields; } /** *

A list of detailed field information.

*/ inline void SetFields(const Aws::Vector& value) { m_fields = value; } /** *

A list of detailed field information.

*/ inline void SetFields(Aws::Vector&& value) { m_fields = std::move(value); } /** *

A list of detailed field information.

*/ inline GetCaseResult& WithFields(const Aws::Vector& value) { SetFields(value); return *this;} /** *

A list of detailed field information.

*/ inline GetCaseResult& WithFields(Aws::Vector&& value) { SetFields(std::move(value)); return *this;} /** *

A list of detailed field information.

*/ inline GetCaseResult& AddFields(const FieldValue& value) { m_fields.push_back(value); return *this; } /** *

A list of detailed field information.

*/ inline GetCaseResult& AddFields(FieldValue&& value) { m_fields.push_back(std::move(value)); return *this; } /** *

The token for the next set of results. This is null if there are no more * results to return.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token for the next set of results. This is null if there are no more * results to return.

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

The token for the next set of results. This is null if there are no more * results to return.

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

The token for the next set of results. This is null if there are no more * results to return.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token for the next set of results. This is null if there are no more * results to return.

*/ inline GetCaseResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token for the next set of results. This is null if there are no more * results to return.

*/ inline GetCaseResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token for the next set of results. This is null if there are no more * results to return.

*/ inline GetCaseResult& WithNextToken(const char* value) { SetNextToken(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 GetCaseResult& 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 GetCaseResult& 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 GetCaseResult& 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 GetCaseResult& 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 GetCaseResult& 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 GetCaseResult& 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 GetCaseResult& 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 GetCaseResult& 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 GetCaseResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

A unique identifier of a template.

*/ inline const Aws::String& GetTemplateId() const{ return m_templateId; } /** *

A unique identifier of a template.

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

A unique identifier of a template.

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

A unique identifier of a template.

*/ inline void SetTemplateId(const char* value) { m_templateId.assign(value); } /** *

A unique identifier of a template.

*/ inline GetCaseResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} /** *

A unique identifier of a template.

*/ inline GetCaseResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;} /** *

A unique identifier of a template.

*/ inline GetCaseResult& WithTemplateId(const char* value) { SetTemplateId(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 GetCaseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCaseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCaseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_fields; Aws::String m_nextToken; Aws::Map m_tags; Aws::String m_templateId; Aws::String m_requestId; }; } // namespace Model } // namespace ConnectCases } // namespace Aws