AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteMembersResult.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 
39  inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
40 
44  inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
45 
49  inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
50 
54  inline DeleteMembersResult& WithUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { SetUnprocessedAccounts(value); return *this;}
55 
59  inline DeleteMembersResult& WithUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { SetUnprocessedAccounts(std::move(value)); return *this;}
60 
64  inline DeleteMembersResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
65 
69  inline DeleteMembersResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
74  };
75 
76 } // namespace Model
77 } // namespace GuardDuty
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::DeleteMembersResult::WithUnprocessedAccounts
DeleteMembersResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: DeleteMembersResult.h:59
Aws::GuardDuty::Model::DeleteMembersResult::DeleteMembersResult
DeleteMembersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GuardDuty::Model::DeleteMembersResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: DeleteMembersResult.h:49
AWSVector.h
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UnprocessedAccount
Definition: UnprocessedAccount.h:33
Aws::GuardDuty::Model::DeleteMembersResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: DeleteMembersResult.h:44
Aws::GuardDuty::Model::DeleteMembersResult::operator=
DeleteMembersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::DeleteMembersResult::WithUnprocessedAccounts
DeleteMembersResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: DeleteMembersResult.h:54
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DeleteMembersResult::AddUnprocessedAccounts
DeleteMembersResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
Definition: DeleteMembersResult.h:69
Aws::GuardDuty::Model::DeleteMembersResult
Definition: DeleteMembersResult.h:29
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DeleteMembersResult::DeleteMembersResult
DeleteMembersResult()
Aws::GuardDuty::Model::DeleteMembersResult::AddUnprocessedAccounts
DeleteMembersResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
Definition: DeleteMembersResult.h:64
Aws::GuardDuty::Model::DeleteMembersResult::GetUnprocessedAccounts
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
Definition: DeleteMembersResult.h:39
UnprocessedAccount.h