AWS SDK for C++  1.9.19
AWS SDK for C++
DisassociateMembersResult.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 DisassociateMembersResult& WithUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { SetUnprocessedAccounts(value); return *this;}
59 
64  inline DisassociateMembersResult& WithUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { SetUnprocessedAccounts(std::move(value)); return *this;}
65 
70  inline DisassociateMembersResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
71 
76  inline DisassociateMembersResult& 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::DisassociateMembersResult::AddUnprocessedAccounts
DisassociateMembersResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
Definition: DisassociateMembersResult.h:70
Aws::GuardDuty::Model::DisassociateMembersResult::AddUnprocessedAccounts
DisassociateMembersResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
Definition: DisassociateMembersResult.h:76
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GuardDuty::Model::DisassociateMembersResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: DisassociateMembersResult.h:52
AWSVector.h
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UnprocessedAccount
Definition: UnprocessedAccount.h:33
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DisassociateMembersResult
Definition: DisassociateMembersResult.h:29
Aws::GuardDuty::Model::DisassociateMembersResult::WithUnprocessedAccounts
DisassociateMembersResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: DisassociateMembersResult.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DisassociateMembersResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: DisassociateMembersResult.h:46
Aws::GuardDuty::Model::DisassociateMembersResult::operator=
DisassociateMembersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UnprocessedAccount.h
Aws::GuardDuty::Model::DisassociateMembersResult::DisassociateMembersResult
DisassociateMembersResult()
Aws::GuardDuty::Model::DisassociateMembersResult::GetUnprocessedAccounts
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
Definition: DisassociateMembersResult.h:40
Aws::GuardDuty::Model::DisassociateMembersResult::WithUnprocessedAccounts
DisassociateMembersResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: DisassociateMembersResult.h:58
Aws::GuardDuty::Model::DisassociateMembersResult::DisassociateMembersResult
DisassociateMembersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)