AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataRepositoryConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/DataRepositoryLifecycle.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/AutoImportPolicyType.h>
11#include <aws/fsx/model/DataRepositoryFailureDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FSx
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_FSX_API DataRepositoryConfiguration() = default;
45
46
48
64 inline DataRepositoryLifecycle GetLifecycle() const { return m_lifecycle; }
65 inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; }
66 inline void SetLifecycle(DataRepositoryLifecycle value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; }
69
71
78 inline const Aws::String& GetImportPath() const { return m_importPath; }
79 inline bool ImportPathHasBeenSet() const { return m_importPathHasBeenSet; }
80 template<typename ImportPathT = Aws::String>
81 void SetImportPath(ImportPathT&& value) { m_importPathHasBeenSet = true; m_importPath = std::forward<ImportPathT>(value); }
82 template<typename ImportPathT = Aws::String>
83 DataRepositoryConfiguration& WithImportPath(ImportPathT&& value) { SetImportPath(std::forward<ImportPathT>(value)); return *this;}
85
87
91 inline const Aws::String& GetExportPath() const { return m_exportPath; }
92 inline bool ExportPathHasBeenSet() const { return m_exportPathHasBeenSet; }
93 template<typename ExportPathT = Aws::String>
94 void SetExportPath(ExportPathT&& value) { m_exportPathHasBeenSet = true; m_exportPath = std::forward<ExportPathT>(value); }
95 template<typename ExportPathT = Aws::String>
96 DataRepositoryConfiguration& WithExportPath(ExportPathT&& value) { SetExportPath(std::forward<ExportPathT>(value)); return *this;}
98
100
108 inline int GetImportedFileChunkSize() const { return m_importedFileChunkSize; }
109 inline bool ImportedFileChunkSizeHasBeenSet() const { return m_importedFileChunkSizeHasBeenSet; }
110 inline void SetImportedFileChunkSize(int value) { m_importedFileChunkSizeHasBeenSet = true; m_importedFileChunkSize = value; }
113
115
135 inline AutoImportPolicyType GetAutoImportPolicy() const { return m_autoImportPolicy; }
136 inline bool AutoImportPolicyHasBeenSet() const { return m_autoImportPolicyHasBeenSet; }
137 inline void SetAutoImportPolicy(AutoImportPolicyType value) { m_autoImportPolicyHasBeenSet = true; m_autoImportPolicy = value; }
140
142
143 inline const DataRepositoryFailureDetails& GetFailureDetails() const { return m_failureDetails; }
144 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
145 template<typename FailureDetailsT = DataRepositoryFailureDetails>
146 void SetFailureDetails(FailureDetailsT&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = std::forward<FailureDetailsT>(value); }
147 template<typename FailureDetailsT = DataRepositoryFailureDetails>
148 DataRepositoryConfiguration& WithFailureDetails(FailureDetailsT&& value) { SetFailureDetails(std::forward<FailureDetailsT>(value)); return *this;}
150 private:
151
153 bool m_lifecycleHasBeenSet = false;
154
155 Aws::String m_importPath;
156 bool m_importPathHasBeenSet = false;
157
158 Aws::String m_exportPath;
159 bool m_exportPathHasBeenSet = false;
160
161 int m_importedFileChunkSize{0};
162 bool m_importedFileChunkSizeHasBeenSet = false;
163
165 bool m_autoImportPolicyHasBeenSet = false;
166
167 DataRepositoryFailureDetails m_failureDetails;
168 bool m_failureDetailsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace FSx
173} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
DataRepositoryConfiguration & WithFailureDetails(FailureDetailsT &&value)
AWS_FSX_API DataRepositoryConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API DataRepositoryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API DataRepositoryConfiguration()=default
DataRepositoryConfiguration & WithImportedFileChunkSize(int value)
DataRepositoryConfiguration & WithImportPath(ImportPathT &&value)
DataRepositoryConfiguration & WithExportPath(ExportPathT &&value)
const DataRepositoryFailureDetails & GetFailureDetails() const
DataRepositoryConfiguration & WithLifecycle(DataRepositoryLifecycle value)
DataRepositoryConfiguration & WithAutoImportPolicy(AutoImportPolicyType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue