AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackResourceDriftInformation.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/StackResourceDriftStatus.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
35 {
36 public:
37 AWS_CLOUDFORMATION_API StackResourceDriftInformation();
38 AWS_CLOUDFORMATION_API StackResourceDriftInformation(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFORMATION_API StackResourceDriftInformation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
60 inline const StackResourceDriftStatus& GetStackResourceDriftStatus() const{ return m_stackResourceDriftStatus; }
61 inline bool StackResourceDriftStatusHasBeenSet() const { return m_stackResourceDriftStatusHasBeenSet; }
62 inline void SetStackResourceDriftStatus(const StackResourceDriftStatus& value) { m_stackResourceDriftStatusHasBeenSet = true; m_stackResourceDriftStatus = value; }
63 inline void SetStackResourceDriftStatus(StackResourceDriftStatus&& value) { m_stackResourceDriftStatusHasBeenSet = true; m_stackResourceDriftStatus = std::move(value); }
67
69
73 inline const Aws::Utils::DateTime& GetLastCheckTimestamp() const{ return m_lastCheckTimestamp; }
74 inline bool LastCheckTimestampHasBeenSet() const { return m_lastCheckTimestampHasBeenSet; }
75 inline void SetLastCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastCheckTimestampHasBeenSet = true; m_lastCheckTimestamp = value; }
76 inline void SetLastCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastCheckTimestampHasBeenSet = true; m_lastCheckTimestamp = std::move(value); }
80 private:
81
82 StackResourceDriftStatus m_stackResourceDriftStatus;
83 bool m_stackResourceDriftStatusHasBeenSet = false;
84
85 Aws::Utils::DateTime m_lastCheckTimestamp;
86 bool m_lastCheckTimestampHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CloudFormation
91} // namespace Aws
void SetStackResourceDriftStatus(const StackResourceDriftStatus &value)
AWS_CLOUDFORMATION_API StackResourceDriftInformation(const Aws::Utils::Xml::XmlNode &xmlNode)
StackResourceDriftInformation & WithStackResourceDriftStatus(const StackResourceDriftStatus &value)
StackResourceDriftInformation & WithLastCheckTimestamp(Aws::Utils::DateTime &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StackResourceDriftInformation & WithLastCheckTimestamp(const Aws::Utils::DateTime &value)
AWS_CLOUDFORMATION_API StackResourceDriftInformation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackResourceDriftInformation & WithStackResourceDriftStatus(StackResourceDriftStatus &&value)
std::basic_ostream< char, std::char_traits< char > > OStream