AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobLogEventData.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/ConversionProperties.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/drs/model/EventResourceData.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:
36 AWS_DRS_API JobLogEventData();
40
41
43
46 inline const ConversionProperties& GetConversionProperties() const{ return m_conversionProperties; }
47 inline bool ConversionPropertiesHasBeenSet() const { return m_conversionPropertiesHasBeenSet; }
48 inline void SetConversionProperties(const ConversionProperties& value) { m_conversionPropertiesHasBeenSet = true; m_conversionProperties = value; }
49 inline void SetConversionProperties(ConversionProperties&& value) { m_conversionPropertiesHasBeenSet = true; m_conversionProperties = std::move(value); }
51 inline JobLogEventData& WithConversionProperties(ConversionProperties&& value) { SetConversionProperties(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetConversionServerID() const{ return m_conversionServerID; }
59 inline bool ConversionServerIDHasBeenSet() const { return m_conversionServerIDHasBeenSet; }
60 inline void SetConversionServerID(const Aws::String& value) { m_conversionServerIDHasBeenSet = true; m_conversionServerID = value; }
61 inline void SetConversionServerID(Aws::String&& value) { m_conversionServerIDHasBeenSet = true; m_conversionServerID = std::move(value); }
62 inline void SetConversionServerID(const char* value) { m_conversionServerIDHasBeenSet = true; m_conversionServerID.assign(value); }
63 inline JobLogEventData& WithConversionServerID(const Aws::String& value) { SetConversionServerID(value); return *this;}
64 inline JobLogEventData& WithConversionServerID(Aws::String&& value) { SetConversionServerID(std::move(value)); return *this;}
65 inline JobLogEventData& WithConversionServerID(const char* value) { SetConversionServerID(value); return *this;}
67
69
72 inline const EventResourceData& GetEventResourceData() const{ return m_eventResourceData; }
73 inline bool EventResourceDataHasBeenSet() const { return m_eventResourceDataHasBeenSet; }
74 inline void SetEventResourceData(const EventResourceData& value) { m_eventResourceDataHasBeenSet = true; m_eventResourceData = value; }
75 inline void SetEventResourceData(EventResourceData&& value) { m_eventResourceDataHasBeenSet = true; m_eventResourceData = std::move(value); }
76 inline JobLogEventData& WithEventResourceData(const EventResourceData& value) { SetEventResourceData(value); return *this;}
77 inline JobLogEventData& WithEventResourceData(EventResourceData&& value) { SetEventResourceData(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetRawError() const{ return m_rawError; }
85 inline bool RawErrorHasBeenSet() const { return m_rawErrorHasBeenSet; }
86 inline void SetRawError(const Aws::String& value) { m_rawErrorHasBeenSet = true; m_rawError = value; }
87 inline void SetRawError(Aws::String&& value) { m_rawErrorHasBeenSet = true; m_rawError = std::move(value); }
88 inline void SetRawError(const char* value) { m_rawErrorHasBeenSet = true; m_rawError.assign(value); }
89 inline JobLogEventData& WithRawError(const Aws::String& value) { SetRawError(value); return *this;}
90 inline JobLogEventData& WithRawError(Aws::String&& value) { SetRawError(std::move(value)); return *this;}
91 inline JobLogEventData& WithRawError(const char* value) { SetRawError(value); return *this;}
93
95
98 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
99 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
100 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; }
101 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); }
102 inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); }
103 inline JobLogEventData& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;}
104 inline JobLogEventData& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
105 inline JobLogEventData& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
107
109
112 inline const Aws::String& GetTargetInstanceID() const{ return m_targetInstanceID; }
113 inline bool TargetInstanceIDHasBeenSet() const { return m_targetInstanceIDHasBeenSet; }
114 inline void SetTargetInstanceID(const Aws::String& value) { m_targetInstanceIDHasBeenSet = true; m_targetInstanceID = value; }
115 inline void SetTargetInstanceID(Aws::String&& value) { m_targetInstanceIDHasBeenSet = true; m_targetInstanceID = std::move(value); }
116 inline void SetTargetInstanceID(const char* value) { m_targetInstanceIDHasBeenSet = true; m_targetInstanceID.assign(value); }
117 inline JobLogEventData& WithTargetInstanceID(const Aws::String& value) { SetTargetInstanceID(value); return *this;}
118 inline JobLogEventData& WithTargetInstanceID(Aws::String&& value) { SetTargetInstanceID(std::move(value)); return *this;}
119 inline JobLogEventData& WithTargetInstanceID(const char* value) { SetTargetInstanceID(value); return *this;}
121 private:
122
123 ConversionProperties m_conversionProperties;
124 bool m_conversionPropertiesHasBeenSet = false;
125
126 Aws::String m_conversionServerID;
127 bool m_conversionServerIDHasBeenSet = false;
128
129 EventResourceData m_eventResourceData;
130 bool m_eventResourceDataHasBeenSet = false;
131
132 Aws::String m_rawError;
133 bool m_rawErrorHasBeenSet = false;
134
135 Aws::String m_sourceServerID;
136 bool m_sourceServerIDHasBeenSet = false;
137
138 Aws::String m_targetInstanceID;
139 bool m_targetInstanceIDHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace drs
144} // namespace Aws
JobLogEventData & WithTargetInstanceID(const Aws::String &value)
JobLogEventData & WithConversionServerID(const Aws::String &value)
void SetConversionProperties(ConversionProperties &&value)
void SetTargetInstanceID(Aws::String &&value)
const EventResourceData & GetEventResourceData() const
const Aws::String & GetConversionServerID() const
void SetConversionServerID(const Aws::String &value)
void SetSourceServerID(const Aws::String &value)
JobLogEventData & WithConversionServerID(Aws::String &&value)
void SetConversionServerID(const char *value)
void SetTargetInstanceID(const char *value)
void SetTargetInstanceID(const Aws::String &value)
JobLogEventData & WithSourceServerID(Aws::String &&value)
JobLogEventData & WithTargetInstanceID(const char *value)
JobLogEventData & WithRawError(const char *value)
JobLogEventData & WithEventResourceData(const EventResourceData &value)
void SetRawError(const Aws::String &value)
AWS_DRS_API JobLogEventData & operator=(Aws::Utils::Json::JsonView jsonValue)
JobLogEventData & WithSourceServerID(const Aws::String &value)
void SetRawError(const char *value)
JobLogEventData & WithRawError(const Aws::String &value)
JobLogEventData & WithEventResourceData(EventResourceData &&value)
JobLogEventData & WithConversionProperties(const ConversionProperties &value)
JobLogEventData & WithSourceServerID(const char *value)
void SetSourceServerID(Aws::String &&value)
void SetRawError(Aws::String &&value)
AWS_DRS_API JobLogEventData(Aws::Utils::Json::JsonView jsonValue)
const ConversionProperties & GetConversionProperties() const
void SetConversionProperties(const ConversionProperties &value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
JobLogEventData & WithConversionProperties(ConversionProperties &&value)
JobLogEventData & WithRawError(Aws::String &&value)
void SetConversionServerID(Aws::String &&value)
void SetEventResourceData(const EventResourceData &value)
const Aws::String & GetRawError() const
const Aws::String & GetTargetInstanceID() const
void SetEventResourceData(EventResourceData &&value)
JobLogEventData & WithTargetInstanceID(Aws::String &&value)
JobLogEventData & WithConversionServerID(const char *value)
void SetSourceServerID(const char *value)
const Aws::String & GetSourceServerID() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue