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