AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
JobLogEventData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9#include <aws/drs/model/ConversionProperties.h>
10#include <aws/drs/model/EventResourceData.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:
31 AWS_DRS_API JobLogEventData() = default;
35
37
40 inline const ConversionProperties& GetConversionProperties() const { return m_conversionProperties; }
41 inline bool ConversionPropertiesHasBeenSet() const { return m_conversionPropertiesHasBeenSet; }
42 template <typename ConversionPropertiesT = ConversionProperties>
43 void SetConversionProperties(ConversionPropertiesT&& value) {
44 m_conversionPropertiesHasBeenSet = true;
45 m_conversionProperties = std::forward<ConversionPropertiesT>(value);
46 }
47 template <typename ConversionPropertiesT = ConversionProperties>
48 JobLogEventData& WithConversionProperties(ConversionPropertiesT&& value) {
49 SetConversionProperties(std::forward<ConversionPropertiesT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetConversionServerID() const { return m_conversionServerID; }
59 inline bool ConversionServerIDHasBeenSet() const { return m_conversionServerIDHasBeenSet; }
60 template <typename ConversionServerIDT = Aws::String>
61 void SetConversionServerID(ConversionServerIDT&& value) {
62 m_conversionServerIDHasBeenSet = true;
63 m_conversionServerID = std::forward<ConversionServerIDT>(value);
64 }
65 template <typename ConversionServerIDT = Aws::String>
66 JobLogEventData& WithConversionServerID(ConversionServerIDT&& value) {
67 SetConversionServerID(std::forward<ConversionServerIDT>(value));
68 return *this;
69 }
71
73
76 inline const EventResourceData& GetEventResourceData() const { return m_eventResourceData; }
77 inline bool EventResourceDataHasBeenSet() const { return m_eventResourceDataHasBeenSet; }
78 template <typename EventResourceDataT = EventResourceData>
79 void SetEventResourceData(EventResourceDataT&& value) {
80 m_eventResourceDataHasBeenSet = true;
81 m_eventResourceData = std::forward<EventResourceDataT>(value);
82 }
83 template <typename EventResourceDataT = EventResourceData>
84 JobLogEventData& WithEventResourceData(EventResourceDataT&& value) {
85 SetEventResourceData(std::forward<EventResourceDataT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetRawError() const { return m_rawError; }
95 inline bool RawErrorHasBeenSet() const { return m_rawErrorHasBeenSet; }
96 template <typename RawErrorT = Aws::String>
97 void SetRawError(RawErrorT&& value) {
98 m_rawErrorHasBeenSet = true;
99 m_rawError = std::forward<RawErrorT>(value);
100 }
101 template <typename RawErrorT = Aws::String>
102 JobLogEventData& WithRawError(RawErrorT&& value) {
103 SetRawError(std::forward<RawErrorT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
113 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
114 template <typename SourceServerIDT = Aws::String>
115 void SetSourceServerID(SourceServerIDT&& value) {
116 m_sourceServerIDHasBeenSet = true;
117 m_sourceServerID = std::forward<SourceServerIDT>(value);
118 }
119 template <typename SourceServerIDT = Aws::String>
120 JobLogEventData& WithSourceServerID(SourceServerIDT&& value) {
121 SetSourceServerID(std::forward<SourceServerIDT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetTargetInstanceID() const { return m_targetInstanceID; }
131 inline bool TargetInstanceIDHasBeenSet() const { return m_targetInstanceIDHasBeenSet; }
132 template <typename TargetInstanceIDT = Aws::String>
133 void SetTargetInstanceID(TargetInstanceIDT&& value) {
134 m_targetInstanceIDHasBeenSet = true;
135 m_targetInstanceID = std::forward<TargetInstanceIDT>(value);
136 }
137 template <typename TargetInstanceIDT = Aws::String>
138 JobLogEventData& WithTargetInstanceID(TargetInstanceIDT&& value) {
139 SetTargetInstanceID(std::forward<TargetInstanceIDT>(value));
140 return *this;
141 }
143 private:
144 ConversionProperties m_conversionProperties;
145
146 Aws::String m_conversionServerID;
147
148 EventResourceData m_eventResourceData;
149
150 Aws::String m_rawError;
151
152 Aws::String m_sourceServerID;
153
154 Aws::String m_targetInstanceID;
155 bool m_conversionPropertiesHasBeenSet = false;
156 bool m_conversionServerIDHasBeenSet = false;
157 bool m_eventResourceDataHasBeenSet = false;
158 bool m_rawErrorHasBeenSet = false;
159 bool m_sourceServerIDHasBeenSet = false;
160 bool m_targetInstanceIDHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace drs
165} // namespace Aws
JobLogEventData & WithRawError(RawErrorT &&value)
JobLogEventData & WithSourceServerID(SourceServerIDT &&value)
void SetTargetInstanceID(TargetInstanceIDT &&value)
const EventResourceData & GetEventResourceData() const
const Aws::String & GetConversionServerID() const
void SetRawError(RawErrorT &&value)
void SetEventResourceData(EventResourceDataT &&value)
void SetConversionServerID(ConversionServerIDT &&value)
AWS_DRS_API JobLogEventData & operator=(Aws::Utils::Json::JsonView jsonValue)
JobLogEventData & WithEventResourceData(EventResourceDataT &&value)
AWS_DRS_API JobLogEventData(Aws::Utils::Json::JsonView jsonValue)
const ConversionProperties & GetConversionProperties() const
JobLogEventData & WithTargetInstanceID(TargetInstanceIDT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
JobLogEventData & WithConversionProperties(ConversionPropertiesT &&value)
const Aws::String & GetRawError() const
const Aws::String & GetTargetInstanceID() const
AWS_DRS_API JobLogEventData()=default
void SetConversionProperties(ConversionPropertiesT &&value)
JobLogEventData & WithConversionServerID(ConversionServerIDT &&value)
void SetSourceServerID(SourceServerIDT &&value)
const Aws::String & GetSourceServerID() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue