AWS SDK for C++  1.8.152
AWS SDK for C++
ExportFilter.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ApplicationDiscoveryService
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetName() const{ return m_name; }
49 
54  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 
60  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 
66  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 
72  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 
78  inline ExportFilter& WithName(const Aws::String& value) { SetName(value); return *this;}
79 
84  inline ExportFilter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 
90  inline ExportFilter& WithName(const char* value) { SetName(value); return *this;}
91 
92 
100  inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
101 
109  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
110 
118  inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
119 
127  inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
128 
136  inline ExportFilter& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
137 
145  inline ExportFilter& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
146 
154  inline ExportFilter& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
155 
163  inline ExportFilter& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
164 
172  inline ExportFilter& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
173 
174 
178  inline const Aws::String& GetCondition() const{ return m_condition; }
179 
183  inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
184 
188  inline void SetCondition(const Aws::String& value) { m_conditionHasBeenSet = true; m_condition = value; }
189 
193  inline void SetCondition(Aws::String&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
194 
198  inline void SetCondition(const char* value) { m_conditionHasBeenSet = true; m_condition.assign(value); }
199 
203  inline ExportFilter& WithCondition(const Aws::String& value) { SetCondition(value); return *this;}
204 
208  inline ExportFilter& WithCondition(Aws::String&& value) { SetCondition(std::move(value)); return *this;}
209 
213  inline ExportFilter& WithCondition(const char* value) { SetCondition(value); return *this;}
214 
215  private:
216 
217  Aws::String m_name;
218  bool m_nameHasBeenSet;
219 
220  Aws::Vector<Aws::String> m_values;
221  bool m_valuesHasBeenSet;
222 
223  Aws::String m_condition;
224  bool m_conditionHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace ApplicationDiscoveryService
229 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::ExportFilter::SetCondition
void SetCondition(const char *value)
Definition: ExportFilter.h:198
Aws::ApplicationDiscoveryService::Model::ExportFilter::WithValues
ExportFilter & WithValues(Aws::Vector< Aws::String > &&value)
Definition: ExportFilter.h:145
Aws::ApplicationDiscoveryService::Model::ExportFilter::AddValues
ExportFilter & AddValues(const char *value)
Definition: ExportFilter.h:172
Aws::ApplicationDiscoveryService::Model::ExportFilter::AddValues
ExportFilter & AddValues(const Aws::String &value)
Definition: ExportFilter.h:154
Aws::ApplicationDiscoveryService::Model::ExportFilter::SetCondition
void SetCondition(Aws::String &&value)
Definition: ExportFilter.h:193
Aws::ApplicationDiscoveryService::Model::ExportFilter::ExportFilter
ExportFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationDiscoveryService::Model::ExportFilter::AddValues
ExportFilter & AddValues(Aws::String &&value)
Definition: ExportFilter.h:163
Aws::ApplicationDiscoveryService::Model::ExportFilter::GetCondition
const Aws::String & GetCondition() const
Definition: ExportFilter.h:178
ApplicationDiscoveryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ApplicationDiscoveryService::Model::ExportFilter::SetValues
void SetValues(Aws::Vector< Aws::String > &&value)
Definition: ExportFilter.h:127
AWSVector.h
Aws::ApplicationDiscoveryService::Model::ExportFilter::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: ExportFilter.h:109
Aws::ApplicationDiscoveryService::Model::ExportFilter::WithValues
ExportFilter & WithValues(const Aws::Vector< Aws::String > &value)
Definition: ExportFilter.h:136
Aws::ApplicationDiscoveryService::Model::ExportFilter::GetName
const Aws::String & GetName() const
Definition: ExportFilter.h:48
Aws::ApplicationDiscoveryService::Model::ExportFilter::WithName
ExportFilter & WithName(Aws::String &&value)
Definition: ExportFilter.h:84
Aws::ApplicationDiscoveryService::Model::ExportFilter::WithCondition
ExportFilter & WithCondition(Aws::String &&value)
Definition: ExportFilter.h:208
Aws::ApplicationDiscoveryService::Model::ExportFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ApplicationDiscoveryService::Model::ExportFilter::GetValues
const Aws::Vector< Aws::String > & GetValues() const
Definition: ExportFilter.h:100
Aws::ApplicationDiscoveryService::Model::ExportFilter::ConditionHasBeenSet
bool ConditionHasBeenSet() const
Definition: ExportFilter.h:183
Aws::ApplicationDiscoveryService::Model::ExportFilter::ExportFilter
ExportFilter()
Aws::ApplicationDiscoveryService::Model::ExportFilter::WithCondition
ExportFilter & WithCondition(const Aws::String &value)
Definition: ExportFilter.h:203
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::ApplicationDiscoveryService::Model::ExportFilter::WithName
ExportFilter & WithName(const Aws::String &value)
Definition: ExportFilter.h:78
Aws::ApplicationDiscoveryService::Model::ExportFilter::WithName
ExportFilter & WithName(const char *value)
Definition: ExportFilter.h:90
Aws::ApplicationDiscoveryService::Model::ExportFilter
Definition: ExportFilter.h:36
Aws::ApplicationDiscoveryService::Model::ExportFilter::operator=
ExportFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationDiscoveryService::Model::ExportFilter::SetName
void SetName(const Aws::String &value)
Definition: ExportFilter.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::ExportFilter::SetCondition
void SetCondition(const Aws::String &value)
Definition: ExportFilter.h:188
Aws::ApplicationDiscoveryService::Model::ExportFilter::SetName
void SetName(Aws::String &&value)
Definition: ExportFilter.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::ExportFilter::SetName
void SetName(const char *value)
Definition: ExportFilter.h:72
Aws::ApplicationDiscoveryService::Model::ExportFilter::SetValues
void SetValues(const Aws::Vector< Aws::String > &value)
Definition: ExportFilter.h:118
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28
Aws::ApplicationDiscoveryService::Model::ExportFilter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ExportFilter.h:54
Aws::ApplicationDiscoveryService::Model::ExportFilter::WithCondition
ExportFilter & WithCondition(const char *value)
Definition: ExportFilter.h:213