AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeEventsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 namespace ElasticBeanstalk
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
42  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
43 
48  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
49 
54  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
55 
60  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
61 
66  inline DescribeEventsRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
67 
72  inline DescribeEventsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(value); return *this;}
73 
78  inline DescribeEventsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
79 
84  inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
85 
90  inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
91 
96  inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
97 
102  inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
103 
108  inline DescribeEventsRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
109 
114  inline DescribeEventsRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(value); return *this;}
115 
120  inline DescribeEventsRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
121 
126  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
127 
132  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
133 
138  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
139 
144  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
145 
150  inline DescribeEventsRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
151 
156  inline DescribeEventsRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(value); return *this;}
157 
162  inline DescribeEventsRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
163 
168  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
169 
174  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
175 
180  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
181 
186  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
187 
192  inline DescribeEventsRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
193 
198  inline DescribeEventsRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(value); return *this;}
199 
204  inline DescribeEventsRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
205 
210  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
211 
216  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
217 
222  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
223 
228  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
229 
234  inline DescribeEventsRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
235 
240  inline DescribeEventsRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(value); return *this;}
241 
246  inline DescribeEventsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
247 
252  inline const Aws::String& GetRequestId() const{ return m_requestId; }
253 
258  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
259 
264  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
265 
270  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
271 
276  inline DescribeEventsRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
277 
282  inline DescribeEventsRequest& WithRequestId(Aws::String&& value) { SetRequestId(value); return *this;}
283 
288  inline DescribeEventsRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
289 
294  inline const EventSeverity& GetSeverity() const{ return m_severity; }
295 
300  inline void SetSeverity(const EventSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
301 
306  inline void SetSeverity(EventSeverity&& value) { m_severityHasBeenSet = true; m_severity = value; }
307 
312  inline DescribeEventsRequest& WithSeverity(const EventSeverity& value) { SetSeverity(value); return *this;}
313 
318  inline DescribeEventsRequest& WithSeverity(EventSeverity&& value) { SetSeverity(value); return *this;}
319 
324  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
325 
330  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
331 
336  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
337 
342  inline DescribeEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
343 
348  inline DescribeEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(value); return *this;}
349 
354  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
355 
360  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
361 
366  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
367 
372  inline DescribeEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
373 
378  inline DescribeEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(value); return *this;}
379 
384  inline int GetMaxRecords() const{ return m_maxRecords; }
385 
390  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
391 
396  inline DescribeEventsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
397 
402  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
403 
408  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
409 
414  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
415 
420  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
421 
426  inline DescribeEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
427 
432  inline DescribeEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
433 
438  inline DescribeEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
439 
440  private:
441  Aws::String m_applicationName;
442  bool m_applicationNameHasBeenSet;
443  Aws::String m_versionLabel;
444  bool m_versionLabelHasBeenSet;
445  Aws::String m_templateName;
446  bool m_templateNameHasBeenSet;
447  Aws::String m_environmentId;
448  bool m_environmentIdHasBeenSet;
449  Aws::String m_environmentName;
450  bool m_environmentNameHasBeenSet;
451  Aws::String m_requestId;
452  bool m_requestIdHasBeenSet;
453  EventSeverity m_severity;
454  bool m_severityHasBeenSet;
455  Aws::Utils::DateTime m_startTime;
456  bool m_startTimeHasBeenSet;
457  Aws::Utils::DateTime m_endTime;
458  bool m_endTimeHasBeenSet;
459  int m_maxRecords;
460  bool m_maxRecordsHasBeenSet;
461  Aws::String m_nextToken;
462  bool m_nextTokenHasBeenSet;
463  };
464 
465 } // namespace Model
466 } // namespace ElasticBeanstalk
467 } // namespace Aws
DescribeEventsRequest & WithApplicationName(const Aws::String &value)
DescribeEventsRequest & WithEnvironmentName(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
#define AWS_ELASTICBEANSTALK_API
DescribeEventsRequest & WithTemplateName(const char *value)
DescribeEventsRequest & WithEnvironmentName(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
DescribeEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithSeverity(EventSeverity &&value)
DescribeEventsRequest & WithEnvironmentId(const char *value)
DescribeEventsRequest & WithSeverity(const EventSeverity &value)
DescribeEventsRequest & WithEnvironmentId(Aws::String &&value)
DescribeEventsRequest & WithTemplateName(Aws::String &&value)
DescribeEventsRequest & WithEnvironmentId(const Aws::String &value)
DescribeEventsRequest & WithRequestId(Aws::String &&value)
DescribeEventsRequest & WithVersionLabel(const char *value)
DescribeEventsRequest & WithEnvironmentName(const char *value)
DescribeEventsRequest & WithVersionLabel(Aws::String &&value)
DescribeEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
DescribeEventsRequest & WithNextToken(const Aws::String &value)
DescribeEventsRequest & WithRequestId(const char *value)
DescribeEventsRequest & WithTemplateName(const Aws::String &value)
DescribeEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeEventsRequest & WithNextToken(Aws::String &&value)
DescribeEventsRequest & WithRequestId(const Aws::String &value)
DescribeEventsRequest & WithApplicationName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeEventsRequest & WithVersionLabel(const Aws::String &value)
DescribeEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeEventsRequest & WithNextToken(const char *value)
JSON (JavaScript Object Notation).
DescribeEventsRequest & WithApplicationName(Aws::String &&value)