AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeCasesRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace Support
24 {
25 namespace Model
26 {
27 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
42  inline const Aws::Vector<Aws::String>& GetCaseIdList() const{ return m_caseIdList; }
43 
48  inline void SetCaseIdList(const Aws::Vector<Aws::String>& value) { m_caseIdListHasBeenSet = true; m_caseIdList = value; }
49 
54  inline void SetCaseIdList(Aws::Vector<Aws::String>&& value) { m_caseIdListHasBeenSet = true; m_caseIdList = value; }
55 
60  inline DescribeCasesRequest& WithCaseIdList(const Aws::Vector<Aws::String>& value) { SetCaseIdList(value); return *this;}
61 
66  inline DescribeCasesRequest& WithCaseIdList(Aws::Vector<Aws::String>&& value) { SetCaseIdList(value); return *this;}
67 
72  inline DescribeCasesRequest& AddCaseIdList(const Aws::String& value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(value); return *this; }
73 
78  inline DescribeCasesRequest& AddCaseIdList(Aws::String&& value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(value); return *this; }
79 
84  inline DescribeCasesRequest& AddCaseIdList(const char* value) { m_caseIdListHasBeenSet = true; m_caseIdList.push_back(value); return *this; }
85 
89  inline const Aws::String& GetDisplayId() const{ return m_displayId; }
90 
94  inline void SetDisplayId(const Aws::String& value) { m_displayIdHasBeenSet = true; m_displayId = value; }
95 
99  inline void SetDisplayId(Aws::String&& value) { m_displayIdHasBeenSet = true; m_displayId = value; }
100 
104  inline void SetDisplayId(const char* value) { m_displayIdHasBeenSet = true; m_displayId.assign(value); }
105 
109  inline DescribeCasesRequest& WithDisplayId(const Aws::String& value) { SetDisplayId(value); return *this;}
110 
114  inline DescribeCasesRequest& WithDisplayId(Aws::String&& value) { SetDisplayId(value); return *this;}
115 
119  inline DescribeCasesRequest& WithDisplayId(const char* value) { SetDisplayId(value); return *this;}
120 
125  inline const Aws::String& GetAfterTime() const{ return m_afterTime; }
126 
131  inline void SetAfterTime(const Aws::String& value) { m_afterTimeHasBeenSet = true; m_afterTime = value; }
132 
137  inline void SetAfterTime(Aws::String&& value) { m_afterTimeHasBeenSet = true; m_afterTime = value; }
138 
143  inline void SetAfterTime(const char* value) { m_afterTimeHasBeenSet = true; m_afterTime.assign(value); }
144 
149  inline DescribeCasesRequest& WithAfterTime(const Aws::String& value) { SetAfterTime(value); return *this;}
150 
155  inline DescribeCasesRequest& WithAfterTime(Aws::String&& value) { SetAfterTime(value); return *this;}
156 
161  inline DescribeCasesRequest& WithAfterTime(const char* value) { SetAfterTime(value); return *this;}
162 
167  inline const Aws::String& GetBeforeTime() const{ return m_beforeTime; }
168 
173  inline void SetBeforeTime(const Aws::String& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = value; }
174 
179  inline void SetBeforeTime(Aws::String&& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = value; }
180 
185  inline void SetBeforeTime(const char* value) { m_beforeTimeHasBeenSet = true; m_beforeTime.assign(value); }
186 
191  inline DescribeCasesRequest& WithBeforeTime(const Aws::String& value) { SetBeforeTime(value); return *this;}
192 
197  inline DescribeCasesRequest& WithBeforeTime(Aws::String&& value) { SetBeforeTime(value); return *this;}
198 
203  inline DescribeCasesRequest& WithBeforeTime(const char* value) { SetBeforeTime(value); return *this;}
204 
209  inline bool GetIncludeResolvedCases() const{ return m_includeResolvedCases; }
210 
215  inline void SetIncludeResolvedCases(bool value) { m_includeResolvedCasesHasBeenSet = true; m_includeResolvedCases = value; }
216 
221  inline DescribeCasesRequest& WithIncludeResolvedCases(bool value) { SetIncludeResolvedCases(value); return *this;}
222 
226  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
227 
231  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
232 
236  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
237 
241  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
242 
246  inline DescribeCasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
247 
251  inline DescribeCasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
252 
256  inline DescribeCasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
257 
261  inline long GetMaxResults() const{ return m_maxResults; }
262 
266  inline void SetMaxResults(long value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
267 
271  inline DescribeCasesRequest& WithMaxResults(long value) { SetMaxResults(value); return *this;}
272 
278  inline const Aws::String& GetLanguage() const{ return m_language; }
279 
285  inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
286 
292  inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = value; }
293 
299  inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
300 
306  inline DescribeCasesRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
307 
313  inline DescribeCasesRequest& WithLanguage(Aws::String&& value) { SetLanguage(value); return *this;}
314 
320  inline DescribeCasesRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
321 
326  inline bool GetIncludeCommunications() const{ return m_includeCommunications; }
327 
332  inline void SetIncludeCommunications(bool value) { m_includeCommunicationsHasBeenSet = true; m_includeCommunications = value; }
333 
338  inline DescribeCasesRequest& WithIncludeCommunications(bool value) { SetIncludeCommunications(value); return *this;}
339 
340  private:
341  Aws::Vector<Aws::String> m_caseIdList;
342  bool m_caseIdListHasBeenSet;
343  Aws::String m_displayId;
344  bool m_displayIdHasBeenSet;
345  Aws::String m_afterTime;
346  bool m_afterTimeHasBeenSet;
347  Aws::String m_beforeTime;
348  bool m_beforeTimeHasBeenSet;
349  bool m_includeResolvedCases;
350  bool m_includeResolvedCasesHasBeenSet;
351  Aws::String m_nextToken;
352  bool m_nextTokenHasBeenSet;
353  long m_maxResults;
354  bool m_maxResultsHasBeenSet;
355  Aws::String m_language;
356  bool m_languageHasBeenSet;
357  bool m_includeCommunications;
358  bool m_includeCommunicationsHasBeenSet;
359  };
360 
361 } // namespace Model
362 } // namespace Support
363 } // namespace Aws
void SetAfterTime(const Aws::String &value)
DescribeCasesRequest & AddCaseIdList(Aws::String &&value)
DescribeCasesRequest & WithLanguage(Aws::String &&value)
DescribeCasesRequest & WithAfterTime(const char *value)
DescribeCasesRequest & WithNextToken(const Aws::String &value)
DescribeCasesRequest & WithNextToken(Aws::String &&value)
void SetCaseIdList(Aws::Vector< Aws::String > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeCasesRequest & WithAfterTime(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeCasesRequest & WithIncludeResolvedCases(bool value)
DescribeCasesRequest & WithDisplayId(const Aws::String &value)
void SetLanguage(const Aws::String &value)
DescribeCasesRequest & WithAfterTime(const Aws::String &value)
DescribeCasesRequest & WithBeforeTime(const Aws::String &value)
DescribeCasesRequest & WithCaseIdList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCaseIdList() const
void SetCaseIdList(const Aws::Vector< Aws::String > &value)
DescribeCasesRequest & WithLanguage(const Aws::String &value)
DescribeCasesRequest & WithMaxResults(long value)
void SetBeforeTime(const Aws::String &value)
DescribeCasesRequest & WithDisplayId(Aws::String &&value)
DescribeCasesRequest & AddCaseIdList(const Aws::String &value)
void SetNextToken(const Aws::String &value)
DescribeCasesRequest & WithNextToken(const char *value)
#define AWS_SUPPORT_API
DescribeCasesRequest & WithIncludeCommunications(bool value)
void SetDisplayId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeCasesRequest & WithLanguage(const char *value)
DescribeCasesRequest & WithCaseIdList(const Aws::Vector< Aws::String > &value)
DescribeCasesRequest & AddCaseIdList(const char *value)
DescribeCasesRequest & WithDisplayId(const char *value)
DescribeCasesRequest & WithBeforeTime(Aws::String &&value)
DescribeCasesRequest & WithBeforeTime(const char *value)
JSON (JavaScript Object Notation).