7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/LocationType.h>
48 m_typeHasBeenSet =
true;
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
79 bool m_typeHasBeenSet =
false;
82 bool m_nameHasBeenSet =
false;
bool TypeHasBeenSet() const
void SetType(LocationType value)
LocationInfo & WithType(LocationType value)
AWS_S3_API LocationInfo()=default
AWS_S3_API LocationInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
LocationType GetType() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
LocationInfo & WithName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
AWS_S3_API LocationInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String