AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChoiceContent.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 ChoiceContent();
35 AWS_WELLARCHITECTED_API ChoiceContent(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WELLARCHITECTED_API ChoiceContent& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDisplayText() const{ return m_displayText; }
45 inline bool DisplayTextHasBeenSet() const { return m_displayTextHasBeenSet; }
46 inline void SetDisplayText(const Aws::String& value) { m_displayTextHasBeenSet = true; m_displayText = value; }
47 inline void SetDisplayText(Aws::String&& value) { m_displayTextHasBeenSet = true; m_displayText = std::move(value); }
48 inline void SetDisplayText(const char* value) { m_displayTextHasBeenSet = true; m_displayText.assign(value); }
49 inline ChoiceContent& WithDisplayText(const Aws::String& value) { SetDisplayText(value); return *this;}
50 inline ChoiceContent& WithDisplayText(Aws::String&& value) { SetDisplayText(std::move(value)); return *this;}
51 inline ChoiceContent& WithDisplayText(const char* value) { SetDisplayText(value); return *this;}
53
55
58 inline const Aws::String& GetUrl() const{ return m_url; }
59 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
60 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
61 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
62 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
63 inline ChoiceContent& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
64 inline ChoiceContent& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
65 inline ChoiceContent& WithUrl(const char* value) { SetUrl(value); return *this;}
67 private:
68
69 Aws::String m_displayText;
70 bool m_displayTextHasBeenSet = false;
71
72 Aws::String m_url;
73 bool m_urlHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace WellArchitected
78} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API ChoiceContent()
void SetDisplayText(Aws::String &&value)
ChoiceContent & WithUrl(const Aws::String &value)
ChoiceContent & WithDisplayText(const char *value)
ChoiceContent & WithDisplayText(Aws::String &&value)
void SetUrl(const Aws::String &value)
ChoiceContent & WithUrl(const char *value)
AWS_WELLARCHITECTED_API ChoiceContent & operator=(Aws::Utils::Json::JsonView jsonValue)
ChoiceContent & WithDisplayText(const Aws::String &value)
AWS_WELLARCHITECTED_API ChoiceContent(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayText(const Aws::String &value)
const Aws::String & GetDisplayText() const
ChoiceContent & WithUrl(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue