7#include <aws/connectcases/ConnectCasesRequest.h>
8#include <aws/connectcases/ConnectCases_EXPORTS.h>
9#include <aws/connectcases/model/FieldsConfiguration.h>
10#include <aws/connectcases/model/RelatedItemsConfiguration.h>
11#include <aws/connectcases/model/UserUnion.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace ConnectCases {
41 template <
typename DomainIdT = Aws::String>
43 m_domainIdHasBeenSet =
true;
44 m_domainId = std::forward<DomainIdT>(value);
46 template <
typename DomainIdT = Aws::String>
61 template <
typename CaseIdT = Aws::String>
63 m_caseIdHasBeenSet =
true;
64 m_caseId = std::forward<CaseIdT>(value);
66 template <
typename CaseIdT = Aws::String>
81 template <
typename SecondaryCaseIdsT = Aws::Vector<Aws::String>>
83 m_secondaryCaseIdsHasBeenSet =
true;
84 m_secondaryCaseIds = std::forward<SecondaryCaseIdsT>(value);
86 template <
typename SecondaryCaseIdsT = Aws::Vector<Aws::String>>
91 template <
typename SecondaryCaseIdsT = Aws::String>
93 m_secondaryCaseIdsHasBeenSet =
true;
94 m_secondaryCaseIds.emplace_back(std::forward<SecondaryCaseIdsT>(value));
120 template <
typename FieldsConfigurationT = Aws::Vector<FieldsConfiguration>>
122 m_fieldsConfigurationHasBeenSet =
true;
123 m_fieldsConfiguration = std::forward<FieldsConfigurationT>(value);
125 template <
typename FieldsConfigurationT = Aws::Vector<FieldsConfiguration>>
130 template <
typename FieldsConfigurationT = FieldsConfiguration>
132 m_fieldsConfigurationHasBeenSet =
true;
133 m_fieldsConfiguration.emplace_back(std::forward<FieldsConfigurationT>(value));
148 template <
typename RelatedItemsConfigurationT = RelatedItemsConfiguration>
150 m_relatedItemsConfigurationHasBeenSet =
true;
151 m_relatedItemsConfiguration = std::forward<RelatedItemsConfigurationT>(value);
153 template <
typename RelatedItemsConfigurationT = RelatedItemsConfiguration>
169 template <
typename PerformedByT = UserUnion>
171 m_performedByHasBeenSet =
true;
172 m_performedBy = std::forward<PerformedByT>(value);
174 template <
typename PerformedByT = UserUnion>
192 bool m_domainIdHasBeenSet =
false;
193 bool m_caseIdHasBeenSet =
false;
194 bool m_secondaryCaseIdsHasBeenSet =
false;
195 bool m_fieldsConfigurationHasBeenSet =
false;
196 bool m_relatedItemsConfigurationHasBeenSet =
false;
197 bool m_performedByHasBeenSet =
false;
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
StartMergeCasesRequest & WithFieldsConfiguration(FieldsConfigurationT &&value)
StartMergeCasesRequest & WithSecondaryCaseIds(SecondaryCaseIdsT &&value)
const Aws::Vector< FieldsConfiguration > & GetFieldsConfiguration() const
const Aws::Vector< Aws::String > & GetSecondaryCaseIds() const
const Aws::String & GetDomainId() const
void SetDomainId(DomainIdT &&value)
bool FieldsConfigurationHasBeenSet() const
bool CaseIdHasBeenSet() const
StartMergeCasesRequest & AddFieldsConfiguration(FieldsConfigurationT &&value)
StartMergeCasesRequest & WithPerformedBy(PerformedByT &&value)
void SetCaseId(CaseIdT &&value)
StartMergeCasesRequest & AddSecondaryCaseIds(SecondaryCaseIdsT &&value)
const UserUnion & GetPerformedBy() const
bool PerformedByHasBeenSet() const
const RelatedItemsConfiguration & GetRelatedItemsConfiguration() const
bool SecondaryCaseIdsHasBeenSet() const
StartMergeCasesRequest & WithRelatedItemsConfiguration(RelatedItemsConfigurationT &&value)
StartMergeCasesRequest & WithCaseId(CaseIdT &&value)
void SetSecondaryCaseIds(SecondaryCaseIdsT &&value)
bool DomainIdHasBeenSet() const
const Aws::String & GetCaseId() const
void SetRelatedItemsConfiguration(RelatedItemsConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
bool RelatedItemsConfigurationHasBeenSet() const
void SetFieldsConfiguration(FieldsConfigurationT &&value)
StartMergeCasesRequest & WithDomainId(DomainIdT &&value)
void SetPerformedBy(PerformedByT &&value)
AWS_CONNECTCASES_API StartMergeCasesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector