AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCaseIdList(const Aws::Vector<Aws::String>& value) { m_caseIdListHasBeenSet = true; m_caseIdList = value; }
46 inline void SetCaseIdList(Aws::Vector<Aws::String>&& value) { m_caseIdListHasBeenSet = true; m_caseIdList = std::move(value); }
47 inline DescribeCasesRequest& WithCaseIdList(const Aws::Vector<Aws::String>& value) { SetCaseIdList(value); return *this;}
48 inline DescribeCasesRequest& WithCaseIdList(Aws::Vector<Aws::String>&& value) { SetCaseIdList(std::move(value)); return *this;}
49 inline DescribeCasesRequest& AddCaseIdList(const Aws::String& value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(value); return *this; }
50 inline DescribeCasesRequest& AddCaseIdList(Aws::String&& value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(std::move(value)); return *this; }
51 inline DescribeCasesRequest& AddCaseIdList(const char* value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(value); return *this; }
53
55
59 inline const Aws::String& GetDisplayId() const{ return m_displayId; }
60 inline bool DisplayIdHasBeenSet() const { return m_displayIdHasBeenSet; }
61 inline void SetDisplayId(const Aws::String& value) { m_displayIdHasBeenSet = true; m_displayId = value; }
62 inline void SetDisplayId(Aws::String&& value) { m_displayIdHasBeenSet = true; m_displayId = std::move(value); }
63 inline void SetDisplayId(const char* value) { m_displayIdHasBeenSet = true; m_displayId.assign(value); }
64 inline DescribeCasesRequest& WithDisplayId(const Aws::String& value) { SetDisplayId(value); return *this;}
65 inline DescribeCasesRequest& WithDisplayId(Aws::String&& value) { SetDisplayId(std::move(value)); return *this;}
66 inline DescribeCasesRequest& WithDisplayId(const char* value) { SetDisplayId(value); return *this;}
68
70
74 inline const Aws::String& GetAfterTime() const{ return m_afterTime; }
75 inline bool AfterTimeHasBeenSet() const { return m_afterTimeHasBeenSet; }
76 inline void SetAfterTime(const Aws::String& value) { m_afterTimeHasBeenSet = true; m_afterTime = value; }
77 inline void SetAfterTime(Aws::String&& value) { m_afterTimeHasBeenSet = true; m_afterTime = std::move(value); }
78 inline void SetAfterTime(const char* value) { m_afterTimeHasBeenSet = true; m_afterTime.assign(value); }
79 inline DescribeCasesRequest& WithAfterTime(const Aws::String& value) { SetAfterTime(value); return *this;}
80 inline DescribeCasesRequest& WithAfterTime(Aws::String&& value) { SetAfterTime(std::move(value)); return *this;}
81 inline DescribeCasesRequest& WithAfterTime(const char* value) { SetAfterTime(value); return *this;}
83
85
89 inline const Aws::String& GetBeforeTime() const{ return m_beforeTime; }
90 inline bool BeforeTimeHasBeenSet() const { return m_beforeTimeHasBeenSet; }
91 inline void SetBeforeTime(const Aws::String& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = value; }
92 inline void SetBeforeTime(Aws::String&& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = std::move(value); }
93 inline void SetBeforeTime(const char* value) { m_beforeTimeHasBeenSet = true; m_beforeTime.assign(value); }
94 inline DescribeCasesRequest& WithBeforeTime(const Aws::String& value) { SetBeforeTime(value); return *this;}
95 inline DescribeCasesRequest& WithBeforeTime(Aws::String&& value) { SetBeforeTime(std::move(value)); return *this;}
96 inline DescribeCasesRequest& WithBeforeTime(const char* value) { SetBeforeTime(value); return *this;}
98
100
105 inline bool GetIncludeResolvedCases() const{ return m_includeResolvedCases; }
106 inline bool IncludeResolvedCasesHasBeenSet() const { return m_includeResolvedCasesHasBeenSet; }
107 inline void SetIncludeResolvedCases(bool value) { m_includeResolvedCasesHasBeenSet = true; m_includeResolvedCases = value; }
108 inline DescribeCasesRequest& WithIncludeResolvedCases(bool value) { SetIncludeResolvedCases(value); return *this;}
110
112
115 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
116 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
117 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
118 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
119 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
120 inline DescribeCasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 inline DescribeCasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
122 inline DescribeCasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
124
126
129 inline int GetMaxResults() const{ return m_maxResults; }
130 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
131 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
132 inline DescribeCasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
134
136
142 inline const Aws::String& GetLanguage() const{ return m_language; }
143 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
144 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
145 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
146 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
147 inline DescribeCasesRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
148 inline DescribeCasesRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
149 inline DescribeCasesRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
151
153
157 inline bool GetIncludeCommunications() const{ return m_includeCommunications; }
158 inline bool IncludeCommunicationsHasBeenSet() const { return m_includeCommunicationsHasBeenSet; }
159 inline void SetIncludeCommunications(bool value) { m_includeCommunicationsHasBeenSet = true; m_includeCommunications = value; }
162 private:
163
164 Aws::Vector<Aws::String> m_caseIdList;
165 bool m_caseIdListHasBeenSet = false;
166
167 Aws::String m_displayId;
168 bool m_displayIdHasBeenSet = false;
169
170 Aws::String m_afterTime;
171 bool m_afterTimeHasBeenSet = false;
172
173 Aws::String m_beforeTime;
174 bool m_beforeTimeHasBeenSet = false;
175
176 bool m_includeResolvedCases;
177 bool m_includeResolvedCasesHasBeenSet = false;
178
179 Aws::String m_nextToken;
180 bool m_nextTokenHasBeenSet = false;
181
182 int m_maxResults;
183 bool m_maxResultsHasBeenSet = false;
184
185 Aws::String m_language;
186 bool m_languageHasBeenSet = false;
187
188 bool m_includeCommunications;
189 bool m_includeCommunicationsHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace Support
194} // namespace Aws
DescribeCasesRequest & WithCaseIdList(Aws::Vector< Aws::String > &&value)
DescribeCasesRequest & WithDisplayId(Aws::String &&value)
DescribeCasesRequest & WithCaseIdList(const Aws::Vector< Aws::String > &value)
DescribeCasesRequest & WithIncludeResolvedCases(bool value)
void SetDisplayId(const Aws::String &value)
DescribeCasesRequest & WithIncludeCommunications(bool value)
DescribeCasesRequest & WithNextToken(const char *value)
DescribeCasesRequest & WithLanguage(const char *value)
DescribeCasesRequest & WithLanguage(const Aws::String &value)
void SetCaseIdList(const Aws::Vector< Aws::String > &value)
DescribeCasesRequest & WithAfterTime(const char *value)
const Aws::Vector< Aws::String > & GetCaseIdList() const
virtual const char * GetServiceRequestName() const override
DescribeCasesRequest & AddCaseIdList(const Aws::String &value)
AWS_SUPPORT_API Aws::String SerializePayload() const override
DescribeCasesRequest & WithAfterTime(Aws::String &&value)
void SetAfterTime(const Aws::String &value)
DescribeCasesRequest & AddCaseIdList(Aws::String &&value)
DescribeCasesRequest & WithAfterTime(const Aws::String &value)
DescribeCasesRequest & WithBeforeTime(const char *value)
void SetBeforeTime(const Aws::String &value)
void SetCaseIdList(Aws::Vector< Aws::String > &&value)
DescribeCasesRequest & WithDisplayId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeCasesRequest & WithLanguage(Aws::String &&value)
DescribeCasesRequest & WithBeforeTime(Aws::String &&value)
DescribeCasesRequest & WithNextToken(Aws::String &&value)
DescribeCasesRequest & WithDisplayId(const char *value)
DescribeCasesRequest & WithBeforeTime(const Aws::String &value)
DescribeCasesRequest & WithMaxResults(int value)
DescribeCasesRequest & AddCaseIdList(const char *value)
DescribeCasesRequest & WithNextToken(const Aws::String &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