AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeSessionsRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appstream/model/AuthenticationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppStream
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPSTREAM_API DescribeSessionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeSessions"; }
32
33 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetStackName() const { return m_stackName; }
43 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
44 template<typename StackNameT = Aws::String>
45 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
46 template<typename StackNameT = Aws::String>
47 DescribeSessionsRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetFleetName() const { return m_fleetName; }
55 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
56 template<typename FleetNameT = Aws::String>
57 void SetFleetName(FleetNameT&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::forward<FleetNameT>(value); }
58 template<typename FleetNameT = Aws::String>
59 DescribeSessionsRequest& WithFleetName(FleetNameT&& value) { SetFleetName(std::forward<FleetNameT>(value)); return *this;}
61
63
67 inline const Aws::String& GetUserId() const { return m_userId; }
68 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
69 template<typename UserIdT = Aws::String>
70 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
71 template<typename UserIdT = Aws::String>
72 DescribeSessionsRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
74
76
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) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
84 template<typename NextTokenT = Aws::String>
85 DescribeSessionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
87
89
93 inline int GetLimit() const { return m_limit; }
94 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
95 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
96 inline DescribeSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
98
100
105 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
106 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
107 inline void SetAuthenticationType(AuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
110
112
115 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
116 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
117 template<typename InstanceIdT = Aws::String>
118 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
119 template<typename InstanceIdT = Aws::String>
120 DescribeSessionsRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
122 private:
123
124 Aws::String m_stackName;
125 bool m_stackNameHasBeenSet = false;
126
127 Aws::String m_fleetName;
128 bool m_fleetNameHasBeenSet = false;
129
130 Aws::String m_userId;
131 bool m_userIdHasBeenSet = false;
132
133 Aws::String m_nextToken;
134 bool m_nextTokenHasBeenSet = false;
135
136 int m_limit{0};
137 bool m_limitHasBeenSet = false;
138
140 bool m_authenticationTypeHasBeenSet = false;
141
142 Aws::String m_instanceId;
143 bool m_instanceIdHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace AppStream
148} // namespace Aws
AWS_APPSTREAM_API DescribeSessionsRequest()=default
DescribeSessionsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeSessionsRequest & WithLimit(int value)
DescribeSessionsRequest & WithUserId(UserIdT &&value)
DescribeSessionsRequest & WithAuthenticationType(AuthenticationType value)
DescribeSessionsRequest & WithFleetName(FleetNameT &&value)
DescribeSessionsRequest & WithStackName(StackNameT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeSessionsRequest & WithInstanceId(InstanceIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String