7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/DestinationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 m_typeHasBeenSet =
true;
62 template <
typename LocationT = Aws::String>
64 m_locationHasBeenSet =
true;
65 m_location = std::forward<LocationT>(value);
67 template <
typename LocationT = Aws::String>
77 bool m_typeHasBeenSet =
false;
78 bool m_locationHasBeenSet =
false;
bool TypeHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDTRAIL_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationType GetType() const
Destination & WithLocation(LocationT &&value)
void SetType(DestinationType value)
bool LocationHasBeenSet() const
void SetLocation(LocationT &&value)
Destination & WithType(DestinationType value)
const Aws::String & GetLocation() const
AWS_CLOUDTRAIL_API Destination(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API Destination()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue