1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/swf/SWF_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSVector.h> 9 #include <aws/swf/model/ResourceTag.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 template<typename RESULT_TYPE> 15 class AmazonWebServiceResult; 16 17 namespace Utils 18 { 19 namespace Json 20 { 21 class JsonValue; 22 } // namespace Json 23 } // namespace Utils 24 namespace SWF 25 { 26 namespace Model 27 { 28 class AWS_SWF_API ListTagsForResourceResult 29 { 30 public: 31 ListTagsForResourceResult(); 32 ListTagsForResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 34 35 36 /** 37 * <p>An array of tags associated with the domain.</p> 38 */ GetTags()39 inline const Aws::Vector<ResourceTag>& GetTags() const{ return m_tags; } 40 41 /** 42 * <p>An array of tags associated with the domain.</p> 43 */ SetTags(const Aws::Vector<ResourceTag> & value)44 inline void SetTags(const Aws::Vector<ResourceTag>& value) { m_tags = value; } 45 46 /** 47 * <p>An array of tags associated with the domain.</p> 48 */ SetTags(Aws::Vector<ResourceTag> && value)49 inline void SetTags(Aws::Vector<ResourceTag>&& value) { m_tags = std::move(value); } 50 51 /** 52 * <p>An array of tags associated with the domain.</p> 53 */ WithTags(const Aws::Vector<ResourceTag> & value)54 inline ListTagsForResourceResult& WithTags(const Aws::Vector<ResourceTag>& value) { SetTags(value); return *this;} 55 56 /** 57 * <p>An array of tags associated with the domain.</p> 58 */ WithTags(Aws::Vector<ResourceTag> && value)59 inline ListTagsForResourceResult& WithTags(Aws::Vector<ResourceTag>&& value) { SetTags(std::move(value)); return *this;} 60 61 /** 62 * <p>An array of tags associated with the domain.</p> 63 */ AddTags(const ResourceTag & value)64 inline ListTagsForResourceResult& AddTags(const ResourceTag& value) { m_tags.push_back(value); return *this; } 65 66 /** 67 * <p>An array of tags associated with the domain.</p> 68 */ AddTags(ResourceTag && value)69 inline ListTagsForResourceResult& AddTags(ResourceTag&& value) { m_tags.push_back(std::move(value)); return *this; } 70 71 private: 72 73 Aws::Vector<ResourceTag> m_tags; 74 }; 75 76 } // namespace Model 77 } // namespace SWF 78 } // namespace Aws 79