AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecoveryInstanceDataReplicationInitiation.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/drs/model/RecoveryInstanceDataReplicationInitiationStep.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 drs
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const Aws::String& GetStartDateTime() const{ return m_startDateTime; }
47 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
48 inline void SetStartDateTime(const Aws::String& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
49 inline void SetStartDateTime(Aws::String&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
50 inline void SetStartDateTime(const char* value) { m_startDateTimeHasBeenSet = true; m_startDateTime.assign(value); }
53 inline RecoveryInstanceDataReplicationInitiation& WithStartDateTime(const char* value) { SetStartDateTime(value); return *this;}
55
57
61 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
62 inline void SetSteps(const Aws::Vector<RecoveryInstanceDataReplicationInitiationStep>& value) { m_stepsHasBeenSet = true; m_steps = value; }
63 inline void SetSteps(Aws::Vector<RecoveryInstanceDataReplicationInitiationStep>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
66 inline RecoveryInstanceDataReplicationInitiation& AddSteps(const RecoveryInstanceDataReplicationInitiationStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
67 inline RecoveryInstanceDataReplicationInitiation& AddSteps(RecoveryInstanceDataReplicationInitiationStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_startDateTime;
72 bool m_startDateTimeHasBeenSet = false;
73
75 bool m_stepsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace drs
80} // namespace Aws
RecoveryInstanceDataReplicationInitiation & WithSteps(Aws::Vector< RecoveryInstanceDataReplicationInitiationStep > &&value)
RecoveryInstanceDataReplicationInitiation & AddSteps(const RecoveryInstanceDataReplicationInitiationStep &value)
RecoveryInstanceDataReplicationInitiation & WithSteps(const Aws::Vector< RecoveryInstanceDataReplicationInitiationStep > &value)
RecoveryInstanceDataReplicationInitiation & WithStartDateTime(Aws::String &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryInstanceDataReplicationInitiation & WithStartDateTime(const char *value)
void SetSteps(Aws::Vector< RecoveryInstanceDataReplicationInitiationStep > &&value)
RecoveryInstanceDataReplicationInitiation & AddSteps(RecoveryInstanceDataReplicationInitiationStep &&value)
const Aws::Vector< RecoveryInstanceDataReplicationInitiationStep > & GetSteps() const
RecoveryInstanceDataReplicationInitiation & WithStartDateTime(const Aws::String &value)
void SetSteps(const Aws::Vector< RecoveryInstanceDataReplicationInitiationStep > &value)
AWS_DRS_API RecoveryInstanceDataReplicationInitiation(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API RecoveryInstanceDataReplicationInitiation & 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