AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventsRequest.h
1
6#pragma once
7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/dax/DAXRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dax/model/SourceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DAX
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DAX_API DescribeEventsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeEvents"; }
33
34 AWS_DAX_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
45 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
46 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
47 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
48 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
49 inline DescribeEventsRequest& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
50 inline DescribeEventsRequest& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
51 inline DescribeEventsRequest& WithSourceName(const char* value) { SetSourceName(value); return *this;}
53
55
59 inline const SourceType& GetSourceType() const{ return m_sourceType; }
60 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
61 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
62 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
63 inline DescribeEventsRequest& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
64 inline DescribeEventsRequest& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
73 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
74 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
75 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
76 inline DescribeEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
77 inline DescribeEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
86 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
87 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
88 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
89 inline DescribeEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
90 inline DescribeEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
92
94
97 inline int GetDuration() const{ return m_duration; }
98 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
99 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
100 inline DescribeEventsRequest& WithDuration(int value) { SetDuration(value); return *this;}
102
104
110 inline int GetMaxResults() const{ return m_maxResults; }
111 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
112 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
113 inline DescribeEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
115
117
123 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
124 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
125 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
126 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
127 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
128 inline DescribeEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 inline DescribeEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
130 inline DescribeEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
132 private:
133
134 Aws::String m_sourceName;
135 bool m_sourceNameHasBeenSet = false;
136
137 SourceType m_sourceType;
138 bool m_sourceTypeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_startTime;
141 bool m_startTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_endTime;
144 bool m_endTimeHasBeenSet = false;
145
146 int m_duration;
147 bool m_durationHasBeenSet = false;
148
149 int m_maxResults;
150 bool m_maxResultsHasBeenSet = false;
151
152 Aws::String m_nextToken;
153 bool m_nextTokenHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace DAX
158} // namespace Aws
void SetSourceName(const Aws::String &value)
DescribeEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetEndTime() const
DescribeEventsRequest & WithNextToken(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetNextToken(const Aws::String &value)
DescribeEventsRequest & WithSourceType(SourceType &&value)
DescribeEventsRequest & WithSourceType(const SourceType &value)
DescribeEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeEventsRequest & WithSourceName(const Aws::String &value)
DescribeEventsRequest & WithMaxResults(int value)
DescribeEventsRequest & WithSourceName(Aws::String &&value)
DescribeEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetSourceType(const SourceType &value)
DescribeEventsRequest & WithSourceName(const char *value)
DescribeEventsRequest & WithDuration(int value)
DescribeEventsRequest & WithNextToken(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
DescribeEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithNextToken(Aws::String &&value)
AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DAX_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String