AWS SDK for C++  1.9.106
AWS SDK for C++
ListTagOptionsFilters.h
Go to the documentation of this file.
1 
6 #pragma once
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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetKey() const{ return m_key; }
44 
48  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49 
53  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
54 
58  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
59 
63  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
64 
68  inline ListTagOptionsFilters& WithKey(const Aws::String& value) { SetKey(value); return *this;}
69 
73  inline ListTagOptionsFilters& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
74 
78  inline ListTagOptionsFilters& WithKey(const char* value) { SetKey(value); return *this;}
79 
80 
84  inline const Aws::String& GetValue() const{ return m_value; }
85 
89  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
90 
94  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
95 
99  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
100 
104  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
105 
109  inline ListTagOptionsFilters& WithValue(const Aws::String& value) { SetValue(value); return *this;}
110 
114  inline ListTagOptionsFilters& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
115 
119  inline ListTagOptionsFilters& WithValue(const char* value) { SetValue(value); return *this;}
120 
121 
125  inline bool GetActive() const{ return m_active; }
126 
130  inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
131 
135  inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
136 
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
Aws::ServiceCatalog::Model::ListTagOptionsFilters::SetValue
void SetValue(Aws::String &&value)
Definition: ListTagOptionsFilters.h:99
Aws::ServiceCatalog::Model::ListTagOptionsFilters::WithKey
ListTagOptionsFilters & WithKey(const Aws::String &value)
Definition: ListTagOptionsFilters.h:68
Aws::ServiceCatalog::Model::ListTagOptionsFilters::WithKey
ListTagOptionsFilters & WithKey(const char *value)
Definition: ListTagOptionsFilters.h:78
Aws::ServiceCatalog::Model::ListTagOptionsFilters::WithKey
ListTagOptionsFilters & WithKey(Aws::String &&value)
Definition: ListTagOptionsFilters.h:73
Aws::ServiceCatalog::Model::ListTagOptionsFilters::SetValue
void SetValue(const Aws::String &value)
Definition: ListTagOptionsFilters.h:94
Aws::ServiceCatalog::Model::ListTagOptionsFilters::GetKey
const Aws::String & GetKey() const
Definition: ListTagOptionsFilters.h:43
Aws::ServiceCatalog::Model::ListTagOptionsFilters::ListTagOptionsFilters
ListTagOptionsFilters(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::ListTagOptionsFilters::ListTagOptionsFilters
ListTagOptionsFilters()
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ListTagOptionsFilters::WithValue
ListTagOptionsFilters & WithValue(Aws::String &&value)
Definition: ListTagOptionsFilters.h:114
Aws::ServiceCatalog::Model::ListTagOptionsFilters
Definition: ListTagOptionsFilters.h:32
Aws::ServiceCatalog::Model::ListTagOptionsFilters::GetValue
const Aws::String & GetValue() const
Definition: ListTagOptionsFilters.h:84
Aws::ServiceCatalog::Model::ListTagOptionsFilters::SetKey
void SetKey(Aws::String &&value)
Definition: ListTagOptionsFilters.h:58
Aws::ServiceCatalog::Model::ListTagOptionsFilters::SetKey
void SetKey(const char *value)
Definition: ListTagOptionsFilters.h:63
Aws::ServiceCatalog::Model::ListTagOptionsFilters::SetValue
void SetValue(const char *value)
Definition: ListTagOptionsFilters.h:104
Aws::ServiceCatalog::Model::ListTagOptionsFilters::WithValue
ListTagOptionsFilters & WithValue(const char *value)
Definition: ListTagOptionsFilters.h:119
Aws::ServiceCatalog::Model::ListTagOptionsFilters::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ListTagOptionsFilters.h:89
Aws::ServiceCatalog::Model::ListTagOptionsFilters::ActiveHasBeenSet
bool ActiveHasBeenSet() const
Definition: ListTagOptionsFilters.h:130
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::ListTagOptionsFilters::GetActive
bool GetActive() const
Definition: ListTagOptionsFilters.h:125
Aws::ServiceCatalog::Model::ListTagOptionsFilters::SetActive
void SetActive(bool value)
Definition: ListTagOptionsFilters.h:135
Aws::ServiceCatalog::Model::ListTagOptionsFilters::SetKey
void SetKey(const Aws::String &value)
Definition: ListTagOptionsFilters.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ListTagOptionsFilters::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: ListTagOptionsFilters.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListTagOptionsFilters::WithActive
ListTagOptionsFilters & WithActive(bool value)
Definition: ListTagOptionsFilters.h:140
Aws::ServiceCatalog::Model::ListTagOptionsFilters::WithValue
ListTagOptionsFilters & WithValue(const Aws::String &value)
Definition: ListTagOptionsFilters.h:109
Aws::ServiceCatalog::Model::ListTagOptionsFilters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceCatalog::Model::ListTagOptionsFilters::operator=
ListTagOptionsFilters & operator=(Aws::Utils::Json::JsonView jsonValue)