AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSelectExpression(const Aws::String& value) { m_selectExpressionHasBeenSet = true; m_selectExpression = value; }
46 inline void SetSelectExpression(Aws::String&& value) { m_selectExpressionHasBeenSet = true; m_selectExpression = std::move(value); }
47 inline void SetSelectExpression(const char* value) { m_selectExpressionHasBeenSet = true; m_selectExpression.assign(value); }
48 inline SelectRequest& WithSelectExpression(const Aws::String& value) { SetSelectExpression(value); return *this;}
49 inline SelectRequest& WithSelectExpression(Aws::String&& value) { SetSelectExpression(std::move(value)); return *this;}
50 inline SelectRequest& WithSelectExpression(const char* value) { SetSelectExpression(value); return *this;}
52
54
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline SelectRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline SelectRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline SelectRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
75 inline bool GetConsistentRead() const{ return m_consistentRead; }
76 inline bool ConsistentReadHasBeenSet() const { return m_consistentReadHasBeenSet; }
77 inline void SetConsistentRead(bool value) { m_consistentReadHasBeenSet = true; m_consistentRead = value; }
78 inline SelectRequest& WithConsistentRead(bool value) { SetConsistentRead(value); return *this;}
80 private:
81
82 Aws::String m_selectExpression;
83 bool m_selectExpressionHasBeenSet = false;
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87
88 bool m_consistentRead;
89 bool m_consistentReadHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SimpleDB
94} // namespace Aws
void SetNextToken(Aws::String &&value)
SelectRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
SelectRequest & WithConsistentRead(bool value)
SelectRequest & WithSelectExpression(const Aws::String &value)
void SetNextToken(const char *value)
SelectRequest & WithNextToken(const Aws::String &value)
AWS_SIMPLEDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SelectRequest & WithSelectExpression(const char *value)
const Aws::String & GetSelectExpression() const
const Aws::String & GetNextToken() const
void SetSelectExpression(const Aws::String &value)
SelectRequest & WithNextToken(Aws::String &&value)
void SetSelectExpression(Aws::String &&value)
SelectRequest & WithSelectExpression(Aws::String &&value)
void SetSelectExpression(const char *value)
void SetNextToken(const Aws::String &value)
AWS_SIMPLEDB_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String