AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListEventLogsRequest.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/CodeCatalystRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeCatalyst
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODECATALYST_API ListEventLogsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListEventLogs"; }
32
33 AWS_CODECATALYST_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
41 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
42 template<typename SpaceNameT = Aws::String>
43 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
44 template<typename SpaceNameT = Aws::String>
45 ListEventLogsRequest& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
47
49
54 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
55 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
56 template<typename StartTimeT = Aws::Utils::DateTime>
57 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
58 template<typename StartTimeT = Aws::Utils::DateTime>
59 ListEventLogsRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
61
63
68 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
69 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
70 template<typename EndTimeT = Aws::Utils::DateTime>
71 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
72 template<typename EndTimeT = Aws::Utils::DateTime>
73 ListEventLogsRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
75
77
80 inline const Aws::String& GetEventName() const { return m_eventName; }
81 inline bool EventNameHasBeenSet() const { return m_eventNameHasBeenSet; }
82 template<typename EventNameT = Aws::String>
83 void SetEventName(EventNameT&& value) { m_eventNameHasBeenSet = true; m_eventName = std::forward<EventNameT>(value); }
84 template<typename EventNameT = Aws::String>
85 ListEventLogsRequest& WithEventName(EventNameT&& value) { SetEventName(std::forward<EventNameT>(value)); return *this;}
87
89
93 inline const Aws::String& GetNextToken() const { return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 template<typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
97 template<typename NextTokenT = Aws::String>
98 ListEventLogsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
100
102
108 inline int GetMaxResults() const { return m_maxResults; }
109 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
110 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111 inline ListEventLogsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
113 private:
114
115 Aws::String m_spaceName;
116 bool m_spaceNameHasBeenSet = false;
117
118 Aws::Utils::DateTime m_startTime{};
119 bool m_startTimeHasBeenSet = false;
120
121 Aws::Utils::DateTime m_endTime{};
122 bool m_endTimeHasBeenSet = false;
123
124 Aws::String m_eventName;
125 bool m_eventNameHasBeenSet = false;
126
127 Aws::String m_nextToken;
128 bool m_nextTokenHasBeenSet = false;
129
130 int m_maxResults{0};
131 bool m_maxResultsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace CodeCatalyst
136} // namespace Aws
AWS_CODECATALYST_API Aws::String SerializePayload() const override
ListEventLogsRequest & WithSpaceName(SpaceNameT &&value)
ListEventLogsRequest & WithEndTime(EndTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
ListEventLogsRequest & WithEventName(EventNameT &&value)
virtual const char * GetServiceRequestName() const override
ListEventLogsRequest & WithMaxResults(int value)
AWS_CODECATALYST_API ListEventLogsRequest()=default
ListEventLogsRequest & WithNextToken(NextTokenT &&value)
ListEventLogsRequest & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String