AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
52 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
53 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
56 inline ApplyPendingMaintenanceActionRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
58
60
72 inline const Aws::String& GetApplyAction() const{ return m_applyAction; }
73 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
74 inline void SetApplyAction(const Aws::String& value) { m_applyActionHasBeenSet = true; m_applyAction = value; }
75 inline void SetApplyAction(Aws::String&& value) { m_applyActionHasBeenSet = true; m_applyAction = std::move(value); }
76 inline void SetApplyAction(const char* value) { m_applyActionHasBeenSet = true; m_applyAction.assign(value); }
78 inline ApplyPendingMaintenanceActionRequest& WithApplyAction(Aws::String&& value) { SetApplyAction(std::move(value)); return *this;}
79 inline ApplyPendingMaintenanceActionRequest& WithApplyAction(const char* value) { SetApplyAction(value); return *this;}
81
83
92 inline const Aws::String& GetOptInType() const{ return m_optInType; }
93 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
94 inline void SetOptInType(const Aws::String& value) { m_optInTypeHasBeenSet = true; m_optInType = value; }
95 inline void SetOptInType(Aws::String&& value) { m_optInTypeHasBeenSet = true; m_optInType = std::move(value); }
96 inline void SetOptInType(const char* value) { m_optInTypeHasBeenSet = true; m_optInType.assign(value); }
97 inline ApplyPendingMaintenanceActionRequest& WithOptInType(const Aws::String& value) { SetOptInType(value); return *this;}
98 inline ApplyPendingMaintenanceActionRequest& WithOptInType(Aws::String&& value) { SetOptInType(std::move(value)); return *this;}
99 inline ApplyPendingMaintenanceActionRequest& WithOptInType(const char* value) { SetOptInType(value); return *this;}
101 private:
102
103 Aws::String m_resourceIdentifier;
104 bool m_resourceIdentifierHasBeenSet = false;
105
106 Aws::String m_applyAction;
107 bool m_applyActionHasBeenSet = false;
108
109 Aws::String m_optInType;
110 bool m_optInTypeHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace RDS
115} // namespace Aws
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ApplyPendingMaintenanceActionRequest & WithApplyAction(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithOptInType(const char *value)
AWS_RDS_API Aws::String SerializePayload() const override
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithOptInType(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(Aws::String &&value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(const char *value)
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(const char *value)
ApplyPendingMaintenanceActionRequest & WithOptInType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String