AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSetImportConfig.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/model/DataSetImportItem.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MainframeModernization
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig();
38 AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<DataSetImportItem>& GetDataSets() const{ return m_dataSets; }
48 inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; }
49 inline void SetDataSets(const Aws::Vector<DataSetImportItem>& value) { m_dataSetsHasBeenSet = true; m_dataSets = value; }
50 inline void SetDataSets(Aws::Vector<DataSetImportItem>&& value) { m_dataSetsHasBeenSet = true; m_dataSets = std::move(value); }
51 inline DataSetImportConfig& WithDataSets(const Aws::Vector<DataSetImportItem>& value) { SetDataSets(value); return *this;}
52 inline DataSetImportConfig& WithDataSets(Aws::Vector<DataSetImportItem>&& value) { SetDataSets(std::move(value)); return *this;}
53 inline DataSetImportConfig& AddDataSets(const DataSetImportItem& value) { m_dataSetsHasBeenSet = true; m_dataSets.push_back(value); return *this; }
54 inline DataSetImportConfig& AddDataSets(DataSetImportItem&& value) { m_dataSetsHasBeenSet = true; m_dataSets.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetS3Location() const{ return m_s3Location; }
62 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
63 inline void SetS3Location(const Aws::String& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
64 inline void SetS3Location(Aws::String&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
65 inline void SetS3Location(const char* value) { m_s3LocationHasBeenSet = true; m_s3Location.assign(value); }
66 inline DataSetImportConfig& WithS3Location(const Aws::String& value) { SetS3Location(value); return *this;}
67 inline DataSetImportConfig& WithS3Location(Aws::String&& value) { SetS3Location(std::move(value)); return *this;}
68 inline DataSetImportConfig& WithS3Location(const char* value) { SetS3Location(value); return *this;}
70 private:
71
73 bool m_dataSetsHasBeenSet = false;
74
75 Aws::String m_s3Location;
76 bool m_s3LocationHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace MainframeModernization
81} // namespace Aws
DataSetImportConfig & AddDataSets(DataSetImportItem &&value)
void SetDataSets(const Aws::Vector< DataSetImportItem > &value)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSetImportConfig & WithS3Location(const char *value)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportConfig()
DataSetImportConfig & WithDataSets(Aws::Vector< DataSetImportItem > &&value)
DataSetImportConfig & WithS3Location(const Aws::String &value)
void SetDataSets(Aws::Vector< DataSetImportItem > &&value)
DataSetImportConfig & WithS3Location(Aws::String &&value)
const Aws::Vector< DataSetImportItem > & GetDataSets() const
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
DataSetImportConfig & WithDataSets(const Aws::Vector< DataSetImportItem > &value)
DataSetImportConfig & AddDataSets(const DataSetImportItem &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue