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>
10#include <aws/ec2/model/SpotInstanceStateFault.h>
11#include <aws/ec2/model/DatafeedSubscriptionState.h>
53 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
79 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
93 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
113 bool m_bucketHasBeenSet =
false;
116 bool m_faultHasBeenSet =
false;
119 bool m_ownerIdHasBeenSet =
false;
122 bool m_prefixHasBeenSet =
false;
125 bool m_stateHasBeenSet =
false;
SpotDatafeedSubscription & WithPrefix(const Aws::String &value)
const Aws::String & GetBucket() const
void SetBucket(const char *value)
AWS_EC2_API SpotDatafeedSubscription(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOwnerId(const Aws::String &value)
bool StateHasBeenSet() const
SpotDatafeedSubscription & WithOwnerId(const char *value)
void SetFault(SpotInstanceStateFault &&value)
SpotDatafeedSubscription & WithFault(const SpotInstanceStateFault &value)
SpotDatafeedSubscription & WithPrefix(Aws::String &&value)
void SetFault(const SpotInstanceStateFault &value)
void SetState(DatafeedSubscriptionState &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetBucket(Aws::String &&value)
void SetPrefix(Aws::String &&value)
bool PrefixHasBeenSet() const
const Aws::String & GetPrefix() const
void SetPrefix(const Aws::String &value)
void SetState(const DatafeedSubscriptionState &value)
SpotDatafeedSubscription & WithBucket(const Aws::String &value)
SpotDatafeedSubscription & WithBucket(Aws::String &&value)
SpotDatafeedSubscription & WithOwnerId(const Aws::String &value)
void SetOwnerId(const char *value)
const SpotInstanceStateFault & GetFault() const
bool FaultHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool OwnerIdHasBeenSet() const
SpotDatafeedSubscription & WithState(const DatafeedSubscriptionState &value)
void SetOwnerId(Aws::String &&value)
SpotDatafeedSubscription & WithPrefix(const char *value)
AWS_EC2_API SpotDatafeedSubscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOwnerId() const
void SetBucket(const Aws::String &value)
const DatafeedSubscriptionState & GetState() const
SpotDatafeedSubscription & WithState(DatafeedSubscriptionState &&value)
SpotDatafeedSubscription & WithOwnerId(Aws::String &&value)
SpotDatafeedSubscription & WithBucket(const char *value)
void SetPrefix(const char *value)
AWS_EC2_API SpotDatafeedSubscription()
SpotDatafeedSubscription & WithFault(SpotInstanceStateFault &&value)
bool BucketHasBeenSet() const
DatafeedSubscriptionState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream