AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ResourceChangeDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
10#include <aws/servicecatalog/model/EvaluationType.h>
11#include <aws/servicecatalog/model/ResourceTargetDefinition.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace ServiceCatalog {
22namespace Model {
23
31 public:
32 AWS_SERVICECATALOG_API ResourceChangeDetail() = default;
33 AWS_SERVICECATALOG_API ResourceChangeDetail(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_SERVICECATALOG_API ResourceChangeDetail& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
41 inline const ResourceTargetDefinition& GetTarget() const { return m_target; }
42 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
43 template <typename TargetT = ResourceTargetDefinition>
44 void SetTarget(TargetT&& value) {
45 m_targetHasBeenSet = true;
46 m_target = std::forward<TargetT>(value);
47 }
48 template <typename TargetT = ResourceTargetDefinition>
49 ResourceChangeDetail& WithTarget(TargetT&& value) {
50 SetTarget(std::forward<TargetT>(value));
51 return *this;
52 }
54
56
61 inline EvaluationType GetEvaluation() const { return m_evaluation; }
62 inline bool EvaluationHasBeenSet() const { return m_evaluationHasBeenSet; }
63 inline void SetEvaluation(EvaluationType value) {
64 m_evaluationHasBeenSet = true;
65 m_evaluation = value;
66 }
68 SetEvaluation(value);
69 return *this;
70 }
72
74
77 inline const Aws::String& GetCausingEntity() const { return m_causingEntity; }
78 inline bool CausingEntityHasBeenSet() const { return m_causingEntityHasBeenSet; }
79 template <typename CausingEntityT = Aws::String>
80 void SetCausingEntity(CausingEntityT&& value) {
81 m_causingEntityHasBeenSet = true;
82 m_causingEntity = std::forward<CausingEntityT>(value);
83 }
84 template <typename CausingEntityT = Aws::String>
85 ResourceChangeDetail& WithCausingEntity(CausingEntityT&& value) {
86 SetCausingEntity(std::forward<CausingEntityT>(value));
87 return *this;
88 }
90 private:
92
94
95 Aws::String m_causingEntity;
96 bool m_targetHasBeenSet = false;
97 bool m_evaluationHasBeenSet = false;
98 bool m_causingEntityHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace ServiceCatalog
103} // namespace Aws
ResourceChangeDetail & WithCausingEntity(CausingEntityT &&value)
AWS_SERVICECATALOG_API ResourceChangeDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API ResourceChangeDetail()=default
const ResourceTargetDefinition & GetTarget() const
ResourceChangeDetail & WithEvaluation(EvaluationType value)
ResourceChangeDetail & WithTarget(TargetT &&value)
AWS_SERVICECATALOG_API ResourceChangeDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String