AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SelectRequest.h
1
6#pragma once
7#include <aws/sdb/SimpleDB_EXPORTS.h>
8#include <aws/sdb/SimpleDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SimpleDB
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SIMPLEDB_API SelectRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "Select"; }
31
32 AWS_SIMPLEDB_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_SIMPLEDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetSelectExpression() const { return m_selectExpression; }
44 inline bool SelectExpressionHasBeenSet() const { return m_selectExpressionHasBeenSet; }
45 template<typename SelectExpressionT = Aws::String>
46 void SetSelectExpression(SelectExpressionT&& value) { m_selectExpressionHasBeenSet = true; m_selectExpression = std::forward<SelectExpressionT>(value); }
47 template<typename SelectExpressionT = Aws::String>
48 SelectRequest& WithSelectExpression(SelectExpressionT&& value) { SetSelectExpression(std::forward<SelectExpressionT>(value)); return *this;}
50
52
56 inline const Aws::String& GetNextToken() const { return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 template<typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
60 template<typename NextTokenT = Aws::String>
61 SelectRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
63
65
71 inline bool GetConsistentRead() const { return m_consistentRead; }
72 inline bool ConsistentReadHasBeenSet() const { return m_consistentReadHasBeenSet; }
73 inline void SetConsistentRead(bool value) { m_consistentReadHasBeenSet = true; m_consistentRead = value; }
74 inline SelectRequest& WithConsistentRead(bool value) { SetConsistentRead(value); return *this;}
76 private:
77
78 Aws::String m_selectExpression;
79 bool m_selectExpressionHasBeenSet = false;
80
81 Aws::String m_nextToken;
82 bool m_nextTokenHasBeenSet = false;
83
84 bool m_consistentRead{false};
85 bool m_consistentReadHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SimpleDB
90} // namespace Aws
SelectRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(NextTokenT &&value)
SelectRequest & WithConsistentRead(bool value)
AWS_SIMPLEDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetSelectExpression() const
const Aws::String & GetNextToken() const
SelectRequest & WithSelectExpression(SelectExpressionT &&value)
void SetSelectExpression(SelectExpressionT &&value)
AWS_SIMPLEDB_API SelectRequest()=default
AWS_SIMPLEDB_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String