AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSnapshotCopyConfigurationRequest.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 CreateSnapshotCopyConfigurationRequest();
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 "CreateSnapshotCopyConfiguration"; }
31
32 AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override;
33
34 AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetDestinationKmsKeyId() const{ return m_destinationKmsKeyId; }
43 inline bool DestinationKmsKeyIdHasBeenSet() const { return m_destinationKmsKeyIdHasBeenSet; }
44 inline void SetDestinationKmsKeyId(const Aws::String& value) { m_destinationKmsKeyIdHasBeenSet = true; m_destinationKmsKeyId = value; }
45 inline void SetDestinationKmsKeyId(Aws::String&& value) { m_destinationKmsKeyIdHasBeenSet = true; m_destinationKmsKeyId = std::move(value); }
46 inline void SetDestinationKmsKeyId(const char* value) { m_destinationKmsKeyIdHasBeenSet = true; m_destinationKmsKeyId.assign(value); }
51
53
57 inline const Aws::String& GetDestinationRegion() const{ return m_destinationRegion; }
58 inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; }
59 inline void SetDestinationRegion(const Aws::String& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = value; }
60 inline void SetDestinationRegion(Aws::String&& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = std::move(value); }
61 inline void SetDestinationRegion(const char* value) { m_destinationRegionHasBeenSet = true; m_destinationRegion.assign(value); }
64 inline CreateSnapshotCopyConfigurationRequest& WithDestinationRegion(const char* value) { SetDestinationRegion(value); return *this;}
66
68
71 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
72 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
73 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
74 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
75 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
77 inline CreateSnapshotCopyConfigurationRequest& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
78 inline CreateSnapshotCopyConfigurationRequest& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
80
82
86 inline int GetSnapshotRetentionPeriod() const{ return m_snapshotRetentionPeriod; }
87 inline bool SnapshotRetentionPeriodHasBeenSet() const { return m_snapshotRetentionPeriodHasBeenSet; }
88 inline void SetSnapshotRetentionPeriod(int value) { m_snapshotRetentionPeriodHasBeenSet = true; m_snapshotRetentionPeriod = value; }
91 private:
92
93 Aws::String m_destinationKmsKeyId;
94 bool m_destinationKmsKeyIdHasBeenSet = false;
95
96 Aws::String m_destinationRegion;
97 bool m_destinationRegionHasBeenSet = false;
98
99 Aws::String m_namespaceName;
100 bool m_namespaceNameHasBeenSet = false;
101
102 int m_snapshotRetentionPeriod;
103 bool m_snapshotRetentionPeriodHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace RedshiftServerless
108} // namespace Aws
CreateSnapshotCopyConfigurationRequest & WithNamespaceName(Aws::String &&value)
CreateSnapshotCopyConfigurationRequest & WithDestinationKmsKeyId(Aws::String &&value)
CreateSnapshotCopyConfigurationRequest & WithDestinationKmsKeyId(const char *value)
CreateSnapshotCopyConfigurationRequest & WithDestinationRegion(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateSnapshotCopyConfigurationRequest & WithDestinationKmsKeyId(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
CreateSnapshotCopyConfigurationRequest & WithNamespaceName(const char *value)
CreateSnapshotCopyConfigurationRequest & WithDestinationRegion(const char *value)
CreateSnapshotCopyConfigurationRequest & WithNamespaceName(const Aws::String &value)
CreateSnapshotCopyConfigurationRequest & WithDestinationRegion(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String