AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ListSubscriptionsRequest.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/RequestScope.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 AppMonetization {
19namespace Model {
20
27 public:
28 AWS_APPMONETIZATION_API ListSubscriptionsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListSubscriptions"; }
35
36 AWS_APPMONETIZATION_API Aws::String SerializePayload() const override;
37
38 AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetAppId() const { return m_appId; }
45 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
46 template <typename AppIdT = Aws::String>
47 void SetAppId(AppIdT&& value) {
48 m_appIdHasBeenSet = true;
49 m_appId = std::forward<AppIdT>(value);
50 }
51 template <typename AppIdT = Aws::String>
53 SetAppId(std::forward<AppIdT>(value));
54 return *this;
55 }
57
59
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
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template <typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) {
84 m_nextTokenHasBeenSet = true;
85 m_nextToken = std::forward<NextTokenT>(value);
86 }
87 template <typename NextTokenT = Aws::String>
89 SetNextToken(std::forward<NextTokenT>(value));
90 return *this;
91 }
93
95
98 inline RequestScope GetScope() const { return m_scope; }
99 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
100 inline void SetScope(RequestScope value) {
101 m_scopeHasBeenSet = true;
102 m_scope = value;
103 }
105 SetScope(value);
106 return *this;
107 }
109 private:
110 Aws::String m_appId;
111
112 int m_maxResults{0};
113
114 Aws::String m_nextToken;
115
117 bool m_appIdHasBeenSet = false;
118 bool m_maxResultsHasBeenSet = false;
119 bool m_nextTokenHasBeenSet = false;
120 bool m_scopeHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace AppMonetization
125} // namespace Aws
ListSubscriptionsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMONETIZATION_API ListSubscriptionsRequest()=default
ListSubscriptionsRequest & WithScope(RequestScope value)
ListSubscriptionsRequest & WithAppId(AppIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String