AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateReplicationSetAction.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/model/AddRegionAction.h>
9#include <aws/ssm-incidents/model/DeleteRegionAction.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 SSMIncidents
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SSMINCIDENTS_API UpdateReplicationSetAction();
38 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const AddRegionAction& GetAddRegionAction() const{ return m_addRegionAction; }
47 inline bool AddRegionActionHasBeenSet() const { return m_addRegionActionHasBeenSet; }
48 inline void SetAddRegionAction(const AddRegionAction& value) { m_addRegionActionHasBeenSet = true; m_addRegionAction = value; }
49 inline void SetAddRegionAction(AddRegionAction&& value) { m_addRegionActionHasBeenSet = true; m_addRegionAction = std::move(value); }
51 inline UpdateReplicationSetAction& WithAddRegionAction(AddRegionAction&& value) { SetAddRegionAction(std::move(value)); return *this;}
53
55
59 inline const DeleteRegionAction& GetDeleteRegionAction() const{ return m_deleteRegionAction; }
60 inline bool DeleteRegionActionHasBeenSet() const { return m_deleteRegionActionHasBeenSet; }
61 inline void SetDeleteRegionAction(const DeleteRegionAction& value) { m_deleteRegionActionHasBeenSet = true; m_deleteRegionAction = value; }
62 inline void SetDeleteRegionAction(DeleteRegionAction&& value) { m_deleteRegionActionHasBeenSet = true; m_deleteRegionAction = std::move(value); }
66 private:
67
68 AddRegionAction m_addRegionAction;
69 bool m_addRegionActionHasBeenSet = false;
70
71 DeleteRegionAction m_deleteRegionAction;
72 bool m_deleteRegionActionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SSMIncidents
77} // namespace Aws
UpdateReplicationSetAction & WithDeleteRegionAction(const DeleteRegionAction &value)
UpdateReplicationSetAction & WithDeleteRegionAction(DeleteRegionAction &&value)
AWS_SSMINCIDENTS_API UpdateReplicationSetAction(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateReplicationSetAction & WithAddRegionAction(const AddRegionAction &value)
AWS_SSMINCIDENTS_API UpdateReplicationSetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateReplicationSetAction & WithAddRegionAction(AddRegionAction &&value)
Aws::Utils::Json::JsonValue JsonValue