AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ResourceChangeDetail.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/ResourceTargetDefinition.h>
9#include <aws/servicecatalog/model/EvaluationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ServiceCatalog
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SERVICECATALOG_API ResourceChangeDetail() = default;
38 AWS_SERVICECATALOG_API ResourceChangeDetail(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SERVICECATALOG_API ResourceChangeDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ResourceTargetDefinition& GetTarget() const { return m_target; }
48 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
49 template<typename TargetT = ResourceTargetDefinition>
50 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
51 template<typename TargetT = ResourceTargetDefinition>
52 ResourceChangeDetail& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
54
56
61 inline EvaluationType GetEvaluation() const { return m_evaluation; }
62 inline bool EvaluationHasBeenSet() const { return m_evaluationHasBeenSet; }
63 inline void SetEvaluation(EvaluationType value) { m_evaluationHasBeenSet = true; m_evaluation = value; }
64 inline ResourceChangeDetail& WithEvaluation(EvaluationType value) { SetEvaluation(value); return *this;}
66
68
71 inline const Aws::String& GetCausingEntity() const { return m_causingEntity; }
72 inline bool CausingEntityHasBeenSet() const { return m_causingEntityHasBeenSet; }
73 template<typename CausingEntityT = Aws::String>
74 void SetCausingEntity(CausingEntityT&& value) { m_causingEntityHasBeenSet = true; m_causingEntity = std::forward<CausingEntityT>(value); }
75 template<typename CausingEntityT = Aws::String>
76 ResourceChangeDetail& WithCausingEntity(CausingEntityT&& value) { SetCausingEntity(std::forward<CausingEntityT>(value)); return *this;}
78 private:
79
81 bool m_targetHasBeenSet = false;
82
84 bool m_evaluationHasBeenSet = false;
85
86 Aws::String m_causingEntity;
87 bool m_causingEntityHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ServiceCatalog
92} // namespace Aws
ResourceChangeDetail & WithCausingEntity(CausingEntityT &&value)
AWS_SERVICECATALOG_API ResourceChangeDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICECATALOG_API ResourceChangeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API ResourceChangeDetail()=default
const ResourceTargetDefinition & GetTarget() const
ResourceChangeDetail & WithEvaluation(EvaluationType value)
ResourceChangeDetail & WithTarget(TargetT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue