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/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace RDS
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_RDS_API ApplyPendingMaintenanceActionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ApplyPendingMaintenanceAction"; }
34
35 AWS_RDS_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
49 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
50 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
51 template<typename ResourceIdentifierT = Aws::String>
52 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
53 template<typename ResourceIdentifierT = Aws::String>
54 ApplyPendingMaintenanceActionRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
56
58
70 inline const Aws::String& GetApplyAction() const { return m_applyAction; }
71 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
72 template<typename ApplyActionT = Aws::String>
73 void SetApplyAction(ApplyActionT&& value) { m_applyActionHasBeenSet = true; m_applyAction = std::forward<ApplyActionT>(value); }
74 template<typename ApplyActionT = Aws::String>
75 ApplyPendingMaintenanceActionRequest& WithApplyAction(ApplyActionT&& value) { SetApplyAction(std::forward<ApplyActionT>(value)); return *this;}
77
79
88 inline const Aws::String& GetOptInType() const { return m_optInType; }
89 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
90 template<typename OptInTypeT = Aws::String>
91 void SetOptInType(OptInTypeT&& value) { m_optInTypeHasBeenSet = true; m_optInType = std::forward<OptInTypeT>(value); }
92 template<typename OptInTypeT = Aws::String>
93 ApplyPendingMaintenanceActionRequest& WithOptInType(OptInTypeT&& value) { SetOptInType(std::forward<OptInTypeT>(value)); return *this;}
95 private:
96
97 Aws::String m_resourceIdentifier;
98 bool m_resourceIdentifierHasBeenSet = false;
99
100 Aws::String m_applyAction;
101 bool m_applyActionHasBeenSet = false;
102
103 Aws::String m_optInType;
104 bool m_optInTypeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace RDS
109} // 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