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/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();
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 inline void SetTarget(const ResourceTargetDefinition& value) { m_targetHasBeenSet = true; m_target = value; }
50 inline void SetTarget(ResourceTargetDefinition&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
51 inline ResourceChangeDetail& WithTarget(const ResourceTargetDefinition& value) { SetTarget(value); return *this;}
52 inline ResourceChangeDetail& WithTarget(ResourceTargetDefinition&& value) { SetTarget(std::move(value)); return *this;}
54
56
61 inline const EvaluationType& GetEvaluation() const{ return m_evaluation; }
62 inline bool EvaluationHasBeenSet() const { return m_evaluationHasBeenSet; }
63 inline void SetEvaluation(const EvaluationType& value) { m_evaluationHasBeenSet = true; m_evaluation = value; }
64 inline void SetEvaluation(EvaluationType&& value) { m_evaluationHasBeenSet = true; m_evaluation = std::move(value); }
65 inline ResourceChangeDetail& WithEvaluation(const EvaluationType& value) { SetEvaluation(value); return *this;}
66 inline ResourceChangeDetail& WithEvaluation(EvaluationType&& value) { SetEvaluation(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetCausingEntity() const{ return m_causingEntity; }
74 inline bool CausingEntityHasBeenSet() const { return m_causingEntityHasBeenSet; }
75 inline void SetCausingEntity(const Aws::String& value) { m_causingEntityHasBeenSet = true; m_causingEntity = value; }
76 inline void SetCausingEntity(Aws::String&& value) { m_causingEntityHasBeenSet = true; m_causingEntity = std::move(value); }
77 inline void SetCausingEntity(const char* value) { m_causingEntityHasBeenSet = true; m_causingEntity.assign(value); }
78 inline ResourceChangeDetail& WithCausingEntity(const Aws::String& value) { SetCausingEntity(value); return *this;}
79 inline ResourceChangeDetail& WithCausingEntity(Aws::String&& value) { SetCausingEntity(std::move(value)); return *this;}
80 inline ResourceChangeDetail& WithCausingEntity(const char* value) { SetCausingEntity(value); return *this;}
82 private:
83
85 bool m_targetHasBeenSet = false;
86
87 EvaluationType m_evaluation;
88 bool m_evaluationHasBeenSet = false;
89
90 Aws::String m_causingEntity;
91 bool m_causingEntityHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ServiceCatalog
96} // namespace Aws
ResourceChangeDetail & WithEvaluation(EvaluationType &&value)
AWS_SERVICECATALOG_API ResourceChangeDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceChangeDetail & WithTarget(ResourceTargetDefinition &&value)
AWS_SERVICECATALOG_API ResourceChangeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceChangeDetail & WithCausingEntity(const Aws::String &value)
ResourceChangeDetail & WithEvaluation(const EvaluationType &value)
const ResourceTargetDefinition & GetTarget() const
ResourceChangeDetail & WithCausingEntity(Aws::String &&value)
ResourceChangeDetail & WithTarget(const ResourceTargetDefinition &value)
void SetTarget(ResourceTargetDefinition &&value)
void SetTarget(const ResourceTargetDefinition &value)
ResourceChangeDetail & WithCausingEntity(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue