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/ec2/model/EkPubKeyType.h>
11#include <aws/ec2/model/EkPubKeyFormat.h>
49 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
91 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
97 bool m_instanceIdHasBeenSet =
false;
100 bool m_keyTypeHasBeenSet =
false;
103 bool m_keyFormatHasBeenSet =
false;
106 bool m_dryRunHasBeenSet =
false;
GetInstanceTpmEkPubRequest & WithKeyType(EkPubKeyType &&value)
void SetKeyFormat(EkPubKeyFormat &&value)
void SetInstanceId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
GetInstanceTpmEkPubRequest & WithInstanceId(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
void SetKeyFormat(const EkPubKeyFormat &value)
GetInstanceTpmEkPubRequest & WithKeyType(const EkPubKeyType &value)
const EkPubKeyFormat & GetKeyFormat() const
virtual const char * GetServiceRequestName() const override
AWS_EC2_API GetInstanceTpmEkPubRequest()
void SetDryRun(bool value)
const Aws::String & GetInstanceId() const
GetInstanceTpmEkPubRequest & WithDryRun(bool value)
GetInstanceTpmEkPubRequest & WithKeyFormat(EkPubKeyFormat &&value)
bool InstanceIdHasBeenSet() const
bool DryRunHasBeenSet() const
GetInstanceTpmEkPubRequest & WithInstanceId(const char *value)
const EkPubKeyType & GetKeyType() const
void SetKeyType(const EkPubKeyType &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetInstanceTpmEkPubRequest & WithInstanceId(const Aws::String &value)
bool KeyTypeHasBeenSet() const
bool KeyFormatHasBeenSet() const
GetInstanceTpmEkPubRequest & WithKeyFormat(const EkPubKeyFormat &value)
void SetInstanceId(const char *value)
void SetKeyType(EkPubKeyType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String