AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const Action& GetAction() const{ return m_action; }
46 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
47 inline void SetAction(const Action& value) { m_actionHasBeenSet = true; m_action = value; }
48 inline void SetAction(Action&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
49 inline ExecuteFastResetRequest& WithAction(const Action& value) { SetAction(value); return *this;}
50 inline ExecuteFastResetRequest& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetToken() const{ return m_token; }
58 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
59 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
60 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
61 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
62 inline ExecuteFastResetRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
63 inline ExecuteFastResetRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
64 inline ExecuteFastResetRequest& WithToken(const char* value) { SetToken(value); return *this;}
66 private:
67
68 Action m_action;
69 bool m_actionHasBeenSet = false;
70
71 Aws::String m_token;
72 bool m_tokenHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace neptunedata
77} // namespace Aws
ExecuteFastResetRequest & WithAction(const Action &value)
ExecuteFastResetRequest & WithAction(Action &&value)
ExecuteFastResetRequest & WithToken(const Aws::String &value)
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
ExecuteFastResetRequest & WithToken(Aws::String &&value)
ExecuteFastResetRequest & WithToken(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String