AWS SDK for C++  1.9.103
AWS SDK for C++
SelectParameters.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Glacier
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const InputSerialization& GetInputSerialization() const{ return m_inputSerialization; }
48 
52  inline bool InputSerializationHasBeenSet() const { return m_inputSerializationHasBeenSet; }
53 
57  inline void SetInputSerialization(const InputSerialization& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = value; }
58 
62  inline void SetInputSerialization(InputSerialization&& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = std::move(value); }
63 
67  inline SelectParameters& WithInputSerialization(const InputSerialization& value) { SetInputSerialization(value); return *this;}
68 
72  inline SelectParameters& WithInputSerialization(InputSerialization&& value) { SetInputSerialization(std::move(value)); return *this;}
73 
74 
78  inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
79 
83  inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
84 
88  inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
89 
93  inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
94 
98  inline SelectParameters& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
99 
103  inline SelectParameters& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
104 
105 
109  inline const Aws::String& GetExpression() const{ return m_expression; }
110 
114  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
115 
119  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
120 
124  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
125 
129  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
130 
134  inline SelectParameters& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
135 
139  inline SelectParameters& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
140 
144  inline SelectParameters& WithExpression(const char* value) { SetExpression(value); return *this;}
145 
146 
150  inline const OutputSerialization& GetOutputSerialization() const{ return m_outputSerialization; }
151 
155  inline bool OutputSerializationHasBeenSet() const { return m_outputSerializationHasBeenSet; }
156 
160  inline void SetOutputSerialization(const OutputSerialization& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = value; }
161 
165  inline void SetOutputSerialization(OutputSerialization&& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = std::move(value); }
166 
170  inline SelectParameters& WithOutputSerialization(const OutputSerialization& value) { SetOutputSerialization(value); return *this;}
171 
175  inline SelectParameters& WithOutputSerialization(OutputSerialization&& value) { SetOutputSerialization(std::move(value)); return *this;}
176 
177  private:
178 
179  InputSerialization m_inputSerialization;
180  bool m_inputSerializationHasBeenSet;
181 
182  ExpressionType m_expressionType;
183  bool m_expressionTypeHasBeenSet;
184 
185  Aws::String m_expression;
186  bool m_expressionHasBeenSet;
187 
188  OutputSerialization m_outputSerialization;
189  bool m_outputSerializationHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace Glacier
194 } // namespace Aws
ExpressionType.h
OutputSerialization.h
Aws::Glacier::Model::SelectParameters::GetOutputSerialization
const OutputSerialization & GetOutputSerialization() const
Definition: SelectParameters.h:150
Aws::Glacier::Model::SelectParameters::WithInputSerialization
SelectParameters & WithInputSerialization(const InputSerialization &value)
Definition: SelectParameters.h:67
Aws::Glacier::Model::SelectParameters::WithOutputSerialization
SelectParameters & WithOutputSerialization(OutputSerialization &&value)
Definition: SelectParameters.h:175
Aws::Glacier::Model::SelectParameters::SetExpression
void SetExpression(Aws::String &&value)
Definition: SelectParameters.h:124
InputSerialization.h
Aws::Glacier::Model::SelectParameters::SetInputSerialization
void SetInputSerialization(const InputSerialization &value)
Definition: SelectParameters.h:57
Aws::Glacier::Model::SelectParameters::SetOutputSerialization
void SetOutputSerialization(const OutputSerialization &value)
Definition: SelectParameters.h:160
Aws::Glacier::Model::SelectParameters::SetOutputSerialization
void SetOutputSerialization(OutputSerialization &&value)
Definition: SelectParameters.h:165
Aws::Glacier::Model::SelectParameters::SelectParameters
SelectParameters()
Aws::Glacier::Model::SelectParameters::SelectParameters
SelectParameters(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::SelectParameters::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: SelectParameters.h:114
Aws::Glacier::Model::SelectParameters::SetInputSerialization
void SetInputSerialization(InputSerialization &&value)
Definition: SelectParameters.h:62
Aws::Glacier::Model::SelectParameters::WithInputSerialization
SelectParameters & WithInputSerialization(InputSerialization &&value)
Definition: SelectParameters.h:72
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::SelectParameters::SetExpressionType
void SetExpressionType(ExpressionType &&value)
Definition: SelectParameters.h:93
Aws::Glacier::Model::SelectParameters::ExpressionTypeHasBeenSet
bool ExpressionTypeHasBeenSet() const
Definition: SelectParameters.h:83
Aws::Glacier::Model::ExpressionType
ExpressionType
Definition: ExpressionType.h:17
Aws::Glacier::Model::SelectParameters::WithExpressionType
SelectParameters & WithExpressionType(ExpressionType &&value)
Definition: SelectParameters.h:103
Aws::Glacier::Model::SelectParameters::operator=
SelectParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::SelectParameters::InputSerializationHasBeenSet
bool InputSerializationHasBeenSet() const
Definition: SelectParameters.h:52
Aws::Glacier::Model::SelectParameters::WithOutputSerialization
SelectParameters & WithOutputSerialization(const OutputSerialization &value)
Definition: SelectParameters.h:170
Aws::Glacier::Model::SelectParameters::GetExpression
const Aws::String & GetExpression() const
Definition: SelectParameters.h:109
Aws::Glacier::Model::SelectParameters
Definition: SelectParameters.h:36
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::SelectParameters::WithExpressionType
SelectParameters & WithExpressionType(const ExpressionType &value)
Definition: SelectParameters.h:98
Aws::Glacier::Model::SelectParameters::WithExpression
SelectParameters & WithExpression(Aws::String &&value)
Definition: SelectParameters.h:139
Aws::Glacier::Model::SelectParameters::SetExpression
void SetExpression(const char *value)
Definition: SelectParameters.h:129
Aws::Glacier::Model::SelectParameters::GetExpressionType
const ExpressionType & GetExpressionType() const
Definition: SelectParameters.h:78
Aws::Glacier::Model::SelectParameters::WithExpression
SelectParameters & WithExpression(const char *value)
Definition: SelectParameters.h:144
Aws::Glacier::Model::SelectParameters::SetExpression
void SetExpression(const Aws::String &value)
Definition: SelectParameters.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::InputSerialization
Definition: InputSerialization.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::SelectParameters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Glacier::Model::OutputSerialization
Definition: OutputSerialization.h:32
Aws::Glacier::Model::SelectParameters::WithExpression
SelectParameters & WithExpression(const Aws::String &value)
Definition: SelectParameters.h:134
Aws::Glacier::Model::SelectParameters::GetInputSerialization
const InputSerialization & GetInputSerialization() const
Definition: SelectParameters.h:47
Aws::Glacier::Model::SelectParameters::OutputSerializationHasBeenSet
bool OutputSerializationHasBeenSet() const
Definition: SelectParameters.h:155
Glacier_EXPORTS.h
Aws::Glacier::Model::SelectParameters::SetExpressionType
void SetExpressionType(const ExpressionType &value)
Definition: SelectParameters.h:88