AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ExecuteGremlinQueryRequest.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 ExecuteGremlinQueryRequest() = 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 "ExecuteGremlinQuery"; }
28
29 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
30
31 AWS_NEPTUNEDATA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
42 inline const Aws::String& GetGremlinQuery() const { return m_gremlinQuery; }
43 inline bool GremlinQueryHasBeenSet() const { return m_gremlinQueryHasBeenSet; }
44 template <typename GremlinQueryT = Aws::String>
45 void SetGremlinQuery(GremlinQueryT&& value) {
46 m_gremlinQueryHasBeenSet = true;
47 m_gremlinQuery = std::forward<GremlinQueryT>(value);
48 }
49 template <typename GremlinQueryT = Aws::String>
51 SetGremlinQuery(std::forward<GremlinQueryT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::String& GetSerializer() const { return m_serializer; }
65 inline bool SerializerHasBeenSet() const { return m_serializerHasBeenSet; }
66 template <typename SerializerT = Aws::String>
67 void SetSerializer(SerializerT&& value) {
68 m_serializerHasBeenSet = true;
69 m_serializer = std::forward<SerializerT>(value);
70 }
71 template <typename SerializerT = Aws::String>
73 SetSerializer(std::forward<SerializerT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_gremlinQuery;
79
80 Aws::String m_serializer;
81 bool m_gremlinQueryHasBeenSet = false;
82 bool m_serializerHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace neptunedata
87} // 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