AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
24 AWS_SUPPORT_API DescribeCommunicationsRequest() = default;
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 template<typename CaseIdT = Aws::String>
46 void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet = true; m_caseId = std::forward<CaseIdT>(value); }
47 template<typename CaseIdT = Aws::String>
48 DescribeCommunicationsRequest& WithCaseId(CaseIdT&& value) { SetCaseId(std::forward<CaseIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetBeforeTime() const { return m_beforeTime; }
57 inline bool BeforeTimeHasBeenSet() const { return m_beforeTimeHasBeenSet; }
58 template<typename BeforeTimeT = Aws::String>
59 void SetBeforeTime(BeforeTimeT&& value) { m_beforeTimeHasBeenSet = true; m_beforeTime = std::forward<BeforeTimeT>(value); }
60 template<typename BeforeTimeT = Aws::String>
61 DescribeCommunicationsRequest& WithBeforeTime(BeforeTimeT&& value) { SetBeforeTime(std::forward<BeforeTimeT>(value)); return *this;}
63
65
69 inline const Aws::String& GetAfterTime() const { return m_afterTime; }
70 inline bool AfterTimeHasBeenSet() const { return m_afterTimeHasBeenSet; }
71 template<typename AfterTimeT = Aws::String>
72 void SetAfterTime(AfterTimeT&& value) { m_afterTimeHasBeenSet = true; m_afterTime = std::forward<AfterTimeT>(value); }
73 template<typename AfterTimeT = Aws::String>
74 DescribeCommunicationsRequest& WithAfterTime(AfterTimeT&& value) { SetAfterTime(std::forward<AfterTimeT>(value)); return *this;}
76
78
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template<typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
85 template<typename NextTokenT = Aws::String>
86 DescribeCommunicationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
88
90
93 inline int GetMaxResults() const { return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 inline DescribeCommunicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98 private:
99
100 Aws::String m_caseId;
101 bool m_caseIdHasBeenSet = false;
102
103 Aws::String m_beforeTime;
104 bool m_beforeTimeHasBeenSet = false;
105
106 Aws::String m_afterTime;
107 bool m_afterTimeHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults{0};
113 bool m_maxResultsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Support
118} // 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