AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteNamespaceRequest.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace RedshiftServerless
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_REDSHIFTSERVERLESS_API DeleteNamespaceRequest();
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 "DeleteNamespace"; }
31
32 AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override;
33
34 AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetFinalSnapshotName() const{ return m_finalSnapshotName; }
42 inline bool FinalSnapshotNameHasBeenSet() const { return m_finalSnapshotNameHasBeenSet; }
43 inline void SetFinalSnapshotName(const Aws::String& value) { m_finalSnapshotNameHasBeenSet = true; m_finalSnapshotName = value; }
44 inline void SetFinalSnapshotName(Aws::String&& value) { m_finalSnapshotNameHasBeenSet = true; m_finalSnapshotName = std::move(value); }
45 inline void SetFinalSnapshotName(const char* value) { m_finalSnapshotNameHasBeenSet = true; m_finalSnapshotName.assign(value); }
47 inline DeleteNamespaceRequest& WithFinalSnapshotName(Aws::String&& value) { SetFinalSnapshotName(std::move(value)); return *this;}
48 inline DeleteNamespaceRequest& WithFinalSnapshotName(const char* value) { SetFinalSnapshotName(value); return *this;}
50
52
55 inline int GetFinalSnapshotRetentionPeriod() const{ return m_finalSnapshotRetentionPeriod; }
56 inline bool FinalSnapshotRetentionPeriodHasBeenSet() const { return m_finalSnapshotRetentionPeriodHasBeenSet; }
57 inline void SetFinalSnapshotRetentionPeriod(int value) { m_finalSnapshotRetentionPeriodHasBeenSet = true; m_finalSnapshotRetentionPeriod = value; }
60
62
65 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
66 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
67 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
68 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
69 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
70 inline DeleteNamespaceRequest& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;}
71 inline DeleteNamespaceRequest& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
72 inline DeleteNamespaceRequest& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
74 private:
75
76 Aws::String m_finalSnapshotName;
77 bool m_finalSnapshotNameHasBeenSet = false;
78
79 int m_finalSnapshotRetentionPeriod;
80 bool m_finalSnapshotRetentionPeriodHasBeenSet = false;
81
82 Aws::String m_namespaceName;
83 bool m_namespaceNameHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace RedshiftServerless
88} // namespace Aws
DeleteNamespaceRequest & WithNamespaceName(const Aws::String &value)
DeleteNamespaceRequest & WithFinalSnapshotName(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteNamespaceRequest & WithFinalSnapshotRetentionPeriod(int value)
DeleteNamespaceRequest & WithNamespaceName(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteNamespaceRequest & WithFinalSnapshotName(Aws::String &&value)
DeleteNamespaceRequest & WithNamespaceName(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
DeleteNamespaceRequest & WithFinalSnapshotName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String