AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExecuteFastResetRequest.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/neptunedata/model/Action.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace neptunedata
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NEPTUNEDATA_API ExecuteFastResetRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ExecuteFastReset"; }
32
33 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
34
35
37
45 inline Action GetAction() const { return m_action; }
46 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
47 inline void SetAction(Action value) { m_actionHasBeenSet = true; m_action = value; }
48 inline ExecuteFastResetRequest& WithAction(Action value) { SetAction(value); return *this;}
50
52
55 inline const Aws::String& GetToken() const { return m_token; }
56 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
57 template<typename TokenT = Aws::String>
58 void SetToken(TokenT&& value) { m_tokenHasBeenSet = true; m_token = std::forward<TokenT>(value); }
59 template<typename TokenT = Aws::String>
60 ExecuteFastResetRequest& WithToken(TokenT&& value) { SetToken(std::forward<TokenT>(value)); return *this;}
62 private:
63
64 Action m_action{Action::NOT_SET};
65 bool m_actionHasBeenSet = false;
66
67 Aws::String m_token;
68 bool m_tokenHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace neptunedata
73} // 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