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>
89 template <
typename TypeT = Aws::String>
91 m_typeHasBeenSet =
true;
92 m_type = std::forward<TypeT>(value);
94 template <
typename TypeT = Aws::String>
96 SetType(std::forward<TypeT>(value));
135 template <
typename ValuesT = Aws::Vector<Aws::String>>
137 m_valuesHasBeenSet =
true;
138 m_values = std::forward<ValuesT>(value);
140 template <
typename ValuesT = Aws::Vector<Aws::String>>
145 template <
typename ValuesT = Aws::String>
147 m_valuesHasBeenSet =
true;
148 m_values.emplace_back(std::forward<ValuesT>(value));
156 bool m_typeHasBeenSet =
false;
157 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