AWS SDK for C++  1.9.105
AWS SDK for C++
BookingOptions.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace WorkMail
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
43  inline bool GetAutoAcceptRequests() const{ return m_autoAcceptRequests; }
44 
49  inline bool AutoAcceptRequestsHasBeenSet() const { return m_autoAcceptRequestsHasBeenSet; }
50 
55  inline void SetAutoAcceptRequests(bool value) { m_autoAcceptRequestsHasBeenSet = true; m_autoAcceptRequests = value; }
56 
61  inline BookingOptions& WithAutoAcceptRequests(bool value) { SetAutoAcceptRequests(value); return *this;}
62 
63 
67  inline bool GetAutoDeclineRecurringRequests() const{ return m_autoDeclineRecurringRequests; }
68 
72  inline bool AutoDeclineRecurringRequestsHasBeenSet() const { return m_autoDeclineRecurringRequestsHasBeenSet; }
73 
77  inline void SetAutoDeclineRecurringRequests(bool value) { m_autoDeclineRecurringRequestsHasBeenSet = true; m_autoDeclineRecurringRequests = value; }
78 
82  inline BookingOptions& WithAutoDeclineRecurringRequests(bool value) { SetAutoDeclineRecurringRequests(value); return *this;}
83 
84 
88  inline bool GetAutoDeclineConflictingRequests() const{ return m_autoDeclineConflictingRequests; }
89 
93  inline bool AutoDeclineConflictingRequestsHasBeenSet() const { return m_autoDeclineConflictingRequestsHasBeenSet; }
94 
98  inline void SetAutoDeclineConflictingRequests(bool value) { m_autoDeclineConflictingRequestsHasBeenSet = true; m_autoDeclineConflictingRequests = value; }
99 
103  inline BookingOptions& WithAutoDeclineConflictingRequests(bool value) { SetAutoDeclineConflictingRequests(value); return *this;}
104 
105  private:
106 
107  bool m_autoAcceptRequests;
108  bool m_autoAcceptRequestsHasBeenSet;
109 
110  bool m_autoDeclineRecurringRequests;
111  bool m_autoDeclineRecurringRequestsHasBeenSet;
112 
113  bool m_autoDeclineConflictingRequests;
114  bool m_autoDeclineConflictingRequestsHasBeenSet;
115  };
116 
117 } // namespace Model
118 } // namespace WorkMail
119 } // namespace Aws
Aws::WorkMail::Model::BookingOptions::GetAutoDeclineRecurringRequests
bool GetAutoDeclineRecurringRequests() const
Definition: BookingOptions.h:67
Aws::WorkMail::Model::BookingOptions::SetAutoDeclineRecurringRequests
void SetAutoDeclineRecurringRequests(bool value)
Definition: BookingOptions.h:77
Aws::WorkMail::Model::BookingOptions::BookingOptions
BookingOptions()
Aws::WorkMail::Model::BookingOptions::SetAutoAcceptRequests
void SetAutoAcceptRequests(bool value)
Definition: BookingOptions.h:55
WorkMail_EXPORTS.h
Aws::WorkMail::Model::BookingOptions::AutoDeclineConflictingRequestsHasBeenSet
bool AutoDeclineConflictingRequestsHasBeenSet() const
Definition: BookingOptions.h:93
Aws::WorkMail::Model::BookingOptions::operator=
BookingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::BookingOptions::GetAutoAcceptRequests
bool GetAutoAcceptRequests() const
Definition: BookingOptions.h:43
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkMail::Model::BookingOptions::WithAutoDeclineConflictingRequests
BookingOptions & WithAutoDeclineConflictingRequests(bool value)
Definition: BookingOptions.h:103
Aws::WorkMail::Model::BookingOptions::BookingOptions
BookingOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::BookingOptions::AutoAcceptRequestsHasBeenSet
bool AutoAcceptRequestsHasBeenSet() const
Definition: BookingOptions.h:49
Aws::WorkMail::Model::BookingOptions::GetAutoDeclineConflictingRequests
bool GetAutoDeclineConflictingRequests() const
Definition: BookingOptions.h:88
Aws::WorkMail::Model::BookingOptions::SetAutoDeclineConflictingRequests
void SetAutoDeclineConflictingRequests(bool value)
Definition: BookingOptions.h:98
Aws::WorkMail::Model::BookingOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::BookingOptions::WithAutoAcceptRequests
BookingOptions & WithAutoAcceptRequests(bool value)
Definition: BookingOptions.h:61
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::BookingOptions::WithAutoDeclineRecurringRequests
BookingOptions & WithAutoDeclineRecurringRequests(bool value)
Definition: BookingOptions.h:82
Aws::WorkMail::Model::BookingOptions::AutoDeclineRecurringRequestsHasBeenSet
bool AutoDeclineRecurringRequestsHasBeenSet() const
Definition: BookingOptions.h:72
Aws::WorkMail::Model::BookingOptions
Definition: BookingOptions.h:31