AWS SDK for C++  1.9.19
AWS SDK for C++
UpdateMemberDetectorsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GuardDuty
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
41 
46  inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
47 
52  inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
53 
58  inline UpdateMemberDetectorsResult& WithUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { SetUnprocessedAccounts(value); return *this;}
59 
64  inline UpdateMemberDetectorsResult& WithUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { SetUnprocessedAccounts(std::move(value)); return *this;}
65 
70  inline UpdateMemberDetectorsResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
71 
76  inline UpdateMemberDetectorsResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
81  };
82 
83 } // namespace Model
84 } // namespace GuardDuty
85 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::WithUnprocessedAccounts
UpdateMemberDetectorsResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: UpdateMemberDetectorsResult.h:58
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::operator=
UpdateMemberDetectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::AddUnprocessedAccounts
UpdateMemberDetectorsResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
Definition: UpdateMemberDetectorsResult.h:70
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: UpdateMemberDetectorsResult.h:52
Aws::GuardDuty::Model::UnprocessedAccount
Definition: UnprocessedAccount.h:33
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::GetUnprocessedAccounts
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
Definition: UpdateMemberDetectorsResult.h:40
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::UpdateMemberDetectorsResult
UpdateMemberDetectorsResult()
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::UpdateMemberDetectorsResult
UpdateMemberDetectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::WithUnprocessedAccounts
UpdateMemberDetectorsResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: UpdateMemberDetectorsResult.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::AddUnprocessedAccounts
UpdateMemberDetectorsResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
Definition: UpdateMemberDetectorsResult.h:76
Aws::GuardDuty::Model::UpdateMemberDetectorsResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: UpdateMemberDetectorsResult.h:46
UnprocessedAccount.h
Aws::GuardDuty::Model::UpdateMemberDetectorsResult
Definition: UpdateMemberDetectorsResult.h:29