AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeCasesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Support
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::Vector<Aws::String>& GetCaseIdList() const{ return m_caseIdList; }
43 
48  inline bool CaseIdListHasBeenSet() const { return m_caseIdListHasBeenSet; }
49 
54  inline void SetCaseIdList(const Aws::Vector<Aws::String>& value) { m_caseIdListHasBeenSet = true; m_caseIdList = value; }
55 
60  inline void SetCaseIdList(Aws::Vector<Aws::String>&& value) { m_caseIdListHasBeenSet = true; m_caseIdList = std::move(value); }
61 
66  inline DescribeCasesRequest& WithCaseIdList(const Aws::Vector<Aws::String>& value) { SetCaseIdList(value); return *this;}
67 
72  inline DescribeCasesRequest& WithCaseIdList(Aws::Vector<Aws::String>&& value) { SetCaseIdList(std::move(value)); return *this;}
73 
78  inline DescribeCasesRequest& AddCaseIdList(const Aws::String& value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(value); return *this; }
79 
84  inline DescribeCasesRequest& AddCaseIdList(Aws::String&& value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(std::move(value)); return *this; }
85 
90  inline DescribeCasesRequest& AddCaseIdList(const char* value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(value); return *this; }
91 
92 
96  inline const Aws::String& GetDisplayId() const{ return m_displayId; }
97 
101  inline bool DisplayIdHasBeenSet() const { return m_displayIdHasBeenSet; }
102 
106  inline void SetDisplayId(const Aws::String& value) { m_displayIdHasBeenSet = true; m_displayId = value; }
107 
111  inline void SetDisplayId(Aws::String&& value) { m_displayIdHasBeenSet = true; m_displayId = std::move(value); }
112 
116  inline void SetDisplayId(const char* value) { m_displayIdHasBeenSet = true; m_displayId.assign(value); }
117 
121  inline DescribeCasesRequest& WithDisplayId(const Aws::String& value) { SetDisplayId(value); return *this;}
122 
126  inline DescribeCasesRequest& WithDisplayId(Aws::String&& value) { SetDisplayId(std::move(value)); return *this;}
127 
131  inline DescribeCasesRequest& WithDisplayId(const char* value) { SetDisplayId(value); return *this;}
132 
133 
138  inline const Aws::String& GetAfterTime() const{ return m_afterTime; }
139 
144  inline bool AfterTimeHasBeenSet() const { return m_afterTimeHasBeenSet; }
145 
150  inline void SetAfterTime(const Aws::String& value) { m_afterTimeHasBeenSet = true; m_afterTime = value; }
151 
156  inline void SetAfterTime(Aws::String&& value) { m_afterTimeHasBeenSet = true; m_afterTime = std::move(value); }
157 
162  inline void SetAfterTime(const char* value) { m_afterTimeHasBeenSet = true; m_afterTime.assign(value); }
163 
168  inline DescribeCasesRequest& WithAfterTime(const Aws::String& value) { SetAfterTime(value); return *this;}
169 
174  inline DescribeCasesRequest& WithAfterTime(Aws::String&& value) { SetAfterTime(std::move(value)); return *this;}
175 
180  inline DescribeCasesRequest& WithAfterTime(const char* value) { SetAfterTime(value); return *this;}
181 
182 
187  inline const Aws::String& GetBeforeTime() const{ return m_beforeTime; }
188 
193  inline bool BeforeTimeHasBeenSet() const { return m_beforeTimeHasBeenSet; }
194 
199  inline void SetBeforeTime(const Aws::String& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = value; }
200 
205  inline void SetBeforeTime(Aws::String&& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = std::move(value); }
206 
211  inline void SetBeforeTime(const char* value) { m_beforeTimeHasBeenSet = true; m_beforeTime.assign(value); }
212 
217  inline DescribeCasesRequest& WithBeforeTime(const Aws::String& value) { SetBeforeTime(value); return *this;}
218 
223  inline DescribeCasesRequest& WithBeforeTime(Aws::String&& value) { SetBeforeTime(std::move(value)); return *this;}
224 
229  inline DescribeCasesRequest& WithBeforeTime(const char* value) { SetBeforeTime(value); return *this;}
230 
231 
237  inline bool GetIncludeResolvedCases() const{ return m_includeResolvedCases; }
238 
244  inline bool IncludeResolvedCasesHasBeenSet() const { return m_includeResolvedCasesHasBeenSet; }
245 
251  inline void SetIncludeResolvedCases(bool value) { m_includeResolvedCasesHasBeenSet = true; m_includeResolvedCases = value; }
252 
258  inline DescribeCasesRequest& WithIncludeResolvedCases(bool value) { SetIncludeResolvedCases(value); return *this;}
259 
260 
264  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
265 
269  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
270 
274  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
275 
279  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
280 
284  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
285 
289  inline DescribeCasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
290 
294  inline DescribeCasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
295 
299  inline DescribeCasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
300 
301 
305  inline int GetMaxResults() const{ return m_maxResults; }
306 
310  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
311 
315  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
316 
320  inline DescribeCasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
321 
322 
328  inline const Aws::String& GetLanguage() const{ return m_language; }
329 
335  inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
336 
342  inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
343 
349  inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
350 
356  inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
357 
363  inline DescribeCasesRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
364 
370  inline DescribeCasesRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
371 
377  inline DescribeCasesRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
378 
379 
384  inline bool GetIncludeCommunications() const{ return m_includeCommunications; }
385 
390  inline bool IncludeCommunicationsHasBeenSet() const { return m_includeCommunicationsHasBeenSet; }
391 
396  inline void SetIncludeCommunications(bool value) { m_includeCommunicationsHasBeenSet = true; m_includeCommunications = value; }
397 
402  inline DescribeCasesRequest& WithIncludeCommunications(bool value) { SetIncludeCommunications(value); return *this;}
403 
404  private:
405 
406  Aws::Vector<Aws::String> m_caseIdList;
407  bool m_caseIdListHasBeenSet;
408 
409  Aws::String m_displayId;
410  bool m_displayIdHasBeenSet;
411 
412  Aws::String m_afterTime;
413  bool m_afterTimeHasBeenSet;
414 
415  Aws::String m_beforeTime;
416  bool m_beforeTimeHasBeenSet;
417 
418  bool m_includeResolvedCases;
419  bool m_includeResolvedCasesHasBeenSet;
420 
421  Aws::String m_nextToken;
422  bool m_nextTokenHasBeenSet;
423 
424  int m_maxResults;
425  bool m_maxResultsHasBeenSet;
426 
427  Aws::String m_language;
428  bool m_languageHasBeenSet;
429 
430  bool m_includeCommunications;
431  bool m_includeCommunicationsHasBeenSet;
432  };
433 
434 } // namespace Model
435 } // namespace Support
436 } // namespace Aws
Aws::Support::Model::DescribeCasesRequest::WithMaxResults
DescribeCasesRequest & WithMaxResults(int value)
Definition: DescribeCasesRequest.h:320
Aws::Support::Model::DescribeCasesRequest::SetCaseIdList
void SetCaseIdList(Aws::Vector< Aws::String > &&value)
Definition: DescribeCasesRequest.h:60
Aws::Support::Model::DescribeCasesRequest::AfterTimeHasBeenSet
bool AfterTimeHasBeenSet() const
Definition: DescribeCasesRequest.h:144
Aws::Support::Model::DescribeCasesRequest::SetLanguage
void SetLanguage(const char *value)
Definition: DescribeCasesRequest.h:356
Aws::Support::Model::DescribeCasesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeCasesRequest.h:315
Aws::Support::Model::DescribeCasesRequest::SetBeforeTime
void SetBeforeTime(Aws::String &&value)
Definition: DescribeCasesRequest.h:205
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Support::Model::DescribeCasesRequest::WithDisplayId
DescribeCasesRequest & WithDisplayId(const char *value)
Definition: DescribeCasesRequest.h:131
Aws::Support::Model::DescribeCasesRequest::IncludeResolvedCasesHasBeenSet
bool IncludeResolvedCasesHasBeenSet() const
Definition: DescribeCasesRequest.h:244
Aws::Support::Model::DescribeCasesRequest::SetCaseIdList
void SetCaseIdList(const Aws::Vector< Aws::String > &value)
Definition: DescribeCasesRequest.h:54
Aws::Support::Model::DescribeCasesRequest::WithLanguage
DescribeCasesRequest & WithLanguage(const Aws::String &value)
Definition: DescribeCasesRequest.h:363
Aws::Support::Model::DescribeCasesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeCasesRequest.h:31
Aws::Support::Model::DescribeCasesRequest::WithCaseIdList
DescribeCasesRequest & WithCaseIdList(const Aws::Vector< Aws::String > &value)
Definition: DescribeCasesRequest.h:66
Aws::Support::Model::DescribeCasesRequest::AddCaseIdList
DescribeCasesRequest & AddCaseIdList(const Aws::String &value)
Definition: DescribeCasesRequest.h:78
Aws::Support::Model::DescribeCasesRequest::WithDisplayId
DescribeCasesRequest & WithDisplayId(Aws::String &&value)
Definition: DescribeCasesRequest.h:126
Aws::Support::Model::DescribeCasesRequest::WithIncludeResolvedCases
DescribeCasesRequest & WithIncludeResolvedCases(bool value)
Definition: DescribeCasesRequest.h:258
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Support::Model::DescribeCasesRequest::GetBeforeTime
const Aws::String & GetBeforeTime() const
Definition: DescribeCasesRequest.h:187
Aws::Support::Model::DescribeCasesRequest::AddCaseIdList
DescribeCasesRequest & AddCaseIdList(const char *value)
Definition: DescribeCasesRequest.h:90
Aws::Support::SupportRequest
Definition: SupportRequest.h:17
Aws::Support::Model::DescribeCasesRequest::WithNextToken
DescribeCasesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeCasesRequest.h:294
AWSVector.h
Aws::Support::Model::DescribeCasesRequest::IncludeCommunicationsHasBeenSet
bool IncludeCommunicationsHasBeenSet() const
Definition: DescribeCasesRequest.h:390
SupportRequest.h
Aws::Support::Model::DescribeCasesRequest::SetDisplayId
void SetDisplayId(Aws::String &&value)
Definition: DescribeCasesRequest.h:111
Aws::Support::Model::DescribeCasesRequest::SetDisplayId
void SetDisplayId(const char *value)
Definition: DescribeCasesRequest.h:116
Aws::Support::Model::DescribeCasesRequest::BeforeTimeHasBeenSet
bool BeforeTimeHasBeenSet() const
Definition: DescribeCasesRequest.h:193
Aws::Support::Model::DescribeCasesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeCasesRequest.h:310
Aws::Support::Model::DescribeCasesRequest::SetLanguage
void SetLanguage(Aws::String &&value)
Definition: DescribeCasesRequest.h:349
Aws::Support::Model::DescribeCasesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Support::Model::DescribeCasesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeCasesRequest.h:284
Aws::Support::Model::DescribeCasesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeCasesRequest.h:264
Aws::Support::Model::DescribeCasesRequest::GetIncludeCommunications
bool GetIncludeCommunications() const
Definition: DescribeCasesRequest.h:384
Aws::Support::Model::DescribeCasesRequest::WithLanguage
DescribeCasesRequest & WithLanguage(const char *value)
Definition: DescribeCasesRequest.h:377
Aws::Support::Model::DescribeCasesRequest::SetIncludeResolvedCases
void SetIncludeResolvedCases(bool value)
Definition: DescribeCasesRequest.h:251
Aws::Support::Model::DescribeCasesRequest::WithAfterTime
DescribeCasesRequest & WithAfterTime(Aws::String &&value)
Definition: DescribeCasesRequest.h:174
Aws::Support::Model::DescribeCasesRequest::WithAfterTime
DescribeCasesRequest & WithAfterTime(const Aws::String &value)
Definition: DescribeCasesRequest.h:168
Aws::Support::Model::DescribeCasesRequest::WithDisplayId
DescribeCasesRequest & WithDisplayId(const Aws::String &value)
Definition: DescribeCasesRequest.h:121
Aws::Support::Model::DescribeCasesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeCasesRequest.h:305
Aws::Support::Model::DescribeCasesRequest::GetAfterTime
const Aws::String & GetAfterTime() const
Definition: DescribeCasesRequest.h:138
Aws::Support::Model::DescribeCasesRequest::GetCaseIdList
const Aws::Vector< Aws::String > & GetCaseIdList() const
Definition: DescribeCasesRequest.h:42
Aws::Support::Model::DescribeCasesRequest::DescribeCasesRequest
DescribeCasesRequest()
AWSString.h
Support_EXPORTS.h
Aws::Support::Model::DescribeCasesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeCasesRequest.h:269
Aws::Support::Model::DescribeCasesRequest
Definition: DescribeCasesRequest.h:23
Aws::Support::Model::DescribeCasesRequest::SetAfterTime
void SetAfterTime(const Aws::String &value)
Definition: DescribeCasesRequest.h:150
AWS_SUPPORT_API
#define AWS_SUPPORT_API
Definition: Support_EXPORTS.h:28
Aws::Support::Model::DescribeCasesRequest::SetAfterTime
void SetAfterTime(const char *value)
Definition: DescribeCasesRequest.h:162
Aws::Support::Model::DescribeCasesRequest::DisplayIdHasBeenSet
bool DisplayIdHasBeenSet() const
Definition: DescribeCasesRequest.h:101
Aws::Support::Model::DescribeCasesRequest::GetLanguage
const Aws::String & GetLanguage() const
Definition: DescribeCasesRequest.h:328
Aws::Support::Model::DescribeCasesRequest::WithCaseIdList
DescribeCasesRequest & WithCaseIdList(Aws::Vector< Aws::String > &&value)
Definition: DescribeCasesRequest.h:72
Aws::Support::Model::DescribeCasesRequest::GetDisplayId
const Aws::String & GetDisplayId() const
Definition: DescribeCasesRequest.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::Support::Model::DescribeCasesRequest::SetAfterTime
void SetAfterTime(Aws::String &&value)
Definition: DescribeCasesRequest.h:156
Aws::Support::Model::DescribeCasesRequest::WithBeforeTime
DescribeCasesRequest & WithBeforeTime(const char *value)
Definition: DescribeCasesRequest.h:229
Aws::Support::Model::DescribeCasesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeCasesRequest.h:274
Aws::Support::Model::DescribeCasesRequest::WithNextToken
DescribeCasesRequest & WithNextToken(const char *value)
Definition: DescribeCasesRequest.h:299
Aws::Support::Model::DescribeCasesRequest::SetBeforeTime
void SetBeforeTime(const Aws::String &value)
Definition: DescribeCasesRequest.h:199
Aws::Support::Model::DescribeCasesRequest::AddCaseIdList
DescribeCasesRequest & AddCaseIdList(Aws::String &&value)
Definition: DescribeCasesRequest.h:84
Aws::Support::Model::DescribeCasesRequest::GetIncludeResolvedCases
bool GetIncludeResolvedCases() const
Definition: DescribeCasesRequest.h:237
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Support::Model::DescribeCasesRequest::WithBeforeTime
DescribeCasesRequest & WithBeforeTime(Aws::String &&value)
Definition: DescribeCasesRequest.h:223
Aws::Support::Model::DescribeCasesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Support::Model::DescribeCasesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeCasesRequest.h:279
Aws::Support::Model::DescribeCasesRequest::SetLanguage
void SetLanguage(const Aws::String &value)
Definition: DescribeCasesRequest.h:342
Aws::Support::Model::DescribeCasesRequest::SetIncludeCommunications
void SetIncludeCommunications(bool value)
Definition: DescribeCasesRequest.h:396
Aws::Support::Model::DescribeCasesRequest::WithBeforeTime
DescribeCasesRequest & WithBeforeTime(const Aws::String &value)
Definition: DescribeCasesRequest.h:217
Aws::Support::Model::DescribeCasesRequest::WithIncludeCommunications
DescribeCasesRequest & WithIncludeCommunications(bool value)
Definition: DescribeCasesRequest.h:402
Aws::Support::Model::DescribeCasesRequest::SetBeforeTime
void SetBeforeTime(const char *value)
Definition: DescribeCasesRequest.h:211
Aws::Support::Model::DescribeCasesRequest::LanguageHasBeenSet
bool LanguageHasBeenSet() const
Definition: DescribeCasesRequest.h:335
Aws::Support::Model::DescribeCasesRequest::SetDisplayId
void SetDisplayId(const Aws::String &value)
Definition: DescribeCasesRequest.h:106
Aws::Support::Model::DescribeCasesRequest::CaseIdListHasBeenSet
bool CaseIdListHasBeenSet() const
Definition: DescribeCasesRequest.h:48
Aws::Support::Model::DescribeCasesRequest::WithNextToken
DescribeCasesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeCasesRequest.h:289
Aws::Support::Model::DescribeCasesRequest::WithLanguage
DescribeCasesRequest & WithLanguage(Aws::String &&value)
Definition: DescribeCasesRequest.h:370
Aws::Support::Model::DescribeCasesRequest::WithAfterTime
DescribeCasesRequest & WithAfterTime(const char *value)
Definition: DescribeCasesRequest.h:180