AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteImportedKeyMaterialRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/kms/KMS_EXPORTS.h>
8 #include <aws/kms/KMSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace KMS
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 "DeleteImportedKeyMaterial"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
47  inline const Aws::String& GetKeyId() const{ return m_keyId; }
48 
59  inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
60 
71  inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
72 
83  inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
84 
95  inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
96 
107  inline DeleteImportedKeyMaterialRequest& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
108 
119  inline DeleteImportedKeyMaterialRequest& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
120 
131  inline DeleteImportedKeyMaterialRequest& WithKeyId(const char* value) { SetKeyId(value); return *this;}
132 
133  private:
134 
135  Aws::String m_keyId;
136  bool m_keyIdHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace KMS
141 } // namespace Aws
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::WithKeyId
DeleteImportedKeyMaterialRequest & WithKeyId(const Aws::String &value)
Definition: DeleteImportedKeyMaterialRequest.h:107
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::SetKeyId
void SetKeyId(Aws::String &&value)
Definition: DeleteImportedKeyMaterialRequest.h:83
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
KMSRequest.h
Aws::KMS::Model::DeleteImportedKeyMaterialRequest
Definition: DeleteImportedKeyMaterialRequest.h:22
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::WithKeyId
DeleteImportedKeyMaterialRequest & WithKeyId(const char *value)
Definition: DeleteImportedKeyMaterialRequest.h:131
Aws::KMS::KMSRequest
Definition: KMSRequest.h:17
AWS_KMS_API
#define AWS_KMS_API
Definition: KMS_EXPORTS.h:28
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::SetKeyId
void SetKeyId(const char *value)
Definition: DeleteImportedKeyMaterialRequest.h:95
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteImportedKeyMaterialRequest.h:30
AWSString.h
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::DeleteImportedKeyMaterialRequest
DeleteImportedKeyMaterialRequest()
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::KeyIdHasBeenSet
bool KeyIdHasBeenSet() const
Definition: DeleteImportedKeyMaterialRequest.h:59
Aws::CodePipeline::Model::EncryptionKeyType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::SetKeyId
void SetKeyId(const Aws::String &value)
Definition: DeleteImportedKeyMaterialRequest.h:71
KMS_EXPORTS.h
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::GetKeyId
const Aws::String & GetKeyId() const
Definition: DeleteImportedKeyMaterialRequest.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::KMS::Model::DeleteImportedKeyMaterialRequest::WithKeyId
DeleteImportedKeyMaterialRequest & WithKeyId(Aws::String &&value)
Definition: DeleteImportedKeyMaterialRequest.h:119