AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BookingOptions.h
1
6#pragma once
7#include <aws/workmail/WorkMail_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 WorkMail
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_WORKMAIL_API BookingOptions();
34 AWS_WORKMAIL_API BookingOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetAutoAcceptRequests() const{ return m_autoAcceptRequests; }
45 inline bool AutoAcceptRequestsHasBeenSet() const { return m_autoAcceptRequestsHasBeenSet; }
46 inline void SetAutoAcceptRequests(bool value) { m_autoAcceptRequestsHasBeenSet = true; m_autoAcceptRequests = value; }
47 inline BookingOptions& WithAutoAcceptRequests(bool value) { SetAutoAcceptRequests(value); return *this;}
49
51
54 inline bool GetAutoDeclineRecurringRequests() const{ return m_autoDeclineRecurringRequests; }
55 inline bool AutoDeclineRecurringRequestsHasBeenSet() const { return m_autoDeclineRecurringRequestsHasBeenSet; }
56 inline void SetAutoDeclineRecurringRequests(bool value) { m_autoDeclineRecurringRequestsHasBeenSet = true; m_autoDeclineRecurringRequests = value; }
59
61
64 inline bool GetAutoDeclineConflictingRequests() const{ return m_autoDeclineConflictingRequests; }
65 inline bool AutoDeclineConflictingRequestsHasBeenSet() const { return m_autoDeclineConflictingRequestsHasBeenSet; }
66 inline void SetAutoDeclineConflictingRequests(bool value) { m_autoDeclineConflictingRequestsHasBeenSet = true; m_autoDeclineConflictingRequests = value; }
69 private:
70
71 bool m_autoAcceptRequests;
72 bool m_autoAcceptRequestsHasBeenSet = false;
73
74 bool m_autoDeclineRecurringRequests;
75 bool m_autoDeclineRecurringRequestsHasBeenSet = false;
76
77 bool m_autoDeclineConflictingRequests;
78 bool m_autoDeclineConflictingRequestsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace WorkMail
83} // namespace Aws
BookingOptions & WithAutoDeclineRecurringRequests(bool value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
BookingOptions & WithAutoAcceptRequests(bool value)
AWS_WORKMAIL_API BookingOptions(Aws::Utils::Json::JsonView jsonValue)
void SetAutoDeclineConflictingRequests(bool value)
void SetAutoDeclineRecurringRequests(bool value)
BookingOptions & WithAutoDeclineConflictingRequests(bool value)
AWS_WORKMAIL_API BookingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue