AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeCommunicationsRequest.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/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Support
15{
16namespace 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_SUPPORT_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetCaseId() const{ return m_caseId; }
44 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
45 inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
46 inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); }
47 inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
48 inline DescribeCommunicationsRequest& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
49 inline DescribeCommunicationsRequest& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;}
50 inline DescribeCommunicationsRequest& WithCaseId(const char* value) { SetCaseId(value); return *this;}
52
54
58 inline const Aws::String& GetBeforeTime() const{ return m_beforeTime; }
59 inline bool BeforeTimeHasBeenSet() const { return m_beforeTimeHasBeenSet; }
60 inline void SetBeforeTime(const Aws::String& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = value; }
61 inline void SetBeforeTime(Aws::String&& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = std::move(value); }
62 inline void SetBeforeTime(const char* value) { m_beforeTimeHasBeenSet = true; m_beforeTime.assign(value); }
63 inline DescribeCommunicationsRequest& WithBeforeTime(const Aws::String& value) { SetBeforeTime(value); return *this;}
64 inline DescribeCommunicationsRequest& WithBeforeTime(Aws::String&& value) { SetBeforeTime(std::move(value)); return *this;}
65 inline DescribeCommunicationsRequest& WithBeforeTime(const char* value) { SetBeforeTime(value); return *this;}
67
69
73 inline const Aws::String& GetAfterTime() const{ return m_afterTime; }
74 inline bool AfterTimeHasBeenSet() const { return m_afterTimeHasBeenSet; }
75 inline void SetAfterTime(const Aws::String& value) { m_afterTimeHasBeenSet = true; m_afterTime = value; }
76 inline void SetAfterTime(Aws::String&& value) { m_afterTimeHasBeenSet = true; m_afterTime = std::move(value); }
77 inline void SetAfterTime(const char* value) { m_afterTimeHasBeenSet = true; m_afterTime.assign(value); }
78 inline DescribeCommunicationsRequest& WithAfterTime(const Aws::String& value) { SetAfterTime(value); return *this;}
79 inline DescribeCommunicationsRequest& WithAfterTime(Aws::String&& value) { SetAfterTime(std::move(value)); return *this;}
80 inline DescribeCommunicationsRequest& WithAfterTime(const char* value) { SetAfterTime(value); return *this;}
82
84
87 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
90 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
91 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
92 inline DescribeCommunicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 inline DescribeCommunicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
94 inline DescribeCommunicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96
98
101 inline int GetMaxResults() const{ return m_maxResults; }
102 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
104 inline DescribeCommunicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
106 private:
107
108 Aws::String m_caseId;
109 bool m_caseIdHasBeenSet = false;
110
111 Aws::String m_beforeTime;
112 bool m_beforeTimeHasBeenSet = false;
113
114 Aws::String m_afterTime;
115 bool m_afterTimeHasBeenSet = false;
116
117 Aws::String m_nextToken;
118 bool m_nextTokenHasBeenSet = false;
119
120 int m_maxResults;
121 bool m_maxResultsHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Support
126} // namespace Aws
DescribeCommunicationsRequest & WithAfterTime(const char *value)
DescribeCommunicationsRequest & WithCaseId(const Aws::String &value)
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeCommunicationsRequest & WithNextToken(const Aws::String &value)
DescribeCommunicationsRequest & WithCaseId(const char *value)
AWS_SUPPORT_API Aws::String SerializePayload() const override
DescribeCommunicationsRequest & WithNextToken(Aws::String &&value)
DescribeCommunicationsRequest & WithBeforeTime(Aws::String &&value)
DescribeCommunicationsRequest & WithBeforeTime(const char *value)
DescribeCommunicationsRequest & WithAfterTime(Aws::String &&value)
DescribeCommunicationsRequest & WithNextToken(const char *value)
DescribeCommunicationsRequest & WithBeforeTime(const Aws::String &value)
DescribeCommunicationsRequest & WithCaseId(Aws::String &&value)
DescribeCommunicationsRequest & WithMaxResults(int value)
DescribeCommunicationsRequest & WithAfterTime(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String