AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteRoleCustomPermissionRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/model/Role.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
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 "DeleteRoleCustomPermission"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Role& GetRole() const{ return m_role; }
41 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
42 inline void SetRole(const Role& value) { m_roleHasBeenSet = true; m_role = value; }
43 inline void SetRole(Role&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
44 inline DeleteRoleCustomPermissionRequest& WithRole(const Role& value) { SetRole(value); return *this;}
45 inline DeleteRoleCustomPermissionRequest& WithRole(Role&& value) { SetRole(std::move(value)); return *this;}
47
49
54 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
55 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
56 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
57 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
60 inline DeleteRoleCustomPermissionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
61 inline DeleteRoleCustomPermissionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
63
65
68 inline const Aws::String& GetNamespace() const{ return m_namespace; }
69 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
70 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
71 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
72 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
73 inline DeleteRoleCustomPermissionRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
74 inline DeleteRoleCustomPermissionRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
75 inline DeleteRoleCustomPermissionRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
77 private:
78
79 Role m_role;
80 bool m_roleHasBeenSet = false;
81
82 Aws::String m_awsAccountId;
83 bool m_awsAccountIdHasBeenSet = false;
84
85 Aws::String m_namespace;
86 bool m_namespaceHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DeleteRoleCustomPermissionRequest & WithNamespace(const Aws::String &value)
DeleteRoleCustomPermissionRequest & WithRole(const Role &value)
DeleteRoleCustomPermissionRequest & WithNamespace(const char *value)
DeleteRoleCustomPermissionRequest & WithNamespace(Aws::String &&value)
DeleteRoleCustomPermissionRequest & WithAwsAccountId(Aws::String &&value)
DeleteRoleCustomPermissionRequest & WithAwsAccountId(const char *value)
DeleteRoleCustomPermissionRequest & WithAwsAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String