AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataSetImportConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/m2/MainframeModernization_EXPORTS.h>
10#include <aws/m2/model/DataSetImportItem.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MainframeModernization {
22namespace Model {
23
31 public:
32 AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig() = default;
33 AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<DataSetImportItem>& GetDataSets() const { return m_dataSets; }
42 inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; }
43 template <typename DataSetsT = Aws::Vector<DataSetImportItem>>
44 void SetDataSets(DataSetsT&& value) {
45 m_dataSetsHasBeenSet = true;
46 m_dataSets = std::forward<DataSetsT>(value);
47 }
48 template <typename DataSetsT = Aws::Vector<DataSetImportItem>>
49 DataSetImportConfig& WithDataSets(DataSetsT&& value) {
50 SetDataSets(std::forward<DataSetsT>(value));
51 return *this;
52 }
53 template <typename DataSetsT = DataSetImportItem>
54 DataSetImportConfig& AddDataSets(DataSetsT&& value) {
55 m_dataSetsHasBeenSet = true;
56 m_dataSets.emplace_back(std::forward<DataSetsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetS3Location() const { return m_s3Location; }
66 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
67 template <typename S3LocationT = Aws::String>
68 void SetS3Location(S3LocationT&& value) {
69 m_s3LocationHasBeenSet = true;
70 m_s3Location = std::forward<S3LocationT>(value);
71 }
72 template <typename S3LocationT = Aws::String>
73 DataSetImportConfig& WithS3Location(S3LocationT&& value) {
74 SetS3Location(std::forward<S3LocationT>(value));
75 return *this;
76 }
78 private:
80
81 Aws::String m_s3Location;
82 bool m_dataSetsHasBeenSet = false;
83 bool m_s3LocationHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace MainframeModernization
88} // namespace Aws
DataSetImportConfig & WithDataSets(DataSetsT &&value)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSetImportConfig & WithS3Location(S3LocationT &&value)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig(Aws::Utils::Json::JsonView jsonValue)
DataSetImportConfig & AddDataSets(DataSetsT &&value)
const Aws::Vector< DataSetImportItem > & GetDataSets() const
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue