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/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace DocDB
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DOCDB_API PendingMaintenanceAction();
39
40 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) 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
94 inline const Aws::String& GetOptInStatus() const{ return m_optInStatus; }
95 inline bool OptInStatusHasBeenSet() const { return m_optInStatusHasBeenSet; }
96 inline void SetOptInStatus(const Aws::String& value) { m_optInStatusHasBeenSet = true; m_optInStatus = value; }
97 inline void SetOptInStatus(Aws::String&& value) { m_optInStatusHasBeenSet = true; m_optInStatus = std::move(value); }
98 inline void SetOptInStatus(const char* value) { m_optInStatusHasBeenSet = true; m_optInStatus.assign(value); }
99 inline PendingMaintenanceAction& WithOptInStatus(const Aws::String& value) { SetOptInStatus(value); return *this;}
100 inline PendingMaintenanceAction& WithOptInStatus(Aws::String&& value) { SetOptInStatus(std::move(value)); return *this;}
101 inline PendingMaintenanceAction& WithOptInStatus(const char* value) { SetOptInStatus(value); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetCurrentApplyDate() const{ return m_currentApplyDate; }
110 inline bool CurrentApplyDateHasBeenSet() const { return m_currentApplyDateHasBeenSet; }
111 inline void SetCurrentApplyDate(const Aws::Utils::DateTime& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = value; }
112 inline void SetCurrentApplyDate(Aws::Utils::DateTime&& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = std::move(value); }
116
118
121 inline const Aws::String& GetDescription() const{ return m_description; }
122 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
123 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
124 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
125 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
126 inline PendingMaintenanceAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
127 inline PendingMaintenanceAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
128 inline PendingMaintenanceAction& WithDescription(const char* value) { SetDescription(value); return *this;}
130 private:
131
132 Aws::String m_action;
133 bool m_actionHasBeenSet = false;
134
135 Aws::Utils::DateTime m_autoAppliedAfterDate;
136 bool m_autoAppliedAfterDateHasBeenSet = false;
137
138 Aws::Utils::DateTime m_forcedApplyDate;
139 bool m_forcedApplyDateHasBeenSet = false;
140
141 Aws::String m_optInStatus;
142 bool m_optInStatusHasBeenSet = false;
143
144 Aws::Utils::DateTime m_currentApplyDate;
145 bool m_currentApplyDateHasBeenSet = false;
146
147 Aws::String m_description;
148 bool m_descriptionHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace DocDB
153} // namespace Aws
PendingMaintenanceAction & WithAction(Aws::String &&value)
PendingMaintenanceAction & WithForcedApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithOptInStatus(const Aws::String &value)
PendingMaintenanceAction & WithAction(const char *value)
const Aws::Utils::DateTime & GetAutoAppliedAfterDate() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingMaintenanceAction & WithDescription(Aws::String &&value)
PendingMaintenanceAction & WithCurrentApplyDate(Aws::Utils::DateTime &&value)
AWS_DOCDB_API PendingMaintenanceAction(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
void SetAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
void SetForcedApplyDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithCurrentApplyDate(const Aws::Utils::DateTime &value)
void SetCurrentApplyDate(const Aws::Utils::DateTime &value)
void SetCurrentApplyDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetForcedApplyDate() const
PendingMaintenanceAction & WithDescription(const Aws::String &value)
PendingMaintenanceAction & WithAction(const Aws::String &value)
AWS_DOCDB_API PendingMaintenanceAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingMaintenanceAction & WithForcedApplyDate(const Aws::Utils::DateTime &value)
void SetForcedApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithOptInStatus(const char *value)
PendingMaintenanceAction & WithDescription(const char *value)
PendingMaintenanceAction & WithOptInStatus(Aws::String &&value)
PendingMaintenanceAction & WithAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetCurrentApplyDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream