AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CaseRuleSummary.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcases/model/RuleType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectCases
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_CONNECTCASES_API CaseRuleSummary() = default;
40 AWS_CONNECTCASES_API CaseRuleSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECTCASES_API CaseRuleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetCaseRuleArn() const { return m_caseRuleArn; }
50 inline bool CaseRuleArnHasBeenSet() const { return m_caseRuleArnHasBeenSet; }
51 template<typename CaseRuleArnT = Aws::String>
52 void SetCaseRuleArn(CaseRuleArnT&& value) { m_caseRuleArnHasBeenSet = true; m_caseRuleArn = std::forward<CaseRuleArnT>(value); }
53 template<typename CaseRuleArnT = Aws::String>
54 CaseRuleSummary& WithCaseRuleArn(CaseRuleArnT&& value) { SetCaseRuleArn(std::forward<CaseRuleArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetCaseRuleId() const { return m_caseRuleId; }
62 inline bool CaseRuleIdHasBeenSet() const { return m_caseRuleIdHasBeenSet; }
63 template<typename CaseRuleIdT = Aws::String>
64 void SetCaseRuleId(CaseRuleIdT&& value) { m_caseRuleIdHasBeenSet = true; m_caseRuleId = std::forward<CaseRuleIdT>(value); }
65 template<typename CaseRuleIdT = Aws::String>
66 CaseRuleSummary& WithCaseRuleId(CaseRuleIdT&& value) { SetCaseRuleId(std::forward<CaseRuleIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 CaseRuleSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 template<typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
89 template<typename NameT = Aws::String>
90 CaseRuleSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
92
94
97 inline RuleType GetRuleType() const { return m_ruleType; }
98 inline bool RuleTypeHasBeenSet() const { return m_ruleTypeHasBeenSet; }
99 inline void SetRuleType(RuleType value) { m_ruleTypeHasBeenSet = true; m_ruleType = value; }
100 inline CaseRuleSummary& WithRuleType(RuleType value) { SetRuleType(value); return *this;}
102 private:
103
104 Aws::String m_caseRuleArn;
105 bool m_caseRuleArnHasBeenSet = false;
106
107 Aws::String m_caseRuleId;
108 bool m_caseRuleIdHasBeenSet = false;
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 RuleType m_ruleType{RuleType::NOT_SET};
117 bool m_ruleTypeHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ConnectCases
122} // namespace Aws
AWS_CONNECTCASES_API CaseRuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CaseRuleSummary & WithDescription(DescriptionT &&value)
void SetCaseRuleArn(CaseRuleArnT &&value)
const Aws::String & GetCaseRuleId() const
CaseRuleSummary & WithRuleType(RuleType value)
CaseRuleSummary & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetCaseRuleArn() const
CaseRuleSummary & WithCaseRuleId(CaseRuleIdT &&value)
AWS_CONNECTCASES_API CaseRuleSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCASES_API CaseRuleSummary()=default
const Aws::String & GetDescription() const
CaseRuleSummary & WithCaseRuleArn(CaseRuleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue