AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
PillarDifference.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/DifferenceStatus.h>
11#include <aws/wellarchitected/model/QuestionDifference.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected {
23namespace Model {
24
31 public:
32 AWS_WELLARCHITECTED_API PillarDifference() = default;
33 AWS_WELLARCHITECTED_API PillarDifference(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WELLARCHITECTED_API PillarDifference& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const Aws::String& GetPillarId() const { return m_pillarId; }
40 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
41 template <typename PillarIdT = Aws::String>
42 void SetPillarId(PillarIdT&& value) {
43 m_pillarIdHasBeenSet = true;
44 m_pillarId = std::forward<PillarIdT>(value);
45 }
46 template <typename PillarIdT = Aws::String>
47 PillarDifference& WithPillarId(PillarIdT&& value) {
48 SetPillarId(std::forward<PillarIdT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetPillarName() const { return m_pillarName; }
56 inline bool PillarNameHasBeenSet() const { return m_pillarNameHasBeenSet; }
57 template <typename PillarNameT = Aws::String>
58 void SetPillarName(PillarNameT&& value) {
59 m_pillarNameHasBeenSet = true;
60 m_pillarName = std::forward<PillarNameT>(value);
61 }
62 template <typename PillarNameT = Aws::String>
63 PillarDifference& WithPillarName(PillarNameT&& value) {
64 SetPillarName(std::forward<PillarNameT>(value));
65 return *this;
66 }
68
70
73 inline DifferenceStatus GetDifferenceStatus() const { return m_differenceStatus; }
74 inline bool DifferenceStatusHasBeenSet() const { return m_differenceStatusHasBeenSet; }
76 m_differenceStatusHasBeenSet = true;
77 m_differenceStatus = value;
78 }
81 return *this;
82 }
84
86
89 inline const Aws::Vector<QuestionDifference>& GetQuestionDifferences() const { return m_questionDifferences; }
90 inline bool QuestionDifferencesHasBeenSet() const { return m_questionDifferencesHasBeenSet; }
91 template <typename QuestionDifferencesT = Aws::Vector<QuestionDifference>>
92 void SetQuestionDifferences(QuestionDifferencesT&& value) {
93 m_questionDifferencesHasBeenSet = true;
94 m_questionDifferences = std::forward<QuestionDifferencesT>(value);
95 }
96 template <typename QuestionDifferencesT = Aws::Vector<QuestionDifference>>
97 PillarDifference& WithQuestionDifferences(QuestionDifferencesT&& value) {
98 SetQuestionDifferences(std::forward<QuestionDifferencesT>(value));
99 return *this;
100 }
101 template <typename QuestionDifferencesT = QuestionDifference>
102 PillarDifference& AddQuestionDifferences(QuestionDifferencesT&& value) {
103 m_questionDifferencesHasBeenSet = true;
104 m_questionDifferences.emplace_back(std::forward<QuestionDifferencesT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_pillarId;
110 bool m_pillarIdHasBeenSet = false;
111
112 Aws::String m_pillarName;
113 bool m_pillarNameHasBeenSet = false;
114
116 bool m_differenceStatusHasBeenSet = false;
117
118 Aws::Vector<QuestionDifference> m_questionDifferences;
119 bool m_questionDifferencesHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace WellArchitected
124} // namespace Aws
PillarDifference & WithDifferenceStatus(DifferenceStatus value)
const Aws::Vector< QuestionDifference > & GetQuestionDifferences() const
PillarDifference & WithPillarName(PillarNameT &&value)
AWS_WELLARCHITECTED_API PillarDifference(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API PillarDifference()=default
PillarDifference & WithQuestionDifferences(QuestionDifferencesT &&value)
void SetDifferenceStatus(DifferenceStatus value)
void SetQuestionDifferences(QuestionDifferencesT &&value)
PillarDifference & AddQuestionDifferences(QuestionDifferencesT &&value)
PillarDifference & WithPillarId(PillarIdT &&value)
AWS_WELLARCHITECTED_API PillarDifference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue