AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfileTemplateChoice.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 ProfileTemplateChoice();
35 AWS_WELLARCHITECTED_API ProfileTemplateChoice(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WELLARCHITECTED_API ProfileTemplateChoice& 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 inline void SetChoiceId(const Aws::String& value) { m_choiceIdHasBeenSet = true; m_choiceId = value; }
45 inline void SetChoiceId(Aws::String&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::move(value); }
46 inline void SetChoiceId(const char* value) { m_choiceIdHasBeenSet = true; m_choiceId.assign(value); }
47 inline ProfileTemplateChoice& WithChoiceId(const Aws::String& value) { SetChoiceId(value); return *this;}
48 inline ProfileTemplateChoice& WithChoiceId(Aws::String&& value) { SetChoiceId(std::move(value)); return *this;}
49 inline ProfileTemplateChoice& WithChoiceId(const char* value) { SetChoiceId(value); return *this;}
51
53
54 inline const Aws::String& GetChoiceTitle() const{ return m_choiceTitle; }
55 inline bool ChoiceTitleHasBeenSet() const { return m_choiceTitleHasBeenSet; }
56 inline void SetChoiceTitle(const Aws::String& value) { m_choiceTitleHasBeenSet = true; m_choiceTitle = value; }
57 inline void SetChoiceTitle(Aws::String&& value) { m_choiceTitleHasBeenSet = true; m_choiceTitle = std::move(value); }
58 inline void SetChoiceTitle(const char* value) { m_choiceTitleHasBeenSet = true; m_choiceTitle.assign(value); }
59 inline ProfileTemplateChoice& WithChoiceTitle(const Aws::String& value) { SetChoiceTitle(value); return *this;}
60 inline ProfileTemplateChoice& WithChoiceTitle(Aws::String&& value) { SetChoiceTitle(std::move(value)); return *this;}
61 inline ProfileTemplateChoice& WithChoiceTitle(const char* value) { SetChoiceTitle(value); return *this;}
63
65
66 inline const Aws::String& GetChoiceDescription() const{ return m_choiceDescription; }
67 inline bool ChoiceDescriptionHasBeenSet() const { return m_choiceDescriptionHasBeenSet; }
68 inline void SetChoiceDescription(const Aws::String& value) { m_choiceDescriptionHasBeenSet = true; m_choiceDescription = value; }
69 inline void SetChoiceDescription(Aws::String&& value) { m_choiceDescriptionHasBeenSet = true; m_choiceDescription = std::move(value); }
70 inline void SetChoiceDescription(const char* value) { m_choiceDescriptionHasBeenSet = true; m_choiceDescription.assign(value); }
71 inline ProfileTemplateChoice& WithChoiceDescription(const Aws::String& value) { SetChoiceDescription(value); return *this;}
72 inline ProfileTemplateChoice& WithChoiceDescription(Aws::String&& value) { SetChoiceDescription(std::move(value)); return *this;}
73 inline ProfileTemplateChoice& WithChoiceDescription(const char* value) { SetChoiceDescription(value); return *this;}
75 private:
76
77 Aws::String m_choiceId;
78 bool m_choiceIdHasBeenSet = false;
79
80 Aws::String m_choiceTitle;
81 bool m_choiceTitleHasBeenSet = false;
82
83 Aws::String m_choiceDescription;
84 bool m_choiceDescriptionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace WellArchitected
89} // namespace Aws
ProfileTemplateChoice & WithChoiceTitle(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileTemplateChoice & WithChoiceId(Aws::String &&value)
AWS_WELLARCHITECTED_API ProfileTemplateChoice & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileTemplateChoice & WithChoiceDescription(const Aws::String &value)
ProfileTemplateChoice & WithChoiceId(const Aws::String &value)
ProfileTemplateChoice & WithChoiceDescription(const char *value)
ProfileTemplateChoice & WithChoiceId(const char *value)
ProfileTemplateChoice & WithChoiceTitle(Aws::String &&value)
ProfileTemplateChoice & WithChoiceDescription(Aws::String &&value)
ProfileTemplateChoice & WithChoiceTitle(const char *value)
AWS_WELLARCHITECTED_API ProfileTemplateChoice(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue