7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename BucketT = Aws::String>
49 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
50 template<
typename BucketT = Aws::String>
60 template<
typename KeyT = Aws::String>
61 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
62 template<
typename KeyT = Aws::String>
68 bool m_bucketHasBeenSet =
false;
71 bool m_keyHasBeenSet =
false;
StorageLocation & WithKey(KeyT &&value)
bool KeyHasBeenSet() const
bool BucketHasBeenSet() const
AWS_EC2_API StorageLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetBucket(BucketT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetKey() const
const Aws::String & GetBucket() const
AWS_EC2_API StorageLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKey(KeyT &&value)
StorageLocation & WithBucket(BucketT &&value)
AWS_EC2_API StorageLocation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream