7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-sap/model/RuleResultStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
83 template<
typename MessageT = Aws::String>
84 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
85 template<
typename MessageT = Aws::String>
95 template<
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
96 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
97 template<
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
99 template<
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
101 m_metadataHasBeenSet =
true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
return *
this;
107 bool m_idHasBeenSet =
false;
110 bool m_descriptionHasBeenSet =
false;
113 bool m_statusHasBeenSet =
false;
116 bool m_messageHasBeenSet =
false;
119 bool m_metadataHasBeenSet =
false;
const Aws::String & GetId() const
void SetStatus(RuleResultStatus value)
bool StatusHasBeenSet() const
void SetDescription(DescriptionT &&value)
RuleResult & WithMetadata(MetadataT &&value)
RuleResult & WithStatus(RuleResultStatus value)
AWS_SSMSAP_API RuleResult()=default
void SetMessage(MessageT &&value)
RuleResult & WithId(IdT &&value)
void SetMetadata(MetadataT &&value)
AWS_SSMSAP_API RuleResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
RuleResultStatus GetStatus() const
bool IdHasBeenSet() const
bool DescriptionHasBeenSet() const
RuleResult & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
RuleResult & WithDescription(DescriptionT &&value)
bool MetadataHasBeenSet() const
const Aws::String & GetDescription() const
bool MessageHasBeenSet() const
AWS_SSMSAP_API RuleResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
RuleResult & WithMessage(MessageT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue