AWS SDK for C++  1.9.125
AWS SDK for C++
ImportTaskFilter.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ApplicationDiscoveryService
24 {
25 namespace Model
26 {
27 
37  {
38  public:
43 
44 
48  inline const ImportTaskFilterName& GetName() const{ return m_name; }
49 
53  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 
58  inline void SetName(const ImportTaskFilterName& value) { m_nameHasBeenSet = true; m_name = value; }
59 
63  inline void SetName(ImportTaskFilterName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 
68  inline ImportTaskFilter& WithName(const ImportTaskFilterName& value) { SetName(value); return *this;}
69 
73  inline ImportTaskFilter& WithName(ImportTaskFilterName&& value) { SetName(std::move(value)); return *this;}
74 
75 
81  inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
82 
88  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
89 
95  inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
96 
102  inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
103 
109  inline ImportTaskFilter& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
110 
116  inline ImportTaskFilter& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
117 
123  inline ImportTaskFilter& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
124 
130  inline ImportTaskFilter& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
131 
137  inline ImportTaskFilter& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
138 
139  private:
140 
141  ImportTaskFilterName m_name;
142  bool m_nameHasBeenSet;
143 
144  Aws::Vector<Aws::String> m_values;
145  bool m_valuesHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace ApplicationDiscoveryService
150 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::ImportTaskFilter
ImportTaskFilter()
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: ImportTaskFilter.h:88
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::AddValues
ImportTaskFilter & AddValues(Aws::String &&value)
Definition: ImportTaskFilter.h:130
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::SetValues
void SetValues(const Aws::Vector< Aws::String > &value)
Definition: ImportTaskFilter.h:95
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::AddValues
ImportTaskFilter & AddValues(const char *value)
Definition: ImportTaskFilter.h:137
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::SetName
void SetName(const ImportTaskFilterName &value)
Definition: ImportTaskFilter.h:58
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::SetValues
void SetValues(Aws::Vector< Aws::String > &&value)
Definition: ImportTaskFilter.h:102
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::ImportTaskFilter
ImportTaskFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter
Definition: ImportTaskFilter.h:37
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::ImportTaskFilterName
ImportTaskFilterName
Definition: ImportTaskFilterName.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSVector.h
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::WithName
ImportTaskFilter & WithName(const ImportTaskFilterName &value)
Definition: ImportTaskFilter.h:68
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::AddValues
ImportTaskFilter & AddValues(const Aws::String &value)
Definition: ImportTaskFilter.h:123
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::WithName
ImportTaskFilter & WithName(ImportTaskFilterName &&value)
Definition: ImportTaskFilter.h:73
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::operator=
ImportTaskFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::WithValues
ImportTaskFilter & WithValues(Aws::Vector< Aws::String > &&value)
Definition: ImportTaskFilter.h:116
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
ImportTaskFilterName.h
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::GetName
const ImportTaskFilterName & GetName() const
Definition: ImportTaskFilter.h:48
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::WithValues
ImportTaskFilter & WithValues(const Aws::Vector< Aws::String > &value)
Definition: ImportTaskFilter.h:109
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::GetValues
const Aws::Vector< Aws::String > & GetValues() const
Definition: ImportTaskFilter.h:81
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ImportTaskFilter.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter::SetName
void SetName(ImportTaskFilterName &&value)
Definition: ImportTaskFilter.h:63
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28