AWS SDK for C++  1.9.74
AWS SDK for C++
GetAssociatedEnclaveCertificateIamRolesRequest.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 "GetAssociatedEnclaveCertificateIamRoles"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
44 
49  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
50 
55  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
56 
61  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
62 
67  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
68 
73  inline GetAssociatedEnclaveCertificateIamRolesRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
74 
79  inline GetAssociatedEnclaveCertificateIamRolesRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
80 
85  inline GetAssociatedEnclaveCertificateIamRolesRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
86 
87 
94  inline bool GetDryRun() const{ return m_dryRun; }
95 
102  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
103 
110  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
111 
118  inline GetAssociatedEnclaveCertificateIamRolesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
119 
120  private:
121 
122  Aws::String m_certificateArn;
123  bool m_certificateArnHasBeenSet;
124 
125  bool m_dryRun;
126  bool m_dryRunHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace EC2
131 } // namespace Aws
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::GetAssociatedEnclaveCertificateIamRolesRequest
GetAssociatedEnclaveCertificateIamRolesRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:55
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::WithCertificateArn
GetAssociatedEnclaveCertificateIamRolesRequest & WithCertificateArn(Aws::String &&value)
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:79
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::GetDryRun
bool GetDryRun() const
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:94
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::SetDryRun
void SetDryRun(bool value)
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:110
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::WithCertificateArn
GetAssociatedEnclaveCertificateIamRolesRequest & WithCertificateArn(const Aws::String &value)
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:73
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::WithDryRun
GetAssociatedEnclaveCertificateIamRolesRequest & WithDryRun(bool value)
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:118
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:43
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:67
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:30
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:102
EC2Request.h
AWSString.h
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::WithCertificateArn
GetAssociatedEnclaveCertificateIamRolesRequest & WithCertificateArn(const char *value)
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:85
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:49
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: GetAssociatedEnclaveCertificateIamRolesRequest.h:61
EC2_EXPORTS.h
Aws::EC2::Model::GetAssociatedEnclaveCertificateIamRolesRequest::SerializePayload
Aws::String SerializePayload() const override