AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GetCaseAuditEventsRequest.h
1
6#pragma once
7#include <aws/connectcases/ConnectCasesRequest.h>
8#include <aws/connectcases/ConnectCases_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ConnectCases {
15namespace Model {
16
20 public:
21 AWS_CONNECTCASES_API GetCaseAuditEventsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetCaseAuditEvents"; }
28
29 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetCaseId() const { return m_caseId; }
36 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
37 template <typename CaseIdT = Aws::String>
38 void SetCaseId(CaseIdT&& value) {
39 m_caseIdHasBeenSet = true;
40 m_caseId = std::forward<CaseIdT>(value);
41 }
42 template <typename CaseIdT = Aws::String>
44 SetCaseId(std::forward<CaseIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDomainId() const { return m_domainId; }
54 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
55 template <typename DomainIdT = Aws::String>
56 void SetDomainId(DomainIdT&& value) {
57 m_domainIdHasBeenSet = true;
58 m_domainId = std::forward<DomainIdT>(value);
59 }
60 template <typename DomainIdT = Aws::String>
62 SetDomainId(std::forward<DomainIdT>(value));
63 return *this;
64 }
66
68
72 inline int GetMaxResults() const { return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) {
75 m_maxResultsHasBeenSet = true;
76 m_maxResults = value;
77 }
79 SetMaxResults(value);
80 return *this;
81 }
83
85
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template <typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) {
93 m_nextTokenHasBeenSet = true;
94 m_nextToken = std::forward<NextTokenT>(value);
95 }
96 template <typename NextTokenT = Aws::String>
98 SetNextToken(std::forward<NextTokenT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_caseId;
104
105 Aws::String m_domainId;
106
107 int m_maxResults{0};
108
109 Aws::String m_nextToken;
110 bool m_caseIdHasBeenSet = false;
111 bool m_domainIdHasBeenSet = false;
112 bool m_maxResultsHasBeenSet = false;
113 bool m_nextTokenHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace ConnectCases
118} // namespace Aws
GetCaseAuditEventsRequest & WithNextToken(NextTokenT &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
GetCaseAuditEventsRequest & WithDomainId(DomainIdT &&value)
AWS_CONNECTCASES_API GetCaseAuditEventsRequest()=default
GetCaseAuditEventsRequest & WithCaseId(CaseIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String