AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataReplicationMetadataOutput.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/model/DataReplicationCounterpart.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MQ
23{
24namespace Model
25{
26
35 {
36 public:
41
42
44
49 inline const DataReplicationCounterpart& GetDataReplicationCounterpart() const{ return m_dataReplicationCounterpart; }
50 inline bool DataReplicationCounterpartHasBeenSet() const { return m_dataReplicationCounterpartHasBeenSet; }
51 inline void SetDataReplicationCounterpart(const DataReplicationCounterpart& value) { m_dataReplicationCounterpartHasBeenSet = true; m_dataReplicationCounterpart = value; }
52 inline void SetDataReplicationCounterpart(DataReplicationCounterpart&& value) { m_dataReplicationCounterpartHasBeenSet = true; m_dataReplicationCounterpart = std::move(value); }
56
58
62 inline const Aws::String& GetDataReplicationRole() const{ return m_dataReplicationRole; }
63 inline bool DataReplicationRoleHasBeenSet() const { return m_dataReplicationRoleHasBeenSet; }
64 inline void SetDataReplicationRole(const Aws::String& value) { m_dataReplicationRoleHasBeenSet = true; m_dataReplicationRole = value; }
65 inline void SetDataReplicationRole(Aws::String&& value) { m_dataReplicationRoleHasBeenSet = true; m_dataReplicationRole = std::move(value); }
66 inline void SetDataReplicationRole(const char* value) { m_dataReplicationRoleHasBeenSet = true; m_dataReplicationRole.assign(value); }
69 inline DataReplicationMetadataOutput& WithDataReplicationRole(const char* value) { SetDataReplicationRole(value); return *this;}
71 private:
72
73 DataReplicationCounterpart m_dataReplicationCounterpart;
74 bool m_dataReplicationCounterpartHasBeenSet = false;
75
76 Aws::String m_dataReplicationRole;
77 bool m_dataReplicationRoleHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace MQ
82} // namespace Aws
void SetDataReplicationCounterpart(DataReplicationCounterpart &&value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
DataReplicationMetadataOutput & WithDataReplicationCounterpart(const DataReplicationCounterpart &value)
const DataReplicationCounterpart & GetDataReplicationCounterpart() const
AWS_MQ_API DataReplicationMetadataOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataReplicationCounterpart(const DataReplicationCounterpart &value)
DataReplicationMetadataOutput & WithDataReplicationRole(Aws::String &&value)
DataReplicationMetadataOutput & WithDataReplicationCounterpart(DataReplicationCounterpart &&value)
AWS_MQ_API DataReplicationMetadataOutput(Aws::Utils::Json::JsonView jsonValue)
DataReplicationMetadataOutput & WithDataReplicationRole(const char *value)
DataReplicationMetadataOutput & WithDataReplicationRole(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue