AWS SDK for C++  1.9.104
AWS SDK for C++
GetDomainsResult.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 Lightsail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<Domain>& GetDomains() const{ return m_domains; }
42 
47  inline void SetDomains(const Aws::Vector<Domain>& value) { m_domains = value; }
48 
53  inline void SetDomains(Aws::Vector<Domain>&& value) { m_domains = std::move(value); }
54 
59  inline GetDomainsResult& WithDomains(const Aws::Vector<Domain>& value) { SetDomains(value); return *this;}
60 
65  inline GetDomainsResult& WithDomains(Aws::Vector<Domain>&& value) { SetDomains(std::move(value)); return *this;}
66 
71  inline GetDomainsResult& AddDomains(const Domain& value) { m_domains.push_back(value); return *this; }
72 
77  inline GetDomainsResult& AddDomains(Domain&& value) { m_domains.push_back(std::move(value)); return *this; }
78 
79 
87  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
88 
96  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
97 
105  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
106 
114  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
115 
123  inline GetDomainsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
124 
132  inline GetDomainsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
133 
141  inline GetDomainsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<Domain> m_domains;
146 
147  Aws::String m_nextPageToken;
148  };
149 
150 } // namespace Model
151 } // namespace Lightsail
152 } // namespace Aws
Aws::Lightsail::Model::GetDomainsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: GetDomainsResult.h:114
Aws::Lightsail::Model::GetDomainsResult::AddDomains
GetDomainsResult & AddDomains(Domain &&value)
Definition: GetDomainsResult.h:77
Aws::Lightsail::Model::GetDomainsResult::WithDomains
GetDomainsResult & WithDomains(const Aws::Vector< Domain > &value)
Definition: GetDomainsResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Domain.h
Aws::Lightsail::Model::GetDomainsResult::GetDomains
const Aws::Vector< Domain > & GetDomains() const
Definition: GetDomainsResult.h:41
Aws::Lightsail::Model::GetDomainsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: GetDomainsResult.h:96
Aws::Lightsail::Model::GetDomainsResult::SetDomains
void SetDomains(const Aws::Vector< Domain > &value)
Definition: GetDomainsResult.h:47
Aws::Lightsail::Model::GetDomainsResult::WithNextPageToken
GetDomainsResult & WithNextPageToken(const Aws::String &value)
Definition: GetDomainsResult.h:123
Aws::Lightsail::Model::GetDomainsResult::SetDomains
void SetDomains(Aws::Vector< Domain > &&value)
Definition: GetDomainsResult.h:53
Aws::Lightsail::Model::GetDomainsResult::operator=
GetDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lightsail::Model::GetDomainsResult::GetDomainsResult
GetDomainsResult()
Aws::Lightsail::Model::GetDomainsResult::WithDomains
GetDomainsResult & WithDomains(Aws::Vector< Domain > &&value)
Definition: GetDomainsResult.h:65
AWSString.h
Aws::Lightsail::Model::GetDomainsResult::WithNextPageToken
GetDomainsResult & WithNextPageToken(Aws::String &&value)
Definition: GetDomainsResult.h:132
Lightsail_EXPORTS.h
Aws::Lightsail::Model::Domain
Definition: Domain.h:38
Aws::Lightsail::Model::GetDomainsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: GetDomainsResult.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetDomainsResult
Definition: GetDomainsResult.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetDomainsResult::GetDomainsResult
GetDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetDomainsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: GetDomainsResult.h:105
Aws::Lightsail::Model::GetDomainsResult::AddDomains
GetDomainsResult & AddDomains(const Domain &value)
Definition: GetDomainsResult.h:71
Aws::Lightsail::Model::GetDomainsResult::WithNextPageToken
GetDomainsResult & WithNextPageToken(const char *value)
Definition: GetDomainsResult.h:141