7#include <aws/connectscheduling/ConnectSchedulingRequest.h>
8#include <aws/connectscheduling/ConnectScheduling_EXPORTS.h>
9#include <aws/connectscheduling/model/RuleFailureAction.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace ConnectScheduling {
44 template <
typename InstanceIdT = Aws::String>
46 m_instanceIdHasBeenSet =
true;
47 m_instanceId = std::forward<InstanceIdT>(value);
49 template <
typename InstanceIdT = Aws::String>
63 template <
typename UserIdT = Aws::String>
65 m_userIdHasBeenSet =
true;
66 m_userId = std::forward<UserIdT>(value);
68 template <
typename UserIdT = Aws::String>
83 template <
typename TimeOffIdT = Aws::String>
85 m_timeOffIdHasBeenSet =
true;
86 m_timeOffId = std::forward<TimeOffIdT>(value);
88 template <
typename TimeOffIdT = Aws::String>
102 template <
typename DescriptionT = Aws::String>
104 m_descriptionHasBeenSet =
true;
105 m_description = std::forward<DescriptionT>(value);
107 template <
typename DescriptionT = Aws::String>
126 m_ruleFailureActionHasBeenSet =
true;
127 m_ruleFailureAction = value;
144 bool m_instanceIdHasBeenSet =
false;
145 bool m_userIdHasBeenSet =
false;
146 bool m_timeOffIdHasBeenSet =
false;
147 bool m_descriptionHasBeenSet =
false;
148 bool m_ruleFailureActionHasBeenSet =
false;
const Aws::String & GetUserId() const
ApproveTimeOffRequest & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool UserIdHasBeenSet() const
bool InstanceIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ApproveTimeOffRequest & WithTimeOffId(TimeOffIdT &&value)
ApproveTimeOffRequest & WithUserId(UserIdT &&value)
void SetDescription(DescriptionT &&value)
bool TimeOffIdHasBeenSet() const
bool RuleFailureActionHasBeenSet() const
const Aws::String & GetDescription() const
AWS_CONNECTSCHEDULING_API ApproveTimeOffRequest()=default
void SetTimeOffId(TimeOffIdT &&value)
AWS_CONNECTSCHEDULING_API Aws::String SerializePayload() const override
void SetInstanceId(InstanceIdT &&value)
const Aws::String & GetTimeOffId() const
void SetUserId(UserIdT &&value)
RuleFailureAction GetRuleFailureAction() const
const Aws::String & GetInstanceId() const
ApproveTimeOffRequest & WithRuleFailureAction(RuleFailureAction value)
void SetRuleFailureAction(RuleFailureAction value)
ApproveTimeOffRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String