AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationGroupUpdate.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/CreateReplicationGroupMemberAction.h>
9#include <aws/dynamodb/model/UpdateReplicationGroupMemberAction.h>
10#include <aws/dynamodb/model/DeleteReplicationGroupMemberAction.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
44 {
45 public:
46 AWS_DYNAMODB_API ReplicationGroupUpdate();
49 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const CreateReplicationGroupMemberAction& GetCreate() const{ return m_create; }
57 inline bool CreateHasBeenSet() const { return m_createHasBeenSet; }
58 inline void SetCreate(const CreateReplicationGroupMemberAction& value) { m_createHasBeenSet = true; m_create = value; }
59 inline void SetCreate(CreateReplicationGroupMemberAction&& value) { m_createHasBeenSet = true; m_create = std::move(value); }
61 inline ReplicationGroupUpdate& WithCreate(CreateReplicationGroupMemberAction&& value) { SetCreate(std::move(value)); return *this;}
63
65
68 inline const UpdateReplicationGroupMemberAction& GetUpdate() const{ return m_update; }
69 inline bool UpdateHasBeenSet() const { return m_updateHasBeenSet; }
70 inline void SetUpdate(const UpdateReplicationGroupMemberAction& value) { m_updateHasBeenSet = true; m_update = value; }
71 inline void SetUpdate(UpdateReplicationGroupMemberAction&& value) { m_updateHasBeenSet = true; m_update = std::move(value); }
73 inline ReplicationGroupUpdate& WithUpdate(UpdateReplicationGroupMemberAction&& value) { SetUpdate(std::move(value)); return *this;}
75
77
80 inline const DeleteReplicationGroupMemberAction& GetDelete() const{ return m_delete; }
81 inline bool DeleteHasBeenSet() const { return m_deleteHasBeenSet; }
82 inline void SetDelete(const DeleteReplicationGroupMemberAction& value) { m_deleteHasBeenSet = true; m_delete = value; }
83 inline void SetDelete(DeleteReplicationGroupMemberAction&& value) { m_deleteHasBeenSet = true; m_delete = std::move(value); }
85 inline ReplicationGroupUpdate& WithDelete(DeleteReplicationGroupMemberAction&& value) { SetDelete(std::move(value)); return *this;}
87 private:
88
90 bool m_createHasBeenSet = false;
91
93 bool m_updateHasBeenSet = false;
94
96 bool m_deleteHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DynamoDB
101} // namespace Aws
ReplicationGroupUpdate & WithCreate(const CreateReplicationGroupMemberAction &value)
ReplicationGroupUpdate & WithDelete(DeleteReplicationGroupMemberAction &&value)
void SetCreate(CreateReplicationGroupMemberAction &&value)
ReplicationGroupUpdate & WithUpdate(const UpdateReplicationGroupMemberAction &value)
ReplicationGroupUpdate & WithUpdate(UpdateReplicationGroupMemberAction &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreate(const CreateReplicationGroupMemberAction &value)
void SetUpdate(UpdateReplicationGroupMemberAction &&value)
AWS_DYNAMODB_API ReplicationGroupUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationGroupUpdate & WithCreate(CreateReplicationGroupMemberAction &&value)
void SetDelete(const DeleteReplicationGroupMemberAction &value)
ReplicationGroupUpdate & WithDelete(const DeleteReplicationGroupMemberAction &value)
const CreateReplicationGroupMemberAction & GetCreate() const
const UpdateReplicationGroupMemberAction & GetUpdate() const
void SetUpdate(const UpdateReplicationGroupMemberAction &value)
AWS_DYNAMODB_API ReplicationGroupUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetDelete(DeleteReplicationGroupMemberAction &&value)
const DeleteReplicationGroupMemberAction & GetDelete() const
Aws::Utils::Json::JsonValue JsonValue