AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportDestination.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/DataFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.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 ExportDestination();
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const DataFormat& GetDataFormat() const{ return m_dataFormat; }
49 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
50 inline void SetDataFormat(const DataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
51 inline void SetDataFormat(DataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
52 inline ExportDestination& WithDataFormat(const DataFormat& value) { SetDataFormat(value); return *this;}
53 inline ExportDestination& WithDataFormat(DataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetS3Url() const{ return m_s3Url; }
61 inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
62 inline void SetS3Url(const Aws::String& value) { m_s3UrlHasBeenSet = true; m_s3Url = value; }
63 inline void SetS3Url(Aws::String&& value) { m_s3UrlHasBeenSet = true; m_s3Url = std::move(value); }
64 inline void SetS3Url(const char* value) { m_s3UrlHasBeenSet = true; m_s3Url.assign(value); }
65 inline ExportDestination& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;}
66 inline ExportDestination& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;}
67 inline ExportDestination& WithS3Url(const char* value) { SetS3Url(value); return *this;}
69 private:
70
71 DataFormat m_dataFormat;
72 bool m_dataFormatHasBeenSet = false;
73
74 Aws::String m_s3Url;
75 bool m_s3UrlHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SESV2
80} // namespace Aws
AWS_SESV2_API ExportDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportDestination & WithDataFormat(DataFormat &&value)
ExportDestination & WithDataFormat(const DataFormat &value)
const DataFormat & GetDataFormat() const
ExportDestination & WithS3Url(const Aws::String &value)
ExportDestination & WithS3Url(Aws::String &&value)
const Aws::String & GetS3Url() const
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3Url(const Aws::String &value)
void SetDataFormat(DataFormat &&value)
void SetDataFormat(const DataFormat &value)
AWS_SESV2_API ExportDestination(Aws::Utils::Json::JsonView jsonValue)
ExportDestination & WithS3Url(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue