7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
95 template<
typename TypeT = Aws::String>
96 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
97 template<
typename TypeT = Aws::String>
135 template<
typename ValuesT = Aws::Vector<Aws::String>>
136 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
137 template<
typename ValuesT = Aws::Vector<Aws::String>>
139 template<
typename ValuesT = Aws::String>
140 DataResource&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
145 bool m_typeHasBeenSet =
false;
148 bool m_valuesHasBeenSet =
false;
void SetValues(ValuesT &&value)
bool TypeHasBeenSet() const
DataResource & AddValues(ValuesT &&value)
const Aws::String & GetType() const
AWS_CLOUDTRAIL_API DataResource(Aws::Utils::Json::JsonView jsonValue)
DataResource & WithType(TypeT &&value)
AWS_CLOUDTRAIL_API DataResource()=default
const Aws::Vector< Aws::String > & GetValues() const
DataResource & WithValues(ValuesT &&value)
void SetType(TypeT &&value)
AWS_CLOUDTRAIL_API DataResource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValuesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue