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/InstanceCreditSpecificationRequest.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "ModifyInstanceCreditSpecification"; }
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
65 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
87 bool m_dryRunHasBeenSet =
false;
90 bool m_clientTokenHasBeenSet =
false;
93 bool m_instanceCreditSpecificationsHasBeenSet =
false;
ModifyInstanceCreditSpecificationRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
void SetClientToken(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyInstanceCreditSpecificationRequest & WithInstanceCreditSpecifications(const Aws::Vector< InstanceCreditSpecificationRequest > &value)
AWS_EC2_API ModifyInstanceCreditSpecificationRequest()
void SetClientToken(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetInstanceCreditSpecifications(Aws::Vector< InstanceCreditSpecificationRequest > &&value)
const Aws::Vector< InstanceCreditSpecificationRequest > & GetInstanceCreditSpecifications() const
ModifyInstanceCreditSpecificationRequest & WithClientToken(const Aws::String &value)
void SetInstanceCreditSpecifications(const Aws::Vector< InstanceCreditSpecificationRequest > &value)
ModifyInstanceCreditSpecificationRequest & WithClientToken(Aws::String &&value)
ModifyInstanceCreditSpecificationRequest & WithInstanceCreditSpecifications(Aws::Vector< InstanceCreditSpecificationRequest > &&value)
bool DryRunHasBeenSet() const
ModifyInstanceCreditSpecificationRequest & AddInstanceCreditSpecifications(InstanceCreditSpecificationRequest &&value)
void SetDryRun(bool value)
bool InstanceCreditSpecificationsHasBeenSet() const
bool ClientTokenHasBeenSet() const
ModifyInstanceCreditSpecificationRequest & AddInstanceCreditSpecifications(const InstanceCreditSpecificationRequest &value)
ModifyInstanceCreditSpecificationRequest & WithClientToken(const char *value)
void SetClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector