AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ApplyPendingMaintenanceActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/rds/RDS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace RDS {
15namespace Model {
16
23 public:
24 AWS_RDS_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_RDS_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
45 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
46 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
47 template <typename ResourceIdentifierT = Aws::String>
48 void SetResourceIdentifier(ResourceIdentifierT&& value) {
49 m_resourceIdentifierHasBeenSet = true;
50 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
51 }
52 template <typename ResourceIdentifierT = Aws::String>
54 SetResourceIdentifier(std::forward<ResourceIdentifierT>(value));
55 return *this;
56 }
58
60
72 inline const Aws::String& GetApplyAction() const { return m_applyAction; }
73 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
74 template <typename ApplyActionT = Aws::String>
75 void SetApplyAction(ApplyActionT&& value) {
76 m_applyActionHasBeenSet = true;
77 m_applyAction = std::forward<ApplyActionT>(value);
78 }
79 template <typename ApplyActionT = Aws::String>
81 SetApplyAction(std::forward<ApplyActionT>(value));
82 return *this;
83 }
85
87
96 inline const Aws::String& GetOptInType() const { return m_optInType; }
97 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
98 template <typename OptInTypeT = Aws::String>
99 void SetOptInType(OptInTypeT&& value) {
100 m_optInTypeHasBeenSet = true;
101 m_optInType = std::forward<OptInTypeT>(value);
102 }
103 template <typename OptInTypeT = Aws::String>
105 SetOptInType(std::forward<OptInTypeT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_resourceIdentifier;
111
112 Aws::String m_applyAction;
113
114 Aws::String m_optInType;
115 bool m_resourceIdentifierHasBeenSet = false;
116 bool m_applyActionHasBeenSet = false;
117 bool m_optInTypeHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace RDS
122} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(ApplyActionT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
ApplyPendingMaintenanceActionRequest & WithOptInType(OptInTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String