AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListApplicationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/ListApplicationsRequestFilters.h>
11
12#include <utility>
13
14namespace Aws {
15namespace mgn {
16namespace Model {
17
21 public:
22 AWS_MGN_API ListApplicationsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListApplications"; }
29
30 AWS_MGN_API Aws::String SerializePayload() const override;
31
33
36 inline const ListApplicationsRequestFilters& GetFilters() const { return m_filters; }
37 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
38 template <typename FiltersT = ListApplicationsRequestFilters>
39 void SetFilters(FiltersT&& value) {
40 m_filtersHasBeenSet = true;
41 m_filters = std::forward<FiltersT>(value);
42 }
43 template <typename FiltersT = ListApplicationsRequestFilters>
45 SetFilters(std::forward<FiltersT>(value));
46 return *this;
47 }
49
51
54 inline int GetMaxResults() const { return m_maxResults; }
55 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
56 inline void SetMaxResults(int value) {
57 m_maxResultsHasBeenSet = true;
58 m_maxResults = value;
59 }
61 SetMaxResults(value);
62 return *this;
63 }
65
67
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 template <typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) {
74 m_nextTokenHasBeenSet = true;
75 m_nextToken = std::forward<NextTokenT>(value);
76 }
77 template <typename NextTokenT = Aws::String>
79 SetNextToken(std::forward<NextTokenT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetAccountID() const { return m_accountID; }
89 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
90 template <typename AccountIDT = Aws::String>
91 void SetAccountID(AccountIDT&& value) {
92 m_accountIDHasBeenSet = true;
93 m_accountID = std::forward<AccountIDT>(value);
94 }
95 template <typename AccountIDT = Aws::String>
97 SetAccountID(std::forward<AccountIDT>(value));
98 return *this;
99 }
101 private:
103
104 int m_maxResults{0};
105
106 Aws::String m_nextToken;
107
108 Aws::String m_accountID;
109 bool m_filtersHasBeenSet = false;
110 bool m_maxResultsHasBeenSet = false;
111 bool m_nextTokenHasBeenSet = false;
112 bool m_accountIDHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace mgn
117} // namespace Aws
ListApplicationsRequest & WithNextToken(NextTokenT &&value)
ListApplicationsRequest & WithAccountID(AccountIDT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
AWS_MGN_API ListApplicationsRequest()=default
ListApplicationsRequest & WithMaxResults(int value)
ListApplicationsRequest & WithFilters(FiltersT &&value)
const ListApplicationsRequestFilters & GetFilters() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String