AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ProfileChoice.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WellArchitected {
20namespace Model {
21
28 public:
29 AWS_WELLARCHITECTED_API ProfileChoice() = default;
30 AWS_WELLARCHITECTED_API ProfileChoice(Aws::Utils::Json::JsonView jsonValue);
31 AWS_WELLARCHITECTED_API ProfileChoice& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline const Aws::String& GetChoiceId() const { return m_choiceId; }
37 inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; }
38 template <typename ChoiceIdT = Aws::String>
39 void SetChoiceId(ChoiceIdT&& value) {
40 m_choiceIdHasBeenSet = true;
41 m_choiceId = std::forward<ChoiceIdT>(value);
42 }
43 template <typename ChoiceIdT = Aws::String>
44 ProfileChoice& WithChoiceId(ChoiceIdT&& value) {
45 SetChoiceId(std::forward<ChoiceIdT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetChoiceTitle() const { return m_choiceTitle; }
53 inline bool ChoiceTitleHasBeenSet() const { return m_choiceTitleHasBeenSet; }
54 template <typename ChoiceTitleT = Aws::String>
55 void SetChoiceTitle(ChoiceTitleT&& value) {
56 m_choiceTitleHasBeenSet = true;
57 m_choiceTitle = std::forward<ChoiceTitleT>(value);
58 }
59 template <typename ChoiceTitleT = Aws::String>
60 ProfileChoice& WithChoiceTitle(ChoiceTitleT&& value) {
61 SetChoiceTitle(std::forward<ChoiceTitleT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetChoiceDescription() const { return m_choiceDescription; }
69 inline bool ChoiceDescriptionHasBeenSet() const { return m_choiceDescriptionHasBeenSet; }
70 template <typename ChoiceDescriptionT = Aws::String>
71 void SetChoiceDescription(ChoiceDescriptionT&& value) {
72 m_choiceDescriptionHasBeenSet = true;
73 m_choiceDescription = std::forward<ChoiceDescriptionT>(value);
74 }
75 template <typename ChoiceDescriptionT = Aws::String>
76 ProfileChoice& WithChoiceDescription(ChoiceDescriptionT&& value) {
77 SetChoiceDescription(std::forward<ChoiceDescriptionT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_choiceId;
83 bool m_choiceIdHasBeenSet = false;
84
85 Aws::String m_choiceTitle;
86 bool m_choiceTitleHasBeenSet = false;
87
88 Aws::String m_choiceDescription;
89 bool m_choiceDescriptionHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace WellArchitected
94} // namespace Aws
void SetChoiceDescription(ChoiceDescriptionT &&value)
AWS_WELLARCHITECTED_API ProfileChoice(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ProfileChoice & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetChoiceDescription() const
ProfileChoice & WithChoiceDescription(ChoiceDescriptionT &&value)
const Aws::String & GetChoiceId() const
const Aws::String & GetChoiceTitle() const
ProfileChoice & WithChoiceTitle(ChoiceTitleT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetChoiceTitle(ChoiceTitleT &&value)
AWS_WELLARCHITECTED_API ProfileChoice()=default
ProfileChoice & WithChoiceId(ChoiceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue