AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyDifference.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/cloudformation/model/DifferenceType.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
40 {
41 public:
42 AWS_CLOUDFORMATION_API PropertyDifference();
43 AWS_CLOUDFORMATION_API PropertyDifference(const Aws::Utils::Xml::XmlNode& xmlNode);
44 AWS_CLOUDFORMATION_API PropertyDifference& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
54 inline const Aws::String& GetPropertyPath() const{ return m_propertyPath; }
55 inline bool PropertyPathHasBeenSet() const { return m_propertyPathHasBeenSet; }
56 inline void SetPropertyPath(const Aws::String& value) { m_propertyPathHasBeenSet = true; m_propertyPath = value; }
57 inline void SetPropertyPath(Aws::String&& value) { m_propertyPathHasBeenSet = true; m_propertyPath = std::move(value); }
58 inline void SetPropertyPath(const char* value) { m_propertyPathHasBeenSet = true; m_propertyPath.assign(value); }
59 inline PropertyDifference& WithPropertyPath(const Aws::String& value) { SetPropertyPath(value); return *this;}
60 inline PropertyDifference& WithPropertyPath(Aws::String&& value) { SetPropertyPath(std::move(value)); return *this;}
61 inline PropertyDifference& WithPropertyPath(const char* value) { SetPropertyPath(value); return *this;}
63
65
69 inline const Aws::String& GetExpectedValue() const{ return m_expectedValue; }
70 inline bool ExpectedValueHasBeenSet() const { return m_expectedValueHasBeenSet; }
71 inline void SetExpectedValue(const Aws::String& value) { m_expectedValueHasBeenSet = true; m_expectedValue = value; }
72 inline void SetExpectedValue(Aws::String&& value) { m_expectedValueHasBeenSet = true; m_expectedValue = std::move(value); }
73 inline void SetExpectedValue(const char* value) { m_expectedValueHasBeenSet = true; m_expectedValue.assign(value); }
74 inline PropertyDifference& WithExpectedValue(const Aws::String& value) { SetExpectedValue(value); return *this;}
75 inline PropertyDifference& WithExpectedValue(Aws::String&& value) { SetExpectedValue(std::move(value)); return *this;}
76 inline PropertyDifference& WithExpectedValue(const char* value) { SetExpectedValue(value); return *this;}
78
80
83 inline const Aws::String& GetActualValue() const{ return m_actualValue; }
84 inline bool ActualValueHasBeenSet() const { return m_actualValueHasBeenSet; }
85 inline void SetActualValue(const Aws::String& value) { m_actualValueHasBeenSet = true; m_actualValue = value; }
86 inline void SetActualValue(Aws::String&& value) { m_actualValueHasBeenSet = true; m_actualValue = std::move(value); }
87 inline void SetActualValue(const char* value) { m_actualValueHasBeenSet = true; m_actualValue.assign(value); }
88 inline PropertyDifference& WithActualValue(const Aws::String& value) { SetActualValue(value); return *this;}
89 inline PropertyDifference& WithActualValue(Aws::String&& value) { SetActualValue(std::move(value)); return *this;}
90 inline PropertyDifference& WithActualValue(const char* value) { SetActualValue(value); return *this;}
92
94
102 inline const DifferenceType& GetDifferenceType() const{ return m_differenceType; }
103 inline bool DifferenceTypeHasBeenSet() const { return m_differenceTypeHasBeenSet; }
104 inline void SetDifferenceType(const DifferenceType& value) { m_differenceTypeHasBeenSet = true; m_differenceType = value; }
105 inline void SetDifferenceType(DifferenceType&& value) { m_differenceTypeHasBeenSet = true; m_differenceType = std::move(value); }
106 inline PropertyDifference& WithDifferenceType(const DifferenceType& value) { SetDifferenceType(value); return *this;}
107 inline PropertyDifference& WithDifferenceType(DifferenceType&& value) { SetDifferenceType(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_propertyPath;
112 bool m_propertyPathHasBeenSet = false;
113
114 Aws::String m_expectedValue;
115 bool m_expectedValueHasBeenSet = false;
116
117 Aws::String m_actualValue;
118 bool m_actualValueHasBeenSet = false;
119
120 DifferenceType m_differenceType;
121 bool m_differenceTypeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace CloudFormation
126} // namespace Aws
AWS_CLOUDFORMATION_API PropertyDifference(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDifferenceType(const DifferenceType &value)
AWS_CLOUDFORMATION_API PropertyDifference & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PropertyDifference & WithPropertyPath(const Aws::String &value)
void SetExpectedValue(const Aws::String &value)
PropertyDifference & WithDifferenceType(const DifferenceType &value)
PropertyDifference & WithExpectedValue(const Aws::String &value)
PropertyDifference & WithPropertyPath(Aws::String &&value)
PropertyDifference & WithExpectedValue(Aws::String &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PropertyDifference & WithActualValue(const Aws::String &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PropertyDifference & WithActualValue(const char *value)
PropertyDifference & WithDifferenceType(DifferenceType &&value)
PropertyDifference & WithActualValue(Aws::String &&value)
PropertyDifference & WithExpectedValue(const char *value)
PropertyDifference & WithPropertyPath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream