AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteUserByPrincipalIdRequest.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
25 {
26 public:
27 AWS_QUICKSIGHT_API DeleteUserByPrincipalIdRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteUserByPrincipalId"; }
34
35 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
43 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
44 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
45 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
46 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
47 inline DeleteUserByPrincipalIdRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
48 inline DeleteUserByPrincipalIdRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
49 inline DeleteUserByPrincipalIdRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
51
53
58 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
59 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
60 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
61 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
62 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
63 inline DeleteUserByPrincipalIdRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
64 inline DeleteUserByPrincipalIdRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
65 inline DeleteUserByPrincipalIdRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
67
69
72 inline const Aws::String& GetNamespace() const{ return m_namespace; }
73 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
74 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
75 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
76 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
77 inline DeleteUserByPrincipalIdRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
78 inline DeleteUserByPrincipalIdRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
79 inline DeleteUserByPrincipalIdRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
81 private:
82
83 Aws::String m_principalId;
84 bool m_principalIdHasBeenSet = false;
85
86 Aws::String m_awsAccountId;
87 bool m_awsAccountIdHasBeenSet = false;
88
89 Aws::String m_namespace;
90 bool m_namespaceHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
DeleteUserByPrincipalIdRequest & WithNamespace(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DeleteUserByPrincipalIdRequest & WithPrincipalId(const char *value)
DeleteUserByPrincipalIdRequest & WithAwsAccountId(const char *value)
DeleteUserByPrincipalIdRequest & WithNamespace(const Aws::String &value)
DeleteUserByPrincipalIdRequest & WithAwsAccountId(Aws::String &&value)
DeleteUserByPrincipalIdRequest & WithNamespace(const char *value)
DeleteUserByPrincipalIdRequest & WithPrincipalId(const Aws::String &value)
DeleteUserByPrincipalIdRequest & WithAwsAccountId(const Aws::String &value)
DeleteUserByPrincipalIdRequest & WithPrincipalId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String