AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChoiceId(const Aws::String& value) { m_choiceIdHasBeenSet = true; m_choiceId = value; }
46 inline void SetChoiceId(Aws::String&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::move(value); }
47 inline void SetChoiceId(const char* value) { m_choiceIdHasBeenSet = true; m_choiceId.assign(value); }
48 inline BestPractice& WithChoiceId(const Aws::String& value) { SetChoiceId(value); return *this;}
49 inline BestPractice& WithChoiceId(Aws::String&& value) { SetChoiceId(std::move(value)); return *this;}
50 inline BestPractice& WithChoiceId(const char* value) { SetChoiceId(value); return *this;}
52
54
55 inline const Aws::String& GetChoiceTitle() const{ return m_choiceTitle; }
56 inline bool ChoiceTitleHasBeenSet() const { return m_choiceTitleHasBeenSet; }
57 inline void SetChoiceTitle(const Aws::String& value) { m_choiceTitleHasBeenSet = true; m_choiceTitle = value; }
58 inline void SetChoiceTitle(Aws::String&& value) { m_choiceTitleHasBeenSet = true; m_choiceTitle = std::move(value); }
59 inline void SetChoiceTitle(const char* value) { m_choiceTitleHasBeenSet = true; m_choiceTitle.assign(value); }
60 inline BestPractice& WithChoiceTitle(const Aws::String& value) { SetChoiceTitle(value); return *this;}
61 inline BestPractice& WithChoiceTitle(Aws::String&& value) { SetChoiceTitle(std::move(value)); return *this;}
62 inline BestPractice& WithChoiceTitle(const char* value) { SetChoiceTitle(value); return *this;}
64 private:
65
66 Aws::String m_choiceId;
67 bool m_choiceIdHasBeenSet = false;
68
69 Aws::String m_choiceTitle;
70 bool m_choiceTitleHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WellArchitected
75} // namespace Aws
void SetChoiceTitle(const Aws::String &value)
const Aws::String & GetChoiceTitle() const
BestPractice & WithChoiceId(const char *value)
BestPractice & WithChoiceTitle(Aws::String &&value)
BestPractice & WithChoiceTitle(const char *value)
void SetChoiceId(Aws::String &&value)
void SetChoiceId(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API BestPractice(Aws::Utils::Json::JsonView jsonValue)
BestPractice & WithChoiceId(Aws::String &&value)
BestPractice & WithChoiceId(const Aws::String &value)
void SetChoiceTitle(Aws::String &&value)
AWS_WELLARCHITECTED_API BestPractice()
AWS_WELLARCHITECTED_API BestPractice & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetChoiceId() const
BestPractice & WithChoiceTitle(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue