7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/LaunchTemplateAndOverridesResponse.h>
10#include <aws/ec2/model/InstanceLifecycle.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
83 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
100 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
108 bool m_launchTemplateAndOverridesHasBeenSet =
false;
111 bool m_lifecycleHasBeenSet =
false;
114 bool m_errorCodeHasBeenSet =
false;
117 bool m_errorMessageHasBeenSet =
false;
AWS_EC2_API DescribeFleetError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LifecycleHasBeenSet() const
AWS_EC2_API DescribeFleetError()
DescribeFleetError & WithErrorMessage(Aws::String &&value)
DescribeFleetError & WithLaunchTemplateAndOverrides(const LaunchTemplateAndOverridesResponse &value)
void SetErrorCode(Aws::String &&value)
DescribeFleetError & WithLifecycle(const InstanceLifecycle &value)
void SetLaunchTemplateAndOverrides(LaunchTemplateAndOverridesResponse &&value)
void SetErrorCode(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DescribeFleetError & WithLaunchTemplateAndOverrides(LaunchTemplateAndOverridesResponse &&value)
void SetErrorMessage(const char *value)
DescribeFleetError & WithErrorCode(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
const LaunchTemplateAndOverridesResponse & GetLaunchTemplateAndOverrides() const
void SetLifecycle(InstanceLifecycle &&value)
const Aws::String & GetErrorMessage() const
void SetErrorMessage(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
DescribeFleetError & WithLifecycle(InstanceLifecycle &&value)
DescribeFleetError & WithErrorMessage(const Aws::String &value)
void SetLaunchTemplateAndOverrides(const LaunchTemplateAndOverridesResponse &value)
const InstanceLifecycle & GetLifecycle() const
const Aws::String & GetErrorCode() const
AWS_EC2_API DescribeFleetError(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DescribeFleetError & WithErrorCode(const char *value)
bool LaunchTemplateAndOverridesHasBeenSet() const
void SetLifecycle(const InstanceLifecycle &value)
DescribeFleetError & WithErrorCode(const Aws::String &value)
void SetErrorCode(const Aws::String &value)
DescribeFleetError & WithErrorMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream