AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SupportedEngineLifecycle.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/rds/RDS_EXPORTS.h>
10#include <aws/rds/model/LifecycleSupportName.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace RDS {
21namespace Model {
22
34 public:
35 AWS_RDS_API SupportedEngineLifecycle() = default;
38
39 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
43
63 inline LifecycleSupportName GetLifecycleSupportName() const { return m_lifecycleSupportName; }
64 inline bool LifecycleSupportNameHasBeenSet() const { return m_lifecycleSupportNameHasBeenSet; }
66 m_lifecycleSupportNameHasBeenSet = true;
67 m_lifecycleSupportName = value;
68 }
71 return *this;
72 }
74
76
80 inline const Aws::Utils::DateTime& GetLifecycleSupportStartDate() const { return m_lifecycleSupportStartDate; }
81 inline bool LifecycleSupportStartDateHasBeenSet() const { return m_lifecycleSupportStartDateHasBeenSet; }
82 template <typename LifecycleSupportStartDateT = Aws::Utils::DateTime>
83 void SetLifecycleSupportStartDate(LifecycleSupportStartDateT&& value) {
84 m_lifecycleSupportStartDateHasBeenSet = true;
85 m_lifecycleSupportStartDate = std::forward<LifecycleSupportStartDateT>(value);
86 }
87 template <typename LifecycleSupportStartDateT = Aws::Utils::DateTime>
88 SupportedEngineLifecycle& WithLifecycleSupportStartDate(LifecycleSupportStartDateT&& value) {
89 SetLifecycleSupportStartDate(std::forward<LifecycleSupportStartDateT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::Utils::DateTime& GetLifecycleSupportEndDate() const { return m_lifecycleSupportEndDate; }
100 inline bool LifecycleSupportEndDateHasBeenSet() const { return m_lifecycleSupportEndDateHasBeenSet; }
101 template <typename LifecycleSupportEndDateT = Aws::Utils::DateTime>
102 void SetLifecycleSupportEndDate(LifecycleSupportEndDateT&& value) {
103 m_lifecycleSupportEndDateHasBeenSet = true;
104 m_lifecycleSupportEndDate = std::forward<LifecycleSupportEndDateT>(value);
105 }
106 template <typename LifecycleSupportEndDateT = Aws::Utils::DateTime>
107 SupportedEngineLifecycle& WithLifecycleSupportEndDate(LifecycleSupportEndDateT&& value) {
108 SetLifecycleSupportEndDate(std::forward<LifecycleSupportEndDateT>(value));
109 return *this;
110 }
112 private:
114
115 Aws::Utils::DateTime m_lifecycleSupportStartDate{};
116
117 Aws::Utils::DateTime m_lifecycleSupportEndDate{};
118 bool m_lifecycleSupportNameHasBeenSet = false;
119 bool m_lifecycleSupportStartDateHasBeenSet = false;
120 bool m_lifecycleSupportEndDateHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace RDS
125} // namespace Aws
void SetLifecycleSupportEndDate(LifecycleSupportEndDateT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API SupportedEngineLifecycle(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SupportedEngineLifecycle & WithLifecycleSupportEndDate(LifecycleSupportEndDateT &&value)
void SetLifecycleSupportName(LifecycleSupportName value)
void SetLifecycleSupportStartDate(LifecycleSupportStartDateT &&value)
SupportedEngineLifecycle & WithLifecycleSupportName(LifecycleSupportName value)
const Aws::Utils::DateTime & GetLifecycleSupportStartDate() const
AWS_RDS_API SupportedEngineLifecycle()=default
const Aws::Utils::DateTime & GetLifecycleSupportEndDate() const
SupportedEngineLifecycle & WithLifecycleSupportStartDate(LifecycleSupportStartDateT &&value)
AWS_RDS_API SupportedEngineLifecycle & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream