AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DeleteMembersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/detective/DetectiveRequest.h>
10#include <aws/detective/Detective_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Detective {
16namespace Model {
17
21 public:
22 AWS_DETECTIVE_API DeleteMembersRequest() = 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 "DeleteMembers"; }
29
30 AWS_DETECTIVE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
37 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
38 template <typename GraphArnT = Aws::String>
39 void SetGraphArn(GraphArnT&& value) {
40 m_graphArnHasBeenSet = true;
41 m_graphArn = std::forward<GraphArnT>(value);
42 }
43 template <typename GraphArnT = Aws::String>
44 DeleteMembersRequest& WithGraphArn(GraphArnT&& value) {
45 SetGraphArn(std::forward<GraphArnT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
57 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
58 template <typename AccountIdsT = Aws::Vector<Aws::String>>
59 void SetAccountIds(AccountIdsT&& value) {
60 m_accountIdsHasBeenSet = true;
61 m_accountIds = std::forward<AccountIdsT>(value);
62 }
63 template <typename AccountIdsT = Aws::Vector<Aws::String>>
64 DeleteMembersRequest& WithAccountIds(AccountIdsT&& value) {
65 SetAccountIds(std::forward<AccountIdsT>(value));
66 return *this;
67 }
68 template <typename AccountIdsT = Aws::String>
69 DeleteMembersRequest& AddAccountIds(AccountIdsT&& value) {
70 m_accountIdsHasBeenSet = true;
71 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_graphArn;
77 bool m_graphArnHasBeenSet = false;
78
79 Aws::Vector<Aws::String> m_accountIds;
80 bool m_accountIdsHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Detective
85} // namespace Aws
DeleteMembersRequest & WithGraphArn(GraphArnT &&value)
DeleteMembersRequest & AddAccountIds(AccountIdsT &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
AWS_DETECTIVE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteMembersRequest & WithAccountIds(AccountIdsT &&value)
AWS_DETECTIVE_API DeleteMembersRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector