AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SupportedEngineLifecycle.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/rds/model/LifecycleSupportName.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 RDS
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_RDS_API SupportedEngineLifecycle() = default;
43
44 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
69 inline LifecycleSupportName GetLifecycleSupportName() const { return m_lifecycleSupportName; }
70 inline bool LifecycleSupportNameHasBeenSet() const { return m_lifecycleSupportNameHasBeenSet; }
71 inline void SetLifecycleSupportName(LifecycleSupportName value) { m_lifecycleSupportNameHasBeenSet = true; m_lifecycleSupportName = value; }
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) { m_lifecycleSupportStartDateHasBeenSet = true; m_lifecycleSupportStartDate = std::forward<LifecycleSupportStartDateT>(value); }
84 template<typename LifecycleSupportStartDateT = Aws::Utils::DateTime>
85 SupportedEngineLifecycle& WithLifecycleSupportStartDate(LifecycleSupportStartDateT&& value) { SetLifecycleSupportStartDate(std::forward<LifecycleSupportStartDateT>(value)); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetLifecycleSupportEndDate() const { return m_lifecycleSupportEndDate; }
94 inline bool LifecycleSupportEndDateHasBeenSet() const { return m_lifecycleSupportEndDateHasBeenSet; }
95 template<typename LifecycleSupportEndDateT = Aws::Utils::DateTime>
96 void SetLifecycleSupportEndDate(LifecycleSupportEndDateT&& value) { m_lifecycleSupportEndDateHasBeenSet = true; m_lifecycleSupportEndDate = std::forward<LifecycleSupportEndDateT>(value); }
97 template<typename LifecycleSupportEndDateT = Aws::Utils::DateTime>
98 SupportedEngineLifecycle& WithLifecycleSupportEndDate(LifecycleSupportEndDateT&& value) { SetLifecycleSupportEndDate(std::forward<LifecycleSupportEndDateT>(value)); return *this;}
100 private:
101
103 bool m_lifecycleSupportNameHasBeenSet = false;
104
105 Aws::Utils::DateTime m_lifecycleSupportStartDate{};
106 bool m_lifecycleSupportStartDateHasBeenSet = false;
107
108 Aws::Utils::DateTime m_lifecycleSupportEndDate{};
109 bool m_lifecycleSupportEndDateHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace RDS
114} // 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