7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/CaseRuleDetails.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/crt/Optional.h>
23namespace ConnectCases {
48 template <
typename CaseRuleIdT = Aws::String>
50 m_caseRuleIdHasBeenSet =
true;
51 m_caseRuleId = std::forward<CaseRuleIdT>(value);
53 template <
typename CaseRuleIdT = Aws::String>
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
84 template <
typename CaseRuleArnT = Aws::String>
86 m_caseRuleArnHasBeenSet =
true;
87 m_caseRuleArn = std::forward<CaseRuleArnT>(value);
89 template <
typename CaseRuleArnT = Aws::String>
102 template <
typename RuleT = CaseRuleDetails>
104 m_ruleHasBeenSet =
true;
105 m_rule = std::forward<RuleT>(value);
107 template <
typename RuleT = CaseRuleDetails>
109 SetRule(std::forward<RuleT>(value));
120 template <
typename DescriptionT = Aws::String>
122 m_descriptionHasBeenSet =
true;
123 m_description = std::forward<DescriptionT>(value);
125 template <
typename DescriptionT = Aws::String>
139 m_deletedHasBeenSet =
true;
154 template <
typename CreatedTimeT = Aws::Utils::DateTime>
156 m_createdTimeHasBeenSet =
true;
157 m_createdTime = std::forward<CreatedTimeT>(value);
159 template <
typename CreatedTimeT = Aws::Utils::DateTime>
172 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
174 m_lastModifiedTimeHasBeenSet =
true;
175 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
177 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
191 template <
typename TagsT = Aws::Map<Aws::String, Aws::Crt::Optional<Aws::String>>>
193 m_tagsHasBeenSet =
true;
194 m_tags = std::forward<TagsT>(value);
196 template <
typename TagsT = Aws::Map<Aws::String, Aws::Crt::Optional<Aws::String>>>
198 SetTags(std::forward<TagsT>(value));
201 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::Crt::Optional<Aws::String>>
203 m_tagsHasBeenSet =
true;
204 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
208 m_tagsHasBeenSet =
true;
209 m_tags.emplace(key, value);
224 bool m_deleted{
false};
231 bool m_caseRuleIdHasBeenSet =
false;
232 bool m_nameHasBeenSet =
false;
233 bool m_caseRuleArnHasBeenSet =
false;
234 bool m_ruleHasBeenSet =
false;
235 bool m_descriptionHasBeenSet =
false;
236 bool m_deletedHasBeenSet =
false;
237 bool m_createdTimeHasBeenSet =
false;
238 bool m_lastModifiedTimeHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
const Aws::String & GetCaseRuleId() const
bool CreatedTimeHasBeenSet() const
GetCaseRuleResponse & WithTags(TagsT &&value)
GetCaseRuleResponse & AddTags(Aws::String key, Aws::Crt::Optional< Aws::String > value)
void SetCaseRuleArn(CaseRuleArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
GetCaseRuleResponse & WithDescription(DescriptionT &&value)
bool DeletedHasBeenSet() const
GetCaseRuleResponse & WithCreatedTime(CreatedTimeT &&value)
bool CaseRuleIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::Crt::Optional< Aws::String > > & GetTags() const
AWS_CONNECTCASES_API GetCaseRuleResponse(Aws::Utils::Json::JsonView jsonValue)
const CaseRuleDetails & GetRule() const
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
GetCaseRuleResponse & WithDeleted(bool value)
bool DescriptionHasBeenSet() const
GetCaseRuleResponse & WithRule(RuleT &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
GetCaseRuleResponse & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetRule(RuleT &&value)
AWS_CONNECTCASES_API GetCaseRuleResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RuleHasBeenSet() const
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
void SetDeleted(bool value)
bool LastModifiedTimeHasBeenSet() const
AWS_CONNECTCASES_API GetCaseRuleResponse()=default
void SetCreatedTime(CreatedTimeT &&value)
GetCaseRuleResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetCaseRuleArn() const
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
bool CaseRuleArnHasBeenSet() const
GetCaseRuleResponse & WithCaseRuleArn(CaseRuleArnT &&value)
void SetCaseRuleId(CaseRuleIdT &&value)
GetCaseRuleResponse & WithCaseRuleId(CaseRuleIdT &&value)
const Aws::String & GetName() const
GetCaseRuleResponse & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue