AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
BestPractice.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
29 public:
30 AWS_WELLARCHITECTED_API BestPractice() = default;
31 AWS_WELLARCHITECTED_API BestPractice(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API BestPractice& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetChoiceId() const { return m_choiceId; }
38 inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; }
39 template <typename ChoiceIdT = Aws::String>
40 void SetChoiceId(ChoiceIdT&& value) {
41 m_choiceIdHasBeenSet = true;
42 m_choiceId = std::forward<ChoiceIdT>(value);
43 }
44 template <typename ChoiceIdT = Aws::String>
45 BestPractice& WithChoiceId(ChoiceIdT&& value) {
46 SetChoiceId(std::forward<ChoiceIdT>(value));
47 return *this;
48 }
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) {
57 m_choiceTitleHasBeenSet = true;
58 m_choiceTitle = std::forward<ChoiceTitleT>(value);
59 }
60 template <typename ChoiceTitleT = Aws::String>
61 BestPractice& WithChoiceTitle(ChoiceTitleT&& value) {
62 SetChoiceTitle(std::forward<ChoiceTitleT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_choiceId;
68
69 Aws::String m_choiceTitle;
70 bool m_choiceIdHasBeenSet = false;
71 bool m_choiceTitleHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace WellArchitected
76} // 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