AWS SDK for C++  1.9.155
AWS SDK for C++
CreateInvitationsResult.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 CreateInvitationsResult& WithUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { SetUnprocessedAccounts(value); return *this;}
63 
69  inline CreateInvitationsResult& WithUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { SetUnprocessedAccounts(std::move(value)); return *this;}
70 
76  inline CreateInvitationsResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
77 
83  inline CreateInvitationsResult& 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::Macie2::Model::CreateInvitationsResult::operator=
CreateInvitationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::CreateInvitationsResult::CreateInvitationsResult
CreateInvitationsResult()
Aws::Macie2::Model::CreateInvitationsResult::AddUnprocessedAccounts
CreateInvitationsResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
Definition: CreateInvitationsResult.h:76
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Macie2::Model::CreateInvitationsResult::AddUnprocessedAccounts
CreateInvitationsResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
Definition: CreateInvitationsResult.h:83
Aws::Macie2::Model::CreateInvitationsResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: CreateInvitationsResult.h:55
Aws::Macie2::Model::CreateInvitationsResult::WithUnprocessedAccounts
CreateInvitationsResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
Definition: CreateInvitationsResult.h:69
Aws::Macie2::Model::CreateInvitationsResult
Definition: CreateInvitationsResult.h:29
Aws::Macie2::Model::CreateInvitationsResult::WithUnprocessedAccounts
CreateInvitationsResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: CreateInvitationsResult.h:62
Aws::Macie2::Model::CreateInvitationsResult::SetUnprocessedAccounts
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
Definition: CreateInvitationsResult.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Macie2::Model::CreateInvitationsResult::CreateInvitationsResult
CreateInvitationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
UnprocessedAccount.h
Aws::Macie2::Model::CreateInvitationsResult::GetUnprocessedAccounts
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
Definition: CreateInvitationsResult.h:41