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/S3_EXPORTS.h>
8#include <aws/s3/model/InputSerialization.h>
9#include <aws/s3/model/ExpressionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3/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 S3
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_S3_API SelectParameters();
37 AWS_S3_API SelectParameters(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_S3_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 S3
109} // namespace Aws
void SetExpression(Aws::String &&value)
AWS_S3_API SelectParameters(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInputSerialization(const InputSerialization &value)
SelectParameters & WithExpression(const char *value)
const InputSerialization & GetInputSerialization() const
void SetOutputSerialization(const OutputSerialization &value)
SelectParameters & WithOutputSerialization(const OutputSerialization &value)
AWS_S3_API SelectParameters & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExpression(const Aws::String &value)
SelectParameters & WithInputSerialization(const InputSerialization &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetExpression() const
void SetInputSerialization(InputSerialization &&value)
SelectParameters & WithExpressionType(const ExpressionType &value)
SelectParameters & WithExpressionType(ExpressionType &&value)
void SetExpressionType(ExpressionType &&value)
void SetOutputSerialization(OutputSerialization &&value)
SelectParameters & WithInputSerialization(InputSerialization &&value)
void SetExpressionType(const ExpressionType &value)
const ExpressionType & GetExpressionType() const
SelectParameters & WithExpression(Aws::String &&value)
SelectParameters & WithOutputSerialization(OutputSerialization &&value)
void SetExpression(const char *value)
const OutputSerialization & GetOutputSerialization() const
SelectParameters & WithExpression(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String