AWS SDK for C++  1.9.160
AWS SDK for C++
ImportDataSource.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetS3Url() const{ return m_s3Url; }
47 
52  inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
53 
58  inline void SetS3Url(const Aws::String& value) { m_s3UrlHasBeenSet = true; m_s3Url = value; }
59 
64  inline void SetS3Url(Aws::String&& value) { m_s3UrlHasBeenSet = true; m_s3Url = std::move(value); }
65 
70  inline void SetS3Url(const char* value) { m_s3UrlHasBeenSet = true; m_s3Url.assign(value); }
71 
76  inline ImportDataSource& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;}
77 
82  inline ImportDataSource& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;}
83 
88  inline ImportDataSource& WithS3Url(const char* value) { SetS3Url(value); return *this;}
89 
90 
94  inline const DataFormat& GetDataFormat() const{ return m_dataFormat; }
95 
99  inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
100 
104  inline void SetDataFormat(const DataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
105 
109  inline void SetDataFormat(DataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
110 
114  inline ImportDataSource& WithDataFormat(const DataFormat& value) { SetDataFormat(value); return *this;}
115 
119  inline ImportDataSource& WithDataFormat(DataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
120 
121  private:
122 
123  Aws::String m_s3Url;
124  bool m_s3UrlHasBeenSet;
125 
126  DataFormat m_dataFormat;
127  bool m_dataFormatHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace SESV2
132 } // namespace Aws
Aws::SESV2::Model::ImportDataSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ImportDataSource::SetDataFormat
void SetDataFormat(const DataFormat &value)
Definition: ImportDataSource.h:104
Aws::SESV2::Model::ImportDataSource::GetDataFormat
const DataFormat & GetDataFormat() const
Definition: ImportDataSource.h:94
Aws::SESV2::Model::ImportDataSource::SetDataFormat
void SetDataFormat(DataFormat &&value)
Definition: ImportDataSource.h:109
Aws::SESV2::Model::ImportDataSource::SetS3Url
void SetS3Url(const char *value)
Definition: ImportDataSource.h:70
Aws::SESV2::Model::ImportDataSource::SetS3Url
void SetS3Url(Aws::String &&value)
Definition: ImportDataSource.h:64
Aws::SESV2::Model::ImportDataSource::ImportDataSource
ImportDataSource()
Aws::SESV2::Model::ImportDataSource::WithDataFormat
ImportDataSource & WithDataFormat(const DataFormat &value)
Definition: ImportDataSource.h:114
Aws::SESV2::Model::ImportDataSource::GetS3Url
const Aws::String & GetS3Url() const
Definition: ImportDataSource.h:46
Aws::SESV2::Model::ImportDataSource::WithS3Url
ImportDataSource & WithS3Url(const Aws::String &value)
Definition: ImportDataSource.h:76
Aws::SESV2::Model::ImportDataSource::WithDataFormat
ImportDataSource & WithDataFormat(DataFormat &&value)
Definition: ImportDataSource.h:119
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::DataFormat
DataFormat
Definition: DataFormat.h:17
DataFormat.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ImportDataSource
Definition: ImportDataSource.h:34
Aws::SESV2::Model::ImportDataSource::DataFormatHasBeenSet
bool DataFormatHasBeenSet() const
Definition: ImportDataSource.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ImportDataSource::operator=
ImportDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ImportDataSource::WithS3Url
ImportDataSource & WithS3Url(Aws::String &&value)
Definition: ImportDataSource.h:82
Aws::SESV2::Model::ImportDataSource::ImportDataSource
ImportDataSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ImportDataSource::SetS3Url
void SetS3Url(const Aws::String &value)
Definition: ImportDataSource.h:58
Aws::SESV2::Model::ImportDataSource::WithS3Url
ImportDataSource & WithS3Url(const char *value)
Definition: ImportDataSource.h:88
Aws::SESV2::Model::ImportDataSource::S3UrlHasBeenSet
bool S3UrlHasBeenSet() const
Definition: ImportDataSource.h:52