AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingMaintenanceAction.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_DATABASEMIGRATIONSERVICE_API PendingMaintenanceAction();
39 AWS_DATABASEMIGRATIONSERVICE_API PendingMaintenanceAction(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API PendingMaintenanceAction& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetAction() const{ return m_action; }
50 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
51 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
52 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
53 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
54 inline PendingMaintenanceAction& WithAction(const Aws::String& value) { SetAction(value); return *this;}
55 inline PendingMaintenanceAction& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
56 inline PendingMaintenanceAction& WithAction(const char* value) { SetAction(value); return *this;}
58
60
66 inline const Aws::Utils::DateTime& GetAutoAppliedAfterDate() const{ return m_autoAppliedAfterDate; }
67 inline bool AutoAppliedAfterDateHasBeenSet() const { return m_autoAppliedAfterDateHasBeenSet; }
68 inline void SetAutoAppliedAfterDate(const Aws::Utils::DateTime& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = value; }
69 inline void SetAutoAppliedAfterDate(Aws::Utils::DateTime&& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = std::move(value); }
73
75
81 inline const Aws::Utils::DateTime& GetForcedApplyDate() const{ return m_forcedApplyDate; }
82 inline bool ForcedApplyDateHasBeenSet() const { return m_forcedApplyDateHasBeenSet; }
83 inline void SetForcedApplyDate(const Aws::Utils::DateTime& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = value; }
84 inline void SetForcedApplyDate(Aws::Utils::DateTime&& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = std::move(value); }
86 inline PendingMaintenanceAction& WithForcedApplyDate(Aws::Utils::DateTime&& value) { SetForcedApplyDate(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetOptInStatus() const{ return m_optInStatus; }
94 inline bool OptInStatusHasBeenSet() const { return m_optInStatusHasBeenSet; }
95 inline void SetOptInStatus(const Aws::String& value) { m_optInStatusHasBeenSet = true; m_optInStatus = value; }
96 inline void SetOptInStatus(Aws::String&& value) { m_optInStatusHasBeenSet = true; m_optInStatus = std::move(value); }
97 inline void SetOptInStatus(const char* value) { m_optInStatusHasBeenSet = true; m_optInStatus.assign(value); }
98 inline PendingMaintenanceAction& WithOptInStatus(const Aws::String& value) { SetOptInStatus(value); return *this;}
99 inline PendingMaintenanceAction& WithOptInStatus(Aws::String&& value) { SetOptInStatus(std::move(value)); return *this;}
100 inline PendingMaintenanceAction& WithOptInStatus(const char* value) { SetOptInStatus(value); return *this;}
102
104
113 inline const Aws::Utils::DateTime& GetCurrentApplyDate() const{ return m_currentApplyDate; }
114 inline bool CurrentApplyDateHasBeenSet() const { return m_currentApplyDateHasBeenSet; }
115 inline void SetCurrentApplyDate(const Aws::Utils::DateTime& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = value; }
116 inline void SetCurrentApplyDate(Aws::Utils::DateTime&& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = std::move(value); }
120
122
125 inline const Aws::String& GetDescription() const{ return m_description; }
126 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
127 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
128 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
129 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
130 inline PendingMaintenanceAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 inline PendingMaintenanceAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
132 inline PendingMaintenanceAction& WithDescription(const char* value) { SetDescription(value); return *this;}
134 private:
135
136 Aws::String m_action;
137 bool m_actionHasBeenSet = false;
138
139 Aws::Utils::DateTime m_autoAppliedAfterDate;
140 bool m_autoAppliedAfterDateHasBeenSet = false;
141
142 Aws::Utils::DateTime m_forcedApplyDate;
143 bool m_forcedApplyDateHasBeenSet = false;
144
145 Aws::String m_optInStatus;
146 bool m_optInStatusHasBeenSet = false;
147
148 Aws::Utils::DateTime m_currentApplyDate;
149 bool m_currentApplyDateHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace DatabaseMigrationService
157} // namespace Aws
PendingMaintenanceAction & WithAction(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API PendingMaintenanceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
PendingMaintenanceAction & WithDescription(Aws::String &&value)
PendingMaintenanceAction & WithAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithOptInStatus(Aws::String &&value)
PendingMaintenanceAction & WithCurrentApplyDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithOptInStatus(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API PendingMaintenanceAction()
PendingMaintenanceAction & WithForcedApplyDate(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API PendingMaintenanceAction(Aws::Utils::Json::JsonView jsonValue)
PendingMaintenanceAction & WithForcedApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithAction(Aws::String &&value)
PendingMaintenanceAction & WithDescription(const Aws::String &value)
PendingMaintenanceAction & WithCurrentApplyDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue