AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetAccountID() const { return m_accountID; }
45 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
46 template<typename AccountIDT = Aws::String>
47 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet = true; m_accountID = std::forward<AccountIDT>(value); }
48 template<typename AccountIDT = Aws::String>
49 ImportErrorData& WithAccountID(AccountIDT&& value) { SetAccountID(std::forward<AccountIDT>(value)); return *this;}
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) { m_applicationIDHasBeenSet = true; m_applicationID = std::forward<ApplicationIDT>(value); }
60 template<typename ApplicationIDT = Aws::String>
61 ImportErrorData& WithApplicationID(ApplicationIDT&& value) { SetApplicationID(std::forward<ApplicationIDT>(value)); return *this;}
63
65
68 inline const Aws::String& GetEc2LaunchTemplateID() const { return m_ec2LaunchTemplateID; }
69 inline bool Ec2LaunchTemplateIDHasBeenSet() const { return m_ec2LaunchTemplateIDHasBeenSet; }
70 template<typename Ec2LaunchTemplateIDT = Aws::String>
71 void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) { m_ec2LaunchTemplateIDHasBeenSet = true; m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value); }
72 template<typename Ec2LaunchTemplateIDT = Aws::String>
73 ImportErrorData& WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) { SetEc2LaunchTemplateID(std::forward<Ec2LaunchTemplateIDT>(value)); return *this;}
75
77
80 inline const Aws::String& GetRawError() const { return m_rawError; }
81 inline bool RawErrorHasBeenSet() const { return m_rawErrorHasBeenSet; }
82 template<typename RawErrorT = Aws::String>
83 void SetRawError(RawErrorT&& value) { m_rawErrorHasBeenSet = true; m_rawError = std::forward<RawErrorT>(value); }
84 template<typename RawErrorT = Aws::String>
85 ImportErrorData& WithRawError(RawErrorT&& value) { SetRawError(std::forward<RawErrorT>(value)); return *this;}
87
89
92 inline long long GetRowNumber() const { return m_rowNumber; }
93 inline bool RowNumberHasBeenSet() const { return m_rowNumberHasBeenSet; }
94 inline void SetRowNumber(long long value) { m_rowNumberHasBeenSet = true; m_rowNumber = value; }
95 inline ImportErrorData& WithRowNumber(long long value) { SetRowNumber(value); return *this;}
97
99
102 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
103 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
104 template<typename SourceServerIDT = Aws::String>
105 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
106 template<typename SourceServerIDT = Aws::String>
107 ImportErrorData& WithSourceServerID(SourceServerIDT&& value) { SetSourceServerID(std::forward<SourceServerIDT>(value)); return *this;}
109
111
114 inline const Aws::String& GetWaveID() const { return m_waveID; }
115 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
116 template<typename WaveIDT = Aws::String>
117 void SetWaveID(WaveIDT&& value) { m_waveIDHasBeenSet = true; m_waveID = std::forward<WaveIDT>(value); }
118 template<typename WaveIDT = Aws::String>
119 ImportErrorData& WithWaveID(WaveIDT&& value) { SetWaveID(std::forward<WaveIDT>(value)); return *this;}
121 private:
122
123 Aws::String m_accountID;
124 bool m_accountIDHasBeenSet = false;
125
126 Aws::String m_applicationID;
127 bool m_applicationIDHasBeenSet = false;
128
129 Aws::String m_ec2LaunchTemplateID;
130 bool m_ec2LaunchTemplateIDHasBeenSet = false;
131
132 Aws::String m_rawError;
133 bool m_rawErrorHasBeenSet = false;
134
135 long long m_rowNumber{0};
136 bool m_rowNumberHasBeenSet = false;
137
138 Aws::String m_sourceServerID;
139 bool m_sourceServerIDHasBeenSet = false;
140
141 Aws::String m_waveID;
142 bool m_waveIDHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace mgn
147} // 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)
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