AWS SDK for C++  1.9.104
AWS SDK for C++
ListAccountAssignmentCreationStatusResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SSOAdmin
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<AccountAssignmentOperationStatusMetadata>& GetAccountAssignmentsCreationStatus() const{ return m_accountAssignmentsCreationStatus; }
41 
45  inline void SetAccountAssignmentsCreationStatus(const Aws::Vector<AccountAssignmentOperationStatusMetadata>& value) { m_accountAssignmentsCreationStatus = value; }
46 
50  inline void SetAccountAssignmentsCreationStatus(Aws::Vector<AccountAssignmentOperationStatusMetadata>&& value) { m_accountAssignmentsCreationStatus = std::move(value); }
51 
56 
60  inline ListAccountAssignmentCreationStatusResult& WithAccountAssignmentsCreationStatus(Aws::Vector<AccountAssignmentOperationStatusMetadata>&& value) { SetAccountAssignmentsCreationStatus(std::move(value)); return *this;}
61 
65  inline ListAccountAssignmentCreationStatusResult& AddAccountAssignmentsCreationStatus(const AccountAssignmentOperationStatusMetadata& value) { m_accountAssignmentsCreationStatus.push_back(value); return *this; }
66 
70  inline ListAccountAssignmentCreationStatusResult& AddAccountAssignmentsCreationStatus(AccountAssignmentOperationStatusMetadata&& value) { m_accountAssignmentsCreationStatus.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListAccountAssignmentCreationStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListAccountAssignmentCreationStatusResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListAccountAssignmentCreationStatusResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<AccountAssignmentOperationStatusMetadata> m_accountAssignmentsCreationStatus;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace SSOAdmin
124 } // namespace Aws
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::GetAccountAssignmentsCreationStatus
const Aws::Vector< AccountAssignmentOperationStatusMetadata > & GetAccountAssignmentsCreationStatus() const
Definition: ListAccountAssignmentCreationStatusResult.h:40
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAccountAssignmentCreationStatusResult.h:95
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::operator=
ListAccountAssignmentCreationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::WithNextToken
ListAccountAssignmentCreationStatusResult & WithNextToken(const Aws::String &value)
Definition: ListAccountAssignmentCreationStatusResult.h:101
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAccountAssignmentCreationStatusResult.h:89
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::ListAccountAssignmentCreationStatusResult
ListAccountAssignmentCreationStatusResult()
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::AddAccountAssignmentsCreationStatus
ListAccountAssignmentCreationStatusResult & AddAccountAssignmentsCreationStatus(AccountAssignmentOperationStatusMetadata &&value)
Definition: ListAccountAssignmentCreationStatusResult.h:70
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::WithNextToken
ListAccountAssignmentCreationStatusResult & WithNextToken(Aws::String &&value)
Definition: ListAccountAssignmentCreationStatusResult.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
AWSVector.h
Aws::SSOAdmin::Model::AccountAssignmentOperationStatusMetadata
Definition: AccountAssignmentOperationStatusMetadata.h:35
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::ListAccountAssignmentCreationStatusResult
ListAccountAssignmentCreationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::SetAccountAssignmentsCreationStatus
void SetAccountAssignmentsCreationStatus(const Aws::Vector< AccountAssignmentOperationStatusMetadata > &value)
Definition: ListAccountAssignmentCreationStatusResult.h:45
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::WithNextToken
ListAccountAssignmentCreationStatusResult & WithNextToken(const char *value)
Definition: ListAccountAssignmentCreationStatusResult.h:113
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAccountAssignmentCreationStatusResult.h:77
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::SetAccountAssignmentsCreationStatus
void SetAccountAssignmentsCreationStatus(Aws::Vector< AccountAssignmentOperationStatusMetadata > &&value)
Definition: ListAccountAssignmentCreationStatusResult.h:50
AWSString.h
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::WithAccountAssignmentsCreationStatus
ListAccountAssignmentCreationStatusResult & WithAccountAssignmentsCreationStatus(Aws::Vector< AccountAssignmentOperationStatusMetadata > &&value)
Definition: ListAccountAssignmentCreationStatusResult.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult
Definition: ListAccountAssignmentCreationStatusResult.h:30
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::AddAccountAssignmentsCreationStatus
ListAccountAssignmentCreationStatusResult & AddAccountAssignmentsCreationStatus(const AccountAssignmentOperationStatusMetadata &value)
Definition: ListAccountAssignmentCreationStatusResult.h:65
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::WithAccountAssignmentsCreationStatus
ListAccountAssignmentCreationStatusResult & WithAccountAssignmentsCreationStatus(const Aws::Vector< AccountAssignmentOperationStatusMetadata > &value)
Definition: ListAccountAssignmentCreationStatusResult.h:55
Aws::SSOAdmin::Model::ListAccountAssignmentCreationStatusResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAccountAssignmentCreationStatusResult.h:83
AccountAssignmentOperationStatusMetadata.h