AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataReplicationCounterpart.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MQ
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MQ_API DataReplicationCounterpart() = default;
38
39
41
44 inline const Aws::String& GetBrokerId() const { return m_brokerId; }
45 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
46 template<typename BrokerIdT = Aws::String>
47 void SetBrokerId(BrokerIdT&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::forward<BrokerIdT>(value); }
48 template<typename BrokerIdT = Aws::String>
49 DataReplicationCounterpart& WithBrokerId(BrokerIdT&& value) { SetBrokerId(std::forward<BrokerIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetRegion() const { return m_region; }
57 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
58 template<typename RegionT = Aws::String>
59 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
60 template<typename RegionT = Aws::String>
61 DataReplicationCounterpart& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
63 private:
64
65 Aws::String m_brokerId;
66 bool m_brokerIdHasBeenSet = false;
67
68 Aws::String m_region;
69 bool m_regionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace MQ
74} // namespace Aws
AWS_MQ_API DataReplicationCounterpart()=default
AWS_MQ_API DataReplicationCounterpart(Aws::Utils::Json::JsonView jsonValue)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
DataReplicationCounterpart & WithRegion(RegionT &&value)
AWS_MQ_API DataReplicationCounterpart & operator=(Aws::Utils::Json::JsonView jsonValue)
DataReplicationCounterpart & WithBrokerId(BrokerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue