AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeCommunicationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Support
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeCommunications"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetCaseId() const{ return m_caseId; }
43 
49  inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
50 
56  inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
57 
63  inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); }
64 
70  inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
71 
77  inline DescribeCommunicationsRequest& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
78 
84  inline DescribeCommunicationsRequest& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;}
85 
91  inline DescribeCommunicationsRequest& WithCaseId(const char* value) { SetCaseId(value); return *this;}
92 
93 
98  inline const Aws::String& GetBeforeTime() const{ return m_beforeTime; }
99 
104  inline bool BeforeTimeHasBeenSet() const { return m_beforeTimeHasBeenSet; }
105 
110  inline void SetBeforeTime(const Aws::String& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = value; }
111 
116  inline void SetBeforeTime(Aws::String&& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = std::move(value); }
117 
122  inline void SetBeforeTime(const char* value) { m_beforeTimeHasBeenSet = true; m_beforeTime.assign(value); }
123 
128  inline DescribeCommunicationsRequest& WithBeforeTime(const Aws::String& value) { SetBeforeTime(value); return *this;}
129 
134  inline DescribeCommunicationsRequest& WithBeforeTime(Aws::String&& value) { SetBeforeTime(std::move(value)); return *this;}
135 
140  inline DescribeCommunicationsRequest& WithBeforeTime(const char* value) { SetBeforeTime(value); return *this;}
141 
142 
147  inline const Aws::String& GetAfterTime() const{ return m_afterTime; }
148 
153  inline bool AfterTimeHasBeenSet() const { return m_afterTimeHasBeenSet; }
154 
159  inline void SetAfterTime(const Aws::String& value) { m_afterTimeHasBeenSet = true; m_afterTime = value; }
160 
165  inline void SetAfterTime(Aws::String&& value) { m_afterTimeHasBeenSet = true; m_afterTime = std::move(value); }
166 
171  inline void SetAfterTime(const char* value) { m_afterTimeHasBeenSet = true; m_afterTime.assign(value); }
172 
177  inline DescribeCommunicationsRequest& WithAfterTime(const Aws::String& value) { SetAfterTime(value); return *this;}
178 
183  inline DescribeCommunicationsRequest& WithAfterTime(Aws::String&& value) { SetAfterTime(std::move(value)); return *this;}
184 
189  inline DescribeCommunicationsRequest& WithAfterTime(const char* value) { SetAfterTime(value); return *this;}
190 
191 
195  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
196 
200  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
201 
205  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
206 
210  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
211 
215  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
216 
220  inline DescribeCommunicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
221 
225  inline DescribeCommunicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
226 
230  inline DescribeCommunicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
231 
232 
236  inline int GetMaxResults() const{ return m_maxResults; }
237 
241  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
242 
246  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
247 
251  inline DescribeCommunicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
252 
253  private:
254 
255  Aws::String m_caseId;
256  bool m_caseIdHasBeenSet;
257 
258  Aws::String m_beforeTime;
259  bool m_beforeTimeHasBeenSet;
260 
261  Aws::String m_afterTime;
262  bool m_afterTimeHasBeenSet;
263 
264  Aws::String m_nextToken;
265  bool m_nextTokenHasBeenSet;
266 
267  int m_maxResults;
268  bool m_maxResultsHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace Support
273 } // namespace Aws
Aws::Support::Model::DescribeCommunicationsRequest::SetAfterTime
void SetAfterTime(const char *value)
Definition: DescribeCommunicationsRequest.h:171
Aws::Support::Model::DescribeCommunicationsRequest::CaseIdHasBeenSet
bool CaseIdHasBeenSet() const
Definition: DescribeCommunicationsRequest.h:49
Aws::Support::Model::DescribeCommunicationsRequest::SetBeforeTime
void SetBeforeTime(const Aws::String &value)
Definition: DescribeCommunicationsRequest.h:110
Aws::Support::Model::DescribeCommunicationsRequest::WithCaseId
DescribeCommunicationsRequest & WithCaseId(const Aws::String &value)
Definition: DescribeCommunicationsRequest.h:77
Aws::Support::Model::DescribeCommunicationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeCommunicationsRequest.h:205
Aws::Support::Model::DescribeCommunicationsRequest::WithBeforeTime
DescribeCommunicationsRequest & WithBeforeTime(Aws::String &&value)
Definition: DescribeCommunicationsRequest.h:134
Aws::Support::Model::DescribeCommunicationsRequest::SetCaseId
void SetCaseId(const Aws::String &value)
Definition: DescribeCommunicationsRequest.h:56
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Support::Model::DescribeCommunicationsRequest::SetAfterTime
void SetAfterTime(Aws::String &&value)
Definition: DescribeCommunicationsRequest.h:165
Aws::Support::Model::DescribeCommunicationsRequest::WithAfterTime
DescribeCommunicationsRequest & WithAfterTime(const Aws::String &value)
Definition: DescribeCommunicationsRequest.h:177
Aws::Support::Model::DescribeCommunicationsRequest::AfterTimeHasBeenSet
bool AfterTimeHasBeenSet() const
Definition: DescribeCommunicationsRequest.h:153
Aws::Support::Model::DescribeCommunicationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeCommunicationsRequest.h:200
Aws::Support::Model::DescribeCommunicationsRequest::SetBeforeTime
void SetBeforeTime(const char *value)
Definition: DescribeCommunicationsRequest.h:122
Aws::Support::Model::DescribeCommunicationsRequest::WithNextToken
DescribeCommunicationsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeCommunicationsRequest.h:225
Aws::Support::Model::DescribeCommunicationsRequest::WithCaseId
DescribeCommunicationsRequest & WithCaseId(Aws::String &&value)
Definition: DescribeCommunicationsRequest.h:84
Aws::Support::SupportRequest
Definition: SupportRequest.h:17
Aws::Support::Model::DescribeCommunicationsRequest::SerializePayload
Aws::String SerializePayload() const override
SupportRequest.h
Aws::Support::Model::DescribeCommunicationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeCommunicationsRequest.h:241
Aws::Support::Model::DescribeCommunicationsRequest::GetCaseId
const Aws::String & GetCaseId() const
Definition: DescribeCommunicationsRequest.h:42
Aws::Support::Model::DescribeCommunicationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeCommunicationsRequest.h:215
Aws::Support::Model::DescribeCommunicationsRequest::WithBeforeTime
DescribeCommunicationsRequest & WithBeforeTime(const Aws::String &value)
Definition: DescribeCommunicationsRequest.h:128
Aws::Support::Model::DescribeCommunicationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeCommunicationsRequest.h:246
Aws::Support::Model::DescribeCommunicationsRequest::SetAfterTime
void SetAfterTime(const Aws::String &value)
Definition: DescribeCommunicationsRequest.h:159
Aws::Support::Model::DescribeCommunicationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeCommunicationsRequest.h:210
Aws::Support::Model::DescribeCommunicationsRequest::WithNextToken
DescribeCommunicationsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeCommunicationsRequest.h:220
Aws::Support::Model::DescribeCommunicationsRequest::WithMaxResults
DescribeCommunicationsRequest & WithMaxResults(int value)
Definition: DescribeCommunicationsRequest.h:251
Aws::Support::Model::DescribeCommunicationsRequest::WithAfterTime
DescribeCommunicationsRequest & WithAfterTime(const char *value)
Definition: DescribeCommunicationsRequest.h:189
Aws::Support::Model::DescribeCommunicationsRequest::BeforeTimeHasBeenSet
bool BeforeTimeHasBeenSet() const
Definition: DescribeCommunicationsRequest.h:104
Aws::Support::Model::DescribeCommunicationsRequest
Definition: DescribeCommunicationsRequest.h:22
Aws::Support::Model::DescribeCommunicationsRequest::WithBeforeTime
DescribeCommunicationsRequest & WithBeforeTime(const char *value)
Definition: DescribeCommunicationsRequest.h:140
Aws::Support::Model::DescribeCommunicationsRequest::WithNextToken
DescribeCommunicationsRequest & WithNextToken(const char *value)
Definition: DescribeCommunicationsRequest.h:230
AWSString.h
Support_EXPORTS.h
AWS_SUPPORT_API
#define AWS_SUPPORT_API
Definition: Support_EXPORTS.h:28
Aws::Support::Model::DescribeCommunicationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeCommunicationsRequest.h:195
Aws::Support::Model::DescribeCommunicationsRequest::GetAfterTime
const Aws::String & GetAfterTime() const
Definition: DescribeCommunicationsRequest.h:147
Aws::Support::Model::DescribeCommunicationsRequest::WithCaseId
DescribeCommunicationsRequest & WithCaseId(const char *value)
Definition: DescribeCommunicationsRequest.h:91
Aws::Support::Model::DescribeCommunicationsRequest::SetCaseId
void SetCaseId(Aws::String &&value)
Definition: DescribeCommunicationsRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Support::Model::DescribeCommunicationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeCommunicationsRequest.h:30
Aws::Support::Model::DescribeCommunicationsRequest::SetBeforeTime
void SetBeforeTime(Aws::String &&value)
Definition: DescribeCommunicationsRequest.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Support::Model::DescribeCommunicationsRequest::GetBeforeTime
const Aws::String & GetBeforeTime() const
Definition: DescribeCommunicationsRequest.h:98
Aws::Support::Model::DescribeCommunicationsRequest::DescribeCommunicationsRequest
DescribeCommunicationsRequest()
Aws::Support::Model::DescribeCommunicationsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Support::Model::DescribeCommunicationsRequest::WithAfterTime
DescribeCommunicationsRequest & WithAfterTime(Aws::String &&value)
Definition: DescribeCommunicationsRequest.h:183
Aws::Support::Model::DescribeCommunicationsRequest::SetCaseId
void SetCaseId(const char *value)
Definition: DescribeCommunicationsRequest.h:70
Aws::Support::Model::DescribeCommunicationsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeCommunicationsRequest.h:236