7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/EnaSrdSpecification.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetNetworkCardIndex(
int value) { m_networkCardIndexHasBeenSet =
true; m_networkCardIndex = value; }
78 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
90 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
104 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
116 inline void SetDeviceIndex(
int value) { m_deviceIndexHasBeenSet =
true; m_deviceIndex = value; }
121 int m_networkCardIndex;
122 bool m_networkCardIndexHasBeenSet =
false;
125 bool m_enaSrdSpecificationHasBeenSet =
false;
128 bool m_dryRunHasBeenSet =
false;
131 bool m_networkInterfaceIdHasBeenSet =
false;
134 bool m_instanceIdHasBeenSet =
false;
137 bool m_deviceIndexHasBeenSet =
false;
bool NetworkCardIndexHasBeenSet() const
void SetDeviceIndex(int value)
AttachNetworkInterfaceRequest & WithDryRun(bool value)
bool EnaSrdSpecificationHasBeenSet() const
int GetNetworkCardIndex() const
const Aws::String & GetNetworkInterfaceId() const
AWS_EC2_API Aws::String SerializePayload() const override
const EnaSrdSpecification & GetEnaSrdSpecification() const
void SetNetworkCardIndex(int value)
bool DryRunHasBeenSet() const
AttachNetworkInterfaceRequest & WithInstanceId(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
AttachNetworkInterfaceRequest & WithInstanceId(Aws::String &&value)
AttachNetworkInterfaceRequest & WithInstanceId(const char *value)
void SetDryRun(bool value)
AttachNetworkInterfaceRequest & WithDeviceIndex(int value)
void SetInstanceId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetEnaSrdSpecification(EnaSrdSpecification &&value)
void SetInstanceId(const char *value)
AttachNetworkInterfaceRequest & WithEnaSrdSpecification(const EnaSrdSpecification &value)
void SetNetworkInterfaceId(const Aws::String &value)
bool InstanceIdHasBeenSet() const
bool DeviceIndexHasBeenSet() const
void SetNetworkInterfaceId(const char *value)
AttachNetworkInterfaceRequest & WithNetworkInterfaceId(Aws::String &&value)
AttachNetworkInterfaceRequest & WithNetworkCardIndex(int value)
AWS_EC2_API AttachNetworkInterfaceRequest()
AttachNetworkInterfaceRequest & WithNetworkInterfaceId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
int GetDeviceIndex() const
void SetNetworkInterfaceId(Aws::String &&value)
const Aws::String & GetInstanceId() const
void SetEnaSrdSpecification(const EnaSrdSpecification &value)
bool NetworkInterfaceIdHasBeenSet() const
AttachNetworkInterfaceRequest & WithEnaSrdSpecification(EnaSrdSpecification &&value)
AttachNetworkInterfaceRequest & WithNetworkInterfaceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String