AWS SDK for C++  1.9.66
AWS SDK for C++
ListContactsResult.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 GroundStation
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<ContactData>& GetContactList() const{ return m_contactList; }
46 
50  inline void SetContactList(const Aws::Vector<ContactData>& value) { m_contactList = value; }
51 
55  inline void SetContactList(Aws::Vector<ContactData>&& value) { m_contactList = std::move(value); }
56 
60  inline ListContactsResult& WithContactList(const Aws::Vector<ContactData>& value) { SetContactList(value); return *this;}
61 
65  inline ListContactsResult& WithContactList(Aws::Vector<ContactData>&& value) { SetContactList(std::move(value)); return *this;}
66 
70  inline ListContactsResult& AddContactList(const ContactData& value) { m_contactList.push_back(value); return *this; }
71 
75  inline ListContactsResult& AddContactList(ContactData&& value) { m_contactList.push_back(std::move(value)); return *this; }
76 
77 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
94  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
95 
100  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
101 
106  inline ListContactsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
112  inline ListContactsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
118  inline ListContactsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 
120  private:
121 
122  Aws::Vector<ContactData> m_contactList;
123 
124  Aws::String m_nextToken;
125  };
126 
127 } // namespace Model
128 } // namespace GroundStation
129 } // namespace Aws
Aws::GroundStation::Model::ListContactsResult::SetContactList
void SetContactList(const Aws::Vector< ContactData > &value)
Definition: ListContactsResult.h:50
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GroundStation::Model::ListContactsResult::AddContactList
ListContactsResult & AddContactList(const ContactData &value)
Definition: ListContactsResult.h:70
Aws::GroundStation::Model::ListContactsResult::GetContactList
const Aws::Vector< ContactData > & GetContactList() const
Definition: ListContactsResult.h:45
Aws::GroundStation::Model::ListContactsResult::WithContactList
ListContactsResult & WithContactList(const Aws::Vector< ContactData > &value)
Definition: ListContactsResult.h:60
Aws::GroundStation::Model::ListContactsResult::AddContactList
ListContactsResult & AddContactList(ContactData &&value)
Definition: ListContactsResult.h:75
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ContactData.h
Aws::GroundStation::Model::ListContactsResult::operator=
ListContactsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GroundStation::Model::ListContactsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListContactsResult.h:94
AWSVector.h
Aws::GroundStation::Model::ListContactsResult::ListContactsResult
ListContactsResult()
Aws::GroundStation::Model::ListContactsResult::WithNextToken
ListContactsResult & WithNextToken(Aws::String &&value)
Definition: ListContactsResult.h:112
GroundStation_EXPORTS.h
Aws::GroundStation::Model::ListContactsResult
Definition: ListContactsResult.h:35
Aws::GroundStation::Model::ListContactsResult::WithNextToken
ListContactsResult & WithNextToken(const char *value)
Definition: ListContactsResult.h:118
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::ListContactsResult::WithNextToken
ListContactsResult & WithNextToken(const Aws::String &value)
Definition: ListContactsResult.h:106
AWSString.h
Aws::GroundStation::Model::ListContactsResult::SetContactList
void SetContactList(Aws::Vector< ContactData > &&value)
Definition: ListContactsResult.h:55
Aws::GroundStation::Model::ContactData
Definition: ContactData.h:36
Aws::GroundStation::Model::ListContactsResult::WithContactList
ListContactsResult & WithContactList(Aws::Vector< ContactData > &&value)
Definition: ListContactsResult.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::ListContactsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListContactsResult.h:82
Aws::GroundStation::Model::ListContactsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListContactsResult.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ListContactsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListContactsResult.h:100
Aws::GroundStation::Model::ListContactsResult::ListContactsResult
ListContactsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)