AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProfileChoice.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WellArchitected
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_WELLARCHITECTED_API ProfileChoice() = default;
35 AWS_WELLARCHITECTED_API ProfileChoice(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WELLARCHITECTED_API ProfileChoice& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetChoiceId() const { return m_choiceId; }
43 inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; }
44 template<typename ChoiceIdT = Aws::String>
45 void SetChoiceId(ChoiceIdT&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::forward<ChoiceIdT>(value); }
46 template<typename ChoiceIdT = Aws::String>
47 ProfileChoice& WithChoiceId(ChoiceIdT&& value) { SetChoiceId(std::forward<ChoiceIdT>(value)); return *this;}
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) { m_choiceTitleHasBeenSet = true; m_choiceTitle = std::forward<ChoiceTitleT>(value); }
56 template<typename ChoiceTitleT = Aws::String>
57 ProfileChoice& WithChoiceTitle(ChoiceTitleT&& value) { SetChoiceTitle(std::forward<ChoiceTitleT>(value)); return *this;}
59
61
62 inline const Aws::String& GetChoiceDescription() const { return m_choiceDescription; }
63 inline bool ChoiceDescriptionHasBeenSet() const { return m_choiceDescriptionHasBeenSet; }
64 template<typename ChoiceDescriptionT = Aws::String>
65 void SetChoiceDescription(ChoiceDescriptionT&& value) { m_choiceDescriptionHasBeenSet = true; m_choiceDescription = std::forward<ChoiceDescriptionT>(value); }
66 template<typename ChoiceDescriptionT = Aws::String>
67 ProfileChoice& WithChoiceDescription(ChoiceDescriptionT&& value) { SetChoiceDescription(std::forward<ChoiceDescriptionT>(value)); return *this;}
69 private:
70
71 Aws::String m_choiceId;
72 bool m_choiceIdHasBeenSet = false;
73
74 Aws::String m_choiceTitle;
75 bool m_choiceTitleHasBeenSet = false;
76
77 Aws::String m_choiceDescription;
78 bool m_choiceDescriptionHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace WellArchitected
83} // 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