AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListApplicationsRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/ListApplicationsRequestFilters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace mgn
16{
17namespace Model
18{
19
23 {
24 public:
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 "ListApplications"; }
32
33 AWS_MGN_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountID() const{ return m_accountID; }
41 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
42 inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; }
43 inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); }
44 inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); }
45 inline ListApplicationsRequest& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;}
46 inline ListApplicationsRequest& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;}
47 inline ListApplicationsRequest& WithAccountID(const char* value) { SetAccountID(value); return *this;}
49
51
54 inline const ListApplicationsRequestFilters& GetFilters() const{ return m_filters; }
55 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
56 inline void SetFilters(const ListApplicationsRequestFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
57 inline void SetFilters(ListApplicationsRequestFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
59 inline ListApplicationsRequest& WithFilters(ListApplicationsRequestFilters&& value) { SetFilters(std::move(value)); return *this;}
61
63
66 inline int GetMaxResults() const{ return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline ListApplicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline ListApplicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline ListApplicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline ListApplicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 private:
86
87 Aws::String m_accountID;
88 bool m_accountIDHasBeenSet = false;
89
91 bool m_filtersHasBeenSet = false;
92
93 int m_maxResults;
94 bool m_maxResultsHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace mgn
102} // namespace Aws
ListApplicationsRequest & WithFilters(ListApplicationsRequestFilters &&value)
ListApplicationsRequest & WithNextToken(Aws::String &&value)
AWS_MGN_API Aws::String SerializePayload() const override
ListApplicationsRequest & WithFilters(const ListApplicationsRequestFilters &value)
ListApplicationsRequest & WithAccountID(const Aws::String &value)
ListApplicationsRequest & WithNextToken(const char *value)
ListApplicationsRequest & WithMaxResults(int value)
ListApplicationsRequest & WithAccountID(Aws::String &&value)
void SetFilters(const ListApplicationsRequestFilters &value)
const ListApplicationsRequestFilters & GetFilters() const
ListApplicationsRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListApplicationsRequest & WithAccountID(const char *value)
void SetFilters(ListApplicationsRequestFilters &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String