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>
50 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
63 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
64 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
72 bool m_bucketHasBeenSet =
false;
75 bool m_keyHasBeenSet =
false;
void SetBucket(const char *value)
void SetKey(const Aws::String &value)
void SetKey(Aws::String &&value)
bool KeyHasBeenSet() const
bool BucketHasBeenSet() const
AWS_EC2_API StorageLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API StorageLocation()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StorageLocation & WithKey(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StorageLocation & WithKey(const char *value)
StorageLocation & WithBucket(const char *value)
void SetKey(const char *value)
const Aws::String & GetKey() const
const Aws::String & GetBucket() const
void SetBucket(const Aws::String &value)
AWS_EC2_API StorageLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
StorageLocation & WithKey(const Aws::String &value)
StorageLocation & WithBucket(Aws::String &&value)
void SetBucket(Aws::String &&value)
StorageLocation & WithBucket(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream