AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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
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
32 public:
33 AWS_DYNAMODB_API GlobalTableWitnessGroupUpdate() = default;
36 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const CreateGlobalTableWitnessGroupMemberAction& GetCreate() const { return m_create; }
44 inline bool CreateHasBeenSet() const { return m_createHasBeenSet; }
45 template <typename CreateT = CreateGlobalTableWitnessGroupMemberAction>
46 void SetCreate(CreateT&& value) {
47 m_createHasBeenSet = true;
48 m_create = std::forward<CreateT>(value);
49 }
50 template <typename CreateT = CreateGlobalTableWitnessGroupMemberAction>
52 SetCreate(std::forward<CreateT>(value));
53 return *this;
54 }
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) {
68 m_deleteHasBeenSet = true;
69 m_delete = std::forward<DeleteT>(value);
70 }
71 template <typename DeleteT = DeleteGlobalTableWitnessGroupMemberAction>
73 SetDelete(std::forward<DeleteT>(value));
74 return *this;
75 }
77 private:
79
81 bool m_createHasBeenSet = false;
82 bool m_deleteHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace DynamoDB
87} // 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