AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
BestPractice.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
33 {
34 public:
35 AWS_WELLARCHITECTED_API BestPractice() = default;
36 AWS_WELLARCHITECTED_API BestPractice(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API BestPractice& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetChoiceId() const { return m_choiceId; }
44 inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; }
45 template<typename ChoiceIdT = Aws::String>
46 void SetChoiceId(ChoiceIdT&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::forward<ChoiceIdT>(value); }
47 template<typename ChoiceIdT = Aws::String>
48 BestPractice& WithChoiceId(ChoiceIdT&& value) { SetChoiceId(std::forward<ChoiceIdT>(value)); return *this;}
50
52
53 inline const Aws::String& GetChoiceTitle() const { return m_choiceTitle; }
54 inline bool ChoiceTitleHasBeenSet() const { return m_choiceTitleHasBeenSet; }
55 template<typename ChoiceTitleT = Aws::String>
56 void SetChoiceTitle(ChoiceTitleT&& value) { m_choiceTitleHasBeenSet = true; m_choiceTitle = std::forward<ChoiceTitleT>(value); }
57 template<typename ChoiceTitleT = Aws::String>
58 BestPractice& WithChoiceTitle(ChoiceTitleT&& value) { SetChoiceTitle(std::forward<ChoiceTitleT>(value)); return *this;}
60 private:
61
62 Aws::String m_choiceId;
63 bool m_choiceIdHasBeenSet = false;
64
65 Aws::String m_choiceTitle;
66 bool m_choiceTitleHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace WellArchitected
71} // namespace Aws
const Aws::String & GetChoiceTitle() const
BestPractice & WithChoiceId(ChoiceIdT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API BestPractice(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API BestPractice()=default
BestPractice & WithChoiceTitle(ChoiceTitleT &&value)
AWS_WELLARCHITECTED_API BestPractice & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetChoiceId() const
void SetChoiceTitle(ChoiceTitleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue