AWS SDK for C++  1.9.130
AWS SDK for C++
GetRelationalDatabaseBundlesResult.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<RelationalDatabaseBundle>& GetBundles() const{ return m_bundles; }
42 
47  inline void SetBundles(const Aws::Vector<RelationalDatabaseBundle>& value) { m_bundles = value; }
48 
53  inline void SetBundles(Aws::Vector<RelationalDatabaseBundle>&& value) { m_bundles = std::move(value); }
54 
59  inline GetRelationalDatabaseBundlesResult& WithBundles(const Aws::Vector<RelationalDatabaseBundle>& value) { SetBundles(value); return *this;}
60 
65  inline GetRelationalDatabaseBundlesResult& WithBundles(Aws::Vector<RelationalDatabaseBundle>&& value) { SetBundles(std::move(value)); return *this;}
66 
71  inline GetRelationalDatabaseBundlesResult& AddBundles(const RelationalDatabaseBundle& value) { m_bundles.push_back(value); return *this; }
72 
77  inline GetRelationalDatabaseBundlesResult& AddBundles(RelationalDatabaseBundle&& value) { m_bundles.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 GetRelationalDatabaseBundlesResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
124 
132  inline GetRelationalDatabaseBundlesResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
133 
141  inline GetRelationalDatabaseBundlesResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
142 
143  private:
144 
146 
147  Aws::String m_nextPageToken;
148  };
149 
150 } // namespace Model
151 } // namespace Lightsail
152 } // namespace Aws
RelationalDatabaseBundle.h
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: GetRelationalDatabaseBundlesResult.h:87
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::SetBundles
void SetBundles(const Aws::Vector< RelationalDatabaseBundle > &value)
Definition: GetRelationalDatabaseBundlesResult.h:47
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseBundlesResult.h:96
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: GetRelationalDatabaseBundlesResult.h:114
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::WithNextPageToken
GetRelationalDatabaseBundlesResult & WithNextPageToken(const char *value)
Definition: GetRelationalDatabaseBundlesResult.h:141
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::WithNextPageToken
GetRelationalDatabaseBundlesResult & WithNextPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseBundlesResult.h:132
AWSVector.h
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::SetBundles
void SetBundles(Aws::Vector< RelationalDatabaseBundle > &&value)
Definition: GetRelationalDatabaseBundlesResult.h:53
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult
Definition: GetRelationalDatabaseBundlesResult.h:30
AWSString.h
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::GetRelationalDatabaseBundlesResult
GetRelationalDatabaseBundlesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseBundlesResult.h:105
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::AddBundles
GetRelationalDatabaseBundlesResult & AddBundles(const RelationalDatabaseBundle &value)
Definition: GetRelationalDatabaseBundlesResult.h:71
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::operator=
GetRelationalDatabaseBundlesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::AddBundles
GetRelationalDatabaseBundlesResult & AddBundles(RelationalDatabaseBundle &&value)
Definition: GetRelationalDatabaseBundlesResult.h:77
Aws::Lightsail::Model::RelationalDatabaseBundle
Definition: RelationalDatabaseBundle.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::GetBundles
const Aws::Vector< RelationalDatabaseBundle > & GetBundles() const
Definition: GetRelationalDatabaseBundlesResult.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::GetRelationalDatabaseBundlesResult
GetRelationalDatabaseBundlesResult()
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::WithBundles
GetRelationalDatabaseBundlesResult & WithBundles(Aws::Vector< RelationalDatabaseBundle > &&value)
Definition: GetRelationalDatabaseBundlesResult.h:65
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::WithBundles
GetRelationalDatabaseBundlesResult & WithBundles(const Aws::Vector< RelationalDatabaseBundle > &value)
Definition: GetRelationalDatabaseBundlesResult.h:59
Aws::Lightsail::Model::GetRelationalDatabaseBundlesResult::WithNextPageToken
GetRelationalDatabaseBundlesResult & WithNextPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseBundlesResult.h:123