AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataReplicationInitiationStep.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/DataReplicationInitiationStepName.h>
9#include <aws/mgn/model/DataReplicationInitiationStepStatus.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 mgn
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
45 inline const DataReplicationInitiationStepName& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const DataReplicationInitiationStepName& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(DataReplicationInitiationStepName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline DataReplicationInitiationStep& WithName(DataReplicationInitiationStepName&& value) { SetName(std::move(value)); return *this;}
52
54
57 inline const DataReplicationInitiationStepStatus& GetStatus() const{ return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(const DataReplicationInitiationStepStatus& value) { m_statusHasBeenSet = true; m_status = value; }
60 inline void SetStatus(DataReplicationInitiationStepStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 private:
65
67 bool m_nameHasBeenSet = false;
68
70 bool m_statusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace mgn
75} // namespace Aws
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API DataReplicationInitiationStep(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API DataReplicationInitiationStep & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const DataReplicationInitiationStepName &value)
const DataReplicationInitiationStepName & GetName() const
void SetStatus(DataReplicationInitiationStepStatus &&value)
void SetName(DataReplicationInitiationStepName &&value)
DataReplicationInitiationStep & WithStatus(const DataReplicationInitiationStepStatus &value)
DataReplicationInitiationStep & WithName(DataReplicationInitiationStepName &&value)
void SetStatus(const DataReplicationInitiationStepStatus &value)
DataReplicationInitiationStep & WithStatus(DataReplicationInitiationStepStatus &&value)
DataReplicationInitiationStep & WithName(const DataReplicationInitiationStepName &value)
const DataReplicationInitiationStepStatus & GetStatus() const
Aws::Utils::Json::JsonValue JsonValue