/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details used when updating the replication set.See Also:
AWS
* API Reference
Details about the Amazon Web Services Region that you're adding to the * replication set.
*/ inline const AddRegionAction& GetAddRegionAction() const{ return m_addRegionAction; } /** *Details about the Amazon Web Services Region that you're adding to the * replication set.
*/ inline bool AddRegionActionHasBeenSet() const { return m_addRegionActionHasBeenSet; } /** *Details about the Amazon Web Services Region that you're adding to the * replication set.
*/ inline void SetAddRegionAction(const AddRegionAction& value) { m_addRegionActionHasBeenSet = true; m_addRegionAction = value; } /** *Details about the Amazon Web Services Region that you're adding to the * replication set.
*/ inline void SetAddRegionAction(AddRegionAction&& value) { m_addRegionActionHasBeenSet = true; m_addRegionAction = std::move(value); } /** *Details about the Amazon Web Services Region that you're adding to the * replication set.
*/ inline UpdateReplicationSetAction& WithAddRegionAction(const AddRegionAction& value) { SetAddRegionAction(value); return *this;} /** *Details about the Amazon Web Services Region that you're adding to the * replication set.
*/ inline UpdateReplicationSetAction& WithAddRegionAction(AddRegionAction&& value) { SetAddRegionAction(std::move(value)); return *this;} /** *Details about the Amazon Web Services Region that you're deleting to the * replication set.
*/ inline const DeleteRegionAction& GetDeleteRegionAction() const{ return m_deleteRegionAction; } /** *Details about the Amazon Web Services Region that you're deleting to the * replication set.
*/ inline bool DeleteRegionActionHasBeenSet() const { return m_deleteRegionActionHasBeenSet; } /** *Details about the Amazon Web Services Region that you're deleting to the * replication set.
*/ inline void SetDeleteRegionAction(const DeleteRegionAction& value) { m_deleteRegionActionHasBeenSet = true; m_deleteRegionAction = value; } /** *Details about the Amazon Web Services Region that you're deleting to the * replication set.
*/ inline void SetDeleteRegionAction(DeleteRegionAction&& value) { m_deleteRegionActionHasBeenSet = true; m_deleteRegionAction = std::move(value); } /** *Details about the Amazon Web Services Region that you're deleting to the * replication set.
*/ inline UpdateReplicationSetAction& WithDeleteRegionAction(const DeleteRegionAction& value) { SetDeleteRegionAction(value); return *this;} /** *Details about the Amazon Web Services Region that you're deleting to the * replication set.
*/ inline UpdateReplicationSetAction& WithDeleteRegionAction(DeleteRegionAction&& value) { SetDeleteRegionAction(std::move(value)); return *this;} private: AddRegionAction m_addRegionAction; bool m_addRegionActionHasBeenSet = false; DeleteRegionAction m_deleteRegionAction; bool m_deleteRegionActionHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws