AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
BatchGetBlueprintsResult.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#include <aws/glue/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 Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API BatchGetBlueprintsResult() = default;
30
32
35 inline const Aws::Vector<Blueprint>& GetBlueprints() const { return m_blueprints; }
36 template <typename BlueprintsT = Aws::Vector<Blueprint>>
37 void SetBlueprints(BlueprintsT&& value) {
38 m_blueprintsHasBeenSet = true;
39 m_blueprints = std::forward<BlueprintsT>(value);
40 }
41 template <typename BlueprintsT = Aws::Vector<Blueprint>>
43 SetBlueprints(std::forward<BlueprintsT>(value));
44 return *this;
45 }
46 template <typename BlueprintsT = Blueprint>
48 m_blueprintsHasBeenSet = true;
49 m_blueprints.emplace_back(std::forward<BlueprintsT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetMissingBlueprints() const { return m_missingBlueprints; }
59 template <typename MissingBlueprintsT = Aws::Vector<Aws::String>>
60 void SetMissingBlueprints(MissingBlueprintsT&& value) {
61 m_missingBlueprintsHasBeenSet = true;
62 m_missingBlueprints = std::forward<MissingBlueprintsT>(value);
63 }
64 template <typename MissingBlueprintsT = Aws::Vector<Aws::String>>
65 BatchGetBlueprintsResult& WithMissingBlueprints(MissingBlueprintsT&& value) {
66 SetMissingBlueprints(std::forward<MissingBlueprintsT>(value));
67 return *this;
68 }
69 template <typename MissingBlueprintsT = Aws::String>
70 BatchGetBlueprintsResult& AddMissingBlueprints(MissingBlueprintsT&& value) {
71 m_missingBlueprintsHasBeenSet = true;
72 m_missingBlueprints.emplace_back(std::forward<MissingBlueprintsT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<Blueprint> m_blueprints;
93 bool m_blueprintsHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_missingBlueprints;
96 bool m_missingBlueprintsHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
BatchGetBlueprintsResult & WithRequestId(RequestIdT &&value)
AWS_GLUE_API BatchGetBlueprintsResult()=default
void SetMissingBlueprints(MissingBlueprintsT &&value)
BatchGetBlueprintsResult & WithBlueprints(BlueprintsT &&value)
const Aws::Vector< Blueprint > & GetBlueprints() const
AWS_GLUE_API BatchGetBlueprintsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetBlueprintsResult & AddMissingBlueprints(MissingBlueprintsT &&value)
BatchGetBlueprintsResult & AddBlueprints(BlueprintsT &&value)
AWS_GLUE_API BatchGetBlueprintsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetMissingBlueprints() const
BatchGetBlueprintsResult & WithMissingBlueprints(MissingBlueprintsT &&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