AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeUsageReportSubscriptionsRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace AppStream
15{
16namespace Model
17{
18
22 {
23 public:
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 "DescribeUsageReportSubscriptions"; }
31
33
35
36
40 inline int GetMaxResults() const{ return m_maxResults; }
41
45 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
46
50 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
51
55 inline DescribeUsageReportSubscriptionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
56
57
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69
74 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
75
80 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81
86 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
87
93
98 inline DescribeUsageReportSubscriptionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
99
104 inline DescribeUsageReportSubscriptionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
105
106 private:
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace AppStream
117} // namespace Aws
#define AWS_APPSTREAM_API
DescribeUsageReportSubscriptionsRequest & WithNextToken(const Aws::String &value)
DescribeUsageReportSubscriptionsRequest & WithNextToken(const char *value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeUsageReportSubscriptionsRequest & WithNextToken(Aws::String &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String