/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSMIncidents { namespace Model { /** *

Defines the information about the Amazon Web Services Region you're deleting * from your replication set.

See Also:

AWS * API Reference

*/ class DeleteRegionAction { public: AWS_SSMINCIDENTS_API DeleteRegionAction(); AWS_SSMINCIDENTS_API DeleteRegionAction(Aws::Utils::Json::JsonView jsonValue); AWS_SSMINCIDENTS_API DeleteRegionAction& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the Amazon Web Services Region you're deleting from the * replication set.

*/ inline const Aws::String& GetRegionName() const{ return m_regionName; } /** *

The name of the Amazon Web Services Region you're deleting from the * replication set.

*/ inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; } /** *

The name of the Amazon Web Services Region you're deleting from the * replication set.

*/ inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; } /** *

The name of the Amazon Web Services Region you're deleting from the * replication set.

*/ inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); } /** *

The name of the Amazon Web Services Region you're deleting from the * replication set.

*/ inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); } /** *

The name of the Amazon Web Services Region you're deleting from the * replication set.

*/ inline DeleteRegionAction& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;} /** *

The name of the Amazon Web Services Region you're deleting from the * replication set.

*/ inline DeleteRegionAction& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;} /** *

The name of the Amazon Web Services Region you're deleting from the * replication set.

*/ inline DeleteRegionAction& WithRegionName(const char* value) { SetRegionName(value); return *this;} private: Aws::String m_regionName; bool m_regionNameHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws