AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackDriftInformation.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/cloudformation/model/StackDriftStatus.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 CloudFormation
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_CLOUDFORMATION_API StackDriftInformation();
40 AWS_CLOUDFORMATION_API StackDriftInformation(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_CLOUDFORMATION_API StackDriftInformation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
59 inline const StackDriftStatus& GetStackDriftStatus() const{ return m_stackDriftStatus; }
60 inline bool StackDriftStatusHasBeenSet() const { return m_stackDriftStatusHasBeenSet; }
61 inline void SetStackDriftStatus(const StackDriftStatus& value) { m_stackDriftStatusHasBeenSet = true; m_stackDriftStatus = value; }
62 inline void SetStackDriftStatus(StackDriftStatus&& value) { m_stackDriftStatusHasBeenSet = true; m_stackDriftStatus = std::move(value); }
64 inline StackDriftInformation& WithStackDriftStatus(StackDriftStatus&& value) { SetStackDriftStatus(std::move(value)); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetLastCheckTimestamp() const{ return m_lastCheckTimestamp; }
73 inline bool LastCheckTimestampHasBeenSet() const { return m_lastCheckTimestampHasBeenSet; }
74 inline void SetLastCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastCheckTimestampHasBeenSet = true; m_lastCheckTimestamp = value; }
75 inline void SetLastCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastCheckTimestampHasBeenSet = true; m_lastCheckTimestamp = std::move(value); }
79 private:
80
81 StackDriftStatus m_stackDriftStatus;
82 bool m_stackDriftStatusHasBeenSet = false;
83
84 Aws::Utils::DateTime m_lastCheckTimestamp;
85 bool m_lastCheckTimestampHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CloudFormation
90} // namespace Aws
void SetLastCheckTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastCheckTimestamp() const
AWS_CLOUDFORMATION_API StackDriftInformation(const Aws::Utils::Xml::XmlNode &xmlNode)
StackDriftInformation & WithLastCheckTimestamp(Aws::Utils::DateTime &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StackDriftInformation & WithStackDriftStatus(StackDriftStatus &&value)
StackDriftInformation & WithStackDriftStatus(const StackDriftStatus &value)
void SetLastCheckTimestamp(Aws::Utils::DateTime &&value)
void SetStackDriftStatus(const StackDriftStatus &value)
AWS_CLOUDFORMATION_API StackDriftInformation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackDriftInformation & WithLastCheckTimestamp(const Aws::Utils::DateTime &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream