AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GlobalSecondaryIndexUpdate.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/UpdateGlobalSecondaryIndexAction.h>
9#include <aws/dynamodb/model/CreateGlobalSecondaryIndexAction.h>
10#include <aws/dynamodb/model/DeleteGlobalSecondaryIndexAction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DynamoDB
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_DYNAMODB_API GlobalSecondaryIndexUpdate();
43 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const UpdateGlobalSecondaryIndexAction& GetUpdate() const{ return m_update; }
52 inline bool UpdateHasBeenSet() const { return m_updateHasBeenSet; }
53 inline void SetUpdate(const UpdateGlobalSecondaryIndexAction& value) { m_updateHasBeenSet = true; m_update = value; }
54 inline void SetUpdate(UpdateGlobalSecondaryIndexAction&& value) { m_updateHasBeenSet = true; m_update = std::move(value); }
56 inline GlobalSecondaryIndexUpdate& WithUpdate(UpdateGlobalSecondaryIndexAction&& value) { SetUpdate(std::move(value)); return *this;}
58
60
67 inline const CreateGlobalSecondaryIndexAction& GetCreate() const{ return m_create; }
68 inline bool CreateHasBeenSet() const { return m_createHasBeenSet; }
69 inline void SetCreate(const CreateGlobalSecondaryIndexAction& value) { m_createHasBeenSet = true; m_create = value; }
70 inline void SetCreate(CreateGlobalSecondaryIndexAction&& value) { m_createHasBeenSet = true; m_create = std::move(value); }
72 inline GlobalSecondaryIndexUpdate& WithCreate(CreateGlobalSecondaryIndexAction&& value) { SetCreate(std::move(value)); return *this;}
74
76
79 inline const DeleteGlobalSecondaryIndexAction& GetDelete() const{ return m_delete; }
80 inline bool DeleteHasBeenSet() const { return m_deleteHasBeenSet; }
81 inline void SetDelete(const DeleteGlobalSecondaryIndexAction& value) { m_deleteHasBeenSet = true; m_delete = value; }
82 inline void SetDelete(DeleteGlobalSecondaryIndexAction&& value) { m_deleteHasBeenSet = true; m_delete = std::move(value); }
84 inline GlobalSecondaryIndexUpdate& WithDelete(DeleteGlobalSecondaryIndexAction&& value) { SetDelete(std::move(value)); return *this;}
86 private:
87
89 bool m_updateHasBeenSet = false;
90
92 bool m_createHasBeenSet = false;
93
95 bool m_deleteHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace DynamoDB
100} // namespace Aws
GlobalSecondaryIndexUpdate & WithUpdate(const UpdateGlobalSecondaryIndexAction &value)
GlobalSecondaryIndexUpdate & WithUpdate(UpdateGlobalSecondaryIndexAction &&value)
GlobalSecondaryIndexUpdate & WithDelete(const DeleteGlobalSecondaryIndexAction &value)
GlobalSecondaryIndexUpdate & WithDelete(DeleteGlobalSecondaryIndexAction &&value)
GlobalSecondaryIndexUpdate & WithCreate(CreateGlobalSecondaryIndexAction &&value)
const DeleteGlobalSecondaryIndexAction & GetDelete() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API GlobalSecondaryIndexUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const CreateGlobalSecondaryIndexAction & GetCreate() const
void SetCreate(const CreateGlobalSecondaryIndexAction &value)
void SetDelete(DeleteGlobalSecondaryIndexAction &&value)
const UpdateGlobalSecondaryIndexAction & GetUpdate() const
void SetUpdate(UpdateGlobalSecondaryIndexAction &&value)
void SetUpdate(const UpdateGlobalSecondaryIndexAction &value)
GlobalSecondaryIndexUpdate & WithCreate(const CreateGlobalSecondaryIndexAction &value)
void SetCreate(CreateGlobalSecondaryIndexAction &&value)
void SetDelete(const DeleteGlobalSecondaryIndexAction &value)
AWS_DYNAMODB_API GlobalSecondaryIndexUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue