AWS SDK for C++  1.9.161
AWS SDK for C++
ListContactListsResult.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 SESV2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ContactList>& GetContactLists() const{ return m_contactLists; }
41 
45  inline void SetContactLists(const Aws::Vector<ContactList>& value) { m_contactLists = value; }
46 
50  inline void SetContactLists(Aws::Vector<ContactList>&& value) { m_contactLists = std::move(value); }
51 
55  inline ListContactListsResult& WithContactLists(const Aws::Vector<ContactList>& value) { SetContactLists(value); return *this;}
56 
60  inline ListContactListsResult& WithContactLists(Aws::Vector<ContactList>&& value) { SetContactLists(std::move(value)); return *this;}
61 
65  inline ListContactListsResult& AddContactLists(const ContactList& value) { m_contactLists.push_back(value); return *this; }
66 
70  inline ListContactListsResult& AddContactLists(ContactList&& value) { m_contactLists.push_back(std::move(value)); return *this; }
71 
72 
79  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
103  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104 
111  inline ListContactListsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 
119  inline ListContactListsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
127  inline ListContactListsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
131  Aws::Vector<ContactList> m_contactLists;
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace SESV2
138 } // namespace Aws
Aws::SESV2::Model::ListContactListsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListContactListsResult.h:95
Aws::SESV2::Model::ListContactListsResult::WithNextToken
ListContactListsResult & WithNextToken(const Aws::String &value)
Definition: ListContactListsResult.h:111
Aws::SESV2::Model::ListContactListsResult::ListContactListsResult
ListContactListsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SESV2::Model::ListContactListsResult::AddContactLists
ListContactListsResult & AddContactLists(ContactList &&value)
Definition: ListContactListsResult.h:70
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::ListContactListsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListContactListsResult.h:103
Aws::SESV2::Model::ListContactListsResult::ListContactListsResult
ListContactListsResult()
AWSVector.h
Aws::SESV2::Model::ListContactListsResult
Definition: ListContactListsResult.h:30
Aws::SESV2::Model::ListContactListsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListContactListsResult.h:87
Aws::SESV2::Model::ListContactListsResult::SetContactLists
void SetContactLists(const Aws::Vector< ContactList > &value)
Definition: ListContactListsResult.h:45
Aws::SESV2::Model::ContactList
Definition: ContactList.h:34
Aws::SESV2::Model::ListContactListsResult::AddContactLists
ListContactListsResult & AddContactLists(const ContactList &value)
Definition: ListContactListsResult.h:65
ContactList.h
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::ListContactListsResult::WithContactLists
ListContactListsResult & WithContactLists(Aws::Vector< ContactList > &&value)
Definition: ListContactListsResult.h:60
Aws::SESV2::Model::ListContactListsResult::WithNextToken
ListContactListsResult & WithNextToken(Aws::String &&value)
Definition: ListContactListsResult.h:119
Aws::SESV2::Model::ListContactListsResult::GetContactLists
const Aws::Vector< ContactList > & GetContactLists() const
Definition: ListContactListsResult.h:40
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListContactListsResult::SetContactLists
void SetContactLists(Aws::Vector< ContactList > &&value)
Definition: ListContactListsResult.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListContactListsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListContactListsResult.h:79
Aws::SESV2::Model::ListContactListsResult::WithContactLists
ListContactListsResult & WithContactLists(const Aws::Vector< ContactList > &value)
Definition: ListContactListsResult.h:55
Aws::SESV2::Model::ListContactListsResult::WithNextToken
ListContactListsResult & WithNextToken(const char *value)
Definition: ListContactListsResult.h:127
Aws::SESV2::Model::ListContactListsResult::operator=
ListContactListsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)