AWS SDK for C++  1.9.109
AWS SDK for C++
DeclineInvitationsResult.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 Macie2
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 DeclineInvitationsResult& WithUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { SetUnprocessedAccounts(value); return *this;}
63 
69  inline DeclineInvitationsResult& WithUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { SetUnprocessedAccounts(std::move(value)); return *this;}
70 
76  inline DeclineInvitationsResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
77 
83  inline DeclineInvitationsResult& 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 Macie2
92 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Macie2_EXPORTS.h
Aws::Macie2::Model::UnprocessedAccount
Definition: UnprocessedAccount.h:34
Aws::Macie2::Model::DeclineInvitationsResult::AddUnprocessedAccounts
DeclineInvitationsResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
Definition: DeclineInvitationsResult.h:76
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Macie2::Model::DeclineInvitationsResult::GetUnprocessedAccounts
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
Definition: DeclineInvitationsResult.h:41
AWSVector.h
Aws::Macie2::Model::DeclineInvitationsResult::operator=
DeclineInvitationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::DeclineInvitationsResult
Definition: DeclineInvitationsResult.h:29
Aws::Macie2::Model::DeclineInvitationsResult::WithUnprocessedAccounts
DeclineInvitationsResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: DeclineInvitationsResult.h:62
Aws::Macie2::Model::DeclineInvitationsResult::DeclineInvitationsResult
DeclineInvitationsResult()
Aws::Macie2::Model::DeclineInvitationsResult::WithUnprocessedAccounts
DeclineInvitationsResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: DeclineInvitationsResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::DeclineInvitationsResult::DeclineInvitationsResult
DeclineInvitationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UnprocessedAccount.h
Aws::Macie2::Model::DeclineInvitationsResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: DeclineInvitationsResult.h:55
Aws::Macie2::Model::DeclineInvitationsResult::AddUnprocessedAccounts
DeclineInvitationsResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
Definition: DeclineInvitationsResult.h:83
Aws::Macie2::Model::DeclineInvitationsResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: DeclineInvitationsResult.h:48