AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GlobalTableWitnessGroupUpdate.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/CreateGlobalTableWitnessGroupMemberAction.h>
9#include <aws/dynamodb/model/DeleteGlobalTableWitnessGroupMemberAction.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DynamoDB
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_DYNAMODB_API GlobalTableWitnessGroupUpdate() = default;
41 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const CreateGlobalTableWitnessGroupMemberAction& GetCreate() const { return m_create; }
50 inline bool CreateHasBeenSet() const { return m_createHasBeenSet; }
51 template<typename CreateT = CreateGlobalTableWitnessGroupMemberAction>
52 void SetCreate(CreateT&& value) { m_createHasBeenSet = true; m_create = std::forward<CreateT>(value); }
53 template<typename CreateT = CreateGlobalTableWitnessGroupMemberAction>
54 GlobalTableWitnessGroupUpdate& WithCreate(CreateT&& value) { SetCreate(std::forward<CreateT>(value)); return *this;}
56
58
64 inline const DeleteGlobalTableWitnessGroupMemberAction& GetDelete() const { return m_delete; }
65 inline bool DeleteHasBeenSet() const { return m_deleteHasBeenSet; }
66 template<typename DeleteT = DeleteGlobalTableWitnessGroupMemberAction>
67 void SetDelete(DeleteT&& value) { m_deleteHasBeenSet = true; m_delete = std::forward<DeleteT>(value); }
68 template<typename DeleteT = DeleteGlobalTableWitnessGroupMemberAction>
69 GlobalTableWitnessGroupUpdate& WithDelete(DeleteT&& value) { SetDelete(std::forward<DeleteT>(value)); return *this;}
71 private:
72
74 bool m_createHasBeenSet = false;
75
77 bool m_deleteHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DynamoDB
82} // namespace Aws
GlobalTableWitnessGroupUpdate & WithDelete(DeleteT &&value)
AWS_DYNAMODB_API GlobalTableWitnessGroupUpdate()=default
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
const DeleteGlobalTableWitnessGroupMemberAction & GetDelete() const
GlobalTableWitnessGroupUpdate & WithCreate(CreateT &&value)
AWS_DYNAMODB_API GlobalTableWitnessGroupUpdate(Aws::Utils::Json::JsonView jsonValue)
const CreateGlobalTableWitnessGroupMemberAction & GetCreate() const
AWS_DYNAMODB_API GlobalTableWitnessGroupUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue