AWS SDK for C++  1.8.156
AWS SDK for C++
StopMonitoringMembersResult.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 
41  inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
42 
48  inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
49 
55  inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
56 
62  inline StopMonitoringMembersResult& WithUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { SetUnprocessedAccounts(value); return *this;}
63 
69  inline StopMonitoringMembersResult& WithUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { SetUnprocessedAccounts(std::move(value)); return *this;}
70 
76  inline StopMonitoringMembersResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
77 
83  inline StopMonitoringMembersResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
84 
85  private:
86 
87  Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
88  };
89 
90 } // namespace Model
91 } // namespace GuardDuty
92 } // namespace Aws
Aws::GuardDuty::Model::StopMonitoringMembersResult::AddUnprocessedAccounts
StopMonitoringMembersResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
Definition: StopMonitoringMembersResult.h:83
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::StopMonitoringMembersResult::AddUnprocessedAccounts
StopMonitoringMembersResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
Definition: StopMonitoringMembersResult.h:76
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GuardDuty::Model::StopMonitoringMembersResult::WithUnprocessedAccounts
StopMonitoringMembersResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: StopMonitoringMembersResult.h:69
Aws::GuardDuty::Model::StopMonitoringMembersResult::GetUnprocessedAccounts
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
Definition: StopMonitoringMembersResult.h:41
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::StopMonitoringMembersResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: StopMonitoringMembersResult.h:55
Aws::GuardDuty::Model::UnprocessedAccount
Definition: UnprocessedAccount.h:33
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::StopMonitoringMembersResult::StopMonitoringMembersResult
StopMonitoringMembersResult()
Aws::GuardDuty::Model::StopMonitoringMembersResult::StopMonitoringMembersResult
StopMonitoringMembersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::StopMonitoringMembersResult::WithUnprocessedAccounts
StopMonitoringMembersResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: StopMonitoringMembersResult.h:62
Aws
Definition: AccessManagementClient.h:15
UnprocessedAccount.h
Aws::GuardDuty::Model::StopMonitoringMembersResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: StopMonitoringMembersResult.h:48
Aws::GuardDuty::Model::StopMonitoringMembersResult::operator=
StopMonitoringMembersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::StopMonitoringMembersResult
Definition: StopMonitoringMembersResult.h:29