AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ImportErrorData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mgn {
20namespace Model {
21
28 public:
29 AWS_MGN_API ImportErrorData() = default;
33
35
38 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
39 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
40 template <typename SourceServerIDT = Aws::String>
41 void SetSourceServerID(SourceServerIDT&& value) {
42 m_sourceServerIDHasBeenSet = true;
43 m_sourceServerID = std::forward<SourceServerIDT>(value);
44 }
45 template <typename SourceServerIDT = Aws::String>
46 ImportErrorData& WithSourceServerID(SourceServerIDT&& value) {
47 SetSourceServerID(std::forward<SourceServerIDT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetApplicationID() const { return m_applicationID; }
57 inline bool ApplicationIDHasBeenSet() const { return m_applicationIDHasBeenSet; }
58 template <typename ApplicationIDT = Aws::String>
59 void SetApplicationID(ApplicationIDT&& value) {
60 m_applicationIDHasBeenSet = true;
61 m_applicationID = std::forward<ApplicationIDT>(value);
62 }
63 template <typename ApplicationIDT = Aws::String>
64 ImportErrorData& WithApplicationID(ApplicationIDT&& value) {
65 SetApplicationID(std::forward<ApplicationIDT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetWaveID() const { return m_waveID; }
75 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
76 template <typename WaveIDT = Aws::String>
77 void SetWaveID(WaveIDT&& value) {
78 m_waveIDHasBeenSet = true;
79 m_waveID = std::forward<WaveIDT>(value);
80 }
81 template <typename WaveIDT = Aws::String>
82 ImportErrorData& WithWaveID(WaveIDT&& value) {
83 SetWaveID(std::forward<WaveIDT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetEc2LaunchTemplateID() const { return m_ec2LaunchTemplateID; }
93 inline bool Ec2LaunchTemplateIDHasBeenSet() const { return m_ec2LaunchTemplateIDHasBeenSet; }
94 template <typename Ec2LaunchTemplateIDT = Aws::String>
95 void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) {
96 m_ec2LaunchTemplateIDHasBeenSet = true;
97 m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value);
98 }
99 template <typename Ec2LaunchTemplateIDT = Aws::String>
100 ImportErrorData& WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) {
101 SetEc2LaunchTemplateID(std::forward<Ec2LaunchTemplateIDT>(value));
102 return *this;
103 }
105
107
110 inline long long GetRowNumber() const { return m_rowNumber; }
111 inline bool RowNumberHasBeenSet() const { return m_rowNumberHasBeenSet; }
112 inline void SetRowNumber(long long value) {
113 m_rowNumberHasBeenSet = true;
114 m_rowNumber = value;
115 }
116 inline ImportErrorData& WithRowNumber(long long value) {
117 SetRowNumber(value);
118 return *this;
119 }
121
123
126 inline const Aws::String& GetRawError() const { return m_rawError; }
127 inline bool RawErrorHasBeenSet() const { return m_rawErrorHasBeenSet; }
128 template <typename RawErrorT = Aws::String>
129 void SetRawError(RawErrorT&& value) {
130 m_rawErrorHasBeenSet = true;
131 m_rawError = std::forward<RawErrorT>(value);
132 }
133 template <typename RawErrorT = Aws::String>
134 ImportErrorData& WithRawError(RawErrorT&& value) {
135 SetRawError(std::forward<RawErrorT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetAccountID() const { return m_accountID; }
145 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
146 template <typename AccountIDT = Aws::String>
147 void SetAccountID(AccountIDT&& value) {
148 m_accountIDHasBeenSet = true;
149 m_accountID = std::forward<AccountIDT>(value);
150 }
151 template <typename AccountIDT = Aws::String>
152 ImportErrorData& WithAccountID(AccountIDT&& value) {
153 SetAccountID(std::forward<AccountIDT>(value));
154 return *this;
155 }
157 private:
158 Aws::String m_sourceServerID;
159
160 Aws::String m_applicationID;
161
162 Aws::String m_waveID;
163
164 Aws::String m_ec2LaunchTemplateID;
165
166 long long m_rowNumber{0};
167
168 Aws::String m_rawError;
169
170 Aws::String m_accountID;
171 bool m_sourceServerIDHasBeenSet = false;
172 bool m_applicationIDHasBeenSet = false;
173 bool m_waveIDHasBeenSet = false;
174 bool m_ec2LaunchTemplateIDHasBeenSet = false;
175 bool m_rowNumberHasBeenSet = false;
176 bool m_rawErrorHasBeenSet = false;
177 bool m_accountIDHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace mgn
182} // namespace Aws
void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
void SetSourceServerID(SourceServerIDT &&value)
AWS_MGN_API ImportErrorData()=default
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRowNumber(long long value)
void SetWaveID(WaveIDT &&value)
ImportErrorData & WithApplicationID(ApplicationIDT &&value)
ImportErrorData & WithRowNumber(long long value)
ImportErrorData & WithSourceServerID(SourceServerIDT &&value)
ImportErrorData & WithWaveID(WaveIDT &&value)
const Aws::String & GetSourceServerID() const
AWS_MGN_API ImportErrorData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApplicationID(ApplicationIDT &&value)
ImportErrorData & WithAccountID(AccountIDT &&value)
const Aws::String & GetApplicationID() const
void SetRawError(RawErrorT &&value)
AWS_MGN_API ImportErrorData(Aws::Utils::Json::JsonView jsonValue)
ImportErrorData & WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
ImportErrorData & WithRawError(RawErrorT &&value)
void SetAccountID(AccountIDT &&value)
const Aws::String & GetRawError() const
const Aws::String & GetEc2LaunchTemplateID() const
const Aws::String & GetAccountID() const
const Aws::String & GetWaveID() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue