AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DataReplicationCounterpart.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mq/MQ_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MQ {
20namespace Model {
21
28 public:
29 AWS_MQ_API DataReplicationCounterpart() = default;
33
35
38 inline const Aws::String& GetBrokerId() const { return m_brokerId; }
39 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
40 template <typename BrokerIdT = Aws::String>
41 void SetBrokerId(BrokerIdT&& value) {
42 m_brokerIdHasBeenSet = true;
43 m_brokerId = std::forward<BrokerIdT>(value);
44 }
45 template <typename BrokerIdT = Aws::String>
47 SetBrokerId(std::forward<BrokerIdT>(value));
48 return *this;
49 }
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) {
60 m_regionHasBeenSet = true;
61 m_region = std::forward<RegionT>(value);
62 }
63 template <typename RegionT = Aws::String>
65 SetRegion(std::forward<RegionT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_brokerId;
71
72 Aws::String m_region;
73 bool m_brokerIdHasBeenSet = false;
74 bool m_regionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MQ
79} // 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