AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExecuteGremlinProfileQueryRequest.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace neptunedata
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_NEPTUNEDATA_API ExecuteGremlinProfileQueryRequest() = 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 "ExecuteGremlinProfileQuery"; }
31
32 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetGremlinQuery() const { return m_gremlinQuery; }
40 inline bool GremlinQueryHasBeenSet() const { return m_gremlinQueryHasBeenSet; }
41 template<typename GremlinQueryT = Aws::String>
42 void SetGremlinQuery(GremlinQueryT&& value) { m_gremlinQueryHasBeenSet = true; m_gremlinQuery = std::forward<GremlinQueryT>(value); }
43 template<typename GremlinQueryT = Aws::String>
44 ExecuteGremlinProfileQueryRequest& WithGremlinQuery(GremlinQueryT&& value) { SetGremlinQuery(std::forward<GremlinQueryT>(value)); return *this;}
46
48
53 inline bool GetResults() const { return m_results; }
54 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
55 inline void SetResults(bool value) { m_resultsHasBeenSet = true; m_results = value; }
56 inline ExecuteGremlinProfileQueryRequest& WithResults(bool value) { SetResults(value); return *this;}
58
60
64 inline int GetChop() const { return m_chop; }
65 inline bool ChopHasBeenSet() const { return m_chopHasBeenSet; }
66 inline void SetChop(int value) { m_chopHasBeenSet = true; m_chop = value; }
67 inline ExecuteGremlinProfileQueryRequest& WithChop(int value) { SetChop(value); return *this;}
69
71
77 inline const Aws::String& GetSerializer() const { return m_serializer; }
78 inline bool SerializerHasBeenSet() const { return m_serializerHasBeenSet; }
79 template<typename SerializerT = Aws::String>
80 void SetSerializer(SerializerT&& value) { m_serializerHasBeenSet = true; m_serializer = std::forward<SerializerT>(value); }
81 template<typename SerializerT = Aws::String>
82 ExecuteGremlinProfileQueryRequest& WithSerializer(SerializerT&& value) { SetSerializer(std::forward<SerializerT>(value)); return *this;}
84
86
91 inline bool GetIndexOps() const { return m_indexOps; }
92 inline bool IndexOpsHasBeenSet() const { return m_indexOpsHasBeenSet; }
93 inline void SetIndexOps(bool value) { m_indexOpsHasBeenSet = true; m_indexOps = value; }
94 inline ExecuteGremlinProfileQueryRequest& WithIndexOps(bool value) { SetIndexOps(value); return *this;}
96 private:
97
98 Aws::String m_gremlinQuery;
99 bool m_gremlinQueryHasBeenSet = false;
100
101 bool m_results{false};
102 bool m_resultsHasBeenSet = false;
103
104 int m_chop{0};
105 bool m_chopHasBeenSet = false;
106
107 Aws::String m_serializer;
108 bool m_serializerHasBeenSet = false;
109
110 bool m_indexOps{false};
111 bool m_indexOpsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace neptunedata
116} // 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