AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ApplyPendingMaintenanceActionRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Neptune
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_NEPTUNE_API ApplyPendingMaintenanceActionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ApplyPendingMaintenanceAction"; }
31
32 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
46 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
47 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
48 template<typename ResourceIdentifierT = Aws::String>
49 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
50 template<typename ResourceIdentifierT = Aws::String>
51 ApplyPendingMaintenanceActionRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
53
55
59 inline const Aws::String& GetApplyAction() const { return m_applyAction; }
60 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
61 template<typename ApplyActionT = Aws::String>
62 void SetApplyAction(ApplyActionT&& value) { m_applyActionHasBeenSet = true; m_applyAction = std::forward<ApplyActionT>(value); }
63 template<typename ApplyActionT = Aws::String>
64 ApplyPendingMaintenanceActionRequest& WithApplyAction(ApplyActionT&& value) { SetApplyAction(std::forward<ApplyActionT>(value)); return *this;}
66
68
77 inline const Aws::String& GetOptInType() const { return m_optInType; }
78 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
79 template<typename OptInTypeT = Aws::String>
80 void SetOptInType(OptInTypeT&& value) { m_optInTypeHasBeenSet = true; m_optInType = std::forward<OptInTypeT>(value); }
81 template<typename OptInTypeT = Aws::String>
82 ApplyPendingMaintenanceActionRequest& WithOptInType(OptInTypeT&& value) { SetOptInType(std::forward<OptInTypeT>(value)); return *this;}
84 private:
85
86 Aws::String m_resourceIdentifier;
87 bool m_resourceIdentifierHasBeenSet = false;
88
89 Aws::String m_applyAction;
90 bool m_applyActionHasBeenSet = false;
91
92 Aws::String m_optInType;
93 bool m_optInTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Neptune
98} // 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