AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
45 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
46 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
47 inline DescribeSessionsRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
48 inline DescribeSessionsRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
49 inline DescribeSessionsRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
51
53
56 inline const Aws::String& GetFleetName() const{ return m_fleetName; }
57 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
58 inline void SetFleetName(const Aws::String& value) { m_fleetNameHasBeenSet = true; m_fleetName = value; }
59 inline void SetFleetName(Aws::String&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::move(value); }
60 inline void SetFleetName(const char* value) { m_fleetNameHasBeenSet = true; m_fleetName.assign(value); }
61 inline DescribeSessionsRequest& WithFleetName(const Aws::String& value) { SetFleetName(value); return *this;}
62 inline DescribeSessionsRequest& WithFleetName(Aws::String&& value) { SetFleetName(std::move(value)); return *this;}
63 inline DescribeSessionsRequest& WithFleetName(const char* value) { SetFleetName(value); return *this;}
65
67
71 inline const Aws::String& GetUserId() const{ return m_userId; }
72 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
73 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
74 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
75 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
76 inline DescribeSessionsRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
77 inline DescribeSessionsRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
78 inline DescribeSessionsRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
80
82
86 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline DescribeSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline DescribeSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline DescribeSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
101 inline int GetLimit() const{ return m_limit; }
102 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
103 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
104 inline DescribeSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
106
108
113 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
114 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
115 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
116 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
120
122
125 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
126 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
127 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
128 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
129 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
130 inline DescribeSessionsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
131 inline DescribeSessionsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
132 inline DescribeSessionsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
134 private:
135
136 Aws::String m_stackName;
137 bool m_stackNameHasBeenSet = false;
138
139 Aws::String m_fleetName;
140 bool m_fleetNameHasBeenSet = false;
141
142 Aws::String m_userId;
143 bool m_userIdHasBeenSet = false;
144
145 Aws::String m_nextToken;
146 bool m_nextTokenHasBeenSet = false;
147
148 int m_limit;
149 bool m_limitHasBeenSet = false;
150
151 AuthenticationType m_authenticationType;
152 bool m_authenticationTypeHasBeenSet = false;
153
154 Aws::String m_instanceId;
155 bool m_instanceIdHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace AppStream
160} // namespace Aws
DescribeSessionsRequest & WithUserId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeSessionsRequest & WithInstanceId(const Aws::String &value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
void SetAuthenticationType(const AuthenticationType &value)
DescribeSessionsRequest & WithFleetName(const char *value)
DescribeSessionsRequest & WithNextToken(const char *value)
DescribeSessionsRequest & WithFleetName(const Aws::String &value)
DescribeSessionsRequest & WithInstanceId(const char *value)
DescribeSessionsRequest & WithUserId(const char *value)
DescribeSessionsRequest & WithStackName(const Aws::String &value)
DescribeSessionsRequest & WithFleetName(Aws::String &&value)
DescribeSessionsRequest & WithAuthenticationType(AuthenticationType &&value)
DescribeSessionsRequest & WithStackName(Aws::String &&value)
DescribeSessionsRequest & WithUserId(const Aws::String &value)
DescribeSessionsRequest & WithStackName(const char *value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const AuthenticationType & GetAuthenticationType() const
DescribeSessionsRequest & WithNextToken(const Aws::String &value)
DescribeSessionsRequest & WithNextToken(Aws::String &&value)
DescribeSessionsRequest & WithInstanceId(Aws::String &&value)
DescribeSessionsRequest & WithAuthenticationType(const AuthenticationType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String