AWS SDK for C++

AWS SDK for C++ Version 1.11.935

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