AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename AddRegionActionT = AddRegionAction>
49 void SetAddRegionAction(AddRegionActionT&& value) { m_addRegionActionHasBeenSet = true; m_addRegionAction = std::forward<AddRegionActionT>(value); }
50 template<typename AddRegionActionT = AddRegionAction>
51 UpdateReplicationSetAction& WithAddRegionAction(AddRegionActionT&& value) { SetAddRegionAction(std::forward<AddRegionActionT>(value)); return *this;}
53
55
59 inline const DeleteRegionAction& GetDeleteRegionAction() const { return m_deleteRegionAction; }
60 inline bool DeleteRegionActionHasBeenSet() const { return m_deleteRegionActionHasBeenSet; }
61 template<typename DeleteRegionActionT = DeleteRegionAction>
62 void SetDeleteRegionAction(DeleteRegionActionT&& value) { m_deleteRegionActionHasBeenSet = true; m_deleteRegionAction = std::forward<DeleteRegionActionT>(value); }
63 template<typename DeleteRegionActionT = DeleteRegionAction>
64 UpdateReplicationSetAction& WithDeleteRegionAction(DeleteRegionActionT&& value) { SetDeleteRegionAction(std::forward<DeleteRegionActionT>(value)); return *this;}
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
AWS_SSMINCIDENTS_API UpdateReplicationSetAction()=default
AWS_SSMINCIDENTS_API UpdateReplicationSetAction(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateReplicationSetAction & WithDeleteRegionAction(DeleteRegionActionT &&value)
AWS_SSMINCIDENTS_API UpdateReplicationSetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateReplicationSetAction & WithAddRegionAction(AddRegionActionT &&value)
Aws::Utils::Json::JsonValue JsonValue