7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticLoadBalancingv2
39 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
51 inline void SetMessageBody(
const char* value) { m_messageBodyHasBeenSet =
true; m_messageBody.assign(value); }
65 inline void SetStatusCode(
const char* value) { m_statusCodeHasBeenSet =
true; m_statusCode.assign(value); }
80 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
88 bool m_messageBodyHasBeenSet =
false;
91 bool m_statusCodeHasBeenSet =
false;
94 bool m_contentTypeHasBeenSet =
false;
bool StatusCodeHasBeenSet() const
void SetStatusCode(Aws::String &&value)
void SetMessageBody(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FixedResponseActionConfig & WithContentType(const Aws::String &value)
void SetStatusCode(const char *value)
FixedResponseActionConfig & WithStatusCode(const char *value)
FixedResponseActionConfig & WithContentType(const char *value)
FixedResponseActionConfig & WithContentType(Aws::String &&value)
AWS_ELASTICLOADBALANCINGV2_API FixedResponseActionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
FixedResponseActionConfig & WithMessageBody(const char *value)
FixedResponseActionConfig & WithStatusCode(Aws::String &&value)
void SetMessageBody(Aws::String &&value)
FixedResponseActionConfig & WithStatusCode(const Aws::String &value)
bool MessageBodyHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API FixedResponseActionConfig()
void SetStatusCode(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API FixedResponseActionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetContentType(const char *value)
const Aws::String & GetContentType() const
bool ContentTypeHasBeenSet() const
void SetContentType(const Aws::String &value)
const Aws::String & GetMessageBody() const
void SetContentType(Aws::String &&value)
FixedResponseActionConfig & WithMessageBody(const Aws::String &value)
const Aws::String & GetStatusCode() const
FixedResponseActionConfig & WithMessageBody(Aws::String &&value)
void SetMessageBody(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream