AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ExecuteGremlinProfileQueryRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/neptunedata/Neptunedata_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace neptunedata {
15namespace Model {
16
20 public:
21 AWS_NEPTUNEDATA_API ExecuteGremlinProfileQueryRequest() = 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 "ExecuteGremlinProfileQuery"; }
28
29 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetGremlinQuery() const { return m_gremlinQuery; }
36 inline bool GremlinQueryHasBeenSet() const { return m_gremlinQueryHasBeenSet; }
37 template <typename GremlinQueryT = Aws::String>
38 void SetGremlinQuery(GremlinQueryT&& value) {
39 m_gremlinQueryHasBeenSet = true;
40 m_gremlinQuery = std::forward<GremlinQueryT>(value);
41 }
42 template <typename GremlinQueryT = Aws::String>
44 SetGremlinQuery(std::forward<GremlinQueryT>(value));
45 return *this;
46 }
48
50
55 inline bool GetResults() const { return m_results; }
56 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
57 inline void SetResults(bool value) {
58 m_resultsHasBeenSet = true;
59 m_results = value;
60 }
62 SetResults(value);
63 return *this;
64 }
66
68
72 inline int GetChop() const { return m_chop; }
73 inline bool ChopHasBeenSet() const { return m_chopHasBeenSet; }
74 inline void SetChop(int value) {
75 m_chopHasBeenSet = true;
76 m_chop = value;
77 }
79 SetChop(value);
80 return *this;
81 }
83
85
91 inline const Aws::String& GetSerializer() const { return m_serializer; }
92 inline bool SerializerHasBeenSet() const { return m_serializerHasBeenSet; }
93 template <typename SerializerT = Aws::String>
94 void SetSerializer(SerializerT&& value) {
95 m_serializerHasBeenSet = true;
96 m_serializer = std::forward<SerializerT>(value);
97 }
98 template <typename SerializerT = Aws::String>
100 SetSerializer(std::forward<SerializerT>(value));
101 return *this;
102 }
104
106
111 inline bool GetIndexOps() const { return m_indexOps; }
112 inline bool IndexOpsHasBeenSet() const { return m_indexOpsHasBeenSet; }
113 inline void SetIndexOps(bool value) {
114 m_indexOpsHasBeenSet = true;
115 m_indexOps = value;
116 }
118 SetIndexOps(value);
119 return *this;
120 }
122 private:
123 Aws::String m_gremlinQuery;
124
125 bool m_results{false};
126
127 int m_chop{0};
128
129 Aws::String m_serializer;
130
131 bool m_indexOps{false};
132 bool m_gremlinQueryHasBeenSet = false;
133 bool m_resultsHasBeenSet = false;
134 bool m_chopHasBeenSet = false;
135 bool m_serializerHasBeenSet = false;
136 bool m_indexOpsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace neptunedata
141} // namespace Aws
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
ExecuteGremlinProfileQueryRequest & WithSerializer(SerializerT &&value)
AWS_NEPTUNEDATA_API ExecuteGremlinProfileQueryRequest()=default
ExecuteGremlinProfileQueryRequest & WithGremlinQuery(GremlinQueryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String