AWS SDK for C++  1.9.22
AWS SDK for C++
GetRelationalDatabaseBlueprintsResult.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<RelationalDatabaseBlueprint>& GetBlueprints() const{ return m_blueprints; }
42 
47  inline void SetBlueprints(const Aws::Vector<RelationalDatabaseBlueprint>& value) { m_blueprints = value; }
48 
53  inline void SetBlueprints(Aws::Vector<RelationalDatabaseBlueprint>&& value) { m_blueprints = std::move(value); }
54 
59  inline GetRelationalDatabaseBlueprintsResult& WithBlueprints(const Aws::Vector<RelationalDatabaseBlueprint>& value) { SetBlueprints(value); return *this;}
60 
65  inline GetRelationalDatabaseBlueprintsResult& WithBlueprints(Aws::Vector<RelationalDatabaseBlueprint>&& value) { SetBlueprints(std::move(value)); return *this;}
66 
71  inline GetRelationalDatabaseBlueprintsResult& AddBlueprints(const RelationalDatabaseBlueprint& value) { m_blueprints.push_back(value); return *this; }
72 
77  inline GetRelationalDatabaseBlueprintsResult& AddBlueprints(RelationalDatabaseBlueprint&& value) { m_blueprints.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 GetRelationalDatabaseBlueprintsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
124 
132  inline GetRelationalDatabaseBlueprintsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
133 
141  inline GetRelationalDatabaseBlueprintsResult& 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
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::WithBlueprints
GetRelationalDatabaseBlueprintsResult & WithBlueprints(const Aws::Vector< RelationalDatabaseBlueprint > &value)
Definition: GetRelationalDatabaseBlueprintsResult.h:59
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::SetBlueprints
void SetBlueprints(const Aws::Vector< RelationalDatabaseBlueprint > &value)
Definition: GetRelationalDatabaseBlueprintsResult.h:47
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::AddBlueprints
GetRelationalDatabaseBlueprintsResult & AddBlueprints(RelationalDatabaseBlueprint &&value)
Definition: GetRelationalDatabaseBlueprintsResult.h:77
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::GetRelationalDatabaseBlueprintsResult
GetRelationalDatabaseBlueprintsResult()
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::WithNextPageToken
GetRelationalDatabaseBlueprintsResult & WithNextPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseBlueprintsResult.h:132
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::AddBlueprints
GetRelationalDatabaseBlueprintsResult & AddBlueprints(const RelationalDatabaseBlueprint &value)
Definition: GetRelationalDatabaseBlueprintsResult.h:71
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::GetRelationalDatabaseBlueprintsResult
GetRelationalDatabaseBlueprintsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RelationalDatabaseBlueprint.h
AWSVector.h
Aws::Lightsail::Model::RelationalDatabaseBlueprint
Definition: RelationalDatabaseBlueprint.h:34
AWSString.h
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: GetRelationalDatabaseBlueprintsResult.h:105
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::operator=
GetRelationalDatabaseBlueprintsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::WithNextPageToken
GetRelationalDatabaseBlueprintsResult & WithNextPageToken(const char *value)
Definition: GetRelationalDatabaseBlueprintsResult.h:141
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseBlueprintsResult.h:96
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::WithBlueprints
GetRelationalDatabaseBlueprintsResult & WithBlueprints(Aws::Vector< RelationalDatabaseBlueprint > &&value)
Definition: GetRelationalDatabaseBlueprintsResult.h:65
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::GetBlueprints
const Aws::Vector< RelationalDatabaseBlueprint > & GetBlueprints() const
Definition: GetRelationalDatabaseBlueprintsResult.h:41
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: GetRelationalDatabaseBlueprintsResult.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult
Definition: GetRelationalDatabaseBlueprintsResult.h:30
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::SetBlueprints
void SetBlueprints(Aws::Vector< RelationalDatabaseBlueprint > &&value)
Definition: GetRelationalDatabaseBlueprintsResult.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::WithNextPageToken
GetRelationalDatabaseBlueprintsResult & WithNextPageToken(const Aws::String &value)
Definition: GetRelationalDatabaseBlueprintsResult.h:123
Aws::Lightsail::Model::GetRelationalDatabaseBlueprintsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: GetRelationalDatabaseBlueprintsResult.h:114