AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteMembersResult.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/detective/model/UnprocessedAccount.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Detective
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DETECTIVE_API DeleteMembersResult();
35
36
38
42 inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
43 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIds = value; }
44 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIds = std::move(value); }
45 inline DeleteMembersResult& WithAccountIds(const Aws::Vector<Aws::String>& value) { SetAccountIds(value); return *this;}
46 inline DeleteMembersResult& WithAccountIds(Aws::Vector<Aws::String>&& value) { SetAccountIds(std::move(value)); return *this;}
47 inline DeleteMembersResult& AddAccountIds(const Aws::String& value) { m_accountIds.push_back(value); return *this; }
48 inline DeleteMembersResult& AddAccountIds(Aws::String&& value) { m_accountIds.push_back(std::move(value)); return *this; }
49 inline DeleteMembersResult& AddAccountIds(const char* value) { m_accountIds.push_back(value); return *this; }
51
53
58 inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
59 inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
60 inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
63 inline DeleteMembersResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
64 inline DeleteMembersResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline DeleteMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline DeleteMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline DeleteMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::Vector<Aws::String> m_accountIds;
80
81 Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace Detective
88} // namespace Aws
void SetRequestId(const Aws::String &value)
DeleteMembersResult & WithRequestId(const char *value)
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
void SetAccountIds(const Aws::Vector< Aws::String > &value)
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
DeleteMembersResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
DeleteMembersResult & AddAccountIds(const Aws::String &value)
void SetAccountIds(Aws::Vector< Aws::String > &&value)
AWS_DETECTIVE_API DeleteMembersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetAccountIds() const
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
DeleteMembersResult & AddAccountIds(const char *value)
DeleteMembersResult & WithRequestId(Aws::String &&value)
DeleteMembersResult & WithAccountIds(const Aws::Vector< Aws::String > &value)
DeleteMembersResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
DeleteMembersResult & WithRequestId(const Aws::String &value)
DeleteMembersResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
DeleteMembersResult & AddAccountIds(Aws::String &&value)
AWS_DETECTIVE_API DeleteMembersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteMembersResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
DeleteMembersResult & WithAccountIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue