AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackResourceDrift.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/memory/stl/AWSVector.h>
11#include <aws/cloudformation/model/StackResourceDriftStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/cloudformation/model/ModuleInfo.h>
14#include <aws/cloudformation/model/PhysicalResourceIdContextKeyValuePair.h>
15#include <aws/cloudformation/model/PropertyDifference.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Xml
23{
24 class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace CloudFormation
28{
29namespace Model
30{
31
50 {
51 public:
52 AWS_CLOUDFORMATION_API StackResourceDrift();
53 AWS_CLOUDFORMATION_API StackResourceDrift(const Aws::Utils::Xml::XmlNode& xmlNode);
54 AWS_CLOUDFORMATION_API StackResourceDrift& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
55
56 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
57 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
58
59
61
64 inline const Aws::String& GetStackId() const{ return m_stackId; }
65 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
66 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
67 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
68 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
69 inline StackResourceDrift& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
70 inline StackResourceDrift& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
71 inline StackResourceDrift& WithStackId(const char* value) { SetStackId(value); return *this;}
73
75
78 inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
79 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
80 inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
81 inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
82 inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
83 inline StackResourceDrift& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;}
84 inline StackResourceDrift& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;}
85 inline StackResourceDrift& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
87
89
93 inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
94 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
95 inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
96 inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
97 inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
98 inline StackResourceDrift& WithPhysicalResourceId(const Aws::String& value) { SetPhysicalResourceId(value); return *this;}
99 inline StackResourceDrift& WithPhysicalResourceId(Aws::String&& value) { SetPhysicalResourceId(std::move(value)); return *this;}
100 inline StackResourceDrift& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
102
104
111 inline const Aws::Vector<PhysicalResourceIdContextKeyValuePair>& GetPhysicalResourceIdContext() const{ return m_physicalResourceIdContext; }
112 inline bool PhysicalResourceIdContextHasBeenSet() const { return m_physicalResourceIdContextHasBeenSet; }
113 inline void SetPhysicalResourceIdContext(const Aws::Vector<PhysicalResourceIdContextKeyValuePair>& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext = value; }
114 inline void SetPhysicalResourceIdContext(Aws::Vector<PhysicalResourceIdContextKeyValuePair>&& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext = std::move(value); }
117 inline StackResourceDrift& AddPhysicalResourceIdContext(const PhysicalResourceIdContextKeyValuePair& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext.push_back(value); return *this; }
118 inline StackResourceDrift& AddPhysicalResourceIdContext(PhysicalResourceIdContextKeyValuePair&& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext.push_back(std::move(value)); return *this; }
120
122
125 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
126 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
127 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
128 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
129 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
130 inline StackResourceDrift& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
131 inline StackResourceDrift& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
132 inline StackResourceDrift& WithResourceType(const char* value) { SetResourceType(value); return *this;}
134
136
142 inline const Aws::String& GetExpectedProperties() const{ return m_expectedProperties; }
143 inline bool ExpectedPropertiesHasBeenSet() const { return m_expectedPropertiesHasBeenSet; }
144 inline void SetExpectedProperties(const Aws::String& value) { m_expectedPropertiesHasBeenSet = true; m_expectedProperties = value; }
145 inline void SetExpectedProperties(Aws::String&& value) { m_expectedPropertiesHasBeenSet = true; m_expectedProperties = std::move(value); }
146 inline void SetExpectedProperties(const char* value) { m_expectedPropertiesHasBeenSet = true; m_expectedProperties.assign(value); }
147 inline StackResourceDrift& WithExpectedProperties(const Aws::String& value) { SetExpectedProperties(value); return *this;}
148 inline StackResourceDrift& WithExpectedProperties(Aws::String&& value) { SetExpectedProperties(std::move(value)); return *this;}
149 inline StackResourceDrift& WithExpectedProperties(const char* value) { SetExpectedProperties(value); return *this;}
151
153
158 inline const Aws::String& GetActualProperties() const{ return m_actualProperties; }
159 inline bool ActualPropertiesHasBeenSet() const { return m_actualPropertiesHasBeenSet; }
160 inline void SetActualProperties(const Aws::String& value) { m_actualPropertiesHasBeenSet = true; m_actualProperties = value; }
161 inline void SetActualProperties(Aws::String&& value) { m_actualPropertiesHasBeenSet = true; m_actualProperties = std::move(value); }
162 inline void SetActualProperties(const char* value) { m_actualPropertiesHasBeenSet = true; m_actualProperties.assign(value); }
163 inline StackResourceDrift& WithActualProperties(const Aws::String& value) { SetActualProperties(value); return *this;}
164 inline StackResourceDrift& WithActualProperties(Aws::String&& value) { SetActualProperties(std::move(value)); return *this;}
165 inline StackResourceDrift& WithActualProperties(const char* value) { SetActualProperties(value); return *this;}
167
169
174 inline const Aws::Vector<PropertyDifference>& GetPropertyDifferences() const{ return m_propertyDifferences; }
175 inline bool PropertyDifferencesHasBeenSet() const { return m_propertyDifferencesHasBeenSet; }
176 inline void SetPropertyDifferences(const Aws::Vector<PropertyDifference>& value) { m_propertyDifferencesHasBeenSet = true; m_propertyDifferences = value; }
177 inline void SetPropertyDifferences(Aws::Vector<PropertyDifference>&& value) { m_propertyDifferencesHasBeenSet = true; m_propertyDifferences = std::move(value); }
180 inline StackResourceDrift& AddPropertyDifferences(const PropertyDifference& value) { m_propertyDifferencesHasBeenSet = true; m_propertyDifferences.push_back(value); return *this; }
181 inline StackResourceDrift& AddPropertyDifferences(PropertyDifference&& value) { m_propertyDifferencesHasBeenSet = true; m_propertyDifferences.push_back(std::move(value)); return *this; }
183
185
196 inline const StackResourceDriftStatus& GetStackResourceDriftStatus() const{ return m_stackResourceDriftStatus; }
197 inline bool StackResourceDriftStatusHasBeenSet() const { return m_stackResourceDriftStatusHasBeenSet; }
198 inline void SetStackResourceDriftStatus(const StackResourceDriftStatus& value) { m_stackResourceDriftStatusHasBeenSet = true; m_stackResourceDriftStatus = value; }
199 inline void SetStackResourceDriftStatus(StackResourceDriftStatus&& value) { m_stackResourceDriftStatusHasBeenSet = true; m_stackResourceDriftStatus = std::move(value); }
203
205
209 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
210 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
211 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
212 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
213 inline StackResourceDrift& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
214 inline StackResourceDrift& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
216
218
222 inline const ModuleInfo& GetModuleInfo() const{ return m_moduleInfo; }
223 inline bool ModuleInfoHasBeenSet() const { return m_moduleInfoHasBeenSet; }
224 inline void SetModuleInfo(const ModuleInfo& value) { m_moduleInfoHasBeenSet = true; m_moduleInfo = value; }
225 inline void SetModuleInfo(ModuleInfo&& value) { m_moduleInfoHasBeenSet = true; m_moduleInfo = std::move(value); }
226 inline StackResourceDrift& WithModuleInfo(const ModuleInfo& value) { SetModuleInfo(value); return *this;}
227 inline StackResourceDrift& WithModuleInfo(ModuleInfo&& value) { SetModuleInfo(std::move(value)); return *this;}
229 private:
230
231 Aws::String m_stackId;
232 bool m_stackIdHasBeenSet = false;
233
234 Aws::String m_logicalResourceId;
235 bool m_logicalResourceIdHasBeenSet = false;
236
237 Aws::String m_physicalResourceId;
238 bool m_physicalResourceIdHasBeenSet = false;
239
240 Aws::Vector<PhysicalResourceIdContextKeyValuePair> m_physicalResourceIdContext;
241 bool m_physicalResourceIdContextHasBeenSet = false;
242
243 Aws::String m_resourceType;
244 bool m_resourceTypeHasBeenSet = false;
245
246 Aws::String m_expectedProperties;
247 bool m_expectedPropertiesHasBeenSet = false;
248
249 Aws::String m_actualProperties;
250 bool m_actualPropertiesHasBeenSet = false;
251
252 Aws::Vector<PropertyDifference> m_propertyDifferences;
253 bool m_propertyDifferencesHasBeenSet = false;
254
255 StackResourceDriftStatus m_stackResourceDriftStatus;
256 bool m_stackResourceDriftStatusHasBeenSet = false;
257
258 Aws::Utils::DateTime m_timestamp;
259 bool m_timestampHasBeenSet = false;
260
261 ModuleInfo m_moduleInfo;
262 bool m_moduleInfoHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace CloudFormation
267} // namespace Aws
StackResourceDrift & WithLogicalResourceId(const Aws::String &value)
StackResourceDrift & WithActualProperties(const Aws::String &value)
StackResourceDrift & WithStackResourceDriftStatus(const StackResourceDriftStatus &value)
StackResourceDrift & AddPropertyDifferences(PropertyDifference &&value)
const Aws::Utils::DateTime & GetTimestamp() const
void SetPropertyDifferences(Aws::Vector< PropertyDifference > &&value)
StackResourceDrift & AddPhysicalResourceIdContext(const PhysicalResourceIdContextKeyValuePair &value)
void SetExpectedProperties(const Aws::String &value)
void SetPropertyDifferences(const Aws::Vector< PropertyDifference > &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StackResourceDrift & WithPropertyDifferences(Aws::Vector< PropertyDifference > &&value)
StackResourceDrift & WithStackId(const char *value)
StackResourceDrift & WithActualProperties(const char *value)
void SetPhysicalResourceIdContext(Aws::Vector< PhysicalResourceIdContextKeyValuePair > &&value)
void SetStackResourceDriftStatus(StackResourceDriftStatus &&value)
StackResourceDrift & WithPropertyDifferences(const Aws::Vector< PropertyDifference > &value)
const Aws::Vector< PropertyDifference > & GetPropertyDifferences() const
StackResourceDrift & WithResourceType(Aws::String &&value)
void SetTimestamp(Aws::Utils::DateTime &&value)
void SetActualProperties(const Aws::String &value)
StackResourceDrift & WithExpectedProperties(const char *value)
StackResourceDrift & WithPhysicalResourceIdContext(const Aws::Vector< PhysicalResourceIdContextKeyValuePair > &value)
StackResourceDrift & AddPhysicalResourceIdContext(PhysicalResourceIdContextKeyValuePair &&value)
const Aws::Vector< PhysicalResourceIdContextKeyValuePair > & GetPhysicalResourceIdContext() const
StackResourceDrift & WithPhysicalResourceId(const Aws::String &value)
StackResourceDrift & WithStackId(const Aws::String &value)
StackResourceDrift & WithResourceType(const Aws::String &value)
StackResourceDrift & WithPhysicalResourceId(const char *value)
StackResourceDrift & WithStackId(Aws::String &&value)
StackResourceDrift & WithExpectedProperties(const Aws::String &value)
StackResourceDrift & WithPhysicalResourceId(Aws::String &&value)
AWS_CLOUDFORMATION_API StackResourceDrift(const Aws::Utils::Xml::XmlNode &xmlNode)
const StackResourceDriftStatus & GetStackResourceDriftStatus() const
StackResourceDrift & WithResourceType(const char *value)
void SetLogicalResourceId(const Aws::String &value)
void SetPhysicalResourceId(const Aws::String &value)
AWS_CLOUDFORMATION_API StackResourceDrift & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackResourceDrift & AddPropertyDifferences(const PropertyDifference &value)
StackResourceDrift & WithModuleInfo(const ModuleInfo &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTimestamp(const Aws::Utils::DateTime &value)
StackResourceDrift & WithTimestamp(const Aws::Utils::DateTime &value)
StackResourceDrift & WithExpectedProperties(Aws::String &&value)
StackResourceDrift & WithActualProperties(Aws::String &&value)
StackResourceDrift & WithTimestamp(Aws::Utils::DateTime &&value)
StackResourceDrift & WithLogicalResourceId(Aws::String &&value)
StackResourceDrift & WithPhysicalResourceIdContext(Aws::Vector< PhysicalResourceIdContextKeyValuePair > &&value)
void SetPhysicalResourceIdContext(const Aws::Vector< PhysicalResourceIdContextKeyValuePair > &value)
StackResourceDrift & WithModuleInfo(ModuleInfo &&value)
StackResourceDrift & WithLogicalResourceId(const char *value)
StackResourceDrift & WithStackResourceDriftStatus(StackResourceDriftStatus &&value)
void SetStackResourceDriftStatus(const StackResourceDriftStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream