AWS SDK for C++  1.9.67
AWS SDK for C++
DisassociateEnclaveCertificateIamRoleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EC2
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DisassociateEnclaveCertificateIamRole"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
43 
47  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
48 
52  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
53 
57  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
58 
62  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
63 
67  inline DisassociateEnclaveCertificateIamRoleRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
68 
72  inline DisassociateEnclaveCertificateIamRoleRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
73 
77  inline DisassociateEnclaveCertificateIamRoleRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
78 
79 
83  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
84 
88  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
89 
93  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
94 
98  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
99 
103  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
104 
108  inline DisassociateEnclaveCertificateIamRoleRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
109 
113  inline DisassociateEnclaveCertificateIamRoleRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
114 
118  inline DisassociateEnclaveCertificateIamRoleRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
119 
120 
127  inline bool GetDryRun() const{ return m_dryRun; }
128 
135  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
136 
143  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
144 
151  inline DisassociateEnclaveCertificateIamRoleRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
152 
153  private:
154 
155  Aws::String m_certificateArn;
156  bool m_certificateArnHasBeenSet;
157 
158  Aws::String m_roleArn;
159  bool m_roleArnHasBeenSet;
160 
161  bool m_dryRun;
162  bool m_dryRunHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace EC2
167 } // namespace Aws
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:52
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:88
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::WithCertificateArn
DisassociateEnclaveCertificateIamRoleRequest & WithCertificateArn(Aws::String &&value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:72
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:22
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:42
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::WithRoleArn
DisassociateEnclaveCertificateIamRoleRequest & WithRoleArn(const char *value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:118
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::WithDryRun
DisassociateEnclaveCertificateIamRoleRequest & WithDryRun(bool value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:151
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::WithCertificateArn
DisassociateEnclaveCertificateIamRoleRequest & WithCertificateArn(const Aws::String &value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:67
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::GetDryRun
bool GetDryRun() const
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:127
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:57
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:62
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::WithRoleArn
DisassociateEnclaveCertificateIamRoleRequest & WithRoleArn(Aws::String &&value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:113
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:83
EC2Request.h
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:47
AWSString.h
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::WithCertificateArn
DisassociateEnclaveCertificateIamRoleRequest & WithCertificateArn(const char *value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:77
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:93
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:135
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:30
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:103
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::SetDryRun
void SetDryRun(bool value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:143
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::DisassociateEnclaveCertificateIamRoleRequest
DisassociateEnclaveCertificateIamRoleRequest()
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::WithRoleArn
DisassociateEnclaveCertificateIamRoleRequest & WithRoleArn(const Aws::String &value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DisassociateEnclaveCertificateIamRoleRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DisassociateEnclaveCertificateIamRoleRequest.h:98
EC2_EXPORTS.h