7#include <aws/connectscheduling/ConnectSchedulingRequest.h>
8#include <aws/connectscheduling/ConnectScheduling_EXPORTS.h>
9#include <aws/connectscheduling/model/ApprovalType.h>
10#include <aws/connectscheduling/model/RuleFailureAction.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace ConnectScheduling {
47 template <
typename InstanceIdT = Aws::String>
49 m_instanceIdHasBeenSet =
true;
50 m_instanceId = std::forward<InstanceIdT>(value);
52 template <
typename InstanceIdT = Aws::String>
66 template <
typename UserIdT = Aws::String>
68 m_userIdHasBeenSet =
true;
69 m_userId = std::forward<UserIdT>(value);
71 template <
typename UserIdT = Aws::String>
87 template <
typename ShiftActivityIdT = Aws::String>
89 m_shiftActivityIdHasBeenSet =
true;
90 m_shiftActivityId = std::forward<ShiftActivityIdT>(value);
92 template <
typename ShiftActivityIdT = Aws::String>
107 template <
typename StartAtT = Aws::Utils::DateTime>
109 m_startAtHasBeenSet =
true;
110 m_startAt = std::forward<StartAtT>(value);
112 template <
typename StartAtT = Aws::Utils::DateTime>
127 template <
typename EndAtT = Aws::Utils::DateTime>
129 m_endAtHasBeenSet =
true;
130 m_endAt = std::forward<EndAtT>(value);
132 template <
typename EndAtT = Aws::Utils::DateTime>
134 SetEndAt(std::forward<EndAtT>(value));
146 template <
typename DescriptionT = Aws::String>
148 m_descriptionHasBeenSet =
true;
149 m_description = std::forward<DescriptionT>(value);
151 template <
typename DescriptionT = Aws::String>
168 m_approvalTypeHasBeenSet =
true;
169 m_approvalType = value;
193 m_ruleFailureActionHasBeenSet =
true;
194 m_ruleFailureAction = value;
216 template <
typename ClientTokenT = Aws::String>
218 m_clientTokenHasBeenSet =
true;
219 m_clientToken = std::forward<ClientTokenT>(value);
221 template <
typename ClientTokenT = Aws::String>
245 bool m_instanceIdHasBeenSet =
false;
246 bool m_userIdHasBeenSet =
false;
247 bool m_shiftActivityIdHasBeenSet =
false;
248 bool m_startAtHasBeenSet =
false;
249 bool m_endAtHasBeenSet =
false;
250 bool m_descriptionHasBeenSet =
false;
251 bool m_approvalTypeHasBeenSet =
false;
252 bool m_ruleFailureActionHasBeenSet =
false;
253 bool m_clientTokenHasBeenSet =
true;
ApprovalType GetApprovalType() const
void SetEndAt(EndAtT &&value)
CreateTimeOffRequest & WithApprovalType(ApprovalType value)
void SetClientToken(ClientTokenT &&value)
bool ApprovalTypeHasBeenSet() const
void SetApprovalType(ApprovalType value)
void SetShiftActivityId(ShiftActivityIdT &&value)
const Aws::Utils::DateTime & GetEndAt() const
CreateTimeOffRequest & WithShiftActivityId(ShiftActivityIdT &&value)
bool DescriptionHasBeenSet() const
bool InstanceIdHasBeenSet() const
CreateTimeOffRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetUserId() const
void SetUserId(UserIdT &&value)
AWS_CONNECTSCHEDULING_API CreateTimeOffRequest()=default
void SetInstanceId(InstanceIdT &&value)
bool StartAtHasBeenSet() const
CreateTimeOffRequest & WithRuleFailureAction(RuleFailureAction value)
bool RuleFailureActionHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateTimeOffRequest & WithDescription(DescriptionT &&value)
bool EndAtHasBeenSet() const
const Aws::Utils::DateTime & GetStartAt() const
void SetDescription(DescriptionT &&value)
CreateTimeOffRequest & WithUserId(UserIdT &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetShiftActivityId() const
const Aws::String & GetInstanceId() const
const Aws::String & GetDescription() const
CreateTimeOffRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECTSCHEDULING_API Aws::String SerializePayload() const override
RuleFailureAction GetRuleFailureAction() const
void SetRuleFailureAction(RuleFailureAction value)
CreateTimeOffRequest & WithEndAt(EndAtT &&value)
bool ShiftActivityIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool UserIdHasBeenSet() const
CreateTimeOffRequest & WithStartAt(StartAtT &&value)
void SetStartAt(StartAtT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String