7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/ConnectCasesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connectcases/model/UserUnion.h>
12#include <aws/connectcases/model/FieldValue.h>
14#include <aws/core/utils/UUID.h>
51 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
65 inline void SetDomainId(
const char* value) { m_domainIdHasBeenSet =
true; m_domainId.assign(value); }
104 inline void SetTemplateId(
const char* value) { m_templateIdHasBeenSet =
true; m_templateId.assign(value); }
112 bool m_clientTokenHasBeenSet =
false;
115 bool m_domainIdHasBeenSet =
false;
118 bool m_fieldsHasBeenSet =
false;
121 bool m_performedByHasBeenSet =
false;
124 bool m_templateIdHasBeenSet =
false;
CreateCaseRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetTemplateId(Aws::String &&value)
CreateCaseRequest & WithTemplateId(Aws::String &&value)
void SetPerformedBy(const UserUnion &value)
void SetDomainId(Aws::String &&value)
CreateCaseRequest & AddFields(FieldValue &&value)
bool ClientTokenHasBeenSet() const
CreateCaseRequest & WithPerformedBy(UserUnion &&value)
CreateCaseRequest & WithFields(Aws::Vector< FieldValue > &&value)
CreateCaseRequest & WithDomainId(Aws::String &&value)
bool TemplateIdHasBeenSet() const
void SetFields(Aws::Vector< FieldValue > &&value)
void SetClientToken(const char *value)
CreateCaseRequest & WithTemplateId(const Aws::String &value)
bool FieldsHasBeenSet() const
void SetDomainId(const Aws::String &value)
const Aws::Vector< FieldValue > & GetFields() const
const UserUnion & GetPerformedBy() const
CreateCaseRequest & AddFields(const FieldValue &value)
CreateCaseRequest & WithClientToken(const char *value)
void SetTemplateId(const Aws::String &value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
const Aws::String & GetDomainId() const
CreateCaseRequest & WithDomainId(const Aws::String &value)
void SetDomainId(const char *value)
void SetTemplateId(const char *value)
CreateCaseRequest & WithTemplateId(const char *value)
void SetPerformedBy(UserUnion &&value)
void SetClientToken(Aws::String &&value)
CreateCaseRequest & WithPerformedBy(const UserUnion &value)
bool DomainIdHasBeenSet() const
bool PerformedByHasBeenSet() const
void SetFields(const Aws::Vector< FieldValue > &value)
CreateCaseRequest & WithFields(const Aws::Vector< FieldValue > &value)
const Aws::String & GetClientToken() const
const Aws::String & GetTemplateId() const
AWS_CONNECTCASES_API CreateCaseRequest()
CreateCaseRequest & WithClientToken(Aws::String &&value)
CreateCaseRequest & WithDomainId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector