AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceChangeDetail.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/ResourceTargetDefinition.h>
10#include <aws/cloudformation/model/EvaluationType.h>
11#include <aws/cloudformation/model/ChangeSource.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace CloudFormation
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_CLOUDFORMATION_API ResourceChangeDetail();
40 AWS_CLOUDFORMATION_API ResourceChangeDetail(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_CLOUDFORMATION_API ResourceChangeDetail& 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
52 inline const ResourceTargetDefinition& GetTarget() const{ return m_target; }
53 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
54 inline void SetTarget(const ResourceTargetDefinition& value) { m_targetHasBeenSet = true; m_target = value; }
55 inline void SetTarget(ResourceTargetDefinition&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
56 inline ResourceChangeDetail& WithTarget(const ResourceTargetDefinition& value) { SetTarget(value); return *this;}
57 inline ResourceChangeDetail& WithTarget(ResourceTargetDefinition&& value) { SetTarget(std::move(value)); return *this;}
59
61
77 inline const EvaluationType& GetEvaluation() const{ return m_evaluation; }
78 inline bool EvaluationHasBeenSet() const { return m_evaluationHasBeenSet; }
79 inline void SetEvaluation(const EvaluationType& value) { m_evaluationHasBeenSet = true; m_evaluation = value; }
80 inline void SetEvaluation(EvaluationType&& value) { m_evaluationHasBeenSet = true; m_evaluation = std::move(value); }
81 inline ResourceChangeDetail& WithEvaluation(const EvaluationType& value) { SetEvaluation(value); return *this;}
82 inline ResourceChangeDetail& WithEvaluation(EvaluationType&& value) { SetEvaluation(std::move(value)); return *this;}
84
86
106 inline const ChangeSource& GetChangeSource() const{ return m_changeSource; }
107 inline bool ChangeSourceHasBeenSet() const { return m_changeSourceHasBeenSet; }
108 inline void SetChangeSource(const ChangeSource& value) { m_changeSourceHasBeenSet = true; m_changeSource = value; }
109 inline void SetChangeSource(ChangeSource&& value) { m_changeSourceHasBeenSet = true; m_changeSource = std::move(value); }
110 inline ResourceChangeDetail& WithChangeSource(const ChangeSource& value) { SetChangeSource(value); return *this;}
111 inline ResourceChangeDetail& WithChangeSource(ChangeSource&& value) { SetChangeSource(std::move(value)); return *this;}
113
115
124 inline const Aws::String& GetCausingEntity() const{ return m_causingEntity; }
125 inline bool CausingEntityHasBeenSet() const { return m_causingEntityHasBeenSet; }
126 inline void SetCausingEntity(const Aws::String& value) { m_causingEntityHasBeenSet = true; m_causingEntity = value; }
127 inline void SetCausingEntity(Aws::String&& value) { m_causingEntityHasBeenSet = true; m_causingEntity = std::move(value); }
128 inline void SetCausingEntity(const char* value) { m_causingEntityHasBeenSet = true; m_causingEntity.assign(value); }
129 inline ResourceChangeDetail& WithCausingEntity(const Aws::String& value) { SetCausingEntity(value); return *this;}
130 inline ResourceChangeDetail& WithCausingEntity(Aws::String&& value) { SetCausingEntity(std::move(value)); return *this;}
131 inline ResourceChangeDetail& WithCausingEntity(const char* value) { SetCausingEntity(value); return *this;}
133 private:
134
136 bool m_targetHasBeenSet = false;
137
138 EvaluationType m_evaluation;
139 bool m_evaluationHasBeenSet = false;
140
141 ChangeSource m_changeSource;
142 bool m_changeSourceHasBeenSet = false;
143
144 Aws::String m_causingEntity;
145 bool m_causingEntityHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace CloudFormation
150} // namespace Aws
ResourceChangeDetail & WithEvaluation(EvaluationType &&value)
const ResourceTargetDefinition & GetTarget() const
ResourceChangeDetail & WithChangeSource(const ChangeSource &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ResourceChangeDetail & WithCausingEntity(const Aws::String &value)
ResourceChangeDetail & WithChangeSource(ChangeSource &&value)
ResourceChangeDetail & WithEvaluation(const EvaluationType &value)
ResourceChangeDetail & WithCausingEntity(Aws::String &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ResourceChangeDetail & WithTarget(const ResourceTargetDefinition &value)
AWS_CLOUDFORMATION_API ResourceChangeDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ResourceChangeDetail & WithTarget(ResourceTargetDefinition &&value)
AWS_CLOUDFORMATION_API ResourceChangeDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
ResourceChangeDetail & WithCausingEntity(const char *value)
void SetTarget(const ResourceTargetDefinition &value)
void SetTarget(ResourceTargetDefinition &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream