AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportDataSource.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/DataFormat.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SESV2_API ImportDataSource();
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetS3Url() const{ return m_s3Url; }
48 inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
49 inline void SetS3Url(const Aws::String& value) { m_s3UrlHasBeenSet = true; m_s3Url = value; }
50 inline void SetS3Url(Aws::String&& value) { m_s3UrlHasBeenSet = true; m_s3Url = std::move(value); }
51 inline void SetS3Url(const char* value) { m_s3UrlHasBeenSet = true; m_s3Url.assign(value); }
52 inline ImportDataSource& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;}
53 inline ImportDataSource& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;}
54 inline ImportDataSource& WithS3Url(const char* value) { SetS3Url(value); return *this;}
56
58
61 inline const DataFormat& GetDataFormat() const{ return m_dataFormat; }
62 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
63 inline void SetDataFormat(const DataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
64 inline void SetDataFormat(DataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
65 inline ImportDataSource& WithDataFormat(const DataFormat& value) { SetDataFormat(value); return *this;}
66 inline ImportDataSource& WithDataFormat(DataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_s3Url;
71 bool m_s3UrlHasBeenSet = false;
72
73 DataFormat m_dataFormat;
74 bool m_dataFormatHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SESV2
79} // namespace Aws
AWS_SESV2_API ImportDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportDataSource & WithS3Url(const char *value)
void SetDataFormat(DataFormat &&value)
ImportDataSource & WithDataFormat(const DataFormat &value)
AWS_SESV2_API ImportDataSource(Aws::Utils::Json::JsonView jsonValue)
ImportDataSource & WithS3Url(Aws::String &&value)
void SetS3Url(const Aws::String &value)
void SetS3Url(Aws::String &&value)
const DataFormat & GetDataFormat() const
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
ImportDataSource & WithS3Url(const Aws::String &value)
const Aws::String & GetS3Url() const
ImportDataSource & WithDataFormat(DataFormat &&value)
void SetDataFormat(const DataFormat &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue