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/cloud9/Cloud9_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSVector.h>
9 #include <aws/cloud9/model/Tag.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 Cloud9
25 {
26 namespace Model
27 {
28   class AWS_CLOUD9_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>The list of tags associated with the Cloud9 development environment.</p>
38      */
GetTags()39     inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
40 
41     /**
42      * <p>The list of tags associated with the Cloud9 development environment.</p>
43      */
SetTags(const Aws::Vector<Tag> & value)44     inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
45 
46     /**
47      * <p>The list of tags associated with the Cloud9 development environment.</p>
48      */
SetTags(Aws::Vector<Tag> && value)49     inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
50 
51     /**
52      * <p>The list of tags associated with the Cloud9 development environment.</p>
53      */
WithTags(const Aws::Vector<Tag> & value)54     inline ListTagsForResourceResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
55 
56     /**
57      * <p>The list of tags associated with the Cloud9 development environment.</p>
58      */
WithTags(Aws::Vector<Tag> && value)59     inline ListTagsForResourceResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
60 
61     /**
62      * <p>The list of tags associated with the Cloud9 development environment.</p>
63      */
AddTags(const Tag & value)64     inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
65 
66     /**
67      * <p>The list of tags associated with the Cloud9 development environment.</p>
68      */
AddTags(Tag && value)69     inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
70 
71   private:
72 
73     Aws::Vector<Tag> m_tags;
74   };
75 
76 } // namespace Model
77 } // namespace Cloud9
78 } // namespace Aws
79