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/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/InputSerialization.h>
9#include <aws/s3-crt/model/ExpressionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3-crt/model/OutputSerialization.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace S3Crt
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_S3CRT_API SelectParameters();
37 AWS_S3CRT_API SelectParameters(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_S3CRT_API SelectParameters& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const InputSerialization& GetInputSerialization() const{ return m_inputSerialization; }
48 inline bool InputSerializationHasBeenSet() const { return m_inputSerializationHasBeenSet; }
49 inline void SetInputSerialization(const InputSerialization& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = value; }
50 inline void SetInputSerialization(InputSerialization&& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = std::move(value); }
52 inline SelectParameters& WithInputSerialization(InputSerialization&& value) { SetInputSerialization(std::move(value)); return *this;}
54
56
59 inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
60 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
61 inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
62 inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
63 inline SelectParameters& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
64 inline SelectParameters& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetExpression() const{ return m_expression; }
72 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
73 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
74 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
75 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
76 inline SelectParameters& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
77 inline SelectParameters& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
78 inline SelectParameters& WithExpression(const char* value) { SetExpression(value); return *this;}
80
82
85 inline const OutputSerialization& GetOutputSerialization() const{ return m_outputSerialization; }
86 inline bool OutputSerializationHasBeenSet() const { return m_outputSerializationHasBeenSet; }
87 inline void SetOutputSerialization(const OutputSerialization& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = value; }
88 inline void SetOutputSerialization(OutputSerialization&& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = std::move(value); }
90 inline SelectParameters& WithOutputSerialization(OutputSerialization&& value) { SetOutputSerialization(std::move(value)); return *this;}
92 private:
93
94 InputSerialization m_inputSerialization;
95 bool m_inputSerializationHasBeenSet = false;
96
97 ExpressionType m_expressionType;
98 bool m_expressionTypeHasBeenSet = false;
99
100 Aws::String m_expression;
101 bool m_expressionHasBeenSet = false;
102
103 OutputSerialization m_outputSerialization;
104 bool m_outputSerializationHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace S3Crt
109} // namespace Aws
SelectParameters & WithOutputSerialization(const OutputSerialization &value)
SelectParameters & WithExpressionType(ExpressionType &&value)
const InputSerialization & GetInputSerialization() const
void SetExpressionType(const ExpressionType &value)
SelectParameters & WithExpressionType(const ExpressionType &value)
SelectParameters & WithOutputSerialization(OutputSerialization &&value)
const OutputSerialization & GetOutputSerialization() const
AWS_S3CRT_API SelectParameters(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API SelectParameters & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInputSerialization(InputSerialization &&value)
void SetExpression(Aws::String &&value)
void SetOutputSerialization(const OutputSerialization &value)
void SetExpression(const char *value)
void SetOutputSerialization(OutputSerialization &&value)
SelectParameters & WithInputSerialization(InputSerialization &&value)
void SetExpressionType(ExpressionType &&value)
void SetExpression(const Aws::String &value)
SelectParameters & WithInputSerialization(const InputSerialization &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetInputSerialization(const InputSerialization &value)
SelectParameters & WithExpression(Aws::String &&value)
SelectParameters & WithExpression(const char *value)
SelectParameters & WithExpression(const Aws::String &value)
const Aws::String & GetExpression() const
const ExpressionType & GetExpressionType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String