AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteUserRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace AppStream
16{
17namespace Model
18{
19
23 {
24 public:
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 "DeleteUser"; }
32
34
36
37
42 inline const Aws::String& GetUserName() const{ return m_userName; }
43
48 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
49
54 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
55
60 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
61
66 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
67
72 inline DeleteUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
73
78 inline DeleteUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
79
84 inline DeleteUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
85
86
90 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
91
95 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
96
100 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
101
105 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
106
111
115 inline DeleteUserRequest& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
116
117 private:
118
119 Aws::String m_userName;
120 bool m_userNameHasBeenSet = false;
121
122 AuthenticationType m_authenticationType;
123 bool m_authenticationTypeHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace AppStream
128} // namespace Aws
#define AWS_APPSTREAM_API
const Aws::String & GetUserName() const
DeleteUserRequest & WithUserName(const char *value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DeleteUserRequest & WithUserName(const Aws::String &value)
void SetUserName(const Aws::String &value)
void SetAuthenticationType(AuthenticationType &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAuthenticationType(const AuthenticationType &value)
const AuthenticationType & GetAuthenticationType() const
DeleteUserRequest & WithAuthenticationType(const AuthenticationType &value)
DeleteUserRequest & WithUserName(Aws::String &&value)
DeleteUserRequest & WithAuthenticationType(AuthenticationType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String