AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingMaintenanceActionDetails.h
1
6#pragma once
7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DocDBElastic
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DOCDBELASTIC_API PendingMaintenanceActionDetails();
38 AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAction() const{ return m_action; }
46 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
47 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
48 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
49 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
50 inline PendingMaintenanceActionDetails& WithAction(const Aws::String& value) { SetAction(value); return *this;}
51 inline PendingMaintenanceActionDetails& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
52 inline PendingMaintenanceActionDetails& WithAction(const char* value) { SetAction(value); return *this;}
54
56
62 inline const Aws::String& GetAutoAppliedAfterDate() const{ return m_autoAppliedAfterDate; }
63 inline bool AutoAppliedAfterDateHasBeenSet() const { return m_autoAppliedAfterDateHasBeenSet; }
64 inline void SetAutoAppliedAfterDate(const Aws::String& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = value; }
65 inline void SetAutoAppliedAfterDate(Aws::String&& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = std::move(value); }
66 inline void SetAutoAppliedAfterDate(const char* value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate.assign(value); }
69 inline PendingMaintenanceActionDetails& WithAutoAppliedAfterDate(const char* value) { SetAutoAppliedAfterDate(value); return *this;}
71
73
77 inline const Aws::String& GetCurrentApplyDate() const{ return m_currentApplyDate; }
78 inline bool CurrentApplyDateHasBeenSet() const { return m_currentApplyDateHasBeenSet; }
79 inline void SetCurrentApplyDate(const Aws::String& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = value; }
80 inline void SetCurrentApplyDate(Aws::String&& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = std::move(value); }
81 inline void SetCurrentApplyDate(const char* value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate.assign(value); }
83 inline PendingMaintenanceActionDetails& WithCurrentApplyDate(Aws::String&& value) { SetCurrentApplyDate(std::move(value)); return *this;}
84 inline PendingMaintenanceActionDetails& WithCurrentApplyDate(const char* value) { SetCurrentApplyDate(value); return *this;}
86
88
92 inline const Aws::String& GetDescription() const{ return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
97 inline PendingMaintenanceActionDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 inline PendingMaintenanceActionDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
99 inline PendingMaintenanceActionDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
101
103
109 inline const Aws::String& GetForcedApplyDate() const{ return m_forcedApplyDate; }
110 inline bool ForcedApplyDateHasBeenSet() const { return m_forcedApplyDateHasBeenSet; }
111 inline void SetForcedApplyDate(const Aws::String& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = value; }
112 inline void SetForcedApplyDate(Aws::String&& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = std::move(value); }
113 inline void SetForcedApplyDate(const char* value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate.assign(value); }
115 inline PendingMaintenanceActionDetails& WithForcedApplyDate(Aws::String&& value) { SetForcedApplyDate(std::move(value)); return *this;}
116 inline PendingMaintenanceActionDetails& WithForcedApplyDate(const char* value) { SetForcedApplyDate(value); return *this;}
118
120
124 inline const Aws::String& GetOptInStatus() const{ return m_optInStatus; }
125 inline bool OptInStatusHasBeenSet() const { return m_optInStatusHasBeenSet; }
126 inline void SetOptInStatus(const Aws::String& value) { m_optInStatusHasBeenSet = true; m_optInStatus = value; }
127 inline void SetOptInStatus(Aws::String&& value) { m_optInStatusHasBeenSet = true; m_optInStatus = std::move(value); }
128 inline void SetOptInStatus(const char* value) { m_optInStatusHasBeenSet = true; m_optInStatus.assign(value); }
129 inline PendingMaintenanceActionDetails& WithOptInStatus(const Aws::String& value) { SetOptInStatus(value); return *this;}
130 inline PendingMaintenanceActionDetails& WithOptInStatus(Aws::String&& value) { SetOptInStatus(std::move(value)); return *this;}
131 inline PendingMaintenanceActionDetails& WithOptInStatus(const char* value) { SetOptInStatus(value); return *this;}
133 private:
134
135 Aws::String m_action;
136 bool m_actionHasBeenSet = false;
137
138 Aws::String m_autoAppliedAfterDate;
139 bool m_autoAppliedAfterDateHasBeenSet = false;
140
141 Aws::String m_currentApplyDate;
142 bool m_currentApplyDateHasBeenSet = false;
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
147 Aws::String m_forcedApplyDate;
148 bool m_forcedApplyDateHasBeenSet = false;
149
150 Aws::String m_optInStatus;
151 bool m_optInStatusHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace DocDBElastic
156} // namespace Aws
PendingMaintenanceActionDetails & WithForcedApplyDate(const Aws::String &value)
PendingMaintenanceActionDetails & WithAction(const Aws::String &value)
PendingMaintenanceActionDetails & WithForcedApplyDate(const char *value)
PendingMaintenanceActionDetails & WithCurrentApplyDate(Aws::String &&value)
PendingMaintenanceActionDetails & WithDescription(const Aws::String &value)
PendingMaintenanceActionDetails & WithForcedApplyDate(Aws::String &&value)
AWS_DOCDBELASTIC_API PendingMaintenanceActionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
PendingMaintenanceActionDetails & WithOptInStatus(const char *value)
PendingMaintenanceActionDetails & WithAction(const char *value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
PendingMaintenanceActionDetails & WithDescription(const char *value)
PendingMaintenanceActionDetails & WithOptInStatus(const Aws::String &value)
PendingMaintenanceActionDetails & WithCurrentApplyDate(const char *value)
PendingMaintenanceActionDetails & WithOptInStatus(Aws::String &&value)
PendingMaintenanceActionDetails & WithAutoAppliedAfterDate(const Aws::String &value)
AWS_DOCDBELASTIC_API PendingMaintenanceActionDetails(Aws::Utils::Json::JsonView jsonValue)
PendingMaintenanceActionDetails & WithAutoAppliedAfterDate(Aws::String &&value)
PendingMaintenanceActionDetails & WithAction(Aws::String &&value)
PendingMaintenanceActionDetails & WithAutoAppliedAfterDate(const char *value)
PendingMaintenanceActionDetails & WithCurrentApplyDate(const Aws::String &value)
PendingMaintenanceActionDetails & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue