AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ExecuteFastResetRequest.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#include <aws/neptunedata/model/Action.h>
11
12#include <utility>
13
14namespace Aws {
15namespace neptunedata {
16namespace Model {
17
21 public:
22 AWS_NEPTUNEDATA_API ExecuteFastResetRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ExecuteFastReset"; }
29
30 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
31
33
41 inline Action GetAction() const { return m_action; }
42 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
43 inline void SetAction(Action value) {
44 m_actionHasBeenSet = true;
45 m_action = value;
46 }
48 SetAction(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetToken() const { return m_token; }
58 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
59 template <typename TokenT = Aws::String>
60 void SetToken(TokenT&& value) {
61 m_tokenHasBeenSet = true;
62 m_token = std::forward<TokenT>(value);
63 }
64 template <typename TokenT = Aws::String>
66 SetToken(std::forward<TokenT>(value));
67 return *this;
68 }
70 private:
71 Action m_action{Action::NOT_SET};
72
73 Aws::String m_token;
74 bool m_actionHasBeenSet = false;
75 bool m_tokenHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace neptunedata
80} // namespace Aws
AWS_NEPTUNEDATA_API ExecuteFastResetRequest()=default
ExecuteFastResetRequest & WithAction(Action value)
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
ExecuteFastResetRequest & WithToken(TokenT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String