AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
InlinePayload.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/DeleteEntitiesInfo.h>
9#include <aws/bedrock-data-automation/model/UpsertEntityInfo.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockDataAutomation {
22namespace Model {
23
30 public:
31 AWS_BEDROCKDATAAUTOMATION_API InlinePayload() = default;
32 AWS_BEDROCKDATAAUTOMATION_API InlinePayload(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::Vector<UpsertEntityInfo>& GetUpsertEntitiesInfo() const { return m_upsertEntitiesInfo; }
39 inline bool UpsertEntitiesInfoHasBeenSet() const { return m_upsertEntitiesInfoHasBeenSet; }
40 template <typename UpsertEntitiesInfoT = Aws::Vector<UpsertEntityInfo>>
42 m_upsertEntitiesInfoHasBeenSet = true;
43 m_upsertEntitiesInfo = std::forward<UpsertEntitiesInfoT>(value);
44 }
45 template <typename UpsertEntitiesInfoT = Aws::Vector<UpsertEntityInfo>>
47 SetUpsertEntitiesInfo(std::forward<UpsertEntitiesInfoT>(value));
48 return *this;
49 }
50 template <typename UpsertEntitiesInfoT = UpsertEntityInfo>
52 m_upsertEntitiesInfoHasBeenSet = true;
53 m_upsertEntitiesInfo.emplace_back(std::forward<UpsertEntitiesInfoT>(value));
54 return *this;
55 }
57
59
60 inline const DeleteEntitiesInfo& GetDeleteEntitiesInfo() const { return m_deleteEntitiesInfo; }
61 inline bool DeleteEntitiesInfoHasBeenSet() const { return m_deleteEntitiesInfoHasBeenSet; }
62 template <typename DeleteEntitiesInfoT = DeleteEntitiesInfo>
64 m_deleteEntitiesInfoHasBeenSet = true;
65 m_deleteEntitiesInfo = std::forward<DeleteEntitiesInfoT>(value);
66 }
67 template <typename DeleteEntitiesInfoT = DeleteEntitiesInfo>
69 SetDeleteEntitiesInfo(std::forward<DeleteEntitiesInfoT>(value));
70 return *this;
71 }
73 private:
74 Aws::Vector<UpsertEntityInfo> m_upsertEntitiesInfo;
75
76 DeleteEntitiesInfo m_deleteEntitiesInfo;
77 bool m_upsertEntitiesInfoHasBeenSet = false;
78 bool m_deleteEntitiesInfoHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace BedrockDataAutomation
83} // namespace Aws
InlinePayload & WithDeleteEntitiesInfo(DeleteEntitiesInfoT &&value)
AWS_BEDROCKDATAAUTOMATION_API InlinePayload(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< UpsertEntityInfo > & GetUpsertEntitiesInfo() const
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKDATAAUTOMATION_API InlinePayload()=default
void SetUpsertEntitiesInfo(UpsertEntitiesInfoT &&value)
AWS_BEDROCKDATAAUTOMATION_API InlinePayload & operator=(Aws::Utils::Json::JsonView jsonValue)
InlinePayload & AddUpsertEntitiesInfo(UpsertEntitiesInfoT &&value)
const DeleteEntitiesInfo & GetDeleteEntitiesInfo() const
InlinePayload & WithUpsertEntitiesInfo(UpsertEntitiesInfoT &&value)
void SetDeleteEntitiesInfo(DeleteEntitiesInfoT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue