AWS SDK for C++  1.9.72
AWS SDK for C++
ImportClientVpnClientCertificateRevocationListRequest.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 "ImportClientVpnClientCertificateRevocationList"; }
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& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
44 
49  inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
50 
55  inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
56 
61  inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
62 
67  inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
68 
73  inline ImportClientVpnClientCertificateRevocationListRequest& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;}
74 
79  inline ImportClientVpnClientCertificateRevocationListRequest& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;}
80 
85  inline ImportClientVpnClientCertificateRevocationListRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
86 
87 
94  inline const Aws::String& GetCertificateRevocationList() const{ return m_certificateRevocationList; }
95 
102  inline bool CertificateRevocationListHasBeenSet() const { return m_certificateRevocationListHasBeenSet; }
103 
110  inline void SetCertificateRevocationList(const Aws::String& value) { m_certificateRevocationListHasBeenSet = true; m_certificateRevocationList = value; }
111 
118  inline void SetCertificateRevocationList(Aws::String&& value) { m_certificateRevocationListHasBeenSet = true; m_certificateRevocationList = std::move(value); }
119 
126  inline void SetCertificateRevocationList(const char* value) { m_certificateRevocationListHasBeenSet = true; m_certificateRevocationList.assign(value); }
127 
134  inline ImportClientVpnClientCertificateRevocationListRequest& WithCertificateRevocationList(const Aws::String& value) { SetCertificateRevocationList(value); return *this;}
135 
142  inline ImportClientVpnClientCertificateRevocationListRequest& WithCertificateRevocationList(Aws::String&& value) { SetCertificateRevocationList(std::move(value)); return *this;}
143 
150  inline ImportClientVpnClientCertificateRevocationListRequest& WithCertificateRevocationList(const char* value) { SetCertificateRevocationList(value); return *this;}
151 
152 
159  inline bool GetDryRun() const{ return m_dryRun; }
160 
167  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
168 
175  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
176 
183  inline ImportClientVpnClientCertificateRevocationListRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
184 
185  private:
186 
187  Aws::String m_clientVpnEndpointId;
188  bool m_clientVpnEndpointIdHasBeenSet;
189 
190  Aws::String m_certificateRevocationList;
191  bool m_certificateRevocationListHasBeenSet;
192 
193  bool m_dryRun;
194  bool m_dryRunHasBeenSet;
195  };
196 
197 } // namespace Model
198 } // namespace EC2
199 } // namespace Aws
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::WithDryRun
ImportClientVpnClientCertificateRevocationListRequest & WithDryRun(bool value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:183
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::WithClientVpnEndpointId
ImportClientVpnClientCertificateRevocationListRequest & WithClientVpnEndpointId(Aws::String &&value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:79
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:167
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:22
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::WithClientVpnEndpointId
ImportClientVpnClientCertificateRevocationListRequest & WithClientVpnEndpointId(const Aws::String &value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:73
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:30
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::SetCertificateRevocationList
void SetCertificateRevocationList(const char *value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:126
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::GetDryRun
bool GetDryRun() const
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:159
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::WithClientVpnEndpointId
ImportClientVpnClientCertificateRevocationListRequest & WithClientVpnEndpointId(const char *value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:85
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::ImportClientVpnClientCertificateRevocationListRequest
ImportClientVpnClientCertificateRevocationListRequest()
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::SetDryRun
void SetDryRun(bool value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:175
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const Aws::String &value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:55
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::WithCertificateRevocationList
ImportClientVpnClientCertificateRevocationListRequest & WithCertificateRevocationList(const char *value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:150
EC2Request.h
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::ClientVpnEndpointIdHasBeenSet
bool ClientVpnEndpointIdHasBeenSet() const
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:49
AWSString.h
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::CertificateRevocationListHasBeenSet
bool CertificateRevocationListHasBeenSet() const
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:102
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const char *value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:67
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::GetCertificateRevocationList
const Aws::String & GetCertificateRevocationList() const
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:94
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::WithCertificateRevocationList
ImportClientVpnClientCertificateRevocationListRequest & WithCertificateRevocationList(const Aws::String &value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:134
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::Model::ImportClientVpnClientCertificateRevocationListRequest::GetClientVpnEndpointId
const Aws::String & GetClientVpnEndpointId() const
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:43
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::SetCertificateRevocationList
void SetCertificateRevocationList(Aws::String &&value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:118
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::SetCertificateRevocationList
void SetCertificateRevocationList(const Aws::String &value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:110
EC2_EXPORTS.h
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(Aws::String &&value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:61
Aws::EC2::Model::ImportClientVpnClientCertificateRevocationListRequest::WithCertificateRevocationList
ImportClientVpnClientCertificateRevocationListRequest & WithCertificateRevocationList(Aws::String &&value)
Definition: ImportClientVpnClientCertificateRevocationListRequest.h:142