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/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mgn
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MGN_API JobLogEventData();
38
39
41
44 inline const Aws::String& GetConversionServerID() const{ return m_conversionServerID; }
45 inline bool ConversionServerIDHasBeenSet() const { return m_conversionServerIDHasBeenSet; }
46 inline void SetConversionServerID(const Aws::String& value) { m_conversionServerIDHasBeenSet = true; m_conversionServerID = value; }
47 inline void SetConversionServerID(Aws::String&& value) { m_conversionServerIDHasBeenSet = true; m_conversionServerID = std::move(value); }
48 inline void SetConversionServerID(const char* value) { m_conversionServerIDHasBeenSet = true; m_conversionServerID.assign(value); }
49 inline JobLogEventData& WithConversionServerID(const Aws::String& value) { SetConversionServerID(value); return *this;}
50 inline JobLogEventData& WithConversionServerID(Aws::String&& value) { SetConversionServerID(std::move(value)); return *this;}
51 inline JobLogEventData& WithConversionServerID(const char* value) { SetConversionServerID(value); return *this;}
53
55
58 inline const Aws::String& GetRawError() const{ return m_rawError; }
59 inline bool RawErrorHasBeenSet() const { return m_rawErrorHasBeenSet; }
60 inline void SetRawError(const Aws::String& value) { m_rawErrorHasBeenSet = true; m_rawError = value; }
61 inline void SetRawError(Aws::String&& value) { m_rawErrorHasBeenSet = true; m_rawError = std::move(value); }
62 inline void SetRawError(const char* value) { m_rawErrorHasBeenSet = true; m_rawError.assign(value); }
63 inline JobLogEventData& WithRawError(const Aws::String& value) { SetRawError(value); return *this;}
64 inline JobLogEventData& WithRawError(Aws::String&& value) { SetRawError(std::move(value)); return *this;}
65 inline JobLogEventData& WithRawError(const char* value) { SetRawError(value); return *this;}
67
69
72 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
73 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
74 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; }
75 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); }
76 inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); }
77 inline JobLogEventData& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;}
78 inline JobLogEventData& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
79 inline JobLogEventData& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
81
83
86 inline const Aws::String& GetTargetInstanceID() const{ return m_targetInstanceID; }
87 inline bool TargetInstanceIDHasBeenSet() const { return m_targetInstanceIDHasBeenSet; }
88 inline void SetTargetInstanceID(const Aws::String& value) { m_targetInstanceIDHasBeenSet = true; m_targetInstanceID = value; }
89 inline void SetTargetInstanceID(Aws::String&& value) { m_targetInstanceIDHasBeenSet = true; m_targetInstanceID = std::move(value); }
90 inline void SetTargetInstanceID(const char* value) { m_targetInstanceIDHasBeenSet = true; m_targetInstanceID.assign(value); }
91 inline JobLogEventData& WithTargetInstanceID(const Aws::String& value) { SetTargetInstanceID(value); return *this;}
92 inline JobLogEventData& WithTargetInstanceID(Aws::String&& value) { SetTargetInstanceID(std::move(value)); return *this;}
93 inline JobLogEventData& WithTargetInstanceID(const char* value) { SetTargetInstanceID(value); return *this;}
95 private:
96
97 Aws::String m_conversionServerID;
98 bool m_conversionServerIDHasBeenSet = false;
99
100 Aws::String m_rawError;
101 bool m_rawErrorHasBeenSet = false;
102
103 Aws::String m_sourceServerID;
104 bool m_sourceServerIDHasBeenSet = false;
105
106 Aws::String m_targetInstanceID;
107 bool m_targetInstanceIDHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace mgn
112} // namespace Aws
JobLogEventData & WithConversionServerID(const char *value)
void SetConversionServerID(const char *value)
JobLogEventData & WithRawError(const Aws::String &value)
void SetConversionServerID(const Aws::String &value)
JobLogEventData & WithConversionServerID(Aws::String &&value)
AWS_MGN_API JobLogEventData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetInstanceID(const Aws::String &value)
const Aws::String & GetConversionServerID() const
JobLogEventData & WithSourceServerID(const char *value)
JobLogEventData & WithTargetInstanceID(Aws::String &&value)
void SetConversionServerID(Aws::String &&value)
const Aws::String & GetSourceServerID() const
void SetTargetInstanceID(Aws::String &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetInstanceID(const char *value)
void SetSourceServerID(const char *value)
JobLogEventData & WithSourceServerID(Aws::String &&value)
void SetRawError(Aws::String &&value)
JobLogEventData & WithSourceServerID(const Aws::String &value)
const Aws::String & GetTargetInstanceID() const
AWS_MGN_API JobLogEventData(Aws::Utils::Json::JsonView jsonValue)
JobLogEventData & WithTargetInstanceID(const Aws::String &value)
JobLogEventData & WithTargetInstanceID(const char *value)
const Aws::String & GetRawError() const
void SetSourceServerID(Aws::String &&value)
JobLogEventData & WithRawError(const char *value)
void SetRawError(const Aws::String &value)
JobLogEventData & WithConversionServerID(const Aws::String &value)
JobLogEventData & WithRawError(Aws::String &&value)
void SetRawError(const char *value)
void SetSourceServerID(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue