7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/ContainerServiceStateDetailCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
85 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
93 bool m_codeHasBeenSet =
false;
96 bool m_messageHasBeenSet =
false;
ContainerServiceStateDetail & WithMessage(Aws::String &&value)
const ContainerServiceStateDetailCode & GetCode() const
void SetCode(ContainerServiceStateDetailCode &&value)
void SetMessage(Aws::String &&value)
void SetMessage(const char *value)
void SetCode(const ContainerServiceStateDetailCode &value)
AWS_LIGHTSAIL_API ContainerServiceStateDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
ContainerServiceStateDetail & WithCode(const ContainerServiceStateDetailCode &value)
ContainerServiceStateDetail & WithMessage(const Aws::String &value)
const Aws::String & GetMessage() const
ContainerServiceStateDetail & WithMessage(const char *value)
AWS_LIGHTSAIL_API ContainerServiceStateDetail()
AWS_LIGHTSAIL_API ContainerServiceStateDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
bool CodeHasBeenSet() const
ContainerServiceStateDetail & WithCode(ContainerServiceStateDetailCode &&value)
ContainerServiceStateDetailCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue