AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChoiceUpdate.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/model/ChoiceStatus.h>
9#include <aws/wellarchitected/model/ChoiceReason.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 WellArchitected
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_WELLARCHITECTED_API ChoiceUpdate();
37 AWS_WELLARCHITECTED_API ChoiceUpdate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API ChoiceUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ChoiceStatus& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const ChoiceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(ChoiceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline ChoiceUpdate& WithStatus(const ChoiceStatus& value) { SetStatus(value); return *this;}
51 inline ChoiceUpdate& WithStatus(ChoiceStatus&& value) { SetStatus(std::move(value)); return *this;}
53
55
58 inline const ChoiceReason& GetReason() const{ return m_reason; }
59 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
60 inline void SetReason(const ChoiceReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
61 inline void SetReason(ChoiceReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
62 inline ChoiceUpdate& WithReason(const ChoiceReason& value) { SetReason(value); return *this;}
63 inline ChoiceUpdate& WithReason(ChoiceReason&& value) { SetReason(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetNotes() const{ return m_notes; }
71 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
72 inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
73 inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
74 inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
75 inline ChoiceUpdate& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
76 inline ChoiceUpdate& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
77 inline ChoiceUpdate& WithNotes(const char* value) { SetNotes(value); return *this;}
79 private:
80
81 ChoiceStatus m_status;
82 bool m_statusHasBeenSet = false;
83
84 ChoiceReason m_reason;
85 bool m_reasonHasBeenSet = false;
86
87 Aws::String m_notes;
88 bool m_notesHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace WellArchitected
93} // namespace Aws
void SetNotes(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNotes() const
AWS_WELLARCHITECTED_API ChoiceUpdate()
ChoiceUpdate & WithNotes(const Aws::String &value)
AWS_WELLARCHITECTED_API ChoiceUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ChoiceUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetReason(const ChoiceReason &value)
const ChoiceStatus & GetStatus() const
ChoiceUpdate & WithStatus(const ChoiceStatus &value)
ChoiceUpdate & WithReason(ChoiceReason &&value)
ChoiceUpdate & WithStatus(ChoiceStatus &&value)
const ChoiceReason & GetReason() const
ChoiceUpdate & WithReason(const ChoiceReason &value)
void SetStatus(const ChoiceStatus &value)
void SetStatus(ChoiceStatus &&value)
void SetReason(ChoiceReason &&value)
ChoiceUpdate & WithNotes(Aws::String &&value)
ChoiceUpdate & WithNotes(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue