7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
19namespace ObservabilityAdmin {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
66 template <
typename TypeT = Aws::String>
68 m_typeHasBeenSet =
true;
69 m_type = std::forward<TypeT>(value);
71 template <
typename TypeT = Aws::String>
73 SetType(std::forward<TypeT>(value));
81 bool m_nameHasBeenSet =
false;
82 bool m_typeHasBeenSet =
false;
DataSource & WithType(TypeT &&value)
void SetName(NameT &&value)
bool TypeHasBeenSet() const
AWS_OBSERVABILITYADMIN_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
AWS_OBSERVABILITYADMIN_API DataSource(Aws::Utils::Json::JsonView jsonValue)
void SetType(TypeT &&value)
const Aws::String & GetType() const
DataSource & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_OBSERVABILITYADMIN_API DataSource()=default
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue