AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetBlueprintsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/Blueprint.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Lightsail {
24namespace Model {
26 public:
27 AWS_LIGHTSAIL_API GetBlueprintsResult() = default;
30
32
36 inline const Aws::Vector<Blueprint>& GetBlueprints() const { return m_blueprints; }
37 template <typename BlueprintsT = Aws::Vector<Blueprint>>
38 void SetBlueprints(BlueprintsT&& value) {
39 m_blueprintsHasBeenSet = true;
40 m_blueprints = std::forward<BlueprintsT>(value);
41 }
42 template <typename BlueprintsT = Aws::Vector<Blueprint>>
43 GetBlueprintsResult& WithBlueprints(BlueprintsT&& value) {
44 SetBlueprints(std::forward<BlueprintsT>(value));
45 return *this;
46 }
47 template <typename BlueprintsT = Blueprint>
48 GetBlueprintsResult& AddBlueprints(BlueprintsT&& value) {
49 m_blueprintsHasBeenSet = true;
50 m_blueprints.emplace_back(std::forward<BlueprintsT>(value));
51 return *this;
52 }
54
56
63 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
64 template <typename NextPageTokenT = Aws::String>
65 void SetNextPageToken(NextPageTokenT&& value) {
66 m_nextPageTokenHasBeenSet = true;
67 m_nextPageToken = std::forward<NextPageTokenT>(value);
68 }
69 template <typename NextPageTokenT = Aws::String>
70 GetBlueprintsResult& WithNextPageToken(NextPageTokenT&& value) {
71 SetNextPageToken(std::forward<NextPageTokenT>(value));
72 return *this;
73 }
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template <typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) {
81 m_requestIdHasBeenSet = true;
82 m_requestId = std::forward<RequestIdT>(value);
83 }
84 template <typename RequestIdT = Aws::String>
85 GetBlueprintsResult& WithRequestId(RequestIdT&& value) {
86 SetRequestId(std::forward<RequestIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::Vector<Blueprint> m_blueprints;
92
93 Aws::String m_nextPageToken;
94
95 Aws::String m_requestId;
96 bool m_blueprintsHasBeenSet = false;
97 bool m_nextPageTokenHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Lightsail
103} // namespace Aws
AWS_LIGHTSAIL_API GetBlueprintsResult()=default
AWS_LIGHTSAIL_API GetBlueprintsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBlueprintsResult & WithNextPageToken(NextPageTokenT &&value)
AWS_LIGHTSAIL_API GetBlueprintsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBlueprintsResult & WithBlueprints(BlueprintsT &&value)
void SetNextPageToken(NextPageTokenT &&value)
const Aws::Vector< Blueprint > & GetBlueprints() const
GetBlueprintsResult & WithRequestId(RequestIdT &&value)
GetBlueprintsResult & AddBlueprints(BlueprintsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue