AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ListIngestionsRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabricRequest.h>
8#include <aws/appfabric/AppFabric_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AppFabric {
18namespace Model {
19
23 public:
24 AWS_APPFABRIC_API ListIngestionsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListIngestions"; }
31
32 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
33
34 AWS_APPFABRIC_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetAppBundleIdentifier() const { return m_appBundleIdentifier; }
42 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
43 template <typename AppBundleIdentifierT = Aws::String>
44 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) {
45 m_appBundleIdentifierHasBeenSet = true;
46 m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value);
47 }
48 template <typename AppBundleIdentifierT = Aws::String>
49 ListIngestionsRequest& WithAppBundleIdentifier(AppBundleIdentifierT&& value) {
50 SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value));
51 return *this;
52 }
54
56
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) {
65 m_maxResultsHasBeenSet = true;
66 m_maxResults = value;
67 }
69 SetMaxResults(value);
70 return *this;
71 }
73
75
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 template <typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) {
87 m_nextTokenHasBeenSet = true;
88 m_nextToken = std::forward<NextTokenT>(value);
89 }
90 template <typename NextTokenT = Aws::String>
91 ListIngestionsRequest& WithNextToken(NextTokenT&& value) {
92 SetNextToken(std::forward<NextTokenT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_appBundleIdentifier;
98
99 int m_maxResults{0};
100
101 Aws::String m_nextToken;
102 bool m_appBundleIdentifierHasBeenSet = false;
103 bool m_maxResultsHasBeenSet = false;
104 bool m_nextTokenHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace AppFabric
109} // namespace Aws
AWS_APPFABRIC_API Aws::String SerializePayload() const override
ListIngestionsRequest & WithNextToken(NextTokenT &&value)
ListIngestionsRequest & WithAppBundleIdentifier(AppBundleIdentifierT &&value)
void SetAppBundleIdentifier(AppBundleIdentifierT &&value)
ListIngestionsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
AWS_APPFABRIC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPFABRIC_API ListIngestionsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String