AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
ListBlueprintsResult.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/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
25 public:
26 AWS_GLUE_API ListBlueprintsResult() = default;
29
31
34 inline const Aws::Vector<Aws::String>& GetBlueprints() const { return m_blueprints; }
35 template <typename BlueprintsT = Aws::Vector<Aws::String>>
36 void SetBlueprints(BlueprintsT&& value) {
37 m_blueprintsHasBeenSet = true;
38 m_blueprints = std::forward<BlueprintsT>(value);
39 }
40 template <typename BlueprintsT = Aws::Vector<Aws::String>>
41 ListBlueprintsResult& WithBlueprints(BlueprintsT&& value) {
42 SetBlueprints(std::forward<BlueprintsT>(value));
43 return *this;
44 }
45 template <typename BlueprintsT = Aws::String>
46 ListBlueprintsResult& AddBlueprints(BlueprintsT&& value) {
47 m_blueprintsHasBeenSet = true;
48 m_blueprints.emplace_back(std::forward<BlueprintsT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 template <typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) {
60 m_nextTokenHasBeenSet = true;
61 m_nextToken = std::forward<NextTokenT>(value);
62 }
63 template <typename NextTokenT = Aws::String>
64 ListBlueprintsResult& WithNextToken(NextTokenT&& value) {
65 SetNextToken(std::forward<NextTokenT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
79 ListBlueprintsResult& WithRequestId(RequestIdT&& value) {
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 private:
85 Aws::Vector<Aws::String> m_blueprints;
86 bool m_blueprintsHasBeenSet = false;
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Glue
97} // namespace Aws
ListBlueprintsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetBlueprints() const
AWS_GLUE_API ListBlueprintsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBlueprintsResult & AddBlueprints(BlueprintsT &&value)
ListBlueprintsResult & WithNextToken(NextTokenT &&value)
ListBlueprintsResult & WithBlueprints(BlueprintsT &&value)
AWS_GLUE_API ListBlueprintsResult()=default
AWS_GLUE_API ListBlueprintsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue