AWS SDK for C++

AWS SDK for C++ Version 1.11.870

Loading...
Searching...
No Matches
VectorIndexUpdate.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/CreateVectorIndexAction.h>
9#include <aws/dynamodb/model/DeleteVectorIndexAction.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DynamoDB {
21namespace Model {
22
30 public:
31 AWS_DYNAMODB_API VectorIndexUpdate() = default;
32 AWS_DYNAMODB_API VectorIndexUpdate(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const CreateVectorIndexAction& GetCreate() const { return m_create; }
41 inline bool CreateHasBeenSet() const { return m_createHasBeenSet; }
42 template <typename CreateT = CreateVectorIndexAction>
43 void SetCreate(CreateT&& value) {
44 m_createHasBeenSet = true;
45 m_create = std::forward<CreateT>(value);
46 }
47 template <typename CreateT = CreateVectorIndexAction>
48 VectorIndexUpdate& WithCreate(CreateT&& value) {
49 SetCreate(std::forward<CreateT>(value));
50 return *this;
51 }
53
55
58 inline const DeleteVectorIndexAction& GetDelete() const { return m_delete; }
59 inline bool DeleteHasBeenSet() const { return m_deleteHasBeenSet; }
60 template <typename DeleteT = DeleteVectorIndexAction>
61 void SetDelete(DeleteT&& value) {
62 m_deleteHasBeenSet = true;
63 m_delete = std::forward<DeleteT>(value);
64 }
65 template <typename DeleteT = DeleteVectorIndexAction>
66 VectorIndexUpdate& WithDelete(DeleteT&& value) {
67 SetDelete(std::forward<DeleteT>(value));
68 return *this;
69 }
71 private:
73
75 bool m_createHasBeenSet = false;
76 bool m_deleteHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace DynamoDB
81} // namespace Aws
VectorIndexUpdate & WithDelete(DeleteT &&value)
const CreateVectorIndexAction & GetCreate() const
const DeleteVectorIndexAction & GetDelete() const
AWS_DYNAMODB_API VectorIndexUpdate()=default
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
VectorIndexUpdate & WithCreate(CreateT &&value)
AWS_DYNAMODB_API VectorIndexUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API VectorIndexUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue