AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteUserRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace QuickSight
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_QUICKSIGHT_API DeleteUserRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteUser"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetUserName() const{ return m_userName; }
40 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
41 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
42 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
43 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
44 inline DeleteUserRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
45 inline DeleteUserRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
46 inline DeleteUserRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
48
50
55 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
56 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
57 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
58 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
59 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
60 inline DeleteUserRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
61 inline DeleteUserRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
62 inline DeleteUserRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
64
66
69 inline const Aws::String& GetNamespace() const{ return m_namespace; }
70 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
71 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
72 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
73 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
74 inline DeleteUserRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
75 inline DeleteUserRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
76 inline DeleteUserRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
78 private:
79
80 Aws::String m_userName;
81 bool m_userNameHasBeenSet = false;
82
83 Aws::String m_awsAccountId;
84 bool m_awsAccountIdHasBeenSet = false;
85
86 Aws::String m_namespace;
87 bool m_namespaceHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // namespace Aws
DeleteUserRequest & WithNamespace(const Aws::String &value)
void SetUserName(const Aws::String &value)
void SetAwsAccountId(const Aws::String &value)
DeleteUserRequest & WithNamespace(const char *value)
DeleteUserRequest & WithAwsAccountId(const char *value)
DeleteUserRequest & WithUserName(Aws::String &&value)
DeleteUserRequest & WithUserName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAwsAccountId() const
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DeleteUserRequest & WithNamespace(Aws::String &&value)
DeleteUserRequest & WithUserName(const char *value)
DeleteUserRequest & WithAwsAccountId(const Aws::String &value)
void SetNamespace(const Aws::String &value)
DeleteUserRequest & WithAwsAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String