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/neptune/Neptune_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 Neptune
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_NEPTUNE_API PendingMaintenanceAction();
37 AWS_NEPTUNE_API PendingMaintenanceAction(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_NEPTUNE_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
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 Neptune
157} // namespace Aws
PendingMaintenanceAction & WithOptInStatus(const Aws::String &value)
void SetForcedApplyDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithDescription(const Aws::String &value)
PendingMaintenanceAction & WithOptInStatus(const char *value)
AWS_NEPTUNE_API PendingMaintenanceAction(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetAutoAppliedAfterDate() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingMaintenanceAction & WithAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithAction(const char *value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingMaintenanceAction & WithAction(Aws::String &&value)
PendingMaintenanceAction & WithAction(const Aws::String &value)
void SetCurrentApplyDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetForcedApplyDate() const
PendingMaintenanceAction & WithCurrentApplyDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithOptInStatus(Aws::String &&value)
PendingMaintenanceAction & WithDescription(const char *value)
const Aws::Utils::DateTime & GetCurrentApplyDate() const
void SetForcedApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithDescription(Aws::String &&value)
PendingMaintenanceAction & WithAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
AWS_NEPTUNE_API PendingMaintenanceAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCurrentApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithCurrentApplyDate(Aws::Utils::DateTime &&value)
void SetAutoAppliedAfterDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithForcedApplyDate(Aws::Utils::DateTime &&value)
void SetAutoAppliedAfterDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithForcedApplyDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream