AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMembersResult.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/MemberDetail.h>
11#include <aws/detective/model/UnprocessedAccount.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Detective
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DETECTIVE_API CreateMembersResult();
36
37
39
45 inline const Aws::Vector<MemberDetail>& GetMembers() const{ return m_members; }
46 inline void SetMembers(const Aws::Vector<MemberDetail>& value) { m_members = value; }
47 inline void SetMembers(Aws::Vector<MemberDetail>&& value) { m_members = std::move(value); }
48 inline CreateMembersResult& WithMembers(const Aws::Vector<MemberDetail>& value) { SetMembers(value); return *this;}
49 inline CreateMembersResult& WithMembers(Aws::Vector<MemberDetail>&& value) { SetMembers(std::move(value)); return *this;}
50 inline CreateMembersResult& AddMembers(const MemberDetail& value) { m_members.push_back(value); return *this; }
51 inline CreateMembersResult& AddMembers(MemberDetail&& value) { m_members.push_back(std::move(value)); return *this; }
53
55
61 inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
62 inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
63 inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
66 inline CreateMembersResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
67 inline CreateMembersResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline CreateMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline CreateMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline CreateMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
83
84 Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace Detective
91} // namespace Aws
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
CreateMembersResult & WithRequestId(const char *value)
void SetMembers(Aws::Vector< MemberDetail > &&value)
CreateMembersResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
AWS_DETECTIVE_API CreateMembersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMembersResult & WithRequestId(Aws::String &&value)
CreateMembersResult & WithMembers(Aws::Vector< MemberDetail > &&value)
const Aws::Vector< MemberDetail > & GetMembers() const
CreateMembersResult & AddMembers(const MemberDetail &value)
AWS_DETECTIVE_API CreateMembersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
void SetRequestId(const Aws::String &value)
CreateMembersResult & WithRequestId(const Aws::String &value)
CreateMembersResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
CreateMembersResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
CreateMembersResult & WithMembers(const Aws::Vector< MemberDetail > &value)
void SetMembers(const Aws::Vector< MemberDetail > &value)
CreateMembersResult & AddMembers(MemberDetail &&value)
CreateMembersResult & AddUnprocessedAccounts(const UnprocessedAccount &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