AWS SDK for C++  1.9.109
AWS SDK for C++
CancelExportTaskRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
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 "CancelExportTask"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetExportTaskIdentifier() const{ return m_exportTaskIdentifier; }
43 
47  inline bool ExportTaskIdentifierHasBeenSet() const { return m_exportTaskIdentifierHasBeenSet; }
48 
52  inline void SetExportTaskIdentifier(const Aws::String& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = value; }
53 
57  inline void SetExportTaskIdentifier(Aws::String&& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = std::move(value); }
58 
62  inline void SetExportTaskIdentifier(const char* value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier.assign(value); }
63 
67  inline CancelExportTaskRequest& WithExportTaskIdentifier(const Aws::String& value) { SetExportTaskIdentifier(value); return *this;}
68 
72  inline CancelExportTaskRequest& WithExportTaskIdentifier(Aws::String&& value) { SetExportTaskIdentifier(std::move(value)); return *this;}
73 
77  inline CancelExportTaskRequest& WithExportTaskIdentifier(const char* value) { SetExportTaskIdentifier(value); return *this;}
78 
79  private:
80 
81  Aws::String m_exportTaskIdentifier;
82  bool m_exportTaskIdentifierHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace RDS
87 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CancelExportTaskRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(Aws::String &&value)
Definition: CancelExportTaskRequest.h:57
Aws::RDS::Model::CancelExportTaskRequest
Definition: CancelExportTaskRequest.h:22
RDS_EXPORTS.h
Aws::RDS::Model::CancelExportTaskRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::CancelExportTaskRequest::WithExportTaskIdentifier
CancelExportTaskRequest & WithExportTaskIdentifier(Aws::String &&value)
Definition: CancelExportTaskRequest.h:72
Aws::RDS::Model::CancelExportTaskRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::RDS::Model::CancelExportTaskRequest::WithExportTaskIdentifier
CancelExportTaskRequest & WithExportTaskIdentifier(const char *value)
Definition: CancelExportTaskRequest.h:77
Aws::RDS::Model::CancelExportTaskRequest::CancelExportTaskRequest
CancelExportTaskRequest()
Aws::RDS::Model::CancelExportTaskRequest::ExportTaskIdentifierHasBeenSet
bool ExportTaskIdentifierHasBeenSet() const
Definition: CancelExportTaskRequest.h:47
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CancelExportTaskRequest::WithExportTaskIdentifier
CancelExportTaskRequest & WithExportTaskIdentifier(const Aws::String &value)
Definition: CancelExportTaskRequest.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::CancelExportTaskRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(const char *value)
Definition: CancelExportTaskRequest.h:62
Aws::RDS::Model::CancelExportTaskRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(const Aws::String &value)
Definition: CancelExportTaskRequest.h:52
Aws::RDS::Model::CancelExportTaskRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CancelExportTaskRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::CancelExportTaskRequest::GetExportTaskIdentifier
const Aws::String & GetExportTaskIdentifier() const
Definition: CancelExportTaskRequest.h:42