AWS SDK for C++  1.9.15
AWS SDK for C++
DeregisterCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DirectoryService
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 "DeregisterCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
41 
45  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
46 
50  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
51 
55  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
56 
60  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
61 
65  inline DeregisterCertificateRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
66 
70  inline DeregisterCertificateRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
71 
75  inline DeregisterCertificateRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
76 
77 
81  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
82 
86  inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
87 
91  inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
92 
96  inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
97 
101  inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
102 
106  inline DeregisterCertificateRequest& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
107 
111  inline DeregisterCertificateRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
112 
116  inline DeregisterCertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_directoryId;
121  bool m_directoryIdHasBeenSet;
122 
123  Aws::String m_certificateId;
124  bool m_certificateIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace DirectoryService
129 } // namespace Aws
Aws::DirectoryService::Model::DeregisterCertificateRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DeregisterCertificateRequest.h:55
Aws::DirectoryService::Model::DeregisterCertificateRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DeregisterCertificateRequest.h:45
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::DeregisterCertificateRequest::WithDirectoryId
DeregisterCertificateRequest & WithDirectoryId(Aws::String &&value)
Definition: DeregisterCertificateRequest.h:70
Aws::DirectoryService::Model::DeregisterCertificateRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DeregisterCertificateRequest.h:60
Aws::DirectoryService::Model::DeregisterCertificateRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::DeregisterCertificateRequest::SetCertificateId
void SetCertificateId(const char *value)
Definition: DeregisterCertificateRequest.h:101
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DeregisterCertificateRequest::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: DeregisterCertificateRequest.h:81
Aws::DirectoryService::Model::DeregisterCertificateRequest::WithDirectoryId
DeregisterCertificateRequest & WithDirectoryId(const Aws::String &value)
Definition: DeregisterCertificateRequest.h:65
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::DeregisterCertificateRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DeregisterCertificateRequest.h:40
Aws::DirectoryService::Model::DeregisterCertificateRequest::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: DeregisterCertificateRequest.h:96
AWSString.h
Aws::DirectoryService::Model::DeregisterCertificateRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DeregisterCertificateRequest.h:50
Aws::DirectoryService::Model::DeregisterCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeregisterCertificateRequest.h:30
Aws::DirectoryService::Model::DeregisterCertificateRequest::WithCertificateId
DeregisterCertificateRequest & WithCertificateId(Aws::String &&value)
Definition: DeregisterCertificateRequest.h:111
Aws::DirectoryService::Model::DeregisterCertificateRequest::CertificateIdHasBeenSet
bool CertificateIdHasBeenSet() const
Definition: DeregisterCertificateRequest.h:86
Aws::DirectoryService::Model::DeregisterCertificateRequest
Definition: DeregisterCertificateRequest.h:22
Aws::DirectoryService::Model::DeregisterCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::DeregisterCertificateRequest::DeregisterCertificateRequest
DeregisterCertificateRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DeregisterCertificateRequest::WithCertificateId
DeregisterCertificateRequest & WithCertificateId(const char *value)
Definition: DeregisterCertificateRequest.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DeregisterCertificateRequest::WithCertificateId
DeregisterCertificateRequest & WithCertificateId(const Aws::String &value)
Definition: DeregisterCertificateRequest.h:106
Aws::DirectoryService::Model::DeregisterCertificateRequest::WithDirectoryId
DeregisterCertificateRequest & WithDirectoryId(const char *value)
Definition: DeregisterCertificateRequest.h:75
DirectoryServiceRequest.h
Aws::DirectoryService::Model::DeregisterCertificateRequest::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: DeregisterCertificateRequest.h:91