AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuestionDifference.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WELLARCHITECTED_API QuestionDifference();
36 AWS_WELLARCHITECTED_API QuestionDifference(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API QuestionDifference& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetQuestionId() const{ return m_questionId; }
44 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
45 inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
46 inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
47 inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
48 inline QuestionDifference& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
49 inline QuestionDifference& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
50 inline QuestionDifference& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
52
54
55 inline const Aws::String& GetQuestionTitle() const{ return m_questionTitle; }
56 inline bool QuestionTitleHasBeenSet() const { return m_questionTitleHasBeenSet; }
57 inline void SetQuestionTitle(const Aws::String& value) { m_questionTitleHasBeenSet = true; m_questionTitle = value; }
58 inline void SetQuestionTitle(Aws::String&& value) { m_questionTitleHasBeenSet = true; m_questionTitle = std::move(value); }
59 inline void SetQuestionTitle(const char* value) { m_questionTitleHasBeenSet = true; m_questionTitle.assign(value); }
60 inline QuestionDifference& WithQuestionTitle(const Aws::String& value) { SetQuestionTitle(value); return *this;}
61 inline QuestionDifference& WithQuestionTitle(Aws::String&& value) { SetQuestionTitle(std::move(value)); return *this;}
62 inline QuestionDifference& WithQuestionTitle(const char* value) { SetQuestionTitle(value); return *this;}
64
66
69 inline const DifferenceStatus& GetDifferenceStatus() const{ return m_differenceStatus; }
70 inline bool DifferenceStatusHasBeenSet() const { return m_differenceStatusHasBeenSet; }
71 inline void SetDifferenceStatus(const DifferenceStatus& value) { m_differenceStatusHasBeenSet = true; m_differenceStatus = value; }
72 inline void SetDifferenceStatus(DifferenceStatus&& value) { m_differenceStatusHasBeenSet = true; m_differenceStatus = std::move(value); }
73 inline QuestionDifference& WithDifferenceStatus(const DifferenceStatus& value) { SetDifferenceStatus(value); return *this;}
74 inline QuestionDifference& WithDifferenceStatus(DifferenceStatus&& value) { SetDifferenceStatus(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_questionId;
79 bool m_questionIdHasBeenSet = false;
80
81 Aws::String m_questionTitle;
82 bool m_questionTitleHasBeenSet = false;
83
84 DifferenceStatus m_differenceStatus;
85 bool m_differenceStatusHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace WellArchitected
90} // namespace Aws
void SetDifferenceStatus(const DifferenceStatus &value)
QuestionDifference & WithQuestionTitle(Aws::String &&value)
QuestionDifference & WithQuestionId(const Aws::String &value)
QuestionDifference & WithQuestionId(const char *value)
AWS_WELLARCHITECTED_API QuestionDifference & operator=(Aws::Utils::Json::JsonView jsonValue)
QuestionDifference & WithQuestionTitle(const char *value)
QuestionDifference & WithQuestionTitle(const Aws::String &value)
QuestionDifference & WithQuestionId(Aws::String &&value)
void SetDifferenceStatus(DifferenceStatus &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const DifferenceStatus & GetDifferenceStatus() const
QuestionDifference & WithDifferenceStatus(DifferenceStatus &&value)
QuestionDifference & WithDifferenceStatus(const DifferenceStatus &value)
AWS_WELLARCHITECTED_API QuestionDifference(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue