AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
43 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
44 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
45 inline ListEventLogsRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
46 inline ListEventLogsRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
47 inline ListEventLogsRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
49
51
56 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
57 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
58 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
59 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
60 inline ListEventLogsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
61 inline ListEventLogsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
63
65
70 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
71 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
72 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
73 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
74 inline ListEventLogsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
75 inline ListEventLogsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetEventName() const{ return m_eventName; }
83 inline bool EventNameHasBeenSet() const { return m_eventNameHasBeenSet; }
84 inline void SetEventName(const Aws::String& value) { m_eventNameHasBeenSet = true; m_eventName = value; }
85 inline void SetEventName(Aws::String&& value) { m_eventNameHasBeenSet = true; m_eventName = std::move(value); }
86 inline void SetEventName(const char* value) { m_eventNameHasBeenSet = true; m_eventName.assign(value); }
87 inline ListEventLogsRequest& WithEventName(const Aws::String& value) { SetEventName(value); return *this;}
88 inline ListEventLogsRequest& WithEventName(Aws::String&& value) { SetEventName(std::move(value)); return *this;}
89 inline ListEventLogsRequest& WithEventName(const char* value) { SetEventName(value); return *this;}
91
93
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListEventLogsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListEventLogsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListEventLogsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106
108
114 inline int GetMaxResults() const{ return m_maxResults; }
115 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
116 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
117 inline ListEventLogsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
119 private:
120
121 Aws::String m_spaceName;
122 bool m_spaceNameHasBeenSet = false;
123
124 Aws::Utils::DateTime m_startTime;
125 bool m_startTimeHasBeenSet = false;
126
127 Aws::Utils::DateTime m_endTime;
128 bool m_endTimeHasBeenSet = false;
129
130 Aws::String m_eventName;
131 bool m_eventNameHasBeenSet = false;
132
133 Aws::String m_nextToken;
134 bool m_nextTokenHasBeenSet = false;
135
136 int m_maxResults;
137 bool m_maxResultsHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace CodeCatalyst
142} // namespace Aws
ListEventLogsRequest & WithEventName(const Aws::String &value)
AWS_CODECATALYST_API Aws::String SerializePayload() const override
ListEventLogsRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListEventLogsRequest & WithNextToken(Aws::String &&value)
ListEventLogsRequest & WithEventName(const char *value)
ListEventLogsRequest & WithEventName(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
ListEventLogsRequest & WithSpaceName(const char *value)
ListEventLogsRequest & WithSpaceName(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
ListEventLogsRequest & WithEndTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
ListEventLogsRequest & WithMaxResults(int value)
ListEventLogsRequest & WithEndTime(Aws::Utils::DateTime &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
ListEventLogsRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListEventLogsRequest & WithNextToken(const Aws::String &value)
ListEventLogsRequest & WithSpaceName(Aws::String &&value)
ListEventLogsRequest & WithNextToken(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String