AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExecuteGremlinQueryRequest.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 ExecuteGremlinQueryRequest() = 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 "ExecuteGremlinQuery"; }
31
32 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
33
34 AWS_NEPTUNEDATA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
46 inline const Aws::String& GetGremlinQuery() const { return m_gremlinQuery; }
47 inline bool GremlinQueryHasBeenSet() const { return m_gremlinQueryHasBeenSet; }
48 template<typename GremlinQueryT = Aws::String>
49 void SetGremlinQuery(GremlinQueryT&& value) { m_gremlinQueryHasBeenSet = true; m_gremlinQuery = std::forward<GremlinQueryT>(value); }
50 template<typename GremlinQueryT = Aws::String>
51 ExecuteGremlinQueryRequest& WithGremlinQuery(GremlinQueryT&& value) { SetGremlinQuery(std::forward<GremlinQueryT>(value)); return *this;}
53
55
62 inline const Aws::String& GetSerializer() const { return m_serializer; }
63 inline bool SerializerHasBeenSet() const { return m_serializerHasBeenSet; }
64 template<typename SerializerT = Aws::String>
65 void SetSerializer(SerializerT&& value) { m_serializerHasBeenSet = true; m_serializer = std::forward<SerializerT>(value); }
66 template<typename SerializerT = Aws::String>
67 ExecuteGremlinQueryRequest& WithSerializer(SerializerT&& value) { SetSerializer(std::forward<SerializerT>(value)); return *this;}
69 private:
70
71 Aws::String m_gremlinQuery;
72 bool m_gremlinQueryHasBeenSet = false;
73
74 Aws::String m_serializer;
75 bool m_serializerHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace neptunedata
80} // namespace Aws
ExecuteGremlinQueryRequest & WithGremlinQuery(GremlinQueryT &&value)
virtual const char * GetServiceRequestName() const override
ExecuteGremlinQueryRequest & WithSerializer(SerializerT &&value)
AWS_NEPTUNEDATA_API ExecuteGremlinQueryRequest()=default
AWS_NEPTUNEDATA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String