AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; }
48 inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); }
49 inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); }
50 inline PillarDifference& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
51 inline PillarDifference& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
52 inline PillarDifference& WithPillarId(const char* value) { SetPillarId(value); return *this;}
54
56
57 inline const Aws::String& GetPillarName() const{ return m_pillarName; }
58 inline bool PillarNameHasBeenSet() const { return m_pillarNameHasBeenSet; }
59 inline void SetPillarName(const Aws::String& value) { m_pillarNameHasBeenSet = true; m_pillarName = value; }
60 inline void SetPillarName(Aws::String&& value) { m_pillarNameHasBeenSet = true; m_pillarName = std::move(value); }
61 inline void SetPillarName(const char* value) { m_pillarNameHasBeenSet = true; m_pillarName.assign(value); }
62 inline PillarDifference& WithPillarName(const Aws::String& value) { SetPillarName(value); return *this;}
63 inline PillarDifference& WithPillarName(Aws::String&& value) { SetPillarName(std::move(value)); return *this;}
64 inline PillarDifference& WithPillarName(const char* value) { SetPillarName(value); return *this;}
66
68
71 inline const DifferenceStatus& GetDifferenceStatus() const{ return m_differenceStatus; }
72 inline bool DifferenceStatusHasBeenSet() const { return m_differenceStatusHasBeenSet; }
73 inline void SetDifferenceStatus(const DifferenceStatus& value) { m_differenceStatusHasBeenSet = true; m_differenceStatus = value; }
74 inline void SetDifferenceStatus(DifferenceStatus&& value) { m_differenceStatusHasBeenSet = true; m_differenceStatus = std::move(value); }
75 inline PillarDifference& WithDifferenceStatus(const DifferenceStatus& value) { SetDifferenceStatus(value); return *this;}
76 inline PillarDifference& WithDifferenceStatus(DifferenceStatus&& value) { SetDifferenceStatus(std::move(value)); return *this;}
78
80
83 inline const Aws::Vector<QuestionDifference>& GetQuestionDifferences() const{ return m_questionDifferences; }
84 inline bool QuestionDifferencesHasBeenSet() const { return m_questionDifferencesHasBeenSet; }
85 inline void SetQuestionDifferences(const Aws::Vector<QuestionDifference>& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences = value; }
86 inline void SetQuestionDifferences(Aws::Vector<QuestionDifference>&& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences = std::move(value); }
89 inline PillarDifference& AddQuestionDifferences(const QuestionDifference& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences.push_back(value); return *this; }
90 inline PillarDifference& AddQuestionDifferences(QuestionDifference&& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences.push_back(std::move(value)); return *this; }
92 private:
93
94 Aws::String m_pillarId;
95 bool m_pillarIdHasBeenSet = false;
96
97 Aws::String m_pillarName;
98 bool m_pillarNameHasBeenSet = false;
99
100 DifferenceStatus m_differenceStatus;
101 bool m_differenceStatusHasBeenSet = false;
102
103 Aws::Vector<QuestionDifference> m_questionDifferences;
104 bool m_questionDifferencesHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace WellArchitected
109} // namespace Aws
const Aws::Vector< QuestionDifference > & GetQuestionDifferences() const
PillarDifference & WithPillarId(const char *value)
void SetQuestionDifferences(Aws::Vector< QuestionDifference > &&value)
AWS_WELLARCHITECTED_API PillarDifference()
PillarDifference & WithPillarName(Aws::String &&value)
void SetPillarId(const Aws::String &value)
PillarDifference & AddQuestionDifferences(QuestionDifference &&value)
PillarDifference & WithPillarId(Aws::String &&value)
PillarDifference & WithQuestionDifferences(Aws::Vector< QuestionDifference > &&value)
void SetDifferenceStatus(const DifferenceStatus &value)
PillarDifference & WithQuestionDifferences(const Aws::Vector< QuestionDifference > &value)
AWS_WELLARCHITECTED_API PillarDifference(Aws::Utils::Json::JsonView jsonValue)
void SetQuestionDifferences(const Aws::Vector< QuestionDifference > &value)
PillarDifference & AddQuestionDifferences(const QuestionDifference &value)
PillarDifference & WithDifferenceStatus(DifferenceStatus &&value)
PillarDifference & WithDifferenceStatus(const DifferenceStatus &value)
PillarDifference & WithPillarName(const char *value)
void SetPillarName(const Aws::String &value)
PillarDifference & WithPillarId(const Aws::String &value)
void SetDifferenceStatus(DifferenceStatus &&value)
const DifferenceStatus & GetDifferenceStatus() const
AWS_WELLARCHITECTED_API PillarDifference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
PillarDifference & WithPillarName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue