AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetGraphMemberDatasourcesResult.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/MembershipDatasources.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:
36
37
39
43 inline const Aws::Vector<MembershipDatasources>& GetMemberDatasources() const{ return m_memberDatasources; }
44 inline void SetMemberDatasources(const Aws::Vector<MembershipDatasources>& value) { m_memberDatasources = value; }
45 inline void SetMemberDatasources(Aws::Vector<MembershipDatasources>&& value) { m_memberDatasources = std::move(value); }
48 inline BatchGetGraphMemberDatasourcesResult& AddMemberDatasources(const MembershipDatasources& value) { m_memberDatasources.push_back(value); return *this; }
49 inline BatchGetGraphMemberDatasourcesResult& AddMemberDatasources(MembershipDatasources&& value) { m_memberDatasources.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
57 inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
58 inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
61 inline BatchGetGraphMemberDatasourcesResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
62 inline BatchGetGraphMemberDatasourcesResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline BatchGetGraphMemberDatasourcesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline BatchGetGraphMemberDatasourcesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline BatchGetGraphMemberDatasourcesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::Vector<MembershipDatasources> m_memberDatasources;
78
79 Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace Detective
86} // namespace Aws
BatchGetGraphMemberDatasourcesResult & WithMemberDatasources(const Aws::Vector< MembershipDatasources > &value)
BatchGetGraphMemberDatasourcesResult & WithRequestId(Aws::String &&value)
BatchGetGraphMemberDatasourcesResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
BatchGetGraphMemberDatasourcesResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
BatchGetGraphMemberDatasourcesResult & WithRequestId(const Aws::String &value)
BatchGetGraphMemberDatasourcesResult & AddMemberDatasources(MembershipDatasources &&value)
const Aws::Vector< MembershipDatasources > & GetMemberDatasources() const
BatchGetGraphMemberDatasourcesResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
BatchGetGraphMemberDatasourcesResult & WithMemberDatasources(Aws::Vector< MembershipDatasources > &&value)
void SetMemberDatasources(Aws::Vector< MembershipDatasources > &&value)
BatchGetGraphMemberDatasourcesResult & WithRequestId(const char *value)
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
BatchGetGraphMemberDatasourcesResult & AddMemberDatasources(const MembershipDatasources &value)
AWS_DETECTIVE_API BatchGetGraphMemberDatasourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetGraphMemberDatasourcesResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
AWS_DETECTIVE_API BatchGetGraphMemberDatasourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMemberDatasources(const Aws::Vector< MembershipDatasources > &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