AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeCasesRequest.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/support/SupportRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Support
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SUPPORT_API DescribeCasesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeCases"; }
32
33 AWS_SUPPORT_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::Vector<Aws::String>& GetCaseIdList() const { return m_caseIdList; }
44 inline bool CaseIdListHasBeenSet() const { return m_caseIdListHasBeenSet; }
45 template<typename CaseIdListT = Aws::Vector<Aws::String>>
46 void SetCaseIdList(CaseIdListT&& value) { m_caseIdListHasBeenSet = true; m_caseIdList = std::forward<CaseIdListT>(value); }
47 template<typename CaseIdListT = Aws::Vector<Aws::String>>
48 DescribeCasesRequest& WithCaseIdList(CaseIdListT&& value) { SetCaseIdList(std::forward<CaseIdListT>(value)); return *this;}
49 template<typename CaseIdListT = Aws::String>
50 DescribeCasesRequest& AddCaseIdList(CaseIdListT&& value) { m_caseIdListHasBeenSet = true; m_caseIdList.emplace_back(std::forward<CaseIdListT>(value)); return *this; }
52
54
58 inline const Aws::String& GetDisplayId() const { return m_displayId; }
59 inline bool DisplayIdHasBeenSet() const { return m_displayIdHasBeenSet; }
60 template<typename DisplayIdT = Aws::String>
61 void SetDisplayId(DisplayIdT&& value) { m_displayIdHasBeenSet = true; m_displayId = std::forward<DisplayIdT>(value); }
62 template<typename DisplayIdT = Aws::String>
63 DescribeCasesRequest& WithDisplayId(DisplayIdT&& value) { SetDisplayId(std::forward<DisplayIdT>(value)); return *this;}
65
67
71 inline const Aws::String& GetAfterTime() const { return m_afterTime; }
72 inline bool AfterTimeHasBeenSet() const { return m_afterTimeHasBeenSet; }
73 template<typename AfterTimeT = Aws::String>
74 void SetAfterTime(AfterTimeT&& value) { m_afterTimeHasBeenSet = true; m_afterTime = std::forward<AfterTimeT>(value); }
75 template<typename AfterTimeT = Aws::String>
76 DescribeCasesRequest& WithAfterTime(AfterTimeT&& value) { SetAfterTime(std::forward<AfterTimeT>(value)); return *this;}
78
80
84 inline const Aws::String& GetBeforeTime() const { return m_beforeTime; }
85 inline bool BeforeTimeHasBeenSet() const { return m_beforeTimeHasBeenSet; }
86 template<typename BeforeTimeT = Aws::String>
87 void SetBeforeTime(BeforeTimeT&& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = std::forward<BeforeTimeT>(value); }
88 template<typename BeforeTimeT = Aws::String>
89 DescribeCasesRequest& WithBeforeTime(BeforeTimeT&& value) { SetBeforeTime(std::forward<BeforeTimeT>(value)); return *this;}
91
93
98 inline bool GetIncludeResolvedCases() const { return m_includeResolvedCases; }
99 inline bool IncludeResolvedCasesHasBeenSet() const { return m_includeResolvedCasesHasBeenSet; }
100 inline void SetIncludeResolvedCases(bool value) { m_includeResolvedCasesHasBeenSet = true; m_includeResolvedCases = value; }
101 inline DescribeCasesRequest& WithIncludeResolvedCases(bool value) { SetIncludeResolvedCases(value); return *this;}
103
105
108 inline const Aws::String& GetNextToken() const { return m_nextToken; }
109 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
110 template<typename NextTokenT = Aws::String>
111 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
112 template<typename NextTokenT = Aws::String>
113 DescribeCasesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
115
117
120 inline int GetMaxResults() const { return m_maxResults; }
121 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
122 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
123 inline DescribeCasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
125
127
133 inline const Aws::String& GetLanguage() const { return m_language; }
134 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
135 template<typename LanguageT = Aws::String>
136 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet = true; m_language = std::forward<LanguageT>(value); }
137 template<typename LanguageT = Aws::String>
138 DescribeCasesRequest& WithLanguage(LanguageT&& value) { SetLanguage(std::forward<LanguageT>(value)); return *this;}
140
142
146 inline bool GetIncludeCommunications() const { return m_includeCommunications; }
147 inline bool IncludeCommunicationsHasBeenSet() const { return m_includeCommunicationsHasBeenSet; }
148 inline void SetIncludeCommunications(bool value) { m_includeCommunicationsHasBeenSet = true; m_includeCommunications = value; }
151 private:
152
153 Aws::Vector<Aws::String> m_caseIdList;
154 bool m_caseIdListHasBeenSet = false;
155
156 Aws::String m_displayId;
157 bool m_displayIdHasBeenSet = false;
158
159 Aws::String m_afterTime;
160 bool m_afterTimeHasBeenSet = false;
161
162 Aws::String m_beforeTime;
163 bool m_beforeTimeHasBeenSet = false;
164
165 bool m_includeResolvedCases{false};
166 bool m_includeResolvedCasesHasBeenSet = false;
167
168 Aws::String m_nextToken;
169 bool m_nextTokenHasBeenSet = false;
170
171 int m_maxResults{0};
172 bool m_maxResultsHasBeenSet = false;
173
174 Aws::String m_language;
175 bool m_languageHasBeenSet = false;
176
177 bool m_includeCommunications{false};
178 bool m_includeCommunicationsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Support
183} // namespace Aws
DescribeCasesRequest & WithLanguage(LanguageT &&value)
DescribeCasesRequest & WithIncludeResolvedCases(bool value)
DescribeCasesRequest & WithIncludeCommunications(bool value)
DescribeCasesRequest & WithBeforeTime(BeforeTimeT &&value)
DescribeCasesRequest & WithAfterTime(AfterTimeT &&value)
DescribeCasesRequest & WithNextToken(NextTokenT &&value)
DescribeCasesRequest & WithCaseIdList(CaseIdListT &&value)
const Aws::Vector< Aws::String > & GetCaseIdList() const
virtual const char * GetServiceRequestName() const override
AWS_SUPPORT_API Aws::String SerializePayload() const override
DescribeCasesRequest & WithDisplayId(DisplayIdT &&value)
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeCasesRequest & AddCaseIdList(CaseIdListT &&value)
AWS_SUPPORT_API DescribeCasesRequest()=default
DescribeCasesRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector