/** * 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 ResourceExplorer2 { namespace Model { class GetViewResult { public: AWS_RESOURCEEXPLORER2_API GetViewResult(); AWS_RESOURCEEXPLORER2_API GetViewResult(const Aws::AmazonWebServiceResult& result); AWS_RESOURCEEXPLORER2_API GetViewResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

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

Tag key and value pairs that are attached to the view.

*/ inline GetViewResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

A structure that contains the details for the requested view.

*/ inline const View& GetView() const{ return m_view; } /** *

A structure that contains the details for the requested view.

*/ inline void SetView(const View& value) { m_view = value; } /** *

A structure that contains the details for the requested view.

*/ inline void SetView(View&& value) { m_view = std::move(value); } /** *

A structure that contains the details for the requested view.

*/ inline GetViewResult& WithView(const View& value) { SetView(value); return *this;} /** *

A structure that contains the details for the requested view.

*/ inline GetViewResult& WithView(View&& value) { SetView(std::move(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 GetViewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetViewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetViewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map m_tags; View m_view; Aws::String m_requestId; }; } // namespace Model } // namespace ResourceExplorer2 } // namespace Aws