AWS SDK for C++  1.9.108
AWS SDK for C++
ListInvitationsResult.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 SecurityHub
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Invitation>& GetInvitations() const{ return m_invitations; }
41 
45  inline void SetInvitations(const Aws::Vector<Invitation>& value) { m_invitations = value; }
46 
50  inline void SetInvitations(Aws::Vector<Invitation>&& value) { m_invitations = std::move(value); }
51 
55  inline ListInvitationsResult& WithInvitations(const Aws::Vector<Invitation>& value) { SetInvitations(value); return *this;}
56 
60  inline ListInvitationsResult& WithInvitations(Aws::Vector<Invitation>&& value) { SetInvitations(std::move(value)); return *this;}
61 
65  inline ListInvitationsResult& AddInvitations(const Invitation& value) { m_invitations.push_back(value); return *this; }
66 
70  inline ListInvitationsResult& AddInvitations(Invitation&& value) { m_invitations.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListInvitationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListInvitationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListInvitationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<Invitation> m_invitations;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace SecurityHub
117 } // namespace Aws
Aws::SecurityHub::Model::ListInvitationsResult::WithNextToken
ListInvitationsResult & WithNextToken(const char *value)
Definition: ListInvitationsResult.h:106
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SecurityHub::Model::ListInvitationsResult::ListInvitationsResult
ListInvitationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::Invitation
Definition: Invitation.h:33
Aws::SecurityHub::Model::ListInvitationsResult::GetInvitations
const Aws::Vector< Invitation > & GetInvitations() const
Definition: ListInvitationsResult.h:40
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SecurityHub::Model::ListInvitationsResult::WithNextToken
ListInvitationsResult & WithNextToken(const Aws::String &value)
Definition: ListInvitationsResult.h:96
AWSVector.h
Aws::SecurityHub::Model::ListInvitationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListInvitationsResult.h:86
Aws::SecurityHub::Model::ListInvitationsResult::operator=
ListInvitationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Invitation.h
Aws::SecurityHub::Model::ListInvitationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListInvitationsResult.h:81
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::ListInvitationsResult::WithInvitations
ListInvitationsResult & WithInvitations(Aws::Vector< Invitation > &&value)
Definition: ListInvitationsResult.h:60
Aws::SecurityHub::Model::ListInvitationsResult::WithNextToken
ListInvitationsResult & WithNextToken(Aws::String &&value)
Definition: ListInvitationsResult.h:101
Aws::SecurityHub::Model::ListInvitationsResult::AddInvitations
ListInvitationsResult & AddInvitations(Invitation &&value)
Definition: ListInvitationsResult.h:70
AWSString.h
Aws::SecurityHub::Model::ListInvitationsResult::SetInvitations
void SetInvitations(const Aws::Vector< Invitation > &value)
Definition: ListInvitationsResult.h:45
Aws::SecurityHub::Model::ListInvitationsResult::SetInvitations
void SetInvitations(Aws::Vector< Invitation > &&value)
Definition: ListInvitationsResult.h:50
Aws::SecurityHub::Model::ListInvitationsResult::AddInvitations
ListInvitationsResult & AddInvitations(const Invitation &value)
Definition: ListInvitationsResult.h:65
Aws::SecurityHub::Model::ListInvitationsResult::WithInvitations
ListInvitationsResult & WithInvitations(const Aws::Vector< Invitation > &value)
Definition: ListInvitationsResult.h:55
Aws::SecurityHub::Model::ListInvitationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListInvitationsResult.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::ListInvitationsResult
Definition: ListInvitationsResult.h:30
Aws::SecurityHub::Model::ListInvitationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListInvitationsResult.h:91
Aws::SecurityHub::Model::ListInvitationsResult::ListInvitationsResult
ListInvitationsResult()