AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackResourceSummary.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/cloudformation/model/ResourceStatus.h>
12#include <aws/cloudformation/model/StackResourceDriftInformationSummary.h>
13#include <aws/cloudformation/model/ModuleInfo.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace CloudFormation
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CLOUDFORMATION_API StackResourceSummary();
40 AWS_CLOUDFORMATION_API StackResourceSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_CLOUDFORMATION_API StackResourceSummary& 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
51 inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
52 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
53 inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
54 inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
55 inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
56 inline StackResourceSummary& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;}
57 inline StackResourceSummary& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;}
58 inline StackResourceSummary& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
60
62
66 inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
67 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
68 inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
69 inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
70 inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
72 inline StackResourceSummary& WithPhysicalResourceId(Aws::String&& value) { SetPhysicalResourceId(std::move(value)); return *this;}
73 inline StackResourceSummary& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
75
77
83 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
84 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
85 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
86 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
87 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
88 inline StackResourceSummary& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
89 inline StackResourceSummary& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
90 inline StackResourceSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
98 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
99 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
100 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
104
106
109 inline const ResourceStatus& GetResourceStatus() const{ return m_resourceStatus; }
110 inline bool ResourceStatusHasBeenSet() const { return m_resourceStatusHasBeenSet; }
111 inline void SetResourceStatus(const ResourceStatus& value) { m_resourceStatusHasBeenSet = true; m_resourceStatus = value; }
112 inline void SetResourceStatus(ResourceStatus&& value) { m_resourceStatusHasBeenSet = true; m_resourceStatus = std::move(value); }
113 inline StackResourceSummary& WithResourceStatus(const ResourceStatus& value) { SetResourceStatus(value); return *this;}
114 inline StackResourceSummary& WithResourceStatus(ResourceStatus&& value) { SetResourceStatus(std::move(value)); return *this;}
116
118
121 inline const Aws::String& GetResourceStatusReason() const{ return m_resourceStatusReason; }
122 inline bool ResourceStatusReasonHasBeenSet() const { return m_resourceStatusReasonHasBeenSet; }
123 inline void SetResourceStatusReason(const Aws::String& value) { m_resourceStatusReasonHasBeenSet = true; m_resourceStatusReason = value; }
124 inline void SetResourceStatusReason(Aws::String&& value) { m_resourceStatusReasonHasBeenSet = true; m_resourceStatusReason = std::move(value); }
125 inline void SetResourceStatusReason(const char* value) { m_resourceStatusReasonHasBeenSet = true; m_resourceStatusReason.assign(value); }
127 inline StackResourceSummary& WithResourceStatusReason(Aws::String&& value) { SetResourceStatusReason(std::move(value)); return *this;}
128 inline StackResourceSummary& WithResourceStatusReason(const char* value) { SetResourceStatusReason(value); return *this;}
130
132
141 inline const StackResourceDriftInformationSummary& GetDriftInformation() const{ return m_driftInformation; }
142 inline bool DriftInformationHasBeenSet() const { return m_driftInformationHasBeenSet; }
143 inline void SetDriftInformation(const StackResourceDriftInformationSummary& value) { m_driftInformationHasBeenSet = true; m_driftInformation = value; }
144 inline void SetDriftInformation(StackResourceDriftInformationSummary&& value) { m_driftInformationHasBeenSet = true; m_driftInformation = std::move(value); }
148
150
154 inline const ModuleInfo& GetModuleInfo() const{ return m_moduleInfo; }
155 inline bool ModuleInfoHasBeenSet() const { return m_moduleInfoHasBeenSet; }
156 inline void SetModuleInfo(const ModuleInfo& value) { m_moduleInfoHasBeenSet = true; m_moduleInfo = value; }
157 inline void SetModuleInfo(ModuleInfo&& value) { m_moduleInfoHasBeenSet = true; m_moduleInfo = std::move(value); }
158 inline StackResourceSummary& WithModuleInfo(const ModuleInfo& value) { SetModuleInfo(value); return *this;}
159 inline StackResourceSummary& WithModuleInfo(ModuleInfo&& value) { SetModuleInfo(std::move(value)); return *this;}
161 private:
162
163 Aws::String m_logicalResourceId;
164 bool m_logicalResourceIdHasBeenSet = false;
165
166 Aws::String m_physicalResourceId;
167 bool m_physicalResourceIdHasBeenSet = false;
168
169 Aws::String m_resourceType;
170 bool m_resourceTypeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_lastUpdatedTimestamp;
173 bool m_lastUpdatedTimestampHasBeenSet = false;
174
175 ResourceStatus m_resourceStatus;
176 bool m_resourceStatusHasBeenSet = false;
177
178 Aws::String m_resourceStatusReason;
179 bool m_resourceStatusReasonHasBeenSet = false;
180
181 StackResourceDriftInformationSummary m_driftInformation;
182 bool m_driftInformationHasBeenSet = false;
183
184 ModuleInfo m_moduleInfo;
185 bool m_moduleInfoHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace CloudFormation
190} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
StackResourceSummary & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
StackResourceSummary & WithPhysicalResourceId(Aws::String &&value)
void SetDriftInformation(const StackResourceDriftInformationSummary &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StackResourceSummary & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
StackResourceSummary & WithResourceType(const char *value)
void SetDriftInformation(StackResourceDriftInformationSummary &&value)
StackResourceSummary & WithModuleInfo(const ModuleInfo &value)
StackResourceSummary & WithResourceStatusReason(const Aws::String &value)
StackResourceSummary & WithResourceStatus(const ResourceStatus &value)
StackResourceSummary & WithResourceType(Aws::String &&value)
StackResourceSummary & WithResourceStatusReason(Aws::String &&value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
StackResourceSummary & WithLogicalResourceId(const char *value)
AWS_CLOUDFORMATION_API StackResourceSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackResourceSummary & WithModuleInfo(ModuleInfo &&value)
StackResourceSummary & WithDriftInformation(const StackResourceDriftInformationSummary &value)
StackResourceSummary & WithPhysicalResourceId(const Aws::String &value)
StackResourceSummary & WithLogicalResourceId(Aws::String &&value)
StackResourceSummary & WithResourceStatus(ResourceStatus &&value)
StackResourceSummary & WithResourceType(const Aws::String &value)
StackResourceSummary & WithPhysicalResourceId(const char *value)
StackResourceSummary & WithResourceStatusReason(const char *value)
const StackResourceDriftInformationSummary & GetDriftInformation() const
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
AWS_CLOUDFORMATION_API StackResourceSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
StackResourceSummary & WithDriftInformation(StackResourceDriftInformationSummary &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StackResourceSummary & WithLogicalResourceId(const Aws::String &value)
void SetResourceStatus(const ResourceStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream