AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ListApplicationsRequest.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
8#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
9#include <aws/appintegrations/model/ApplicationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace AppIntegrationsService {
19namespace Model {
20
24 public:
25 AWS_APPINTEGRATIONSSERVICE_API ListApplicationsRequest() = default;
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_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_APPINTEGRATIONSSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetNextToken() const { return m_nextToken; }
43 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
44 template <typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) {
46 m_nextTokenHasBeenSet = true;
47 m_nextToken = std::forward<NextTokenT>(value);
48 }
49 template <typename NextTokenT = Aws::String>
51 SetNextToken(std::forward<NextTokenT>(value));
52 return *this;
53 }
55
57
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) {
63 m_maxResultsHasBeenSet = true;
64 m_maxResults = value;
65 }
67 SetMaxResults(value);
68 return *this;
69 }
71
73
76 inline ApplicationType GetApplicationType() const { return m_applicationType; }
77 inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; }
79 m_applicationTypeHasBeenSet = true;
80 m_applicationType = value;
81 }
83 SetApplicationType(value);
84 return *this;
85 }
87 private:
88 Aws::String m_nextToken;
89
90 int m_maxResults{0};
91
93 bool m_nextTokenHasBeenSet = false;
94 bool m_maxResultsHasBeenSet = false;
95 bool m_applicationTypeHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace AppIntegrationsService
100} // namespace Aws
AWS_APPINTEGRATIONSSERVICE_API ListApplicationsRequest()=default
AWS_APPINTEGRATIONSSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
ListApplicationsRequest & WithNextToken(NextTokenT &&value)
ListApplicationsRequest & WithApplicationType(ApplicationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String