AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
RecoveryInstanceDataReplicationInitiation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/RecoveryInstanceDataReplicationInitiationStep.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace drs {
22namespace Model {
23
30 public:
35
37
40 inline const Aws::String& GetStartDateTime() const { return m_startDateTime; }
41 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
42 template <typename StartDateTimeT = Aws::String>
43 void SetStartDateTime(StartDateTimeT&& value) {
44 m_startDateTimeHasBeenSet = true;
45 m_startDateTime = std::forward<StartDateTimeT>(value);
46 }
47 template <typename StartDateTimeT = Aws::String>
49 SetStartDateTime(std::forward<StartDateTimeT>(value));
50 return *this;
51 }
53
55
59 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
60 template <typename StepsT = Aws::Vector<RecoveryInstanceDataReplicationInitiationStep>>
61 void SetSteps(StepsT&& value) {
62 m_stepsHasBeenSet = true;
63 m_steps = std::forward<StepsT>(value);
64 }
65 template <typename StepsT = Aws::Vector<RecoveryInstanceDataReplicationInitiationStep>>
67 SetSteps(std::forward<StepsT>(value));
68 return *this;
69 }
70 template <typename StepsT = RecoveryInstanceDataReplicationInitiationStep>
72 m_stepsHasBeenSet = true;
73 m_steps.emplace_back(std::forward<StepsT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_startDateTime;
79
81 bool m_startDateTimeHasBeenSet = false;
82 bool m_stepsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace drs
87} // namespace Aws
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryInstanceDataReplicationInitiation & AddSteps(StepsT &&value)
RecoveryInstanceDataReplicationInitiation & WithStartDateTime(StartDateTimeT &&value)
const Aws::Vector< RecoveryInstanceDataReplicationInitiationStep > & GetSteps() const
AWS_DRS_API RecoveryInstanceDataReplicationInitiation(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API RecoveryInstanceDataReplicationInitiation & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryInstanceDataReplicationInitiation & WithSteps(StepsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue