7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/HaStatus.h>
13#include <aws/ec2/model/SqlServerLicenseUsage.h>
14#include <aws/ec2/model/Tag.h>
48 template <
typename InstanceIdT = Aws::String>
50 m_instanceIdHasBeenSet =
true;
51 m_instanceId = std::forward<InstanceIdT>(value);
53 template <
typename InstanceIdT = Aws::String>
71 m_sqlServerLicenseUsageHasBeenSet =
true;
72 m_sqlServerLicenseUsage = value;
97 m_haStatusHasBeenSet =
true;
114 template <
typename ProcessingStatusT = Aws::String>
116 m_processingStatusHasBeenSet =
true;
117 m_processingStatus = std::forward<ProcessingStatusT>(value);
119 template <
typename ProcessingStatusT = Aws::String>
134 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
136 m_lastUpdatedTimeHasBeenSet =
true;
137 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
139 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
155 template <
typename SqlServerCredentialsT = Aws::String>
157 m_sqlServerCredentialsHasBeenSet =
true;
158 m_sqlServerCredentials = std::forward<SqlServerCredentialsT>(value);
160 template <
typename SqlServerCredentialsT = Aws::String>
173 template <
typename TagsT = Aws::Vector<Tag>>
175 m_tagsHasBeenSet =
true;
176 m_tags = std::forward<TagsT>(value);
178 template <
typename TagsT = Aws::Vector<Tag>>
180 SetTags(std::forward<TagsT>(value));
183 template <
typename TagsT = Tag>
185 m_tagsHasBeenSet =
true;
186 m_tags.emplace_back(std::forward<TagsT>(value));
204 bool m_instanceIdHasBeenSet =
false;
205 bool m_sqlServerLicenseUsageHasBeenSet =
false;
206 bool m_haStatusHasBeenSet =
false;
207 bool m_processingStatusHasBeenSet =
false;
208 bool m_lastUpdatedTimeHasBeenSet =
false;
209 bool m_sqlServerCredentialsHasBeenSet =
false;
210 bool m_tagsHasBeenSet =
false;
void SetProcessingStatus(ProcessingStatusT &&value)
bool ProcessingStatusHasBeenSet() const
RegisteredInstance & WithSqlServerCredentials(SqlServerCredentialsT &&value)
HaStatus GetHaStatus() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSqlServerLicenseUsage(SqlServerLicenseUsage value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetInstanceId(InstanceIdT &&value)
AWS_EC2_API RegisteredInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetInstanceId() const
bool InstanceIdHasBeenSet() const
AWS_EC2_API RegisteredInstance()=default
bool TagsHasBeenSet() const
bool HaStatusHasBeenSet() const
bool SqlServerCredentialsHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
RegisteredInstance & WithProcessingStatus(ProcessingStatusT &&value)
RegisteredInstance & WithTags(TagsT &&value)
const Aws::String & GetSqlServerCredentials() const
AWS_EC2_API RegisteredInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSqlServerCredentials(SqlServerCredentialsT &&value)
RegisteredInstance & AddTags(TagsT &&value)
RegisteredInstance & WithLastUpdatedTime(LastUpdatedTimeT &&value)
SqlServerLicenseUsage GetSqlServerLicenseUsage() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SqlServerLicenseUsageHasBeenSet() const
RegisteredInstance & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetProcessingStatus() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
RegisteredInstance & WithHaStatus(HaStatus value)
RegisteredInstance & WithSqlServerLicenseUsage(SqlServerLicenseUsage value)
void SetHaStatus(HaStatus value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream