AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
GetStatementResultV2Request.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift-data/RedshiftDataAPIServiceRequest.h>
9#include <aws/redshift-data/RedshiftDataAPIService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace RedshiftDataAPIService {
15namespace Model {
16
20 public:
21 AWS_REDSHIFTDATAAPISERVICE_API GetStatementResultV2Request() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetStatementResultV2"; }
28
29 AWS_REDSHIFTDATAAPISERVICE_API Aws::String SerializePayload() const override;
30
31 AWS_REDSHIFTDATAAPISERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 template <typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) {
69 m_nextTokenHasBeenSet = true;
70 m_nextToken = std::forward<NextTokenT>(value);
71 }
72 template <typename NextTokenT = Aws::String>
74 SetNextToken(std::forward<NextTokenT>(value));
75 return *this;
76 }
78
80
84 inline int GetWaitTimeSeconds() const { return m_waitTimeSeconds; }
85 inline bool WaitTimeSecondsHasBeenSet() const { return m_waitTimeSecondsHasBeenSet; }
86 inline void SetWaitTimeSeconds(int value) {
87 m_waitTimeSecondsHasBeenSet = true;
88 m_waitTimeSeconds = value;
89 }
91 SetWaitTimeSeconds(value);
92 return *this;
93 }
95 private:
96 Aws::String m_id;
97
98 Aws::String m_nextToken;
99
100 int m_waitTimeSeconds{0};
101 bool m_idHasBeenSet = false;
102 bool m_nextTokenHasBeenSet = false;
103 bool m_waitTimeSecondsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace RedshiftDataAPIService
108} // namespace Aws
AWS_REDSHIFTDATAAPISERVICE_API Aws::String SerializePayload() const override
AWS_REDSHIFTDATAAPISERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REDSHIFTDATAAPISERVICE_API GetStatementResultV2Request()=default
GetStatementResultV2Request & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String