7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ResilienceHub
46 template<
typename LogicalResourceIdT = Aws::String>
47 void SetLogicalResourceId(LogicalResourceIdT&& value) { m_logicalResourceIdHasBeenSet =
true; m_logicalResourceId = std::forward<LogicalResourceIdT>(value); }
48 template<
typename LogicalResourceIdT = Aws::String>
58 template<
typename PhysicalResourceIdT = Aws::String>
59 void SetPhysicalResourceId(PhysicalResourceIdT&& value) { m_physicalResourceIdHasBeenSet =
true; m_physicalResourceId = std::forward<PhysicalResourceIdT>(value); }
60 template<
typename PhysicalResourceIdT = Aws::String>
70 template<
typename ReasonT = Aws::String>
71 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
72 template<
typename ReasonT = Aws::String>
78 bool m_logicalResourceIdHasBeenSet =
false;
81 bool m_physicalResourceIdHasBeenSet =
false;
84 bool m_reasonHasBeenSet =
false;
ResourceError & WithLogicalResourceId(LogicalResourceIdT &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPhysicalResourceId() const
AWS_RESILIENCEHUB_API ResourceError & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLogicalResourceId() const
bool PhysicalResourceIdHasBeenSet() const
const Aws::String & GetReason() const
bool ReasonHasBeenSet() const
AWS_RESILIENCEHUB_API ResourceError()=default
ResourceError & WithPhysicalResourceId(PhysicalResourceIdT &&value)
void SetPhysicalResourceId(PhysicalResourceIdT &&value)
AWS_RESILIENCEHUB_API ResourceError(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ReasonT &&value)
void SetLogicalResourceId(LogicalResourceIdT &&value)
ResourceError & WithReason(ReasonT &&value)
bool LogicalResourceIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue