AWS SDK for C++  1.9.125
AWS SDK for C++
StepExecutionFilter.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
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 SSM
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
48  inline const StepExecutionFilterKey& GetKey() const{ return m_key; }
49 
55  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
56 
62  inline void SetKey(const StepExecutionFilterKey& value) { m_keyHasBeenSet = true; m_key = value; }
63 
69  inline void SetKey(StepExecutionFilterKey&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
70 
76  inline StepExecutionFilter& WithKey(const StepExecutionFilterKey& value) { SetKey(value); return *this;}
77 
83  inline StepExecutionFilter& WithKey(StepExecutionFilterKey&& value) { SetKey(std::move(value)); return *this;}
84 
85 
89  inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
90 
94  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
95 
99  inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
100 
104  inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
105 
109  inline StepExecutionFilter& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
110 
114  inline StepExecutionFilter& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
115 
119  inline StepExecutionFilter& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
120 
124  inline StepExecutionFilter& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
125 
129  inline StepExecutionFilter& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
130 
131  private:
132 
134  bool m_keyHasBeenSet;
135 
136  Aws::Vector<Aws::String> m_values;
137  bool m_valuesHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace SSM
142 } // namespace Aws
StepExecutionFilterKey.h
Aws::SSM::Model::StepExecutionFilter::AddValues
StepExecutionFilter & AddValues(const char *value)
Definition: StepExecutionFilter.h:129
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::StepExecutionFilter::SetValues
void SetValues(Aws::Vector< Aws::String > &&value)
Definition: StepExecutionFilter.h:104
Aws::SSM::Model::StepExecutionFilter::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: StepExecutionFilter.h:94
Aws::SSM::Model::StepExecutionFilter::SetValues
void SetValues(const Aws::Vector< Aws::String > &value)
Definition: StepExecutionFilter.h:99
Aws::SSM::Model::StepExecutionFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
SSM_EXPORTS.h
Aws::SSM::Model::StepExecutionFilter
Definition: StepExecutionFilter.h:35
AWSVector.h
Aws::SSM::Model::StepExecutionFilter::WithValues
StepExecutionFilter & WithValues(const Aws::Vector< Aws::String > &value)
Definition: StepExecutionFilter.h:109
Aws::SSM::Model::StepExecutionFilter::SetKey
void SetKey(StepExecutionFilterKey &&value)
Definition: StepExecutionFilter.h:69
Aws::SSM::Model::StepExecutionFilter::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: StepExecutionFilter.h:55
Aws::SSM::Model::StepExecutionFilter::AddValues
StepExecutionFilter & AddValues(const Aws::String &value)
Definition: StepExecutionFilter.h:119
Aws::SSM::Model::StepExecutionFilter::WithKey
StepExecutionFilter & WithKey(StepExecutionFilterKey &&value)
Definition: StepExecutionFilter.h:83
Aws::SSM::Model::StepExecutionFilter::WithValues
StepExecutionFilter & WithValues(Aws::Vector< Aws::String > &&value)
Definition: StepExecutionFilter.h:114
Aws::SSM::Model::StepExecutionFilter::WithKey
StepExecutionFilter & WithKey(const StepExecutionFilterKey &value)
Definition: StepExecutionFilter.h:76
Aws::SSM::Model::StepExecutionFilter::GetKey
const StepExecutionFilterKey & GetKey() const
Definition: StepExecutionFilter.h:48
Aws::SSM::Model::StepExecutionFilter::operator=
StepExecutionFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::StepExecutionFilter::AddValues
StepExecutionFilter & AddValues(Aws::String &&value)
Definition: StepExecutionFilter.h:124
Aws::SSM::Model::StepExecutionFilter::SetKey
void SetKey(const StepExecutionFilterKey &value)
Definition: StepExecutionFilter.h:62
Aws::SSM::Model::StepExecutionFilter::StepExecutionFilter
StepExecutionFilter(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::SSM::Model::StepExecutionFilter::GetValues
const Aws::Vector< Aws::String > & GetValues() const
Definition: StepExecutionFilter.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::StepExecutionFilterKey
StepExecutionFilterKey
Definition: StepExecutionFilterKey.h:17
Aws::SSM::Model::StepExecutionFilter::StepExecutionFilter
StepExecutionFilter()