AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
ConsentPopupConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/Wickr_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Wickr {
20namespace Model {
21
29 public:
30 AWS_WICKR_API ConsentPopupConfig() = default;
33 AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline bool GetEnabled() const { return m_enabled; }
41 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
42 inline void SetEnabled(bool value) {
43 m_enabledHasBeenSet = true;
44 m_enabled = value;
45 }
46 inline ConsentPopupConfig& WithEnabled(bool value) {
47 SetEnabled(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetHeader() const { return m_header; }
58 inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; }
59 template <typename HeaderT = Aws::String>
60 void SetHeader(HeaderT&& value) {
61 m_headerHasBeenSet = true;
62 m_header = std::forward<HeaderT>(value);
63 }
64 template <typename HeaderT = Aws::String>
65 ConsentPopupConfig& WithHeader(HeaderT&& value) {
66 SetHeader(std::forward<HeaderT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetContent() const { return m_content; }
77 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
78 template <typename ContentT = Aws::String>
79 void SetContent(ContentT&& value) {
80 m_contentHasBeenSet = true;
81 m_content = std::forward<ContentT>(value);
82 }
83 template <typename ContentT = Aws::String>
84 ConsentPopupConfig& WithContent(ContentT&& value) {
85 SetContent(std::forward<ContentT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetCloseButtonLabel() const { return m_closeButtonLabel; }
96 inline bool CloseButtonLabelHasBeenSet() const { return m_closeButtonLabelHasBeenSet; }
97 template <typename CloseButtonLabelT = Aws::String>
98 void SetCloseButtonLabel(CloseButtonLabelT&& value) {
99 m_closeButtonLabelHasBeenSet = true;
100 m_closeButtonLabel = std::forward<CloseButtonLabelT>(value);
101 }
102 template <typename CloseButtonLabelT = Aws::String>
103 ConsentPopupConfig& WithCloseButtonLabel(CloseButtonLabelT&& value) {
104 SetCloseButtonLabel(std::forward<CloseButtonLabelT>(value));
105 return *this;
106 }
108 private:
109 bool m_enabled{false};
110
111 Aws::String m_header;
112
113 Aws::String m_content;
114
115 Aws::String m_closeButtonLabel;
116 bool m_enabledHasBeenSet = false;
117 bool m_headerHasBeenSet = false;
118 bool m_contentHasBeenSet = false;
119 bool m_closeButtonLabelHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Wickr
124} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue