AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeCommunicationsRequest.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
19 
20 namespace Aws
21 {
22 namespace Support
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
35  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
42  inline const Aws::String& GetCaseId() const{ return m_caseId; }
43 
49  inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
50 
56  inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
57 
63  inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
64 
70  inline DescribeCommunicationsRequest& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
71 
77  inline DescribeCommunicationsRequest& WithCaseId(Aws::String&& value) { SetCaseId(value); return *this;}
78 
84  inline DescribeCommunicationsRequest& WithCaseId(const char* value) { SetCaseId(value); return *this;}
85 
90  inline const Aws::String& GetBeforeTime() const{ return m_beforeTime; }
91 
96  inline void SetBeforeTime(const Aws::String& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = value; }
97 
102  inline void SetBeforeTime(Aws::String&& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = value; }
103 
108  inline void SetBeforeTime(const char* value) { m_beforeTimeHasBeenSet = true; m_beforeTime.assign(value); }
109 
114  inline DescribeCommunicationsRequest& WithBeforeTime(const Aws::String& value) { SetBeforeTime(value); return *this;}
115 
120  inline DescribeCommunicationsRequest& WithBeforeTime(Aws::String&& value) { SetBeforeTime(value); return *this;}
121 
126  inline DescribeCommunicationsRequest& WithBeforeTime(const char* value) { SetBeforeTime(value); return *this;}
127 
132  inline const Aws::String& GetAfterTime() const{ return m_afterTime; }
133 
138  inline void SetAfterTime(const Aws::String& value) { m_afterTimeHasBeenSet = true; m_afterTime = value; }
139 
144  inline void SetAfterTime(Aws::String&& value) { m_afterTimeHasBeenSet = true; m_afterTime = value; }
145 
150  inline void SetAfterTime(const char* value) { m_afterTimeHasBeenSet = true; m_afterTime.assign(value); }
151 
156  inline DescribeCommunicationsRequest& WithAfterTime(const Aws::String& value) { SetAfterTime(value); return *this;}
157 
162  inline DescribeCommunicationsRequest& WithAfterTime(Aws::String&& value) { SetAfterTime(value); return *this;}
163 
168  inline DescribeCommunicationsRequest& WithAfterTime(const char* value) { SetAfterTime(value); return *this;}
169 
173  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
174 
178  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
179 
183  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
184 
188  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
189 
193  inline DescribeCommunicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
194 
198  inline DescribeCommunicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
199 
203  inline DescribeCommunicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
204 
208  inline int GetMaxResults() const{ return m_maxResults; }
209 
213  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
214 
218  inline DescribeCommunicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
219 
220  private:
221  Aws::String m_caseId;
222  bool m_caseIdHasBeenSet;
223  Aws::String m_beforeTime;
224  bool m_beforeTimeHasBeenSet;
225  Aws::String m_afterTime;
226  bool m_afterTimeHasBeenSet;
227  Aws::String m_nextToken;
228  bool m_nextTokenHasBeenSet;
229  int m_maxResults;
230  bool m_maxResultsHasBeenSet;
231  };
232 
233 } // namespace Model
234 } // namespace Support
235 } // namespace Aws
DescribeCommunicationsRequest & WithBeforeTime(const char *value)
DescribeCommunicationsRequest & WithAfterTime(Aws::String &&value)
DescribeCommunicationsRequest & WithNextToken(const Aws::String &value)
DescribeCommunicationsRequest & WithMaxResults(int value)
DescribeCommunicationsRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeCommunicationsRequest & WithAfterTime(const char *value)
DescribeCommunicationsRequest & WithCaseId(const Aws::String &value)
DescribeCommunicationsRequest & WithNextToken(const char *value)
#define AWS_SUPPORT_API
DescribeCommunicationsRequest & WithBeforeTime(const Aws::String &value)
DescribeCommunicationsRequest & WithCaseId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeCommunicationsRequest & WithCaseId(const char *value)
DescribeCommunicationsRequest & WithAfterTime(const Aws::String &value)
DescribeCommunicationsRequest & WithBeforeTime(Aws::String &&value)
JSON (JavaScript Object Notation).