7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
30 inline virtual const char*
GetServiceRequestName()
const override {
return "AssociateEnclaveCertificateIamRole"; }
47 inline void SetCertificateArn(
const char* value) { m_certificateArnHasBeenSet =
true; m_certificateArn.assign(value); }
62 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
77 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
83 bool m_certificateArnHasBeenSet =
false;
86 bool m_roleArnHasBeenSet =
false;
89 bool m_dryRunHasBeenSet =
false;
void SetCertificateArn(const Aws::String &value)
void SetRoleArn(const char *value)
AWS_EC2_API AssociateEnclaveCertificateIamRoleRequest()
AssociateEnclaveCertificateIamRoleRequest & WithCertificateArn(const Aws::String &value)
bool CertificateArnHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AssociateEnclaveCertificateIamRoleRequest & WithCertificateArn(Aws::String &&value)
AssociateEnclaveCertificateIamRoleRequest & WithRoleArn(const Aws::String &value)
AssociateEnclaveCertificateIamRoleRequest & WithCertificateArn(const char *value)
void SetDryRun(bool value)
const Aws::String & GetCertificateArn() const
AssociateEnclaveCertificateIamRoleRequest & WithRoleArn(const char *value)
virtual const char * GetServiceRequestName() const override
bool DryRunHasBeenSet() const
bool RoleArnHasBeenSet() const
AssociateEnclaveCertificateIamRoleRequest & WithDryRun(bool value)
void SetRoleArn(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetRoleArn(const Aws::String &value)
AssociateEnclaveCertificateIamRoleRequest & WithRoleArn(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetCertificateArn(Aws::String &&value)
void SetCertificateArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String