AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMemberDetectorsResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/MemberDataSourceConfiguration.h>
11#include <aws/guardduty/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 GuardDuty
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GUARDDUTY_API GetMemberDetectorsResult();
36
37
39
43 inline const Aws::Vector<MemberDataSourceConfiguration>& GetMemberDataSourceConfigurations() const{ return m_memberDataSourceConfigurations; }
44 inline void SetMemberDataSourceConfigurations(const Aws::Vector<MemberDataSourceConfiguration>& value) { m_memberDataSourceConfigurations = value; }
45 inline void SetMemberDataSourceConfigurations(Aws::Vector<MemberDataSourceConfiguration>&& value) { m_memberDataSourceConfigurations = std::move(value); }
48 inline GetMemberDetectorsResult& AddMemberDataSourceConfigurations(const MemberDataSourceConfiguration& value) { m_memberDataSourceConfigurations.push_back(value); return *this; }
49 inline GetMemberDetectorsResult& AddMemberDataSourceConfigurations(MemberDataSourceConfiguration&& value) { m_memberDataSourceConfigurations.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
58 inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
59 inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
62 inline GetMemberDetectorsResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
63 inline GetMemberDetectorsResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline GetMemberDetectorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline GetMemberDetectorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline GetMemberDetectorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::Vector<MemberDataSourceConfiguration> m_memberDataSourceConfigurations;
79
80 Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace GuardDuty
87} // namespace Aws
GetMemberDetectorsResult & WithRequestId(const char *value)
GetMemberDetectorsResult & WithMemberDataSourceConfigurations(const Aws::Vector< MemberDataSourceConfiguration > &value)
GetMemberDetectorsResult & WithRequestId(Aws::String &&value)
GetMemberDetectorsResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
GetMemberDetectorsResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
GetMemberDetectorsResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
GetMemberDetectorsResult & WithRequestId(const Aws::String &value)
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
GetMemberDetectorsResult & AddMemberDataSourceConfigurations(const MemberDataSourceConfiguration &value)
void SetMemberDataSourceConfigurations(const Aws::Vector< MemberDataSourceConfiguration > &value)
GetMemberDetectorsResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
void SetMemberDataSourceConfigurations(Aws::Vector< MemberDataSourceConfiguration > &&value)
const Aws::Vector< MemberDataSourceConfiguration > & GetMemberDataSourceConfigurations() const
AWS_GUARDDUTY_API GetMemberDetectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMemberDetectorsResult & WithMemberDataSourceConfigurations(Aws::Vector< MemberDataSourceConfiguration > &&value)
AWS_GUARDDUTY_API GetMemberDetectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMemberDetectorsResult & AddMemberDataSourceConfigurations(MemberDataSourceConfiguration &&value)
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue