AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackInstanceResourceDriftsSummary.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/PhysicalResourceIdContextKeyValuePair.h>
14#include <aws/cloudformation/model/PropertyDifference.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace CloudFormation
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_CLOUDFORMATION_API StackInstanceResourceDriftsSummary();
41 AWS_CLOUDFORMATION_API StackInstanceResourceDriftsSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetStackId() const{ return m_stackId; }
53 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
54 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
55 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
56 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
57 inline StackInstanceResourceDriftsSummary& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
58 inline StackInstanceResourceDriftsSummary& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
59 inline StackInstanceResourceDriftsSummary& WithStackId(const char* value) { SetStackId(value); return *this;}
61
63
66 inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
67 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
68 inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
69 inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
70 inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
73 inline StackInstanceResourceDriftsSummary& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
75
77
81 inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
82 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
83 inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
84 inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
85 inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
88 inline StackInstanceResourceDriftsSummary& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
90
92
99 inline const Aws::Vector<PhysicalResourceIdContextKeyValuePair>& GetPhysicalResourceIdContext() const{ return m_physicalResourceIdContext; }
100 inline bool PhysicalResourceIdContextHasBeenSet() const { return m_physicalResourceIdContextHasBeenSet; }
101 inline void SetPhysicalResourceIdContext(const Aws::Vector<PhysicalResourceIdContextKeyValuePair>& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext = value; }
102 inline void SetPhysicalResourceIdContext(Aws::Vector<PhysicalResourceIdContextKeyValuePair>&& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext = std::move(value); }
105 inline StackInstanceResourceDriftsSummary& AddPhysicalResourceIdContext(const PhysicalResourceIdContextKeyValuePair& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext.push_back(value); return *this; }
106 inline StackInstanceResourceDriftsSummary& AddPhysicalResourceIdContext(PhysicalResourceIdContextKeyValuePair&& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext.push_back(std::move(value)); return *this; }
108
110
116 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
117 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
118 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
119 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
120 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
122 inline StackInstanceResourceDriftsSummary& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
123 inline StackInstanceResourceDriftsSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;}
125
127
132 inline const Aws::Vector<PropertyDifference>& GetPropertyDifferences() const{ return m_propertyDifferences; }
133 inline bool PropertyDifferencesHasBeenSet() const { return m_propertyDifferencesHasBeenSet; }
134 inline void SetPropertyDifferences(const Aws::Vector<PropertyDifference>& value) { m_propertyDifferencesHasBeenSet = true; m_propertyDifferences = value; }
135 inline void SetPropertyDifferences(Aws::Vector<PropertyDifference>&& value) { m_propertyDifferencesHasBeenSet = true; m_propertyDifferences = std::move(value); }
138 inline StackInstanceResourceDriftsSummary& AddPropertyDifferences(const PropertyDifference& value) { m_propertyDifferencesHasBeenSet = true; m_propertyDifferences.push_back(value); return *this; }
139 inline StackInstanceResourceDriftsSummary& AddPropertyDifferences(PropertyDifference&& value) { m_propertyDifferencesHasBeenSet = true; m_propertyDifferences.push_back(std::move(value)); return *this; }
141
143
153 inline const StackResourceDriftStatus& GetStackResourceDriftStatus() const{ return m_stackResourceDriftStatus; }
154 inline bool StackResourceDriftStatusHasBeenSet() const { return m_stackResourceDriftStatusHasBeenSet; }
155 inline void SetStackResourceDriftStatus(const StackResourceDriftStatus& value) { m_stackResourceDriftStatusHasBeenSet = true; m_stackResourceDriftStatus = value; }
156 inline void SetStackResourceDriftStatus(StackResourceDriftStatus&& value) { m_stackResourceDriftStatusHasBeenSet = true; m_stackResourceDriftStatus = std::move(value); }
160
162
165 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
166 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
167 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
168 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
170 inline StackInstanceResourceDriftsSummary& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
172 private:
173
174 Aws::String m_stackId;
175 bool m_stackIdHasBeenSet = false;
176
177 Aws::String m_logicalResourceId;
178 bool m_logicalResourceIdHasBeenSet = false;
179
180 Aws::String m_physicalResourceId;
181 bool m_physicalResourceIdHasBeenSet = false;
182
183 Aws::Vector<PhysicalResourceIdContextKeyValuePair> m_physicalResourceIdContext;
184 bool m_physicalResourceIdContextHasBeenSet = false;
185
186 Aws::String m_resourceType;
187 bool m_resourceTypeHasBeenSet = false;
188
189 Aws::Vector<PropertyDifference> m_propertyDifferences;
190 bool m_propertyDifferencesHasBeenSet = false;
191
192 StackResourceDriftStatus m_stackResourceDriftStatus;
193 bool m_stackResourceDriftStatusHasBeenSet = false;
194
195 Aws::Utils::DateTime m_timestamp;
196 bool m_timestampHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace CloudFormation
201} // namespace Aws
StackInstanceResourceDriftsSummary & WithPhysicalResourceIdContext(const Aws::Vector< PhysicalResourceIdContextKeyValuePair > &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPhysicalResourceIdContext(Aws::Vector< PhysicalResourceIdContextKeyValuePair > &&value)
StackInstanceResourceDriftsSummary & WithResourceType(const char *value)
StackInstanceResourceDriftsSummary & WithStackId(const Aws::String &value)
StackInstanceResourceDriftsSummary & WithPhysicalResourceId(const Aws::String &value)
AWS_CLOUDFORMATION_API StackInstanceResourceDriftsSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackInstanceResourceDriftsSummary & WithPhysicalResourceId(const char *value)
StackInstanceResourceDriftsSummary & WithStackId(Aws::String &&value)
StackInstanceResourceDriftsSummary & AddPropertyDifferences(PropertyDifference &&value)
void SetPropertyDifferences(const Aws::Vector< PropertyDifference > &value)
void SetPhysicalResourceIdContext(const Aws::Vector< PhysicalResourceIdContextKeyValuePair > &value)
StackInstanceResourceDriftsSummary & WithStackId(const char *value)
StackInstanceResourceDriftsSummary & AddPropertyDifferences(const PropertyDifference &value)
StackInstanceResourceDriftsSummary & WithPhysicalResourceId(Aws::String &&value)
StackInstanceResourceDriftsSummary & WithPropertyDifferences(const Aws::Vector< PropertyDifference > &value)
StackInstanceResourceDriftsSummary & WithLogicalResourceId(const char *value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StackInstanceResourceDriftsSummary & AddPhysicalResourceIdContext(const PhysicalResourceIdContextKeyValuePair &value)
StackInstanceResourceDriftsSummary & WithPropertyDifferences(Aws::Vector< PropertyDifference > &&value)
StackInstanceResourceDriftsSummary & WithResourceType(Aws::String &&value)
StackInstanceResourceDriftsSummary & AddPhysicalResourceIdContext(PhysicalResourceIdContextKeyValuePair &&value)
StackInstanceResourceDriftsSummary & WithTimestamp(Aws::Utils::DateTime &&value)
AWS_CLOUDFORMATION_API StackInstanceResourceDriftsSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
StackInstanceResourceDriftsSummary & WithTimestamp(const Aws::Utils::DateTime &value)
StackInstanceResourceDriftsSummary & WithStackResourceDriftStatus(StackResourceDriftStatus &&value)
const Aws::Vector< PhysicalResourceIdContextKeyValuePair > & GetPhysicalResourceIdContext() const
StackInstanceResourceDriftsSummary & WithLogicalResourceId(Aws::String &&value)
StackInstanceResourceDriftsSummary & WithLogicalResourceId(const Aws::String &value)
StackInstanceResourceDriftsSummary & WithStackResourceDriftStatus(const StackResourceDriftStatus &value)
StackInstanceResourceDriftsSummary & WithResourceType(const Aws::String &value)
StackInstanceResourceDriftsSummary & WithPhysicalResourceIdContext(Aws::Vector< PhysicalResourceIdContextKeyValuePair > &&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