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>
47 template<
typename InstanceIdT = Aws::String>
48 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
49 template<
typename InstanceIdT = Aws::String>
85 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
91 bool m_instanceIdHasBeenSet =
false;
94 bool m_keyTypeHasBeenSet =
false;
97 bool m_keyFormatHasBeenSet =
false;
100 bool m_dryRunHasBeenSet =
false;
void SetKeyType(EkPubKeyType value)
EkPubKeyFormat GetKeyFormat() const
EkPubKeyType GetKeyType() const
AWS_EC2_API Aws::String SerializePayload() const override
GetInstanceTpmEkPubRequest & WithInstanceId(InstanceIdT &&value)
void SetKeyFormat(EkPubKeyFormat value)
GetInstanceTpmEkPubRequest & WithKeyType(EkPubKeyType value)
AWS_EC2_API GetInstanceTpmEkPubRequest()=default
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
const Aws::String & GetInstanceId() const
GetInstanceTpmEkPubRequest & WithDryRun(bool value)
GetInstanceTpmEkPubRequest & WithKeyFormat(EkPubKeyFormat value)
bool InstanceIdHasBeenSet() const
bool DryRunHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool KeyTypeHasBeenSet() const
bool KeyFormatHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String