7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/IdleRecommendationResourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ComputeOptimizer {
42 template <
typename IdentifierT = Aws::String>
44 m_identifierHasBeenSet =
true;
45 m_identifier = std::forward<IdentifierT>(value);
47 template <
typename IdentifierT = Aws::String>
60 template <
typename CodeT = Aws::String>
62 m_codeHasBeenSet =
true;
63 m_code = std::forward<CodeT>(value);
65 template <
typename CodeT = Aws::String>
67 SetCode(std::forward<CodeT>(value));
78 template <
typename MessageT = Aws::String>
80 m_messageHasBeenSet =
true;
81 m_message = std::forward<MessageT>(value);
83 template <
typename MessageT = Aws::String>
97 m_resourceTypeHasBeenSet =
true;
98 m_resourceType = value;
113 bool m_identifierHasBeenSet =
false;
114 bool m_codeHasBeenSet =
false;
115 bool m_messageHasBeenSet =
false;
116 bool m_resourceTypeHasBeenSet =
false;
void SetIdentifier(IdentifierT &&value)
AWS_COMPUTEOPTIMIZER_API IdleRecommendationError(Aws::Utils::Json::JsonView jsonValue)
bool ResourceTypeHasBeenSet() const
void SetCode(CodeT &&value)
bool IdentifierHasBeenSet() const
IdleRecommendationError & WithMessage(MessageT &&value)
const Aws::String & GetCode() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(IdleRecommendationResourceType value)
AWS_COMPUTEOPTIMIZER_API IdleRecommendationError()=default
IdleRecommendationError & WithIdentifier(IdentifierT &&value)
const Aws::String & GetMessage() const
bool CodeHasBeenSet() const
const Aws::String & GetIdentifier() const
bool MessageHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API IdleRecommendationError & operator=(Aws::Utils::Json::JsonView jsonValue)
IdleRecommendationResourceType GetResourceType() const
IdleRecommendationError & WithResourceType(IdleRecommendationResourceType value)
void SetMessage(MessageT &&value)
IdleRecommendationError & WithCode(CodeT &&value)
IdleRecommendationResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue