7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/PurchaseRequest.h>
13#include <aws/core/utils/UUID.h>
57 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
72 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
92 bool m_clientTokenHasBeenSet =
false;
95 bool m_dryRunHasBeenSet =
false;
98 bool m_purchaseRequestsHasBeenSet =
false;
bool DryRunHasBeenSet() const
AWS_EC2_API PurchaseScheduledInstancesRequest()
PurchaseScheduledInstancesRequest & WithDryRun(bool value)
PurchaseScheduledInstancesRequest & WithClientToken(const char *value)
PurchaseScheduledInstancesRequest & WithPurchaseRequests(const Aws::Vector< PurchaseRequest > &value)
void SetPurchaseRequests(const Aws::Vector< PurchaseRequest > &value)
const Aws::String & GetClientToken() const
void SetClientToken(const char *value)
PurchaseScheduledInstancesRequest & WithClientToken(Aws::String &&value)
PurchaseScheduledInstancesRequest & AddPurchaseRequests(const PurchaseRequest &value)
void SetClientToken(Aws::String &&value)
void SetDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
PurchaseScheduledInstancesRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(const Aws::String &value)
void SetPurchaseRequests(Aws::Vector< PurchaseRequest > &&value)
bool ClientTokenHasBeenSet() const
PurchaseScheduledInstancesRequest & WithPurchaseRequests(Aws::Vector< PurchaseRequest > &&value)
bool PurchaseRequestsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< PurchaseRequest > & GetPurchaseRequests() const
PurchaseScheduledInstancesRequest & AddPurchaseRequests(PurchaseRequest &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector