7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
19namespace CloudWatchLogs {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename TypeT = Aws::String>
62 m_typeHasBeenSet =
true;
63 m_type = std::forward<TypeT>(value);
65 template <
typename TypeT = Aws::String>
67 SetType(std::forward<TypeT>(value));
75 bool m_nameHasBeenSet =
false;
76 bool m_typeHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API DataSource()=default
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
DataSource & WithName(NameT &&value)
DataSource & WithType(TypeT &&value)
void SetType(TypeT &&value)
bool TypeHasBeenSet() const
bool NameHasBeenSet() const
AWS_CLOUDWATCHLOGS_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetType() const
AWS_CLOUDWATCHLOGS_API DataSource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue