AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SessionSharingConfiguration.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QApps
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_QAPPS_API SessionSharingConfiguration() = default;
36 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetEnabled() const { return m_enabled; }
44 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
45 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
46 inline SessionSharingConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
48
50
53 inline bool GetAcceptResponses() const { return m_acceptResponses; }
54 inline bool AcceptResponsesHasBeenSet() const { return m_acceptResponsesHasBeenSet; }
55 inline void SetAcceptResponses(bool value) { m_acceptResponsesHasBeenSet = true; m_acceptResponses = value; }
56 inline SessionSharingConfiguration& WithAcceptResponses(bool value) { SetAcceptResponses(value); return *this;}
58
60
64 inline bool GetRevealCards() const { return m_revealCards; }
65 inline bool RevealCardsHasBeenSet() const { return m_revealCardsHasBeenSet; }
66 inline void SetRevealCards(bool value) { m_revealCardsHasBeenSet = true; m_revealCards = value; }
67 inline SessionSharingConfiguration& WithRevealCards(bool value) { SetRevealCards(value); return *this;}
69 private:
70
71 bool m_enabled{false};
72 bool m_enabledHasBeenSet = false;
73
74 bool m_acceptResponses{false};
75 bool m_acceptResponsesHasBeenSet = false;
76
77 bool m_revealCards{false};
78 bool m_revealCardsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace QApps
83} // 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