7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/UnsuccessfulInstanceCreditSpecificationItemError.h>
52 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
73 bool m_instanceIdHasBeenSet =
false;
76 bool m_errorHasBeenSet =
false;
AWS_EC2_API UnsuccessfulInstanceCreditSpecificationItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInstanceId(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const UnsuccessfulInstanceCreditSpecificationItemError & GetError() const
UnsuccessfulInstanceCreditSpecificationItem & WithError(const UnsuccessfulInstanceCreditSpecificationItemError &value)
UnsuccessfulInstanceCreditSpecificationItem & WithInstanceId(Aws::String &&value)
UnsuccessfulInstanceCreditSpecificationItem & WithInstanceId(const Aws::String &value)
bool ErrorHasBeenSet() const
void SetError(const UnsuccessfulInstanceCreditSpecificationItemError &value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetInstanceId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API UnsuccessfulInstanceCreditSpecificationItem(const Aws::Utils::Xml::XmlNode &xmlNode)
UnsuccessfulInstanceCreditSpecificationItem & WithInstanceId(const char *value)
void SetError(UnsuccessfulInstanceCreditSpecificationItemError &&value)
void SetInstanceId(const char *value)
UnsuccessfulInstanceCreditSpecificationItem & WithError(UnsuccessfulInstanceCreditSpecificationItemError &&value)
AWS_EC2_API UnsuccessfulInstanceCreditSpecificationItem()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream