AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnapshotCopyConfiguration.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace RedshiftServerless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REDSHIFTSERVERLESS_API SnapshotCopyConfiguration();
36 AWS_REDSHIFTSERVERLESS_API SnapshotCopyConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REDSHIFTSERVERLESS_API SnapshotCopyConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetDestinationKmsKeyId() const{ return m_destinationKmsKeyId; }
47 inline bool DestinationKmsKeyIdHasBeenSet() const { return m_destinationKmsKeyIdHasBeenSet; }
48 inline void SetDestinationKmsKeyId(const Aws::String& value) { m_destinationKmsKeyIdHasBeenSet = true; m_destinationKmsKeyId = value; }
49 inline void SetDestinationKmsKeyId(Aws::String&& value) { m_destinationKmsKeyIdHasBeenSet = true; m_destinationKmsKeyId = std::move(value); }
50 inline void SetDestinationKmsKeyId(const char* value) { m_destinationKmsKeyIdHasBeenSet = true; m_destinationKmsKeyId.assign(value); }
52 inline SnapshotCopyConfiguration& WithDestinationKmsKeyId(Aws::String&& value) { SetDestinationKmsKeyId(std::move(value)); return *this;}
53 inline SnapshotCopyConfiguration& WithDestinationKmsKeyId(const char* value) { SetDestinationKmsKeyId(value); return *this;}
55
57
60 inline const Aws::String& GetDestinationRegion() const{ return m_destinationRegion; }
61 inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; }
62 inline void SetDestinationRegion(const Aws::String& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = value; }
63 inline void SetDestinationRegion(Aws::String&& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = std::move(value); }
64 inline void SetDestinationRegion(const char* value) { m_destinationRegionHasBeenSet = true; m_destinationRegion.assign(value); }
66 inline SnapshotCopyConfiguration& WithDestinationRegion(Aws::String&& value) { SetDestinationRegion(std::move(value)); return *this;}
67 inline SnapshotCopyConfiguration& WithDestinationRegion(const char* value) { SetDestinationRegion(value); return *this;}
69
71
75 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
76 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
77 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
78 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
79 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
80 inline SnapshotCopyConfiguration& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;}
81 inline SnapshotCopyConfiguration& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
82 inline SnapshotCopyConfiguration& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
84
86
89 inline const Aws::String& GetSnapshotCopyConfigurationArn() const{ return m_snapshotCopyConfigurationArn; }
90 inline bool SnapshotCopyConfigurationArnHasBeenSet() const { return m_snapshotCopyConfigurationArnHasBeenSet; }
91 inline void SetSnapshotCopyConfigurationArn(const Aws::String& value) { m_snapshotCopyConfigurationArnHasBeenSet = true; m_snapshotCopyConfigurationArn = value; }
92 inline void SetSnapshotCopyConfigurationArn(Aws::String&& value) { m_snapshotCopyConfigurationArnHasBeenSet = true; m_snapshotCopyConfigurationArn = std::move(value); }
93 inline void SetSnapshotCopyConfigurationArn(const char* value) { m_snapshotCopyConfigurationArnHasBeenSet = true; m_snapshotCopyConfigurationArn.assign(value); }
98
100
103 inline const Aws::String& GetSnapshotCopyConfigurationId() const{ return m_snapshotCopyConfigurationId; }
104 inline bool SnapshotCopyConfigurationIdHasBeenSet() const { return m_snapshotCopyConfigurationIdHasBeenSet; }
105 inline void SetSnapshotCopyConfigurationId(const Aws::String& value) { m_snapshotCopyConfigurationIdHasBeenSet = true; m_snapshotCopyConfigurationId = value; }
106 inline void SetSnapshotCopyConfigurationId(Aws::String&& value) { m_snapshotCopyConfigurationIdHasBeenSet = true; m_snapshotCopyConfigurationId = std::move(value); }
107 inline void SetSnapshotCopyConfigurationId(const char* value) { m_snapshotCopyConfigurationIdHasBeenSet = true; m_snapshotCopyConfigurationId.assign(value); }
112
114
118 inline int GetSnapshotRetentionPeriod() const{ return m_snapshotRetentionPeriod; }
119 inline bool SnapshotRetentionPeriodHasBeenSet() const { return m_snapshotRetentionPeriodHasBeenSet; }
120 inline void SetSnapshotRetentionPeriod(int value) { m_snapshotRetentionPeriodHasBeenSet = true; m_snapshotRetentionPeriod = value; }
123 private:
124
125 Aws::String m_destinationKmsKeyId;
126 bool m_destinationKmsKeyIdHasBeenSet = false;
127
128 Aws::String m_destinationRegion;
129 bool m_destinationRegionHasBeenSet = false;
130
131 Aws::String m_namespaceName;
132 bool m_namespaceNameHasBeenSet = false;
133
134 Aws::String m_snapshotCopyConfigurationArn;
135 bool m_snapshotCopyConfigurationArnHasBeenSet = false;
136
137 Aws::String m_snapshotCopyConfigurationId;
138 bool m_snapshotCopyConfigurationIdHasBeenSet = false;
139
140 int m_snapshotRetentionPeriod;
141 bool m_snapshotRetentionPeriodHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace RedshiftServerless
146} // namespace Aws
SnapshotCopyConfiguration & WithDestinationKmsKeyId(Aws::String &&value)
SnapshotCopyConfiguration & WithDestinationKmsKeyId(const char *value)
SnapshotCopyConfiguration & WithSnapshotCopyConfigurationArn(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
SnapshotCopyConfiguration & WithDestinationRegion(Aws::String &&value)
SnapshotCopyConfiguration & WithSnapshotCopyConfigurationArn(Aws::String &&value)
SnapshotCopyConfiguration & WithDestinationRegion(const Aws::String &value)
SnapshotCopyConfiguration & WithNamespaceName(const char *value)
SnapshotCopyConfiguration & WithSnapshotCopyConfigurationId(const Aws::String &value)
SnapshotCopyConfiguration & WithDestinationKmsKeyId(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API SnapshotCopyConfiguration(Aws::Utils::Json::JsonView jsonValue)
SnapshotCopyConfiguration & WithSnapshotCopyConfigurationId(const char *value)
SnapshotCopyConfiguration & WithNamespaceName(Aws::String &&value)
SnapshotCopyConfiguration & WithSnapshotCopyConfigurationArn(const Aws::String &value)
SnapshotCopyConfiguration & WithSnapshotCopyConfigurationId(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API SnapshotCopyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotCopyConfiguration & WithNamespaceName(const Aws::String &value)
SnapshotCopyConfiguration & WithDestinationRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue