AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PillarDifference.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/DifferenceStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wellarchitected/model/QuestionDifference.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace WellArchitected
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_WELLARCHITECTED_API PillarDifference() = default;
38 AWS_WELLARCHITECTED_API PillarDifference(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API PillarDifference& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::String& GetPillarId() const { return m_pillarId; }
46 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
47 template<typename PillarIdT = Aws::String>
48 void SetPillarId(PillarIdT&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::forward<PillarIdT>(value); }
49 template<typename PillarIdT = Aws::String>
50 PillarDifference& WithPillarId(PillarIdT&& value) { SetPillarId(std::forward<PillarIdT>(value)); return *this;}
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) { m_pillarNameHasBeenSet = true; m_pillarName = std::forward<PillarNameT>(value); }
59 template<typename PillarNameT = Aws::String>
60 PillarDifference& WithPillarName(PillarNameT&& value) { SetPillarName(std::forward<PillarNameT>(value)); return *this;}
62
64
67 inline DifferenceStatus GetDifferenceStatus() const { return m_differenceStatus; }
68 inline bool DifferenceStatusHasBeenSet() const { return m_differenceStatusHasBeenSet; }
69 inline void SetDifferenceStatus(DifferenceStatus value) { m_differenceStatusHasBeenSet = true; m_differenceStatus = value; }
72
74
77 inline const Aws::Vector<QuestionDifference>& GetQuestionDifferences() const { return m_questionDifferences; }
78 inline bool QuestionDifferencesHasBeenSet() const { return m_questionDifferencesHasBeenSet; }
79 template<typename QuestionDifferencesT = Aws::Vector<QuestionDifference>>
80 void SetQuestionDifferences(QuestionDifferencesT&& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences = std::forward<QuestionDifferencesT>(value); }
81 template<typename QuestionDifferencesT = Aws::Vector<QuestionDifference>>
82 PillarDifference& WithQuestionDifferences(QuestionDifferencesT&& value) { SetQuestionDifferences(std::forward<QuestionDifferencesT>(value)); return *this;}
83 template<typename QuestionDifferencesT = QuestionDifference>
84 PillarDifference& AddQuestionDifferences(QuestionDifferencesT&& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences.emplace_back(std::forward<QuestionDifferencesT>(value)); return *this; }
86 private:
87
88 Aws::String m_pillarId;
89 bool m_pillarIdHasBeenSet = false;
90
91 Aws::String m_pillarName;
92 bool m_pillarNameHasBeenSet = false;
93
95 bool m_differenceStatusHasBeenSet = false;
96
97 Aws::Vector<QuestionDifference> m_questionDifferences;
98 bool m_questionDifferencesHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace WellArchitected
103} // 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