AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ApplyPendingMaintenanceActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Neptune {
15namespace Model {
16
20 public:
21 AWS_NEPTUNE_API ApplyPendingMaintenanceActionRequest() = 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 "ApplyPendingMaintenanceAction"; }
28
29 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
42 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
43 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
44 template <typename ResourceIdentifierT = Aws::String>
45 void SetResourceIdentifier(ResourceIdentifierT&& value) {
46 m_resourceIdentifierHasBeenSet = true;
47 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
48 }
49 template <typename ResourceIdentifierT = Aws::String>
51 SetResourceIdentifier(std::forward<ResourceIdentifierT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetApplyAction() const { return m_applyAction; }
62 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
63 template <typename ApplyActionT = Aws::String>
64 void SetApplyAction(ApplyActionT&& value) {
65 m_applyActionHasBeenSet = true;
66 m_applyAction = std::forward<ApplyActionT>(value);
67 }
68 template <typename ApplyActionT = Aws::String>
70 SetApplyAction(std::forward<ApplyActionT>(value));
71 return *this;
72 }
74
76
85 inline const Aws::String& GetOptInType() const { return m_optInType; }
86 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
87 template <typename OptInTypeT = Aws::String>
88 void SetOptInType(OptInTypeT&& value) {
89 m_optInTypeHasBeenSet = true;
90 m_optInType = std::forward<OptInTypeT>(value);
91 }
92 template <typename OptInTypeT = Aws::String>
94 SetOptInType(std::forward<OptInTypeT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_resourceIdentifier;
100 bool m_resourceIdentifierHasBeenSet = false;
101
102 Aws::String m_applyAction;
103 bool m_applyActionHasBeenSet = false;
104
105 Aws::String m_optInType;
106 bool m_optInTypeHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Neptune
111} // namespace Aws
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
ApplyPendingMaintenanceActionRequest & WithOptInType(OptInTypeT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_NEPTUNE_API Aws::String SerializePayload() const override
ApplyPendingMaintenanceActionRequest & WithApplyAction(ApplyActionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String