7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9#include <aws/resiliencehub/model/FieldAggregationType.h>
20namespace ResilienceHub {
31 AWS_RESILIENCEHUB_API
Field() =
default;
45 m_aggregationHasBeenSet =
true;
46 m_aggregation = value;
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
75 bool m_aggregationHasBeenSet =
false;
76 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