7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
19namespace ResilienceHub {
40 template <
typename LogicalResourceIdT = Aws::String>
42 m_logicalResourceIdHasBeenSet =
true;
43 m_logicalResourceId = std::forward<LogicalResourceIdT>(value);
45 template <
typename LogicalResourceIdT = Aws::String>
58 template <
typename PhysicalResourceIdT = Aws::String>
60 m_physicalResourceIdHasBeenSet =
true;
61 m_physicalResourceId = std::forward<PhysicalResourceIdT>(value);
63 template <
typename PhysicalResourceIdT = Aws::String>
76 template <
typename ReasonT = Aws::String>
78 m_reasonHasBeenSet =
true;
79 m_reason = std::forward<ReasonT>(value);
81 template <
typename ReasonT = Aws::String>
93 bool m_logicalResourceIdHasBeenSet =
false;
94 bool m_physicalResourceIdHasBeenSet =
false;
95 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