AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DisableUserRequest.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 DisableUserRequest() = 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 "DisableUser"; }
29
30 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetUserName() const { return m_userName; }
40 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
41 template <typename UserNameT = Aws::String>
42 void SetUserName(UserNameT&& value) {
43 m_userNameHasBeenSet = true;
44 m_userName = std::forward<UserNameT>(value);
45 }
46 template <typename UserNameT = Aws::String>
47 DisableUserRequest& WithUserName(UserNameT&& value) {
48 SetUserName(std::forward<UserNameT>(value));
49 return *this;
50 }
52
54
57 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
58 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
60 m_authenticationTypeHasBeenSet = true;
61 m_authenticationType = value;
62 }
65 return *this;
66 }
68 private:
69 Aws::String m_userName;
70 bool m_userNameHasBeenSet = false;
71
73 bool m_authenticationTypeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace AppStream
78} // namespace Aws
DisableUserRequest & WithAuthenticationType(AuthenticationType value)
DisableUserRequest & WithUserName(UserNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetAuthenticationType(AuthenticationType value)
AuthenticationType GetAuthenticationType() const
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPSTREAM_API DisableUserRequest()=default
AWS_APPSTREAM_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String