7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/DestinationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
66 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
74 bool m_typeHasBeenSet =
false;
77 bool m_locationHasBeenSet =
false;
bool TypeHasBeenSet() const
void SetType(DestinationType &&value)
AWS_CLOUDTRAIL_API Destination()
Destination & WithLocation(const char *value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDTRAIL_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
const DestinationType & GetType() const
void SetLocation(const char *value)
Destination & WithType(const DestinationType &value)
void SetType(const DestinationType &value)
bool LocationHasBeenSet() const
void SetLocation(const Aws::String &value)
Destination & WithType(DestinationType &&value)
Destination & WithLocation(const Aws::String &value)
const Aws::String & GetLocation() const
void SetLocation(Aws::String &&value)
AWS_CLOUDTRAIL_API Destination(Aws::Utils::Json::JsonView jsonValue)
Destination & WithLocation(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue