AWS SDK for C++

AWS SDK for C++ Version 1.11.699

Loading...
Searching...
No Matches
DescribeUserStackAssociationsRequest.h
1
6#pragma once
7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/appstream/model/AuthenticationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppStream {
16namespace Model {
17
21 public:
22 AWS_APPSTREAM_API DescribeUserStackAssociationsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeUserStackAssociations"; }
29
30 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetStackName() const { return m_stackName; }
39 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
40 template <typename StackNameT = Aws::String>
41 void SetStackName(StackNameT&& value) {
42 m_stackNameHasBeenSet = true;
43 m_stackName = std::forward<StackNameT>(value);
44 }
45 template <typename StackNameT = Aws::String>
47 SetStackName(std::forward<StackNameT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetUserName() const { return m_userName; }
58 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
59 template <typename UserNameT = Aws::String>
60 void SetUserName(UserNameT&& value) {
61 m_userNameHasBeenSet = true;
62 m_userName = std::forward<UserNameT>(value);
63 }
64 template <typename UserNameT = Aws::String>
66 SetUserName(std::forward<UserNameT>(value));
67 return *this;
68 }
70
72
76 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
77 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
79 m_authenticationTypeHasBeenSet = true;
80 m_authenticationType = value;
81 }
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
105
109 inline const Aws::String& GetNextToken() const { return m_nextToken; }
110 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
111 template <typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) {
113 m_nextTokenHasBeenSet = true;
114 m_nextToken = std::forward<NextTokenT>(value);
115 }
116 template <typename NextTokenT = Aws::String>
118 SetNextToken(std::forward<NextTokenT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_stackName;
124 bool m_stackNameHasBeenSet = false;
125
126 Aws::String m_userName;
127 bool m_userNameHasBeenSet = false;
128
130 bool m_authenticationTypeHasBeenSet = false;
131
132 int m_maxResults{0};
133 bool m_maxResultsHasBeenSet = false;
134
135 Aws::String m_nextToken;
136 bool m_nextTokenHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace AppStream
141} // namespace Aws
DescribeUserStackAssociationsRequest & WithUserName(UserNameT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeUserStackAssociationsRequest & WithAuthenticationType(AuthenticationType value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeUserStackAssociationsRequest & WithNextToken(NextTokenT &&value)
DescribeUserStackAssociationsRequest & WithStackName(StackNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String