AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGremlinQuery(const Aws::String& value) { m_gremlinQueryHasBeenSet = true; m_gremlinQuery = value; }
42 inline void SetGremlinQuery(Aws::String&& value) { m_gremlinQueryHasBeenSet = true; m_gremlinQuery = std::move(value); }
43 inline void SetGremlinQuery(const char* value) { m_gremlinQueryHasBeenSet = true; m_gremlinQuery.assign(value); }
45 inline ExecuteGremlinProfileQueryRequest& WithGremlinQuery(Aws::String&& value) { SetGremlinQuery(std::move(value)); return *this;}
46 inline ExecuteGremlinProfileQueryRequest& WithGremlinQuery(const char* value) { SetGremlinQuery(value); return *this;}
48
50
55 inline bool GetResults() const{ return m_results; }
56 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
57 inline void SetResults(bool value) { m_resultsHasBeenSet = true; m_results = value; }
58 inline ExecuteGremlinProfileQueryRequest& WithResults(bool value) { SetResults(value); return *this;}
60
62
66 inline int GetChop() const{ return m_chop; }
67 inline bool ChopHasBeenSet() const { return m_chopHasBeenSet; }
68 inline void SetChop(int value) { m_chopHasBeenSet = true; m_chop = value; }
69 inline ExecuteGremlinProfileQueryRequest& WithChop(int value) { SetChop(value); return *this;}
71
73
79 inline const Aws::String& GetSerializer() const{ return m_serializer; }
80 inline bool SerializerHasBeenSet() const { return m_serializerHasBeenSet; }
81 inline void SetSerializer(const Aws::String& value) { m_serializerHasBeenSet = true; m_serializer = value; }
82 inline void SetSerializer(Aws::String&& value) { m_serializerHasBeenSet = true; m_serializer = std::move(value); }
83 inline void SetSerializer(const char* value) { m_serializerHasBeenSet = true; m_serializer.assign(value); }
84 inline ExecuteGremlinProfileQueryRequest& WithSerializer(const Aws::String& value) { SetSerializer(value); return *this;}
85 inline ExecuteGremlinProfileQueryRequest& WithSerializer(Aws::String&& value) { SetSerializer(std::move(value)); return *this;}
86 inline ExecuteGremlinProfileQueryRequest& WithSerializer(const char* value) { SetSerializer(value); return *this;}
88
90
95 inline bool GetIndexOps() const{ return m_indexOps; }
96 inline bool IndexOpsHasBeenSet() const { return m_indexOpsHasBeenSet; }
97 inline void SetIndexOps(bool value) { m_indexOpsHasBeenSet = true; m_indexOps = value; }
98 inline ExecuteGremlinProfileQueryRequest& WithIndexOps(bool value) { SetIndexOps(value); return *this;}
100 private:
101
102 Aws::String m_gremlinQuery;
103 bool m_gremlinQueryHasBeenSet = false;
104
105 bool m_results;
106 bool m_resultsHasBeenSet = false;
107
108 int m_chop;
109 bool m_chopHasBeenSet = false;
110
111 Aws::String m_serializer;
112 bool m_serializerHasBeenSet = false;
113
114 bool m_indexOps;
115 bool m_indexOpsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace neptunedata
120} // namespace Aws
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
ExecuteGremlinProfileQueryRequest & WithSerializer(const char *value)
ExecuteGremlinProfileQueryRequest & WithGremlinQuery(const Aws::String &value)
ExecuteGremlinProfileQueryRequest & WithSerializer(const Aws::String &value)
ExecuteGremlinProfileQueryRequest & WithSerializer(Aws::String &&value)
ExecuteGremlinProfileQueryRequest & WithGremlinQuery(const char *value)
ExecuteGremlinProfileQueryRequest & WithGremlinQuery(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String