AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataReplicationInitiation.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mgn/model/DataReplicationInitiationStep.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mgn
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const Aws::String& GetNextAttemptDateTime() const{ return m_nextAttemptDateTime; }
47 inline bool NextAttemptDateTimeHasBeenSet() const { return m_nextAttemptDateTimeHasBeenSet; }
48 inline void SetNextAttemptDateTime(const Aws::String& value) { m_nextAttemptDateTimeHasBeenSet = true; m_nextAttemptDateTime = value; }
49 inline void SetNextAttemptDateTime(Aws::String&& value) { m_nextAttemptDateTimeHasBeenSet = true; m_nextAttemptDateTime = std::move(value); }
50 inline void SetNextAttemptDateTime(const char* value) { m_nextAttemptDateTimeHasBeenSet = true; m_nextAttemptDateTime.assign(value); }
52 inline DataReplicationInitiation& WithNextAttemptDateTime(Aws::String&& value) { SetNextAttemptDateTime(std::move(value)); return *this;}
53 inline DataReplicationInitiation& WithNextAttemptDateTime(const char* value) { SetNextAttemptDateTime(value); return *this;}
55
57
60 inline const Aws::String& GetStartDateTime() const{ return m_startDateTime; }
61 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
62 inline void SetStartDateTime(const Aws::String& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
63 inline void SetStartDateTime(Aws::String&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
64 inline void SetStartDateTime(const char* value) { m_startDateTimeHasBeenSet = true; m_startDateTime.assign(value); }
65 inline DataReplicationInitiation& WithStartDateTime(const Aws::String& value) { SetStartDateTime(value); return *this;}
66 inline DataReplicationInitiation& WithStartDateTime(Aws::String&& value) { SetStartDateTime(std::move(value)); return *this;}
67 inline DataReplicationInitiation& WithStartDateTime(const char* value) { SetStartDateTime(value); return *this;}
69
71
74 inline const Aws::Vector<DataReplicationInitiationStep>& GetSteps() const{ return m_steps; }
75 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
76 inline void SetSteps(const Aws::Vector<DataReplicationInitiationStep>& value) { m_stepsHasBeenSet = true; m_steps = value; }
77 inline void SetSteps(Aws::Vector<DataReplicationInitiationStep>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
80 inline DataReplicationInitiation& AddSteps(const DataReplicationInitiationStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
81 inline DataReplicationInitiation& AddSteps(DataReplicationInitiationStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
83 private:
84
85 Aws::String m_nextAttemptDateTime;
86 bool m_nextAttemptDateTimeHasBeenSet = false;
87
88 Aws::String m_startDateTime;
89 bool m_startDateTimeHasBeenSet = false;
90
92 bool m_stepsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace mgn
97} // namespace Aws
DataReplicationInitiation & WithNextAttemptDateTime(Aws::String &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
DataReplicationInitiation & WithStartDateTime(const char *value)
void SetSteps(const Aws::Vector< DataReplicationInitiationStep > &value)
void SetNextAttemptDateTime(const Aws::String &value)
const Aws::Vector< DataReplicationInitiationStep > & GetSteps() const
DataReplicationInitiation & WithSteps(Aws::Vector< DataReplicationInitiationStep > &&value)
void SetSteps(Aws::Vector< DataReplicationInitiationStep > &&value)
DataReplicationInitiation & WithStartDateTime(const Aws::String &value)
DataReplicationInitiation & WithSteps(const Aws::Vector< DataReplicationInitiationStep > &value)
DataReplicationInitiation & WithNextAttemptDateTime(const char *value)
DataReplicationInitiation & AddSteps(const DataReplicationInitiationStep &value)
DataReplicationInitiation & WithNextAttemptDateTime(const Aws::String &value)
DataReplicationInitiation & AddSteps(DataReplicationInitiationStep &&value)
DataReplicationInitiation & WithStartDateTime(Aws::String &&value)
AWS_MGN_API DataReplicationInitiation(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API DataReplicationInitiation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue