7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/connectcases/model/CaseRuleDetails.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
53 template<
typename CaseRuleArnT = Aws::String>
54 void SetCaseRuleArn(CaseRuleArnT&& value) { m_caseRuleArnHasBeenSet =
true; m_caseRuleArn = std::forward<CaseRuleArnT>(value); }
55 template<
typename CaseRuleArnT = Aws::String>
65 template<
typename CaseRuleIdT = Aws::String>
66 void SetCaseRuleId(CaseRuleIdT&& value) { m_caseRuleIdHasBeenSet =
true; m_caseRuleId = std::forward<CaseRuleIdT>(value); }
67 template<
typename CaseRuleIdT = Aws::String>
77 template<
typename CreatedTimeT = Aws::Utils::DateTime>
78 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
79 template<
typename CreatedTimeT = Aws::Utils::DateTime>
89 inline void SetDeleted(
bool value) { m_deletedHasBeenSet =
true; m_deleted = value; }
99 template<
typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
101 template<
typename DescriptionT = Aws::String>
111 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
112 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
113 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
123 template<
typename NameT = Aws::String>
124 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
125 template<
typename NameT = Aws::String>
135 template<
typename RuleT = CaseRuleDetails>
136 void SetRule(RuleT&& value) { m_ruleHasBeenSet =
true; m_rule = std::forward<RuleT>(value); }
137 template<
typename RuleT = CaseRuleDetails>
148 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
150 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
154 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
160 bool m_caseRuleArnHasBeenSet =
false;
163 bool m_caseRuleIdHasBeenSet =
false;
166 bool m_createdTimeHasBeenSet =
false;
168 bool m_deleted{
false};
169 bool m_deletedHasBeenSet =
false;
172 bool m_descriptionHasBeenSet =
false;
175 bool m_lastModifiedTimeHasBeenSet =
false;
178 bool m_nameHasBeenSet =
false;
180 CaseRuleDetails m_rule;
181 bool m_ruleHasBeenSet =
false;
184 bool m_tagsHasBeenSet =
false;
const Aws::String & GetCaseRuleId() const
bool CreatedTimeHasBeenSet() const
GetCaseRuleResponse & WithTags(TagsT &&value)
void SetCaseRuleArn(CaseRuleArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
GetCaseRuleResponse & WithDescription(DescriptionT &&value)
bool DeletedHasBeenSet() const
GetCaseRuleResponse & WithCreatedTime(CreatedTimeT &&value)
bool CaseRuleIdHasBeenSet() 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)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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