AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteGroupMembershipRequest.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
22 {
23 public:
24 AWS_QUICKSIGHT_API DeleteGroupMembershipRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteGroupMembership"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetMemberName() const { return m_memberName; }
40 inline bool MemberNameHasBeenSet() const { return m_memberNameHasBeenSet; }
41 template<typename MemberNameT = Aws::String>
42 void SetMemberName(MemberNameT&& value) { m_memberNameHasBeenSet = true; m_memberName = std::forward<MemberNameT>(value); }
43 template<typename MemberNameT = Aws::String>
44 DeleteGroupMembershipRequest& WithMemberName(MemberNameT&& value) { SetMemberName(std::forward<MemberNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetGroupName() const { return m_groupName; }
52 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
53 template<typename GroupNameT = Aws::String>
54 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
55 template<typename GroupNameT = Aws::String>
56 DeleteGroupMembershipRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
58
60
65 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
66 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
67 template<typename AwsAccountIdT = Aws::String>
68 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
69 template<typename AwsAccountIdT = Aws::String>
70 DeleteGroupMembershipRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetNamespace() const { return m_namespace; }
78 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
79 template<typename NamespaceT = Aws::String>
80 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
81 template<typename NamespaceT = Aws::String>
82 DeleteGroupMembershipRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
84 private:
85
86 Aws::String m_memberName;
87 bool m_memberNameHasBeenSet = false;
88
89 Aws::String m_groupName;
90 bool m_groupNameHasBeenSet = false;
91
92 Aws::String m_awsAccountId;
93 bool m_awsAccountIdHasBeenSet = false;
94
95 Aws::String m_namespace;
96 bool m_namespaceHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
DeleteGroupMembershipRequest & WithGroupName(GroupNameT &&value)
DeleteGroupMembershipRequest & WithMemberName(MemberNameT &&value)
DeleteGroupMembershipRequest & WithAwsAccountId(AwsAccountIdT &&value)
DeleteGroupMembershipRequest & WithNamespace(NamespaceT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API DeleteGroupMembershipRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String