AWS SDK for C++  1.8.152
AWS SDK for C++
RegisterCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DirectoryService
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "RegisterCertificate"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
43 
47  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
48 
52  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
53 
57  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
58 
62  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
63 
67  inline RegisterCertificateRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
68 
72  inline RegisterCertificateRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
73 
77  inline RegisterCertificateRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
78 
79 
83  inline const Aws::String& GetCertificateData() const{ return m_certificateData; }
84 
88  inline bool CertificateDataHasBeenSet() const { return m_certificateDataHasBeenSet; }
89 
93  inline void SetCertificateData(const Aws::String& value) { m_certificateDataHasBeenSet = true; m_certificateData = value; }
94 
98  inline void SetCertificateData(Aws::String&& value) { m_certificateDataHasBeenSet = true; m_certificateData = std::move(value); }
99 
103  inline void SetCertificateData(const char* value) { m_certificateDataHasBeenSet = true; m_certificateData.assign(value); }
104 
108  inline RegisterCertificateRequest& WithCertificateData(const Aws::String& value) { SetCertificateData(value); return *this;}
109 
113  inline RegisterCertificateRequest& WithCertificateData(Aws::String&& value) { SetCertificateData(std::move(value)); return *this;}
114 
118  inline RegisterCertificateRequest& WithCertificateData(const char* value) { SetCertificateData(value); return *this;}
119 
120 
126  inline const CertificateType& GetType() const{ return m_type; }
127 
133  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
134 
140  inline void SetType(const CertificateType& value) { m_typeHasBeenSet = true; m_type = value; }
141 
147  inline void SetType(CertificateType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
148 
154  inline RegisterCertificateRequest& WithType(const CertificateType& value) { SetType(value); return *this;}
155 
161  inline RegisterCertificateRequest& WithType(CertificateType&& value) { SetType(std::move(value)); return *this;}
162 
163 
168  inline const ClientCertAuthSettings& GetClientCertAuthSettings() const{ return m_clientCertAuthSettings; }
169 
174  inline bool ClientCertAuthSettingsHasBeenSet() const { return m_clientCertAuthSettingsHasBeenSet; }
175 
180  inline void SetClientCertAuthSettings(const ClientCertAuthSettings& value) { m_clientCertAuthSettingsHasBeenSet = true; m_clientCertAuthSettings = value; }
181 
186  inline void SetClientCertAuthSettings(ClientCertAuthSettings&& value) { m_clientCertAuthSettingsHasBeenSet = true; m_clientCertAuthSettings = std::move(value); }
187 
192  inline RegisterCertificateRequest& WithClientCertAuthSettings(const ClientCertAuthSettings& value) { SetClientCertAuthSettings(value); return *this;}
193 
198  inline RegisterCertificateRequest& WithClientCertAuthSettings(ClientCertAuthSettings&& value) { SetClientCertAuthSettings(std::move(value)); return *this;}
199 
200  private:
201 
202  Aws::String m_directoryId;
203  bool m_directoryIdHasBeenSet;
204 
205  Aws::String m_certificateData;
206  bool m_certificateDataHasBeenSet;
207 
208  CertificateType m_type;
209  bool m_typeHasBeenSet;
210 
211  ClientCertAuthSettings m_clientCertAuthSettings;
212  bool m_clientCertAuthSettingsHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace DirectoryService
217 } // namespace Aws
Aws::DirectoryService::Model::RegisterCertificateRequest::SetClientCertAuthSettings
void SetClientCertAuthSettings(ClientCertAuthSettings &&value)
Definition: RegisterCertificateRequest.h:186
Aws::DirectoryService::Model::RegisterCertificateRequest::SetCertificateData
void SetCertificateData(const char *value)
Definition: RegisterCertificateRequest.h:103
Aws::DirectoryService::Model::RegisterCertificateRequest
Definition: RegisterCertificateRequest.h:24
Aws::DirectoryService::Model::CertificateType
CertificateType
Definition: CertificateType.h:17
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::RegisterCertificateRequest::WithClientCertAuthSettings
RegisterCertificateRequest & WithClientCertAuthSettings(ClientCertAuthSettings &&value)
Definition: RegisterCertificateRequest.h:198
Aws::DirectoryService::Model::RegisterCertificateRequest::GetCertificateData
const Aws::String & GetCertificateData() const
Definition: RegisterCertificateRequest.h:83
Aws::DirectoryService::Model::RegisterCertificateRequest::WithDirectoryId
RegisterCertificateRequest & WithDirectoryId(Aws::String &&value)
Definition: RegisterCertificateRequest.h:72
Aws::DirectoryService::Model::RegisterCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::RegisterCertificateRequest::WithCertificateData
RegisterCertificateRequest & WithCertificateData(Aws::String &&value)
Definition: RegisterCertificateRequest.h:113
Aws::DirectoryService::Model::RegisterCertificateRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: RegisterCertificateRequest.h:57
CertificateType.h
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::RegisterCertificateRequest::GetType
const CertificateType & GetType() const
Definition: RegisterCertificateRequest.h:126
Aws::DirectoryService::Model::RegisterCertificateRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: RegisterCertificateRequest.h:133
Aws::DirectoryService::Model::RegisterCertificateRequest::SetClientCertAuthSettings
void SetClientCertAuthSettings(const ClientCertAuthSettings &value)
Definition: RegisterCertificateRequest.h:180
Aws::DirectoryService::Model::RegisterCertificateRequest::ClientCertAuthSettingsHasBeenSet
bool ClientCertAuthSettingsHasBeenSet() const
Definition: RegisterCertificateRequest.h:174
Aws::DirectoryService::Model::RegisterCertificateRequest::RegisterCertificateRequest
RegisterCertificateRequest()
Aws::DirectoryService::Model::RegisterCertificateRequest::WithCertificateData
RegisterCertificateRequest & WithCertificateData(const char *value)
Definition: RegisterCertificateRequest.h:118
Aws::DirectoryService::Model::RegisterCertificateRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: RegisterCertificateRequest.h:62
Aws::DirectoryService::Model::RegisterCertificateRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: RegisterCertificateRequest.h:52
Aws::DirectoryService::Model::RegisterCertificateRequest::SetType
void SetType(CertificateType &&value)
Definition: RegisterCertificateRequest.h:147
AWSString.h
Aws::DirectoryService::Model::RegisterCertificateRequest::WithType
RegisterCertificateRequest & WithType(const CertificateType &value)
Definition: RegisterCertificateRequest.h:154
ClientCertAuthSettings.h
Aws::DirectoryService::Model::RegisterCertificateRequest::GetClientCertAuthSettings
const ClientCertAuthSettings & GetClientCertAuthSettings() const
Definition: RegisterCertificateRequest.h:168
Aws::DirectoryService::Model::RegisterCertificateRequest::SetCertificateData
void SetCertificateData(Aws::String &&value)
Definition: RegisterCertificateRequest.h:98
Aws::DirectoryService::Model::RegisterCertificateRequest::WithDirectoryId
RegisterCertificateRequest & WithDirectoryId(const char *value)
Definition: RegisterCertificateRequest.h:77
Aws::DirectoryService::Model::RegisterCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterCertificateRequest.h:32
Aws::DirectoryService::Model::RegisterCertificateRequest::CertificateDataHasBeenSet
bool CertificateDataHasBeenSet() const
Definition: RegisterCertificateRequest.h:88
Aws::DirectoryService::Model::RegisterCertificateRequest::WithCertificateData
RegisterCertificateRequest & WithCertificateData(const Aws::String &value)
Definition: RegisterCertificateRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::RegisterCertificateRequest::SetCertificateData
void SetCertificateData(const Aws::String &value)
Definition: RegisterCertificateRequest.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::RegisterCertificateRequest::WithDirectoryId
RegisterCertificateRequest & WithDirectoryId(const Aws::String &value)
Definition: RegisterCertificateRequest.h:67
Aws::DirectoryService::Model::RegisterCertificateRequest::WithType
RegisterCertificateRequest & WithType(CertificateType &&value)
Definition: RegisterCertificateRequest.h:161
Aws::DirectoryService::Model::RegisterCertificateRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: RegisterCertificateRequest.h:47
Aws::DirectoryService::Model::ClientCertAuthSettings
Definition: ClientCertAuthSettings.h:34
DirectoryServiceRequest.h
Aws::DirectoryService::Model::RegisterCertificateRequest::SetType
void SetType(const CertificateType &value)
Definition: RegisterCertificateRequest.h:140
Aws::DirectoryService::Model::RegisterCertificateRequest::WithClientCertAuthSettings
RegisterCertificateRequest & WithClientCertAuthSettings(const ClientCertAuthSettings &value)
Definition: RegisterCertificateRequest.h:192
Aws::DirectoryService::Model::RegisterCertificateRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: RegisterCertificateRequest.h:42
Aws::DirectoryService::Model::RegisterCertificateRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override