AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SessionSharingConfiguration.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QApps {
17namespace Model {
18
26 public:
27 AWS_QAPPS_API SessionSharingConfiguration() = default;
30 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetEnabled() const { return m_enabled; }
37 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
38 inline void SetEnabled(bool value) {
39 m_enabledHasBeenSet = true;
40 m_enabled = value;
41 }
43 SetEnabled(value);
44 return *this;
45 }
47
49
52 inline bool GetAcceptResponses() const { return m_acceptResponses; }
53 inline bool AcceptResponsesHasBeenSet() const { return m_acceptResponsesHasBeenSet; }
54 inline void SetAcceptResponses(bool value) {
55 m_acceptResponsesHasBeenSet = true;
56 m_acceptResponses = value;
57 }
59 SetAcceptResponses(value);
60 return *this;
61 }
63
65
69 inline bool GetRevealCards() const { return m_revealCards; }
70 inline bool RevealCardsHasBeenSet() const { return m_revealCardsHasBeenSet; }
71 inline void SetRevealCards(bool value) {
72 m_revealCardsHasBeenSet = true;
73 m_revealCards = value;
74 }
76 SetRevealCards(value);
77 return *this;
78 }
80 private:
81 bool m_enabled{false};
82
83 bool m_acceptResponses{false};
84
85 bool m_revealCards{false};
86 bool m_enabledHasBeenSet = false;
87 bool m_acceptResponsesHasBeenSet = false;
88 bool m_revealCardsHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace QApps
93} // namespace Aws
SessionSharingConfiguration & WithEnabled(bool value)
SessionSharingConfiguration & WithRevealCards(bool value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QAPPS_API SessionSharingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionSharingConfiguration & WithAcceptResponses(bool value)
AWS_QAPPS_API SessionSharingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QAPPS_API SessionSharingConfiguration()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue