7#include <aws/connectcases/ConnectCasesRequest.h>
8#include <aws/connectcases/ConnectCases_EXPORTS.h>
9#include <aws/connectcases/model/LayoutConfiguration.h>
10#include <aws/connectcases/model/RequiredField.h>
11#include <aws/connectcases/model/TagPropagationConfiguration.h>
12#include <aws/connectcases/model/TemplateRule.h>
13#include <aws/connectcases/model/TemplateStatus.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace ConnectCases {
43 template <
typename DomainIdT = Aws::String>
45 m_domainIdHasBeenSet =
true;
46 m_domainId = std::forward<DomainIdT>(value);
48 template <
typename DomainIdT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename DescriptionT = Aws::String>
81 m_descriptionHasBeenSet =
true;
82 m_description = std::forward<DescriptionT>(value);
84 template <
typename DescriptionT = Aws::String>
97 template <
typename LayoutConfigurationT = LayoutConfiguration>
99 m_layoutConfigurationHasBeenSet =
true;
100 m_layoutConfiguration = std::forward<LayoutConfigurationT>(value);
102 template <
typename LayoutConfigurationT = LayoutConfiguration>
116 template <
typename RequiredFieldsT = Aws::Vector<RequiredField>>
118 m_requiredFieldsHasBeenSet =
true;
119 m_requiredFields = std::forward<RequiredFieldsT>(value);
121 template <
typename RequiredFieldsT = Aws::Vector<RequiredField>>
126 template <
typename RequiredFieldsT = RequiredField>
128 m_requiredFieldsHasBeenSet =
true;
129 m_requiredFields.emplace_back(std::forward<RequiredFieldsT>(value));
141 m_statusHasBeenSet =
true;
158 template <
typename RulesT = Aws::Vector<TemplateRule>>
160 m_rulesHasBeenSet =
true;
161 m_rules = std::forward<RulesT>(value);
163 template <
typename RulesT = Aws::Vector<TemplateRule>>
165 SetRules(std::forward<RulesT>(value));
168 template <
typename RulesT = TemplateRule>
170 m_rulesHasBeenSet =
true;
171 m_rules.emplace_back(std::forward<RulesT>(value));
184 template <
typename TagPropagationConfigurationsT = Aws::Vector<TagPropagationConfiguration>>
186 m_tagPropagationConfigurationsHasBeenSet =
true;
187 m_tagPropagationConfigurations = std::forward<TagPropagationConfigurationsT>(value);
189 template <
typename TagPropagationConfigurationsT = Aws::Vector<TagPropagationConfiguration>>
194 template <
typename TagPropagationConfigurationsT = TagPropagationConfiguration>
196 m_tagPropagationConfigurationsHasBeenSet =
true;
197 m_tagPropagationConfigurations.emplace_back(std::forward<TagPropagationConfigurationsT>(value));
217 bool m_domainIdHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
219 bool m_descriptionHasBeenSet =
false;
220 bool m_layoutConfigurationHasBeenSet =
false;
221 bool m_requiredFieldsHasBeenSet =
false;
222 bool m_statusHasBeenSet =
false;
223 bool m_rulesHasBeenSet =
false;
224 bool m_tagPropagationConfigurationsHasBeenSet =
false;
void SetRequiredFields(RequiredFieldsT &&value)
CreateTemplateRequest & WithTagPropagationConfigurations(TagPropagationConfigurationsT &&value)
const Aws::String & GetDomainId() const
AWS_CONNECTCASES_API CreateTemplateRequest()=default
CreateTemplateRequest & WithDomainId(DomainIdT &&value)
bool DescriptionHasBeenSet() const
bool RequiredFieldsHasBeenSet() const
const Aws::Vector< TemplateRule > & GetRules() const
void SetDescription(DescriptionT &&value)
CreateTemplateRequest & WithDescription(DescriptionT &&value)
void SetTagPropagationConfigurations(TagPropagationConfigurationsT &&value)
bool NameHasBeenSet() const
bool DomainIdHasBeenSet() const
const Aws::Vector< RequiredField > & GetRequiredFields() const
bool StatusHasBeenSet() const
const Aws::Vector< TagPropagationConfiguration > & GetTagPropagationConfigurations() const
void SetStatus(TemplateStatus value)
bool RulesHasBeenSet() const
CreateTemplateRequest & WithName(NameT &&value)
CreateTemplateRequest & AddRequiredFields(RequiredFieldsT &&value)
const Aws::String & GetDescription() const
CreateTemplateRequest & AddTagPropagationConfigurations(TagPropagationConfigurationsT &&value)
void SetRules(RulesT &&value)
const Aws::String & GetName() const
CreateTemplateRequest & WithStatus(TemplateStatus value)
void SetDomainId(DomainIdT &&value)
void SetName(NameT &&value)
const LayoutConfiguration & GetLayoutConfiguration() const
TemplateStatus GetStatus() const
CreateTemplateRequest & WithLayoutConfiguration(LayoutConfigurationT &&value)
void SetLayoutConfiguration(LayoutConfigurationT &&value)
CreateTemplateRequest & WithRules(RulesT &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
CreateTemplateRequest & WithRequiredFields(RequiredFieldsT &&value)
bool TagPropagationConfigurationsHasBeenSet() const
bool LayoutConfigurationHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateTemplateRequest & AddRules(RulesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector