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