7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/TaskTemplateConstraints.h>
11#include <aws/connect/model/TaskTemplateDefaults.h>
12#include <aws/connect/model/TaskTemplateStatus.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/connect/model/TaskTemplateField.h>
16#include <aws/core/utils/UUID.h>
51 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
79 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
94 inline void SetContactFlowId(
const char* value) { m_contactFlowIdHasBeenSet =
true; m_contactFlowId.assign(value); }
166 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
174 bool m_instanceIdHasBeenSet =
false;
177 bool m_nameHasBeenSet =
false;
180 bool m_descriptionHasBeenSet =
false;
183 bool m_contactFlowIdHasBeenSet =
false;
186 bool m_constraintsHasBeenSet =
false;
189 bool m_defaultsHasBeenSet =
false;
192 bool m_statusHasBeenSet =
false;
195 bool m_fieldsHasBeenSet =
false;
198 bool m_clientTokenHasBeenSet =
false;
void SetFields(Aws::Vector< TaskTemplateField > &&value)
const Aws::String & GetContactFlowId() const
CreateTaskTemplateRequest & WithContactFlowId(const Aws::String &value)
CreateTaskTemplateRequest & AddFields(const TaskTemplateField &value)
void SetDefaults(const TaskTemplateDefaults &value)
CreateTaskTemplateRequest & WithInstanceId(const char *value)
CreateTaskTemplateRequest & WithDefaults(TaskTemplateDefaults &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
bool DefaultsHasBeenSet() const
void SetContactFlowId(const Aws::String &value)
CreateTaskTemplateRequest & WithClientToken(const char *value)
CreateTaskTemplateRequest & AddFields(TaskTemplateField &&value)
void SetInstanceId(const Aws::String &value)
bool ConstraintsHasBeenSet() const
AWS_CONNECT_API CreateTaskTemplateRequest()
void SetClientToken(const char *value)
const TaskTemplateDefaults & GetDefaults() const
void SetStatus(TaskTemplateStatus &&value)
bool ContactFlowIdHasBeenSet() const
CreateTaskTemplateRequest & WithConstraints(TaskTemplateConstraints &&value)
bool NameHasBeenSet() const
CreateTaskTemplateRequest & WithInstanceId(const Aws::String &value)
CreateTaskTemplateRequest & WithName(Aws::String &&value)
CreateTaskTemplateRequest & WithName(const Aws::String &value)
void SetName(const char *value)
CreateTaskTemplateRequest & WithName(const char *value)
CreateTaskTemplateRequest & WithInstanceId(Aws::String &&value)
CreateTaskTemplateRequest & WithDescription(Aws::String &&value)
const Aws::String & GetName() const
const TaskTemplateStatus & GetStatus() const
const TaskTemplateConstraints & GetConstraints() const
void SetContactFlowId(const char *value)
CreateTaskTemplateRequest & WithStatus(const TaskTemplateStatus &value)
CreateTaskTemplateRequest & WithClientToken(Aws::String &&value)
CreateTaskTemplateRequest & WithContactFlowId(const char *value)
void SetStatus(const TaskTemplateStatus &value)
bool InstanceIdHasBeenSet() const
CreateTaskTemplateRequest & WithFields(Aws::Vector< TaskTemplateField > &&value)
CreateTaskTemplateRequest & WithDescription(const Aws::String &value)
void SetContactFlowId(Aws::String &&value)
CreateTaskTemplateRequest & WithFields(const Aws::Vector< TaskTemplateField > &value)
const Aws::Vector< TaskTemplateField > & GetFields() const
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
void SetClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetInstanceId(Aws::String &&value)
CreateTaskTemplateRequest & WithDefaults(const TaskTemplateDefaults &value)
void SetDescription(Aws::String &&value)
void SetName(Aws::String &&value)
const Aws::String & GetInstanceId() const
void SetConstraints(const TaskTemplateConstraints &value)
void SetFields(const Aws::Vector< TaskTemplateField > &value)
CreateTaskTemplateRequest & WithClientToken(const Aws::String &value)
CreateTaskTemplateRequest & WithStatus(TaskTemplateStatus &&value)
CreateTaskTemplateRequest & WithDescription(const char *value)
const Aws::String & GetClientToken() const
void SetName(const Aws::String &value)
void SetDefaults(TaskTemplateDefaults &&value)
bool FieldsHasBeenSet() const
CreateTaskTemplateRequest & WithConstraints(const TaskTemplateConstraints &value)
bool StatusHasBeenSet() const
void SetConstraints(TaskTemplateConstraints &&value)
void SetDescription(const char *value)
void SetClientToken(Aws::String &&value)
void SetInstanceId(const char *value)
CreateTaskTemplateRequest & WithContactFlowId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector