AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
BatchGetCaseRuleRequest.h
1
6#pragma once
7#include <aws/connectcases/ConnectCasesRequest.h>
8#include <aws/connectcases/ConnectCases_EXPORTS.h>
9#include <aws/connectcases/model/CaseRuleIdentifier.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ConnectCases {
17namespace Model {
18
22 public:
23 AWS_CONNECTCASES_API BatchGetCaseRuleRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "BatchGetCaseRule"; }
30
31 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetDomainId() const { return m_domainId; }
38 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<CaseRuleIdentifier>& GetCaseRules() const { return m_caseRules; }
56 inline bool CaseRulesHasBeenSet() const { return m_caseRulesHasBeenSet; }
57 template <typename CaseRulesT = Aws::Vector<CaseRuleIdentifier>>
58 void SetCaseRules(CaseRulesT&& value) {
59 m_caseRulesHasBeenSet = true;
60 m_caseRules = std::forward<CaseRulesT>(value);
61 }
62 template <typename CaseRulesT = Aws::Vector<CaseRuleIdentifier>>
64 SetCaseRules(std::forward<CaseRulesT>(value));
65 return *this;
66 }
67 template <typename CaseRulesT = CaseRuleIdentifier>
69 m_caseRulesHasBeenSet = true;
70 m_caseRules.emplace_back(std::forward<CaseRulesT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_domainId;
76
78 bool m_domainIdHasBeenSet = false;
79 bool m_caseRulesHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace ConnectCases
84} // namespace Aws
BatchGetCaseRuleRequest & WithCaseRules(CaseRulesT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CONNECTCASES_API BatchGetCaseRuleRequest()=default
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
BatchGetCaseRuleRequest & WithDomainId(DomainIdT &&value)
BatchGetCaseRuleRequest & AddCaseRules(CaseRulesT &&value)
const Aws::Vector< CaseRuleIdentifier > & GetCaseRules() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector