AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename DisplayTextT = Aws::String>
47 void SetDisplayText(DisplayTextT&& value) { m_displayTextHasBeenSet = true; m_displayText = std::forward<DisplayTextT>(value); }
48 template<typename DisplayTextT = Aws::String>
49 ChoiceContent& WithDisplayText(DisplayTextT&& value) { SetDisplayText(std::forward<DisplayTextT>(value)); return *this;}
51
53
56 inline const Aws::String& GetUrl() const { return m_url; }
57 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
58 template<typename UrlT = Aws::String>
59 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
60 template<typename UrlT = Aws::String>
61 ChoiceContent& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
63 private:
64
65 Aws::String m_displayText;
66 bool m_displayTextHasBeenSet = false;
67
68 Aws::String m_url;
69 bool m_urlHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace WellArchitected
74} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ChoiceContent & WithUrl(UrlT &&value)
AWS_WELLARCHITECTED_API ChoiceContent()=default
AWS_WELLARCHITECTED_API ChoiceContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ChoiceContent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDisplayText() const
ChoiceContent & WithDisplayText(DisplayTextT &&value)
void SetDisplayText(DisplayTextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue