AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
38
39
41
44 inline const Aws::String& GetBrokerId() const{ return m_brokerId; }
45 inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
46 inline void SetBrokerId(const Aws::String& value) { m_brokerIdHasBeenSet = true; m_brokerId = value; }
47 inline void SetBrokerId(Aws::String&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::move(value); }
48 inline void SetBrokerId(const char* value) { m_brokerIdHasBeenSet = true; m_brokerId.assign(value); }
49 inline DataReplicationCounterpart& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;}
50 inline DataReplicationCounterpart& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;}
51 inline DataReplicationCounterpart& WithBrokerId(const char* value) { SetBrokerId(value); return *this;}
53
55
58 inline const Aws::String& GetRegion() const{ return m_region; }
59 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
60 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
61 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
62 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
63 inline DataReplicationCounterpart& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
64 inline DataReplicationCounterpart& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
65 inline DataReplicationCounterpart& WithRegion(const char* value) { SetRegion(value); return *this;}
67 private:
68
69 Aws::String m_brokerId;
70 bool m_brokerIdHasBeenSet = false;
71
72 Aws::String m_region;
73 bool m_regionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace MQ
78} // namespace Aws
DataReplicationCounterpart & WithRegion(const Aws::String &value)
DataReplicationCounterpart & WithBrokerId(const Aws::String &value)
AWS_MQ_API DataReplicationCounterpart(Aws::Utils::Json::JsonView jsonValue)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
DataReplicationCounterpart & WithRegion(Aws::String &&value)
DataReplicationCounterpart & WithBrokerId(Aws::String &&value)
DataReplicationCounterpart & WithBrokerId(const char *value)
DataReplicationCounterpart & WithRegion(const char *value)
AWS_MQ_API DataReplicationCounterpart & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue