AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateUserCustomPermissionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QuickSight {
15namespace Model {
16
20 public:
21 AWS_QUICKSIGHT_API UpdateUserCustomPermissionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserCustomPermission"; }
28
29 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetUserName() const { return m_userName; }
36 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
37 template <typename UserNameT = Aws::String>
38 void SetUserName(UserNameT&& value) {
39 m_userNameHasBeenSet = true;
40 m_userName = std::forward<UserNameT>(value);
41 }
42 template <typename UserNameT = Aws::String>
44 SetUserName(std::forward<UserNameT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
55 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
56 template <typename AwsAccountIdT = Aws::String>
57 void SetAwsAccountId(AwsAccountIdT&& value) {
58 m_awsAccountIdHasBeenSet = true;
59 m_awsAccountId = std::forward<AwsAccountIdT>(value);
60 }
61 template <typename AwsAccountIdT = Aws::String>
63 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetNamespace() const { return m_namespace; }
73 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
74 template <typename NamespaceT = Aws::String>
75 void SetNamespace(NamespaceT&& value) {
76 m_namespaceHasBeenSet = true;
77 m_namespace = std::forward<NamespaceT>(value);
78 }
79 template <typename NamespaceT = Aws::String>
81 SetNamespace(std::forward<NamespaceT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetCustomPermissionsName() const { return m_customPermissionsName; }
91 inline bool CustomPermissionsNameHasBeenSet() const { return m_customPermissionsNameHasBeenSet; }
92 template <typename CustomPermissionsNameT = Aws::String>
93 void SetCustomPermissionsName(CustomPermissionsNameT&& value) {
94 m_customPermissionsNameHasBeenSet = true;
95 m_customPermissionsName = std::forward<CustomPermissionsNameT>(value);
96 }
97 template <typename CustomPermissionsNameT = Aws::String>
99 SetCustomPermissionsName(std::forward<CustomPermissionsNameT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_userName;
105
106 Aws::String m_awsAccountId;
107
108 Aws::String m_namespace;
109
110 Aws::String m_customPermissionsName;
111 bool m_userNameHasBeenSet = false;
112 bool m_awsAccountIdHasBeenSet = false;
113 bool m_namespaceHasBeenSet = false;
114 bool m_customPermissionsNameHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
UpdateUserCustomPermissionRequest & WithUserName(UserNameT &&value)
UpdateUserCustomPermissionRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API UpdateUserCustomPermissionRequest()=default
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateUserCustomPermissionRequest & WithNamespace(NamespaceT &&value)
UpdateUserCustomPermissionRequest & WithCustomPermissionsName(CustomPermissionsNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String