AWS SDK for C++  1.9.97
AWS SDK for C++
DescribePackagesFilter.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 ElasticsearchService
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const DescribePackagesFilterName& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const DescribePackagesFilterName& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(DescribePackagesFilterName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline DescribePackagesFilter& WithName(const DescribePackagesFilterName& value) { SetName(value); return *this;}
67 
71  inline DescribePackagesFilter& WithName(DescribePackagesFilterName&& value) { SetName(std::move(value)); return *this;}
72 
73 
77  inline const Aws::Vector<Aws::String>& GetValue() const{ return m_value; }
78 
82  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
83 
87  inline void SetValue(const Aws::Vector<Aws::String>& value) { m_valueHasBeenSet = true; m_value = value; }
88 
92  inline void SetValue(Aws::Vector<Aws::String>&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
93 
97  inline DescribePackagesFilter& WithValue(const Aws::Vector<Aws::String>& value) { SetValue(value); return *this;}
98 
102  inline DescribePackagesFilter& WithValue(Aws::Vector<Aws::String>&& value) { SetValue(std::move(value)); return *this;}
103 
107  inline DescribePackagesFilter& AddValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value.push_back(value); return *this; }
108 
112  inline DescribePackagesFilter& AddValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value.push_back(std::move(value)); return *this; }
113 
117  inline DescribePackagesFilter& AddValue(const char* value) { m_valueHasBeenSet = true; m_value.push_back(value); return *this; }
118 
119  private:
120 
122  bool m_nameHasBeenSet;
123 
124  Aws::Vector<Aws::String> m_value;
125  bool m_valueHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace ElasticsearchService
130 } // namespace Aws
Aws::ElasticsearchService::Model::DescribePackagesFilter::SetName
void SetName(DescribePackagesFilterName &&value)
Definition: DescribePackagesFilter.h:61
Aws::ElasticsearchService::Model::DescribePackagesFilter::AddValue
DescribePackagesFilter & AddValue(Aws::String &&value)
Definition: DescribePackagesFilter.h:112
Aws::ElasticsearchService::Model::DescribePackagesFilter::GetValue
const Aws::Vector< Aws::String > & GetValue() const
Definition: DescribePackagesFilter.h:77
Aws::ElasticsearchService::Model::DescribePackagesFilter::DescribePackagesFilter
DescribePackagesFilter()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::DescribePackagesFilter::operator=
DescribePackagesFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::DescribePackagesFilter::WithValue
DescribePackagesFilter & WithValue(Aws::Vector< Aws::String > &&value)
Definition: DescribePackagesFilter.h:102
AWSVector.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribePackagesFilter::WithName
DescribePackagesFilter & WithName(DescribePackagesFilterName &&value)
Definition: DescribePackagesFilter.h:71
DescribePackagesFilterName.h
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribePackagesFilter::SetName
void SetName(const DescribePackagesFilterName &value)
Definition: DescribePackagesFilter.h:56
Aws::ElasticsearchService::Model::DescribePackagesFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::DescribePackagesFilter::SetValue
void SetValue(Aws::Vector< Aws::String > &&value)
Definition: DescribePackagesFilter.h:92
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::DescribePackagesFilter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: DescribePackagesFilter.h:82
Aws::ElasticsearchService::Model::DescribePackagesFilter::WithValue
DescribePackagesFilter & WithValue(const Aws::Vector< Aws::String > &value)
Definition: DescribePackagesFilter.h:97
Aws::ElasticsearchService::Model::DescribePackagesFilter::GetName
const DescribePackagesFilterName & GetName() const
Definition: DescribePackagesFilter.h:46
Aws::ElasticsearchService::Model::DescribePackagesFilter::DescribePackagesFilter
DescribePackagesFilter(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribePackagesFilter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DescribePackagesFilter.h:51
Aws::ElasticsearchService::Model::DescribePackagesFilter::WithName
DescribePackagesFilter & WithName(const DescribePackagesFilterName &value)
Definition: DescribePackagesFilter.h:66
Aws::ElasticsearchService::Model::DescribePackagesFilterName
DescribePackagesFilterName
Definition: DescribePackagesFilterName.h:17
Aws::ElasticsearchService::Model::DescribePackagesFilter::AddValue
DescribePackagesFilter & AddValue(const Aws::String &value)
Definition: DescribePackagesFilter.h:107
Aws::ElasticsearchService::Model::DescribePackagesFilter::SetValue
void SetValue(const Aws::Vector< Aws::String > &value)
Definition: DescribePackagesFilter.h:87
Aws::ElasticsearchService::Model::DescribePackagesFilter::AddValue
DescribePackagesFilter & AddValue(const char *value)
Definition: DescribePackagesFilter.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribePackagesFilter
Definition: DescribePackagesFilter.h:35