AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeleteRoleMembershipRequest.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#include <aws/quicksight/model/Role.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API DeleteRoleMembershipRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteRoleMembership"; }
29
30 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetMemberName() const { return m_memberName; }
37 inline bool MemberNameHasBeenSet() const { return m_memberNameHasBeenSet; }
38 template <typename MemberNameT = Aws::String>
39 void SetMemberName(MemberNameT&& value) {
40 m_memberNameHasBeenSet = true;
41 m_memberName = std::forward<MemberNameT>(value);
42 }
43 template <typename MemberNameT = Aws::String>
45 SetMemberName(std::forward<MemberNameT>(value));
46 return *this;
47 }
49
51
54 inline Role GetRole() const { return m_role; }
55 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
56 inline void SetRole(Role value) {
57 m_roleHasBeenSet = true;
58 m_role = value;
59 }
61 SetRole(value);
62 return *this;
63 }
65
67
72 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
73 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
74 template <typename AwsAccountIdT = Aws::String>
75 void SetAwsAccountId(AwsAccountIdT&& value) {
76 m_awsAccountIdHasBeenSet = true;
77 m_awsAccountId = std::forward<AwsAccountIdT>(value);
78 }
79 template <typename AwsAccountIdT = Aws::String>
81 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetNamespace() const { return m_namespace; }
91 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
92 template <typename NamespaceT = Aws::String>
93 void SetNamespace(NamespaceT&& value) {
94 m_namespaceHasBeenSet = true;
95 m_namespace = std::forward<NamespaceT>(value);
96 }
97 template <typename NamespaceT = Aws::String>
99 SetNamespace(std::forward<NamespaceT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_memberName;
105
106 Role m_role{Role::NOT_SET};
107
108 Aws::String m_awsAccountId;
109
110 Aws::String m_namespace;
111 bool m_memberNameHasBeenSet = false;
112 bool m_roleHasBeenSet = false;
113 bool m_awsAccountIdHasBeenSet = false;
114 bool m_namespaceHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
DeleteRoleMembershipRequest & WithNamespace(NamespaceT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DeleteRoleMembershipRequest & WithMemberName(MemberNameT &&value)
AWS_QUICKSIGHT_API DeleteRoleMembershipRequest()=default
DeleteRoleMembershipRequest & WithAwsAccountId(AwsAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String