AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ExportDestination.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
35 public:
36 AWS_SESV2_API ExportDestination() = default;
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
47 inline DataFormat GetDataFormat() const { return m_dataFormat; }
48 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
49 inline void SetDataFormat(DataFormat value) {
50 m_dataFormatHasBeenSet = true;
51 m_dataFormat = value;
52 }
54 SetDataFormat(value);
55 return *this;
56 }
58
60
69 inline const Aws::String& GetS3Url() const { return m_s3Url; }
70 inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
71 template <typename S3UrlT = Aws::String>
72 void SetS3Url(S3UrlT&& value) {
73 m_s3UrlHasBeenSet = true;
74 m_s3Url = std::forward<S3UrlT>(value);
75 }
76 template <typename S3UrlT = Aws::String>
77 ExportDestination& WithS3Url(S3UrlT&& value) {
78 SetS3Url(std::forward<S3UrlT>(value));
79 return *this;
80 }
82 private:
83 DataFormat m_dataFormat{DataFormat::NOT_SET};
84
85 Aws::String m_s3Url;
86 bool m_dataFormatHasBeenSet = false;
87 bool m_s3UrlHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace SESV2
92} // namespace Aws
AWS_SESV2_API ExportDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportDestination & WithDataFormat(DataFormat value)
const Aws::String & GetS3Url() const
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API ExportDestination()=default
ExportDestination & WithS3Url(S3UrlT &&value)
AWS_SESV2_API ExportDestination(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue