AWS SDK for C++  1.8.154
AWS SDK for C++
GetMemberDetectorsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GuardDuty
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<MemberDataSourceConfiguration>& GetMemberDataSourceConfigurations() const{ return m_memberDataSourceConfigurations; }
42 
47  inline void SetMemberDataSourceConfigurations(const Aws::Vector<MemberDataSourceConfiguration>& value) { m_memberDataSourceConfigurations = value; }
48 
53  inline void SetMemberDataSourceConfigurations(Aws::Vector<MemberDataSourceConfiguration>&& value) { m_memberDataSourceConfigurations = std::move(value); }
54 
59  inline GetMemberDetectorsResult& WithMemberDataSourceConfigurations(const Aws::Vector<MemberDataSourceConfiguration>& value) { SetMemberDataSourceConfigurations(value); return *this;}
60 
65  inline GetMemberDetectorsResult& WithMemberDataSourceConfigurations(Aws::Vector<MemberDataSourceConfiguration>&& value) { SetMemberDataSourceConfigurations(std::move(value)); return *this;}
66 
71  inline GetMemberDetectorsResult& AddMemberDataSourceConfigurations(const MemberDataSourceConfiguration& value) { m_memberDataSourceConfigurations.push_back(value); return *this; }
72 
77  inline GetMemberDetectorsResult& AddMemberDataSourceConfigurations(MemberDataSourceConfiguration&& value) { m_memberDataSourceConfigurations.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
85 
90  inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
91 
96  inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
97 
102  inline GetMemberDetectorsResult& WithUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { SetUnprocessedAccounts(value); return *this;}
103 
108  inline GetMemberDetectorsResult& WithUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { SetUnprocessedAccounts(std::move(value)); return *this;}
109 
114  inline GetMemberDetectorsResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
115 
120  inline GetMemberDetectorsResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
121 
122  private:
123 
124  Aws::Vector<MemberDataSourceConfiguration> m_memberDataSourceConfigurations;
125 
126  Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
127  };
128 
129 } // namespace Model
130 } // namespace GuardDuty
131 } // namespace Aws
Aws::GuardDuty::Model::GetMemberDetectorsResult::WithMemberDataSourceConfigurations
GetMemberDetectorsResult & WithMemberDataSourceConfigurations(Aws::Vector< MemberDataSourceConfiguration > &&value)
Definition: GetMemberDetectorsResult.h:65
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::GetMemberDetectorsResult::GetMemberDetectorsResult
GetMemberDetectorsResult()
Aws::GuardDuty::Model::GetMemberDetectorsResult::WithMemberDataSourceConfigurations
GetMemberDetectorsResult & WithMemberDataSourceConfigurations(const Aws::Vector< MemberDataSourceConfiguration > &value)
Definition: GetMemberDetectorsResult.h:59
Aws::GuardDuty::Model::GetMemberDetectorsResult::AddUnprocessedAccounts
GetMemberDetectorsResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
Definition: GetMemberDetectorsResult.h:114
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
MemberDataSourceConfiguration.h
Aws::GuardDuty::Model::GetMemberDetectorsResult::AddMemberDataSourceConfigurations
GetMemberDetectorsResult & AddMemberDataSourceConfigurations(MemberDataSourceConfiguration &&value)
Definition: GetMemberDetectorsResult.h:77
Aws::GuardDuty::Model::GetMemberDetectorsResult::GetMemberDetectorsResult
GetMemberDetectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetMemberDetectorsResult::operator=
GetMemberDetectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetMemberDetectorsResult::AddMemberDataSourceConfigurations
GetMemberDetectorsResult & AddMemberDataSourceConfigurations(const MemberDataSourceConfiguration &value)
Definition: GetMemberDetectorsResult.h:71
Aws::GuardDuty::Model::GetMemberDetectorsResult
Definition: GetMemberDetectorsResult.h:30
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UnprocessedAccount
Definition: UnprocessedAccount.h:33
Aws::GuardDuty::Model::GetMemberDetectorsResult::WithUnprocessedAccounts
GetMemberDetectorsResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: GetMemberDetectorsResult.h:102
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetMemberDetectorsResult::SetMemberDataSourceConfigurations
void SetMemberDataSourceConfigurations(const Aws::Vector< MemberDataSourceConfiguration > &value)
Definition: GetMemberDetectorsResult.h:47
Aws::GuardDuty::Model::GetMemberDetectorsResult::AddUnprocessedAccounts
GetMemberDetectorsResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
Definition: GetMemberDetectorsResult.h:120
Aws::GuardDuty::Model::GetMemberDetectorsResult::GetUnprocessedAccounts
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
Definition: GetMemberDetectorsResult.h:84
Aws::GuardDuty::Model::GetMemberDetectorsResult::GetMemberDataSourceConfigurations
const Aws::Vector< MemberDataSourceConfiguration > & GetMemberDataSourceConfigurations() const
Definition: GetMemberDetectorsResult.h:41
Aws::GuardDuty::Model::GetMemberDetectorsResult::WithUnprocessedAccounts
GetMemberDetectorsResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: GetMemberDetectorsResult.h:108
Aws::GuardDuty::Model::GetMemberDetectorsResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: GetMemberDetectorsResult.h:90
Aws::GuardDuty::Model::GetMemberDetectorsResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: GetMemberDetectorsResult.h:96
Aws::GuardDuty::Model::GetMemberDetectorsResult::SetMemberDataSourceConfigurations
void SetMemberDataSourceConfigurations(Aws::Vector< MemberDataSourceConfiguration > &&value)
Definition: GetMemberDetectorsResult.h:53
Aws
Definition: AccessManagementClient.h:15
UnprocessedAccount.h
Aws::GuardDuty::Model::MemberDataSourceConfiguration
Definition: MemberDataSourceConfiguration.h:34