AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeEntitlementsRequest.h
1
6#pragma once
7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AppStream {
15namespace Model {
16
20 public:
21 AWS_APPSTREAM_API DescribeEntitlementsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeEntitlements"; }
28
29 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetStackName() const { return m_stackName; }
56 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
57 template <typename StackNameT = Aws::String>
58 void SetStackName(StackNameT&& value) {
59 m_stackNameHasBeenSet = true;
60 m_stackName = std::forward<StackNameT>(value);
61 }
62 template <typename StackNameT = Aws::String>
64 SetStackName(std::forward<StackNameT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 template <typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) {
78 m_nextTokenHasBeenSet = true;
79 m_nextToken = std::forward<NextTokenT>(value);
80 }
81 template <typename NextTokenT = Aws::String>
83 SetNextToken(std::forward<NextTokenT>(value));
84 return *this;
85 }
87
89
92 inline int GetMaxResults() const { return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) {
95 m_maxResultsHasBeenSet = true;
96 m_maxResults = value;
97 }
99 SetMaxResults(value);
100 return *this;
101 }
103 private:
104 Aws::String m_name;
105
106 Aws::String m_stackName;
107
108 Aws::String m_nextToken;
109
110 int m_maxResults{0};
111 bool m_nameHasBeenSet = false;
112 bool m_stackNameHasBeenSet = false;
113 bool m_nextTokenHasBeenSet = false;
114 bool m_maxResultsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace AppStream
119} // namespace Aws
AWS_APPSTREAM_API DescribeEntitlementsRequest()=default
DescribeEntitlementsRequest & WithNextToken(NextTokenT &&value)
DescribeEntitlementsRequest & WithName(NameT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeEntitlementsRequest & WithMaxResults(int value)
DescribeEntitlementsRequest & WithStackName(StackNameT &&value)
virtual const char * GetServiceRequestName() const override
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