AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteUserRequest.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 DeleteUserRequest() = 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 "DeleteUser"; }
32
33 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetUserName() const { return m_userName; }
44 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
45 template<typename UserNameT = Aws::String>
46 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
47 template<typename UserNameT = Aws::String>
48 DeleteUserRequest& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
50
52
55 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
56 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
57 inline void SetAuthenticationType(AuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
60 private:
61
62 Aws::String m_userName;
63 bool m_userNameHasBeenSet = false;
64
66 bool m_authenticationTypeHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace AppStream
71} // namespace Aws
const Aws::String & GetUserName() const
DeleteUserRequest & WithAuthenticationType(AuthenticationType value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
AuthenticationType GetAuthenticationType() const
virtual const char * GetServiceRequestName() const override
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPSTREAM_API DeleteUserRequest()=default
DeleteUserRequest & WithUserName(UserNameT &&value)
void SetAuthenticationType(AuthenticationType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String