AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeprecationTimeCondition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace EC2 {
17namespace Model {
18
26 public:
27 AWS_EC2_API DeprecationTimeCondition() = default;
30
31 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
35
39 inline int GetMaximumDaysSinceDeprecated() const { return m_maximumDaysSinceDeprecated; }
40 inline bool MaximumDaysSinceDeprecatedHasBeenSet() const { return m_maximumDaysSinceDeprecatedHasBeenSet; }
41 inline void SetMaximumDaysSinceDeprecated(int value) {
42 m_maximumDaysSinceDeprecatedHasBeenSet = true;
43 m_maximumDaysSinceDeprecated = value;
44 }
47 return *this;
48 }
50 private:
51 int m_maximumDaysSinceDeprecated{0};
52 bool m_maximumDaysSinceDeprecatedHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace EC2
57} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API DeprecationTimeCondition(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API DeprecationTimeCondition & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API DeprecationTimeCondition()=default
DeprecationTimeCondition & WithMaximumDaysSinceDeprecated(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream