AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMembersResult.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 GetMembersResult();
36
37
39
43 inline const Aws::Vector<MemberDetail>& GetMemberDetails() const{ return m_memberDetails; }
44 inline void SetMemberDetails(const Aws::Vector<MemberDetail>& value) { m_memberDetails = value; }
45 inline void SetMemberDetails(Aws::Vector<MemberDetail>&& value) { m_memberDetails = std::move(value); }
47 inline GetMembersResult& WithMemberDetails(Aws::Vector<MemberDetail>&& value) { SetMemberDetails(std::move(value)); return *this;}
48 inline GetMembersResult& AddMemberDetails(const MemberDetail& value) { m_memberDetails.push_back(value); return *this; }
49 inline GetMembersResult& AddMemberDetails(MemberDetail&& value) { m_memberDetails.push_back(std::move(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 GetMembersResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
64 inline GetMembersResult& 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 GetMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::Vector<MemberDetail> m_memberDetails;
80
81 Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace Detective
88} // namespace Aws
AWS_DETECTIVE_API GetMembersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< MemberDetail > & GetMemberDetails() const
GetMembersResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
GetMembersResult & WithRequestId(const Aws::String &value)
AWS_DETECTIVE_API GetMembersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
void SetRequestId(const Aws::String &value)
GetMembersResult & AddMemberDetails(const MemberDetail &value)
GetMembersResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
GetMembersResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
void SetMemberDetails(Aws::Vector< MemberDetail > &&value)
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
GetMembersResult & AddMemberDetails(MemberDetail &&value)
GetMembersResult & WithRequestId(Aws::String &&value)
GetMembersResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
GetMembersResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
GetMembersResult & WithMemberDetails(Aws::Vector< MemberDetail > &&value)
GetMembersResult & WithMemberDetails(const Aws::Vector< MemberDetail > &value)
void SetMemberDetails(const Aws::Vector< MemberDetail > &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