AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEventsRequest.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/devops-guru/model/ListEventsFilters.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DevOpsGuru
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEVOPSGURU_API ListEventsRequest();
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 "ListEvents"; }
32
33 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
34
35
37
41 inline const ListEventsFilters& GetFilters() const{ return m_filters; }
42 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
43 inline void SetFilters(const ListEventsFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
44 inline void SetFilters(ListEventsFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
45 inline ListEventsRequest& WithFilters(const ListEventsFilters& value) { SetFilters(value); return *this;}
46 inline ListEventsRequest& WithFilters(ListEventsFilters&& value) { SetFilters(std::move(value)); return *this;}
48
50
55 inline int GetMaxResults() const{ return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
58 inline ListEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60
62
66 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
68 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
69 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
70 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
71 inline ListEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
72 inline ListEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
73 inline ListEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
75
77
80 inline const Aws::String& GetAccountId() const{ return m_accountId; }
81 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
82 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
83 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
84 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
85 inline ListEventsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
86 inline ListEventsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
87 inline ListEventsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
89 private:
90
91 ListEventsFilters m_filters;
92 bool m_filtersHasBeenSet = false;
93
94 int m_maxResults;
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99
100 Aws::String m_accountId;
101 bool m_accountIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace DevOpsGuru
106} // namespace Aws
ListEventsRequest & WithFilters(const ListEventsFilters &value)
ListEventsRequest & WithNextToken(Aws::String &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
void SetFilters(ListEventsFilters &&value)
virtual const char * GetServiceRequestName() const override
ListEventsRequest & WithAccountId(Aws::String &&value)
ListEventsRequest & WithFilters(ListEventsFilters &&value)
void SetFilters(const ListEventsFilters &value)
ListEventsRequest & WithNextToken(const Aws::String &value)
ListEventsRequest & WithAccountId(const char *value)
const ListEventsFilters & GetFilters() const
ListEventsRequest & WithNextToken(const char *value)
void SetAccountId(const Aws::String &value)
ListEventsRequest & WithAccountId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListEventsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String