/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The set of Amazon Web Services Region that your Incident Manager data will be
* replicated to and the KMS key used to encrypt the data. See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the replication set.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the replication set.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the replication set.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the replication set.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the replication set.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the replication set.
*/ inline ReplicationSet& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the replication set.
*/ inline ReplicationSet& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the replication set.
*/ inline ReplicationSet& WithArn(const char* value) { SetArn(value); return *this;} /** *Details about who created the replication set.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *Details about who created the replication set.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *Details about who created the replication set.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *Details about who created the replication set.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *Details about who created the replication set.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *Details about who created the replication set.
*/ inline ReplicationSet& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *Details about who created the replication set.
*/ inline ReplicationSet& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *Details about who created the replication set.
*/ inline ReplicationSet& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *When the replication set was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *When the replication set was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *When the replication set was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *When the replication set was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *When the replication set was created.
*/ inline ReplicationSet& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *When the replication set was created.
*/ inline ReplicationSet& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *Determines if the replication set deletion protection is enabled or not. If * deletion protection is enabled, you can't delete the last Amazon Web Services * Region in the replication set.
*/ inline bool GetDeletionProtected() const{ return m_deletionProtected; } /** *Determines if the replication set deletion protection is enabled or not. If * deletion protection is enabled, you can't delete the last Amazon Web Services * Region in the replication set.
*/ inline bool DeletionProtectedHasBeenSet() const { return m_deletionProtectedHasBeenSet; } /** *Determines if the replication set deletion protection is enabled or not. If * deletion protection is enabled, you can't delete the last Amazon Web Services * Region in the replication set.
*/ inline void SetDeletionProtected(bool value) { m_deletionProtectedHasBeenSet = true; m_deletionProtected = value; } /** *Determines if the replication set deletion protection is enabled or not. If * deletion protection is enabled, you can't delete the last Amazon Web Services * Region in the replication set.
*/ inline ReplicationSet& WithDeletionProtected(bool value) { SetDeletionProtected(value); return *this;} /** *Who last modified the replication set.
*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *Who last modified the replication set.
*/ inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } /** *Who last modified the replication set.
*/ inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } /** *Who last modified the replication set.
*/ inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } /** *Who last modified the replication set.
*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); } /** *Who last modified the replication set.
*/ inline ReplicationSet& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *Who last modified the replication set.
*/ inline ReplicationSet& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *Who last modified the replication set.
*/ inline ReplicationSet& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;} /** *When the replication set was last updated.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *When the replication set was last updated.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *When the replication set was last updated.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *When the replication set was last updated.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *When the replication set was last updated.
*/ inline ReplicationSet& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *When the replication set was last updated.
*/ inline ReplicationSet& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline const Aws::MapThe map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline bool RegionMapHasBeenSet() const { return m_regionMapHasBeenSet; } /** *The map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline void SetRegionMap(const Aws::MapThe map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline void SetRegionMap(Aws::MapThe map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline ReplicationSet& WithRegionMap(const Aws::MapThe map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline ReplicationSet& WithRegionMap(Aws::MapThe map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline ReplicationSet& AddRegionMap(const Aws::String& key, const RegionInfo& value) { m_regionMapHasBeenSet = true; m_regionMap.emplace(key, value); return *this; } /** *The map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline ReplicationSet& AddRegionMap(Aws::String&& key, const RegionInfo& value) { m_regionMapHasBeenSet = true; m_regionMap.emplace(std::move(key), value); return *this; } /** *The map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline ReplicationSet& AddRegionMap(const Aws::String& key, RegionInfo&& value) { m_regionMapHasBeenSet = true; m_regionMap.emplace(key, std::move(value)); return *this; } /** *The map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline ReplicationSet& AddRegionMap(Aws::String&& key, RegionInfo&& value) { m_regionMapHasBeenSet = true; m_regionMap.emplace(std::move(key), std::move(value)); return *this; } /** *The map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline ReplicationSet& AddRegionMap(const char* key, RegionInfo&& value) { m_regionMapHasBeenSet = true; m_regionMap.emplace(key, std::move(value)); return *this; } /** *The map between each Amazon Web Services Region in your replication set and * the KMS key that's used to encrypt the data in that Region.
*/ inline ReplicationSet& AddRegionMap(const char* key, const RegionInfo& value) { m_regionMapHasBeenSet = true; m_regionMap.emplace(key, value); return *this; } /** *The status of the replication set. If the replication set is still pending, * you can't use Incident Manager functionality.
*/ inline const ReplicationSetStatus& GetStatus() const{ return m_status; } /** *The status of the replication set. If the replication set is still pending, * you can't use Incident Manager functionality.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the replication set. If the replication set is still pending, * you can't use Incident Manager functionality.
*/ inline void SetStatus(const ReplicationSetStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the replication set. If the replication set is still pending, * you can't use Incident Manager functionality.
*/ inline void SetStatus(ReplicationSetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the replication set. If the replication set is still pending, * you can't use Incident Manager functionality.
*/ inline ReplicationSet& WithStatus(const ReplicationSetStatus& value) { SetStatus(value); return *this;} /** *The status of the replication set. If the replication set is still pending, * you can't use Incident Manager functionality.
*/ inline ReplicationSet& WithStatus(ReplicationSetStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; bool m_deletionProtected; bool m_deletionProtectedHasBeenSet = false; Aws::String m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::Map