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>
51 template<
typename BucketT = Aws::String>
52 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
53 template<
typename BucketT = Aws::String>
63 template<
typename FaultT = SpotInstanceStateFault>
64 void SetFault(FaultT&& value) { m_faultHasBeenSet =
true; m_fault = std::forward<FaultT>(value); }
65 template<
typename FaultT = SpotInstanceStateFault>
75 template<
typename OwnerIdT = Aws::String>
76 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
77 template<
typename OwnerIdT = Aws::String>
87 template<
typename PrefixT = Aws::String>
88 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
89 template<
typename PrefixT = Aws::String>
105 bool m_bucketHasBeenSet =
false;
108 bool m_faultHasBeenSet =
false;
111 bool m_ownerIdHasBeenSet =
false;
114 bool m_prefixHasBeenSet =
false;
117 bool m_stateHasBeenSet =
false;
const Aws::String & GetBucket() const
SpotDatafeedSubscription & WithBucket(BucketT &&value)
AWS_EC2_API SpotDatafeedSubscription(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StateHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetBucket(BucketT &&value)
SpotDatafeedSubscription & WithState(DatafeedSubscriptionState value)
bool PrefixHasBeenSet() const
void SetFault(FaultT &&value)
const Aws::String & GetPrefix() const
void SetState(DatafeedSubscriptionState value)
SpotDatafeedSubscription & WithFault(FaultT &&value)
const SpotInstanceStateFault & GetFault() const
AWS_EC2_API SpotDatafeedSubscription()=default
bool FaultHasBeenSet() const
SpotDatafeedSubscription & WithPrefix(PrefixT &&value)
void SetOwnerId(OwnerIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool OwnerIdHasBeenSet() const
DatafeedSubscriptionState GetState() const
AWS_EC2_API SpotDatafeedSubscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOwnerId() const
void SetPrefix(PrefixT &&value)
SpotDatafeedSubscription & WithOwnerId(OwnerIdT &&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