/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a broker in a data replication pair.See Also:
AWS
* API Reference
Required. The unique broker id generated by Amazon MQ.
*/ inline const Aws::String& GetBrokerId() const{ return m_brokerId; } /** *Required. The unique broker id generated by Amazon MQ.
*/ inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; } /** *Required. The unique broker id generated by Amazon MQ.
*/ inline void SetBrokerId(const Aws::String& value) { m_brokerIdHasBeenSet = true; m_brokerId = value; } /** *Required. The unique broker id generated by Amazon MQ.
*/ inline void SetBrokerId(Aws::String&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::move(value); } /** *Required. The unique broker id generated by Amazon MQ.
*/ inline void SetBrokerId(const char* value) { m_brokerIdHasBeenSet = true; m_brokerId.assign(value); } /** *Required. The unique broker id generated by Amazon MQ.
*/ inline DataReplicationCounterpart& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;} /** *Required. The unique broker id generated by Amazon MQ.
*/ inline DataReplicationCounterpart& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;} /** *Required. The unique broker id generated by Amazon MQ.
*/ inline DataReplicationCounterpart& WithBrokerId(const char* value) { SetBrokerId(value); return *this;} /** *Required. The region of the broker.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *Required. The region of the broker.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *Required. The region of the broker.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *Required. The region of the broker.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *Required. The region of the broker.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *Required. The region of the broker.
*/ inline DataReplicationCounterpart& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *Required. The region of the broker.
*/ inline DataReplicationCounterpart& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *Required. The region of the broker.
*/ inline DataReplicationCounterpart& WithRegion(const char* value) { SetRegion(value); return *this;} private: Aws::String m_brokerId; bool m_brokerIdHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; }; } // namespace Model } // namespace MQ } // namespace Aws