7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/AttributeFilter.h>
9#include <aws/application-signals/model/ChangeEvent.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace ApplicationSignals {
47 template <
typename AttributeFiltersT = Aws::Vector<AttributeFilter>>
49 m_attributeFiltersHasBeenSet =
true;
50 m_attributeFilters = std::forward<AttributeFiltersT>(value);
52 template <
typename AttributeFiltersT = Aws::Vector<AttributeFilter>>
57 template <
typename AttributeFiltersT = AttributeFilter>
59 m_attributeFiltersHasBeenSet =
true;
60 m_attributeFilters.emplace_back(std::forward<AttributeFiltersT>(value));
72 template <
typename ServiceT = Aws::Map<Aws::String, Aws::String>>
74 m_serviceHasBeenSet =
true;
75 m_service = std::forward<ServiceT>(value);
77 template <
typename ServiceT = Aws::Map<Aws::String, Aws::String>>
82 template <
typename ServiceKeyT = Aws::String,
typename ServiceValueT = Aws::String>
84 m_serviceHasBeenSet =
true;
85 m_service.emplace(std::forward<ServiceKeyT>(key), std::forward<ServiceValueT>(value));
98 template <
typename LatestChangeEventsT = Aws::Vector<ChangeEvent>>
100 m_latestChangeEventsHasBeenSet =
true;
101 m_latestChangeEvents = std::forward<LatestChangeEventsT>(value);
103 template <
typename LatestChangeEventsT = Aws::Vector<ChangeEvent>>
108 template <
typename LatestChangeEventsT = ChangeEvent>
110 m_latestChangeEventsHasBeenSet =
true;
111 m_latestChangeEvents.emplace_back(std::forward<LatestChangeEventsT>(value));
121 bool m_attributeFiltersHasBeenSet =
false;
122 bool m_serviceHasBeenSet =
false;
123 bool m_latestChangeEventsHasBeenSet =
false;
void SetLatestChangeEvents(LatestChangeEventsT &&value)
ServiceState & AddService(ServiceKeyT &&key, ServiceValueT &&value)
ServiceState & AddLatestChangeEvents(LatestChangeEventsT &&value)
void SetAttributeFilters(AttributeFiltersT &&value)
const Aws::Vector< ChangeEvent > & GetLatestChangeEvents() const
ServiceState & AddAttributeFilters(AttributeFiltersT &&value)
ServiceState & WithAttributeFilters(AttributeFiltersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetService() const
AWS_APPLICATIONSIGNALS_API ServiceState(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API ServiceState()=default
bool AttributeFiltersHasBeenSet() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AttributeFilter > & GetAttributeFilters() const
ServiceState & WithLatestChangeEvents(LatestChangeEventsT &&value)
bool ServiceHasBeenSet() const
void SetService(ServiceT &&value)
bool LatestChangeEventsHasBeenSet() const
AWS_APPLICATIONSIGNALS_API ServiceState & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceState & WithService(ServiceT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue