AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeCommunicationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/support/SupportRequest.h>
9#include <aws/support/Support_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Support {
15namespace Model {
16
20 public:
21 AWS_SUPPORT_API DescribeCommunicationsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeCommunications"; }
28
29 AWS_SUPPORT_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetCaseId() const { return m_caseId; }
40 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
41 template <typename CaseIdT = Aws::String>
42 void SetCaseId(CaseIdT&& value) {
43 m_caseIdHasBeenSet = true;
44 m_caseId = std::forward<CaseIdT>(value);
45 }
46 template <typename CaseIdT = Aws::String>
48 SetCaseId(std::forward<CaseIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetBeforeTime() const { return m_beforeTime; }
59 inline bool BeforeTimeHasBeenSet() const { return m_beforeTimeHasBeenSet; }
60 template <typename BeforeTimeT = Aws::String>
61 void SetBeforeTime(BeforeTimeT&& value) {
62 m_beforeTimeHasBeenSet = true;
63 m_beforeTime = std::forward<BeforeTimeT>(value);
64 }
65 template <typename BeforeTimeT = Aws::String>
67 SetBeforeTime(std::forward<BeforeTimeT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetAfterTime() const { return m_afterTime; }
78 inline bool AfterTimeHasBeenSet() const { return m_afterTimeHasBeenSet; }
79 template <typename AfterTimeT = Aws::String>
80 void SetAfterTime(AfterTimeT&& value) {
81 m_afterTimeHasBeenSet = true;
82 m_afterTime = std::forward<AfterTimeT>(value);
83 }
84 template <typename AfterTimeT = Aws::String>
86 SetAfterTime(std::forward<AfterTimeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetNextToken() const { return m_nextToken; }
96 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 template <typename NextTokenT = Aws::String>
98 void SetNextToken(NextTokenT&& value) {
99 m_nextTokenHasBeenSet = true;
100 m_nextToken = std::forward<NextTokenT>(value);
101 }
102 template <typename NextTokenT = Aws::String>
104 SetNextToken(std::forward<NextTokenT>(value));
105 return *this;
106 }
108
110
113 inline int GetMaxResults() const { return m_maxResults; }
114 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
115 inline void SetMaxResults(int value) {
116 m_maxResultsHasBeenSet = true;
117 m_maxResults = value;
118 }
120 SetMaxResults(value);
121 return *this;
122 }
124 private:
125 Aws::String m_caseId;
126
127 Aws::String m_beforeTime;
128
129 Aws::String m_afterTime;
130
131 Aws::String m_nextToken;
132
133 int m_maxResults{0};
134 bool m_caseIdHasBeenSet = false;
135 bool m_beforeTimeHasBeenSet = false;
136 bool m_afterTimeHasBeenSet = false;
137 bool m_nextTokenHasBeenSet = false;
138 bool m_maxResultsHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Support
143} // namespace Aws
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeCommunicationsRequest & WithNextToken(NextTokenT &&value)
DescribeCommunicationsRequest & WithAfterTime(AfterTimeT &&value)
DescribeCommunicationsRequest & WithCaseId(CaseIdT &&value)
AWS_SUPPORT_API Aws::String SerializePayload() const override
AWS_SUPPORT_API DescribeCommunicationsRequest()=default
DescribeCommunicationsRequest & WithBeforeTime(BeforeTimeT &&value)
DescribeCommunicationsRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String