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/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/docdb-elastic/DocDBElasticRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/docdb-elastic/model/OptInType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DocDBElastic
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ApplyPendingMaintenanceAction"; }
32
33 AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetApplyAction() const{ return m_applyAction; }
45 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
46 inline void SetApplyAction(const Aws::String& value) { m_applyActionHasBeenSet = true; m_applyAction = value; }
47 inline void SetApplyAction(Aws::String&& value) { m_applyActionHasBeenSet = true; m_applyAction = std::move(value); }
48 inline void SetApplyAction(const char* value) { m_applyActionHasBeenSet = true; m_applyAction.assign(value); }
50 inline ApplyPendingMaintenanceActionRequest& WithApplyAction(Aws::String&& value) { SetApplyAction(std::move(value)); return *this;}
51 inline ApplyPendingMaintenanceActionRequest& WithApplyAction(const char* value) { SetApplyAction(value); return *this;}
53
55
60 inline const Aws::String& GetApplyOn() const{ return m_applyOn; }
61 inline bool ApplyOnHasBeenSet() const { return m_applyOnHasBeenSet; }
62 inline void SetApplyOn(const Aws::String& value) { m_applyOnHasBeenSet = true; m_applyOn = value; }
63 inline void SetApplyOn(Aws::String&& value) { m_applyOnHasBeenSet = true; m_applyOn = std::move(value); }
64 inline void SetApplyOn(const char* value) { m_applyOnHasBeenSet = true; m_applyOn.assign(value); }
65 inline ApplyPendingMaintenanceActionRequest& WithApplyOn(const Aws::String& value) { SetApplyOn(value); return *this;}
66 inline ApplyPendingMaintenanceActionRequest& WithApplyOn(Aws::String&& value) { SetApplyOn(std::move(value)); return *this;}
67 inline ApplyPendingMaintenanceActionRequest& WithApplyOn(const char* value) { SetApplyOn(value); return *this;}
69
71
75 inline const OptInType& GetOptInType() const{ return m_optInType; }
76 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
77 inline void SetOptInType(const OptInType& value) { m_optInTypeHasBeenSet = true; m_optInType = value; }
78 inline void SetOptInType(OptInType&& value) { m_optInTypeHasBeenSet = true; m_optInType = std::move(value); }
79 inline ApplyPendingMaintenanceActionRequest& WithOptInType(const OptInType& value) { SetOptInType(value); return *this;}
80 inline ApplyPendingMaintenanceActionRequest& WithOptInType(OptInType&& value) { SetOptInType(std::move(value)); return *this;}
82
84
88 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
89 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
90 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
91 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
92 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
94 inline ApplyPendingMaintenanceActionRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
95 inline ApplyPendingMaintenanceActionRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
97 private:
98
99 Aws::String m_applyAction;
100 bool m_applyActionHasBeenSet = false;
101
102 Aws::String m_applyOn;
103 bool m_applyOnHasBeenSet = false;
104
105 OptInType m_optInType;
106 bool m_optInTypeHasBeenSet = false;
107
108 Aws::String m_resourceArn;
109 bool m_resourceArnHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace DocDBElastic
114} // namespace Aws
ApplyPendingMaintenanceActionRequest & WithApplyOn(Aws::String &&value)
ApplyPendingMaintenanceActionRequest & WithOptInType(OptInType &&value)
ApplyPendingMaintenanceActionRequest & WithResourceArn(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithResourceArn(const char *value)
ApplyPendingMaintenanceActionRequest & WithOptInType(const OptInType &value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(const Aws::String &value)
AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override
ApplyPendingMaintenanceActionRequest & WithResourceArn(Aws::String &&value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(const char *value)
ApplyPendingMaintenanceActionRequest & WithApplyOn(const char *value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(Aws::String &&value)
ApplyPendingMaintenanceActionRequest & WithApplyOn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String