7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename ServiceErrorIdT = Aws::String>
47 void SetServiceErrorId(ServiceErrorIdT&& value) { m_serviceErrorIdHasBeenSet =
true; m_serviceErrorId = std::forward<ServiceErrorIdT>(value); }
48 template<
typename ServiceErrorIdT = Aws::String>
58 template<
typename StackIdT = Aws::String>
59 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
60 template<
typename StackIdT = Aws::String>
70 template<
typename InstanceIdT = Aws::String>
71 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
72 template<
typename InstanceIdT = Aws::String>
82 template<
typename TypeT = Aws::String>
83 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
84 template<
typename TypeT = Aws::String>
94 template<
typename MessageT = Aws::String>
95 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
96 template<
typename MessageT = Aws::String>
106 template<
typename CreatedAtT = Aws::String>
107 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
108 template<
typename CreatedAtT = Aws::String>
114 bool m_serviceErrorIdHasBeenSet =
false;
117 bool m_stackIdHasBeenSet =
false;
120 bool m_instanceIdHasBeenSet =
false;
123 bool m_typeHasBeenSet =
false;
126 bool m_messageHasBeenSet =
false;
129 bool m_createdAtHasBeenSet =
false;
bool TypeHasBeenSet() const
bool MessageHasBeenSet() const
ServiceError & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetCreatedAt() const
void SetMessage(MessageT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool InstanceIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetType() const
AWS_OPSWORKS_API ServiceError(Aws::Utils::Json::JsonView jsonValue)
ServiceError & WithStackId(StackIdT &&value)
const Aws::String & GetServiceErrorId() const
void SetInstanceId(InstanceIdT &&value)
bool ServiceErrorIdHasBeenSet() const
void SetType(TypeT &&value)
const Aws::String & GetInstanceId() const
ServiceError & WithServiceErrorId(ServiceErrorIdT &&value)
void SetServiceErrorId(ServiceErrorIdT &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StackIdHasBeenSet() const
AWS_OPSWORKS_API ServiceError()=default
const Aws::String & GetStackId() const
AWS_OPSWORKS_API ServiceError & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceError & WithInstanceId(InstanceIdT &&value)
ServiceError & WithMessage(MessageT &&value)
void SetStackId(StackIdT &&value)
const Aws::String & GetMessage() const
ServiceError & WithType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue