/** * 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 Amazon Web Services Region and KMS key to add to the replication * set.

See Also:

AWS * API Reference

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

The Amazon Web Services Region name to add to the replication set.

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

The Amazon Web Services Region name to add to the replication set.

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

The Amazon Web Services Region name to add to the replication set.

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

The Amazon Web Services Region name to add to the replication set.

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

The Amazon Web Services Region name to add to the replication set.

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

The Amazon Web Services Region name to add to the replication set.

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

The Amazon Web Services Region name to add to the replication set.

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

The Amazon Web Services Region name to add to the replication set.

*/ inline AddRegionAction& WithRegionName(const char* value) { SetRegionName(value); return *this;} /** *

The KMS key ID to use to encrypt your replication set.

*/ inline const Aws::String& GetSseKmsKeyId() const{ return m_sseKmsKeyId; } /** *

The KMS key ID to use to encrypt your replication set.

*/ inline bool SseKmsKeyIdHasBeenSet() const { return m_sseKmsKeyIdHasBeenSet; } /** *

The KMS key ID to use to encrypt your replication set.

*/ inline void SetSseKmsKeyId(const Aws::String& value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId = value; } /** *

The KMS key ID to use to encrypt your replication set.

*/ inline void SetSseKmsKeyId(Aws::String&& value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId = std::move(value); } /** *

The KMS key ID to use to encrypt your replication set.

*/ inline void SetSseKmsKeyId(const char* value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId.assign(value); } /** *

The KMS key ID to use to encrypt your replication set.

*/ inline AddRegionAction& WithSseKmsKeyId(const Aws::String& value) { SetSseKmsKeyId(value); return *this;} /** *

The KMS key ID to use to encrypt your replication set.

*/ inline AddRegionAction& WithSseKmsKeyId(Aws::String&& value) { SetSseKmsKeyId(std::move(value)); return *this;} /** *

The KMS key ID to use to encrypt your replication set.

*/ inline AddRegionAction& WithSseKmsKeyId(const char* value) { SetSseKmsKeyId(value); return *this;} private: Aws::String m_regionName; bool m_regionNameHasBeenSet = false; Aws::String m_sseKmsKeyId; bool m_sseKmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws