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/servicecatalog/ServiceCatalog_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17   class JsonValue;
18   class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ServiceCatalog
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p>Filters to use when listing TagOptions.</p><p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsFilters">AWS
29    * API Reference</a></p>
30    */
31   class AWS_SERVICECATALOG_API ListTagOptionsFilters
32   {
33   public:
34     ListTagOptionsFilters();
35     ListTagOptionsFilters(Aws::Utils::Json::JsonView jsonValue);
36     ListTagOptionsFilters& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * <p>The TagOption key.</p>
42      */
GetKey()43     inline const Aws::String& GetKey() const{ return m_key; }
44 
45     /**
46      * <p>The TagOption key.</p>
47      */
KeyHasBeenSet()48     inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49 
50     /**
51      * <p>The TagOption key.</p>
52      */
SetKey(const Aws::String & value)53     inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
54 
55     /**
56      * <p>The TagOption key.</p>
57      */
SetKey(Aws::String && value)58     inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
59 
60     /**
61      * <p>The TagOption key.</p>
62      */
SetKey(const char * value)63     inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
64 
65     /**
66      * <p>The TagOption key.</p>
67      */
WithKey(const Aws::String & value)68     inline ListTagOptionsFilters& WithKey(const Aws::String& value) { SetKey(value); return *this;}
69 
70     /**
71      * <p>The TagOption key.</p>
72      */
WithKey(Aws::String && value)73     inline ListTagOptionsFilters& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
74 
75     /**
76      * <p>The TagOption key.</p>
77      */
WithKey(const char * value)78     inline ListTagOptionsFilters& WithKey(const char* value) { SetKey(value); return *this;}
79 
80 
81     /**
82      * <p>The TagOption value.</p>
83      */
GetValue()84     inline const Aws::String& GetValue() const{ return m_value; }
85 
86     /**
87      * <p>The TagOption value.</p>
88      */
ValueHasBeenSet()89     inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
90 
91     /**
92      * <p>The TagOption value.</p>
93      */
SetValue(const Aws::String & value)94     inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
95 
96     /**
97      * <p>The TagOption value.</p>
98      */
SetValue(Aws::String && value)99     inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
100 
101     /**
102      * <p>The TagOption value.</p>
103      */
SetValue(const char * value)104     inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
105 
106     /**
107      * <p>The TagOption value.</p>
108      */
WithValue(const Aws::String & value)109     inline ListTagOptionsFilters& WithValue(const Aws::String& value) { SetValue(value); return *this;}
110 
111     /**
112      * <p>The TagOption value.</p>
113      */
WithValue(Aws::String && value)114     inline ListTagOptionsFilters& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
115 
116     /**
117      * <p>The TagOption value.</p>
118      */
WithValue(const char * value)119     inline ListTagOptionsFilters& WithValue(const char* value) { SetValue(value); return *this;}
120 
121 
122     /**
123      * <p>The active state.</p>
124      */
GetActive()125     inline bool GetActive() const{ return m_active; }
126 
127     /**
128      * <p>The active state.</p>
129      */
ActiveHasBeenSet()130     inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
131 
132     /**
133      * <p>The active state.</p>
134      */
SetActive(bool value)135     inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
136 
137     /**
138      * <p>The active state.</p>
139      */
WithActive(bool value)140     inline ListTagOptionsFilters& WithActive(bool value) { SetActive(value); return *this;}
141 
142   private:
143 
144     Aws::String m_key;
145     bool m_keyHasBeenSet;
146 
147     Aws::String m_value;
148     bool m_valueHasBeenSet;
149 
150     bool m_active;
151     bool m_activeHasBeenSet;
152   };
153 
154 } // namespace Model
155 } // namespace ServiceCatalog
156 } // namespace Aws
157