AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename PrincipalIdT = Aws::String>
45 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet = true; m_principalId = std::forward<PrincipalIdT>(value); }
46 template<typename PrincipalIdT = Aws::String>
47 DeleteUserByPrincipalIdRequest& WithPrincipalId(PrincipalIdT&& value) { SetPrincipalId(std::forward<PrincipalIdT>(value)); return *this;}
49
51
56 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
57 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
58 template<typename AwsAccountIdT = Aws::String>
59 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
60 template<typename AwsAccountIdT = Aws::String>
61 DeleteUserByPrincipalIdRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetNamespace() const { return m_namespace; }
69 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
70 template<typename NamespaceT = Aws::String>
71 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
72 template<typename NamespaceT = Aws::String>
73 DeleteUserByPrincipalIdRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
75 private:
76
77 Aws::String m_principalId;
78 bool m_principalIdHasBeenSet = false;
79
80 Aws::String m_awsAccountId;
81 bool m_awsAccountIdHasBeenSet = false;
82
83 Aws::String m_namespace;
84 bool m_namespaceHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DeleteUserByPrincipalIdRequest & WithPrincipalId(PrincipalIdT &&value)
AWS_QUICKSIGHT_API DeleteUserByPrincipalIdRequest()=default
DeleteUserByPrincipalIdRequest & WithNamespace(NamespaceT &&value)
DeleteUserByPrincipalIdRequest & WithAwsAccountId(AwsAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String