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>
22namespace ConnectCases {
47 template <
typename CaseRuleIdT = Aws::String>
49 m_caseRuleIdHasBeenSet =
true;
50 m_caseRuleId = std::forward<CaseRuleIdT>(value);
52 template <
typename CaseRuleIdT = Aws::String>
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
83 template <
typename CaseRuleArnT = Aws::String>
85 m_caseRuleArnHasBeenSet =
true;
86 m_caseRuleArn = std::forward<CaseRuleArnT>(value);
88 template <
typename CaseRuleArnT = Aws::String>
101 template <
typename RuleT = CaseRuleDetails>
103 m_ruleHasBeenSet =
true;
104 m_rule = std::forward<RuleT>(value);
106 template <
typename RuleT = CaseRuleDetails>
108 SetRule(std::forward<RuleT>(value));
119 template <
typename DescriptionT = Aws::String>
121 m_descriptionHasBeenSet =
true;
122 m_description = std::forward<DescriptionT>(value);
124 template <
typename DescriptionT = Aws::String>
138 m_deletedHasBeenSet =
true;
153 template <
typename CreatedTimeT = Aws::Utils::DateTime>
155 m_createdTimeHasBeenSet =
true;
156 m_createdTime = std::forward<CreatedTimeT>(value);
158 template <
typename CreatedTimeT = Aws::Utils::DateTime>
171 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
173 m_lastModifiedTimeHasBeenSet =
true;
174 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
176 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
190 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 m_tagsHasBeenSet =
true;
193 m_tags = std::forward<TagsT>(value);
195 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 SetTags(std::forward<TagsT>(value));
200 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
202 m_tagsHasBeenSet =
true;
203 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
218 bool m_deleted{
false};
225 bool m_caseRuleIdHasBeenSet =
false;
226 bool m_nameHasBeenSet =
false;
227 bool m_caseRuleArnHasBeenSet =
false;
228 bool m_ruleHasBeenSet =
false;
229 bool m_descriptionHasBeenSet =
false;
230 bool m_deletedHasBeenSet =
false;
231 bool m_createdTimeHasBeenSet =
false;
232 bool m_lastModifiedTimeHasBeenSet =
false;
233 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