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;
const InstanceLifecycle & GetLifecycle() const
void SetLifecycle(InstanceLifecycle &&value)
const Aws::String & GetErrorCode() const
CreateFleetError & WithErrorMessage(const Aws::String &value)
void SetLaunchTemplateAndOverrides(LaunchTemplateAndOverridesResponse &&value)
CreateFleetError & WithErrorCode(const char *value)
CreateFleetError & WithLaunchTemplateAndOverrides(const LaunchTemplateAndOverridesResponse &value)
CreateFleetError & WithErrorCode(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
void SetLaunchTemplateAndOverrides(const LaunchTemplateAndOverridesResponse &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CreateFleetError & WithLifecycle(InstanceLifecycle &&value)
void SetErrorCode(const char *value)
bool ErrorCodeHasBeenSet() const
CreateFleetError & WithErrorMessage(const char *value)
void SetErrorCode(Aws::String &&value)
bool LaunchTemplateAndOverridesHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
CreateFleetError & WithLaunchTemplateAndOverrides(LaunchTemplateAndOverridesResponse &&value)
const LaunchTemplateAndOverridesResponse & GetLaunchTemplateAndOverrides() const
void SetErrorMessage(const char *value)
AWS_EC2_API CreateFleetError()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API CreateFleetError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetErrorCode(const Aws::String &value)
bool LifecycleHasBeenSet() const
void SetErrorMessage(Aws::String &&value)
CreateFleetError & WithErrorCode(const Aws::String &value)
CreateFleetError & WithLifecycle(const InstanceLifecycle &value)
const Aws::String & GetErrorMessage() const
AWS_EC2_API CreateFleetError(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLifecycle(const InstanceLifecycle &value)
CreateFleetError & WithErrorMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream