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/health/Health_EXPORTS.h>
8#include <aws/health/HealthRequest.h>
9#include <aws/health/model/EventFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Health
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_HEALTH_API DescribeEventsRequest();
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 "DescribeEvents"; }
32
33 AWS_HEALTH_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const EventFilter& GetFilter() const{ return m_filter; }
43 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
44 inline void SetFilter(const EventFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
45 inline void SetFilter(EventFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
46 inline DescribeEventsRequest& WithFilter(const EventFilter& value) { SetFilter(value); return *this;}
47 inline DescribeEventsRequest& WithFilter(EventFilter&& value) { SetFilter(std::move(value)); return *this;}
49
51
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline DescribeEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline DescribeEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline DescribeEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline DescribeEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
84 inline const Aws::String& GetLocale() const{ return m_locale; }
85 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
86 inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
87 inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
88 inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
89 inline DescribeEventsRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
90 inline DescribeEventsRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
91 inline DescribeEventsRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
93 private:
94
95 EventFilter m_filter;
96 bool m_filterHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100
101 int m_maxResults;
102 bool m_maxResultsHasBeenSet = false;
103
104 Aws::String m_locale;
105 bool m_localeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Health
110} // namespace Aws
DescribeEventsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
DescribeEventsRequest & WithNextToken(const Aws::String &value)
DescribeEventsRequest & WithNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
AWS_HEALTH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeEventsRequest & WithFilter(const EventFilter &value)
DescribeEventsRequest & WithLocale(const char *value)
DescribeEventsRequest & WithLocale(const Aws::String &value)
AWS_HEALTH_API Aws::String SerializePayload() const override
DescribeEventsRequest & WithLocale(Aws::String &&value)
DescribeEventsRequest & WithFilter(EventFilter &&value)
DescribeEventsRequest & WithNextToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String