AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelectParameters.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/InputSerialization.h>
9#include <aws/glacier/model/ExpressionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/glacier/model/OutputSerialization.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glacier
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLACIER_API SelectParameters();
39 AWS_GLACIER_API SelectParameters(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const InputSerialization& GetInputSerialization() const{ return m_inputSerialization; }
49 inline bool InputSerializationHasBeenSet() const { return m_inputSerializationHasBeenSet; }
50 inline void SetInputSerialization(const InputSerialization& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = value; }
51 inline void SetInputSerialization(InputSerialization&& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = std::move(value); }
53 inline SelectParameters& WithInputSerialization(InputSerialization&& value) { SetInputSerialization(std::move(value)); return *this;}
55
57
60 inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
61 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
62 inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
63 inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
64 inline SelectParameters& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
65 inline SelectParameters& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetExpression() const{ return m_expression; }
73 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
74 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
75 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
76 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
77 inline SelectParameters& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
78 inline SelectParameters& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
79 inline SelectParameters& WithExpression(const char* value) { SetExpression(value); return *this;}
81
83
86 inline const OutputSerialization& GetOutputSerialization() const{ return m_outputSerialization; }
87 inline bool OutputSerializationHasBeenSet() const { return m_outputSerializationHasBeenSet; }
88 inline void SetOutputSerialization(const OutputSerialization& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = value; }
89 inline void SetOutputSerialization(OutputSerialization&& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = std::move(value); }
91 inline SelectParameters& WithOutputSerialization(OutputSerialization&& value) { SetOutputSerialization(std::move(value)); return *this;}
93 private:
94
95 InputSerialization m_inputSerialization;
96 bool m_inputSerializationHasBeenSet = false;
97
98 ExpressionType m_expressionType;
99 bool m_expressionTypeHasBeenSet = false;
100
101 Aws::String m_expression;
102 bool m_expressionHasBeenSet = false;
103
104 OutputSerialization m_outputSerialization;
105 bool m_outputSerializationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Glacier
110} // namespace Aws
SelectParameters & WithExpression(const char *value)
SelectParameters & WithOutputSerialization(const OutputSerialization &value)
AWS_GLACIER_API SelectParameters(Aws::Utils::Json::JsonView jsonValue)
SelectParameters & WithExpressionType(ExpressionType &&value)
const ExpressionType & GetExpressionType() const
const InputSerialization & GetInputSerialization() const
SelectParameters & WithExpressionType(const ExpressionType &value)
const OutputSerialization & GetOutputSerialization() const
void SetExpression(Aws::String &&value)
SelectParameters & WithInputSerialization(InputSerialization &&value)
SelectParameters & WithExpression(const Aws::String &value)
void SetInputSerialization(InputSerialization &&value)
void SetExpressionType(ExpressionType &&value)
SelectParameters & WithInputSerialization(const InputSerialization &value)
void SetOutputSerialization(const OutputSerialization &value)
const Aws::String & GetExpression() const
void SetExpression(const Aws::String &value)
void SetInputSerialization(const InputSerialization &value)
void SetExpressionType(const ExpressionType &value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputSerialization(OutputSerialization &&value)
SelectParameters & WithOutputSerialization(OutputSerialization &&value)
AWS_GLACIER_API SelectParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
SelectParameters & WithExpression(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue