AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRoleCustomPermissionRequest.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 <aws/quicksight/model/Role.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 "UpdateRoleCustomPermission"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetCustomPermissionsName() const{ return m_customPermissionsName; }
41 inline bool CustomPermissionsNameHasBeenSet() const { return m_customPermissionsNameHasBeenSet; }
42 inline void SetCustomPermissionsName(const Aws::String& value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName = value; }
43 inline void SetCustomPermissionsName(Aws::String&& value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName = std::move(value); }
44 inline void SetCustomPermissionsName(const char* value) { m_customPermissionsNameHasBeenSet = true; m_customPermissionsName.assign(value); }
49
51
54 inline const Role& GetRole() const{ return m_role; }
55 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
56 inline void SetRole(const Role& value) { m_roleHasBeenSet = true; m_role = value; }
57 inline void SetRole(Role&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
58 inline UpdateRoleCustomPermissionRequest& WithRole(const Role& value) { SetRole(value); return *this;}
59 inline UpdateRoleCustomPermissionRequest& WithRole(Role&& value) { SetRole(std::move(value)); return *this;}
61
63
68 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
69 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
70 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
71 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
72 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
74 inline UpdateRoleCustomPermissionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
75 inline UpdateRoleCustomPermissionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
77
79
82 inline const Aws::String& GetNamespace() const{ return m_namespace; }
83 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
84 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
85 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
86 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
87 inline UpdateRoleCustomPermissionRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
88 inline UpdateRoleCustomPermissionRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
89 inline UpdateRoleCustomPermissionRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
91 private:
92
93 Aws::String m_customPermissionsName;
94 bool m_customPermissionsNameHasBeenSet = false;
95
96 Role m_role;
97 bool m_roleHasBeenSet = false;
98
99 Aws::String m_awsAccountId;
100 bool m_awsAccountIdHasBeenSet = false;
101
102 Aws::String m_namespace;
103 bool m_namespaceHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace QuickSight
108} // namespace Aws
UpdateRoleCustomPermissionRequest & WithAwsAccountId(Aws::String &&value)
UpdateRoleCustomPermissionRequest & WithRole(const Role &value)
UpdateRoleCustomPermissionRequest & WithNamespace(const Aws::String &value)
UpdateRoleCustomPermissionRequest & WithNamespace(Aws::String &&value)
UpdateRoleCustomPermissionRequest & WithCustomPermissionsName(Aws::String &&value)
UpdateRoleCustomPermissionRequest & WithCustomPermissionsName(const char *value)
UpdateRoleCustomPermissionRequest & WithCustomPermissionsName(const Aws::String &value)
UpdateRoleCustomPermissionRequest & WithNamespace(const char *value)
UpdateRoleCustomPermissionRequest & WithAwsAccountId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateRoleCustomPermissionRequest & WithAwsAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String