AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ListBlueprintsResult.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/BlueprintSummary.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 BedrockDataAutomation {
24namespace Model {
31 public:
32 AWS_BEDROCKDATAAUTOMATION_API ListBlueprintsResult() = default;
35
37
38 inline const Aws::Vector<BlueprintSummary>& GetBlueprints() const { return m_blueprints; }
39 template <typename BlueprintsT = Aws::Vector<BlueprintSummary>>
40 void SetBlueprints(BlueprintsT&& value) {
41 m_blueprintsHasBeenSet = true;
42 m_blueprints = std::forward<BlueprintsT>(value);
43 }
44 template <typename BlueprintsT = Aws::Vector<BlueprintSummary>>
45 ListBlueprintsResult& WithBlueprints(BlueprintsT&& value) {
46 SetBlueprints(std::forward<BlueprintsT>(value));
47 return *this;
48 }
49 template <typename BlueprintsT = BlueprintSummary>
50 ListBlueprintsResult& AddBlueprints(BlueprintsT&& value) {
51 m_blueprintsHasBeenSet = true;
52 m_blueprints.emplace_back(std::forward<BlueprintsT>(value));
53 return *this;
54 }
56
58
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
66 ListBlueprintsResult& WithNextToken(NextTokenT&& value) {
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
81 ListBlueprintsResult& WithRequestId(RequestIdT&& value) {
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 private:
88
89 Aws::String m_nextToken;
90
91 Aws::String m_requestId;
92 bool m_blueprintsHasBeenSet = false;
93 bool m_nextTokenHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace BedrockDataAutomation
99} // namespace Aws
ListBlueprintsResult & WithRequestId(RequestIdT &&value)
ListBlueprintsResult & WithBlueprints(BlueprintsT &&value)
const Aws::Vector< BlueprintSummary > & GetBlueprints() const
AWS_BEDROCKDATAAUTOMATION_API ListBlueprintsResult()=default
ListBlueprintsResult & WithNextToken(NextTokenT &&value)
AWS_BEDROCKDATAAUTOMATION_API ListBlueprintsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKDATAAUTOMATION_API ListBlueprintsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBlueprintsResult & 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