7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/model/FieldAggregationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ResilienceHub
36 AWS_RESILIENCEHUB_API
Field() =
default;
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
68 bool m_aggregationHasBeenSet =
false;
71 bool m_nameHasBeenSet =
false;
bool NameHasBeenSet() const
AWS_RESILIENCEHUB_API Field()=default
void SetAggregation(FieldAggregationType value)
const Aws::String & GetName() const
void SetName(NameT &&value)
AWS_RESILIENCEHUB_API Field(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API Field & operator=(Aws::Utils::Json::JsonView jsonValue)
Field & WithName(NameT &&value)
Field & WithAggregation(FieldAggregationType value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool AggregationHasBeenSet() const
FieldAggregationType GetAggregation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue