AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportErrorData.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 ImportErrorData();
38
39
41
44 inline const Aws::String& GetAccountID() const{ return m_accountID; }
45 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
46 inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; }
47 inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); }
48 inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); }
49 inline ImportErrorData& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;}
50 inline ImportErrorData& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;}
51 inline ImportErrorData& WithAccountID(const char* value) { SetAccountID(value); return *this;}
53
55
58 inline const Aws::String& GetApplicationID() const{ return m_applicationID; }
59 inline bool ApplicationIDHasBeenSet() const { return m_applicationIDHasBeenSet; }
60 inline void SetApplicationID(const Aws::String& value) { m_applicationIDHasBeenSet = true; m_applicationID = value; }
61 inline void SetApplicationID(Aws::String&& value) { m_applicationIDHasBeenSet = true; m_applicationID = std::move(value); }
62 inline void SetApplicationID(const char* value) { m_applicationIDHasBeenSet = true; m_applicationID.assign(value); }
63 inline ImportErrorData& WithApplicationID(const Aws::String& value) { SetApplicationID(value); return *this;}
64 inline ImportErrorData& WithApplicationID(Aws::String&& value) { SetApplicationID(std::move(value)); return *this;}
65 inline ImportErrorData& WithApplicationID(const char* value) { SetApplicationID(value); return *this;}
67
69
72 inline const Aws::String& GetEc2LaunchTemplateID() const{ return m_ec2LaunchTemplateID; }
73 inline bool Ec2LaunchTemplateIDHasBeenSet() const { return m_ec2LaunchTemplateIDHasBeenSet; }
74 inline void SetEc2LaunchTemplateID(const Aws::String& value) { m_ec2LaunchTemplateIDHasBeenSet = true; m_ec2LaunchTemplateID = value; }
75 inline void SetEc2LaunchTemplateID(Aws::String&& value) { m_ec2LaunchTemplateIDHasBeenSet = true; m_ec2LaunchTemplateID = std::move(value); }
76 inline void SetEc2LaunchTemplateID(const char* value) { m_ec2LaunchTemplateIDHasBeenSet = true; m_ec2LaunchTemplateID.assign(value); }
77 inline ImportErrorData& WithEc2LaunchTemplateID(const Aws::String& value) { SetEc2LaunchTemplateID(value); return *this;}
78 inline ImportErrorData& WithEc2LaunchTemplateID(Aws::String&& value) { SetEc2LaunchTemplateID(std::move(value)); return *this;}
79 inline ImportErrorData& WithEc2LaunchTemplateID(const char* value) { SetEc2LaunchTemplateID(value); return *this;}
81
83
86 inline const Aws::String& GetRawError() const{ return m_rawError; }
87 inline bool RawErrorHasBeenSet() const { return m_rawErrorHasBeenSet; }
88 inline void SetRawError(const Aws::String& value) { m_rawErrorHasBeenSet = true; m_rawError = value; }
89 inline void SetRawError(Aws::String&& value) { m_rawErrorHasBeenSet = true; m_rawError = std::move(value); }
90 inline void SetRawError(const char* value) { m_rawErrorHasBeenSet = true; m_rawError.assign(value); }
91 inline ImportErrorData& WithRawError(const Aws::String& value) { SetRawError(value); return *this;}
92 inline ImportErrorData& WithRawError(Aws::String&& value) { SetRawError(std::move(value)); return *this;}
93 inline ImportErrorData& WithRawError(const char* value) { SetRawError(value); return *this;}
95
97
100 inline long long GetRowNumber() const{ return m_rowNumber; }
101 inline bool RowNumberHasBeenSet() const { return m_rowNumberHasBeenSet; }
102 inline void SetRowNumber(long long value) { m_rowNumberHasBeenSet = true; m_rowNumber = value; }
103 inline ImportErrorData& WithRowNumber(long long value) { SetRowNumber(value); return *this;}
105
107
110 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
111 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
112 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; }
113 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); }
114 inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); }
115 inline ImportErrorData& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;}
116 inline ImportErrorData& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
117 inline ImportErrorData& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
119
121
124 inline const Aws::String& GetWaveID() const{ return m_waveID; }
125 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
126 inline void SetWaveID(const Aws::String& value) { m_waveIDHasBeenSet = true; m_waveID = value; }
127 inline void SetWaveID(Aws::String&& value) { m_waveIDHasBeenSet = true; m_waveID = std::move(value); }
128 inline void SetWaveID(const char* value) { m_waveIDHasBeenSet = true; m_waveID.assign(value); }
129 inline ImportErrorData& WithWaveID(const Aws::String& value) { SetWaveID(value); return *this;}
130 inline ImportErrorData& WithWaveID(Aws::String&& value) { SetWaveID(std::move(value)); return *this;}
131 inline ImportErrorData& WithWaveID(const char* value) { SetWaveID(value); return *this;}
133 private:
134
135 Aws::String m_accountID;
136 bool m_accountIDHasBeenSet = false;
137
138 Aws::String m_applicationID;
139 bool m_applicationIDHasBeenSet = false;
140
141 Aws::String m_ec2LaunchTemplateID;
142 bool m_ec2LaunchTemplateIDHasBeenSet = false;
143
144 Aws::String m_rawError;
145 bool m_rawErrorHasBeenSet = false;
146
147 long long m_rowNumber;
148 bool m_rowNumberHasBeenSet = false;
149
150 Aws::String m_sourceServerID;
151 bool m_sourceServerIDHasBeenSet = false;
152
153 Aws::String m_waveID;
154 bool m_waveIDHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace mgn
159} // namespace Aws
ImportErrorData & WithRawError(const char *value)
ImportErrorData & WithRawError(Aws::String &&value)
void SetWaveID(const char *value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
ImportErrorData & WithWaveID(const char *value)
void SetRowNumber(long long value)
void SetWaveID(Aws::String &&value)
void SetEc2LaunchTemplateID(const char *value)
void SetAccountID(Aws::String &&value)
ImportErrorData & WithRowNumber(long long value)
ImportErrorData & WithApplicationID(const Aws::String &value)
ImportErrorData & WithRawError(const Aws::String &value)
void SetAccountID(const char *value)
void SetSourceServerID(const char *value)
const Aws::String & GetSourceServerID() const
AWS_MGN_API ImportErrorData & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportErrorData & WithAccountID(const char *value)
void SetRawError(const char *value)
void SetEc2LaunchTemplateID(Aws::String &&value)
ImportErrorData & WithEc2LaunchTemplateID(Aws::String &&value)
void SetSourceServerID(const Aws::String &value)
const Aws::String & GetApplicationID() const
AWS_MGN_API ImportErrorData(Aws::Utils::Json::JsonView jsonValue)
ImportErrorData & WithEc2LaunchTemplateID(const Aws::String &value)
ImportErrorData & WithSourceServerID(const char *value)
void SetApplicationID(const Aws::String &value)
void SetEc2LaunchTemplateID(const Aws::String &value)
void SetWaveID(const Aws::String &value)
ImportErrorData & WithSourceServerID(Aws::String &&value)
void SetRawError(Aws::String &&value)
const Aws::String & GetRawError() const
ImportErrorData & WithApplicationID(const char *value)
ImportErrorData & WithAccountID(const Aws::String &value)
ImportErrorData & WithWaveID(const Aws::String &value)
const Aws::String & GetEc2LaunchTemplateID() const
const Aws::String & GetAccountID() const
ImportErrorData & WithAccountID(Aws::String &&value)
void SetSourceServerID(Aws::String &&value)
ImportErrorData & WithApplicationID(Aws::String &&value)
ImportErrorData & WithSourceServerID(const Aws::String &value)
ImportErrorData & WithWaveID(Aws::String &&value)
void SetApplicationID(const char *value)
ImportErrorData & WithEc2LaunchTemplateID(const char *value)
const Aws::String & GetWaveID() const
void SetApplicationID(Aws::String &&value)
void SetAccountID(const Aws::String &value)
void SetRawError(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue