AWS SDK for C++

AWS SDK for C++ Version 1.11.912

Loading...
Searching...
No Matches
ParallelDataConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/translate/Translate_EXPORTS.h>
10#include <aws/translate/model/ParallelDataFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace Translate {
21namespace Model {
22
30 public:
31 AWS_TRANSLATE_API ParallelDataConfig() = default;
32 AWS_TRANSLATE_API ParallelDataConfig(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_TRANSLATE_API ParallelDataConfig& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_TRANSLATE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
41 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
42 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
43 template <typename S3UriT = Aws::String>
44 void SetS3Uri(S3UriT&& value) {
45 m_s3UriHasBeenSet = true;
46 m_s3Uri = std::forward<S3UriT>(value);
47 }
48 template <typename S3UriT = Aws::String>
49 ParallelDataConfig& WithS3Uri(S3UriT&& value) {
50 SetS3Uri(std::forward<S3UriT>(value));
51 return *this;
52 }
54
56
59 inline ParallelDataFormat GetFormat() const { return m_format; }
60 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
61 inline void SetFormat(ParallelDataFormat value) {
62 m_formatHasBeenSet = true;
63 m_format = value;
64 }
66 SetFormat(value);
67 return *this;
68 }
70 private:
71 Aws::String m_s3Uri;
72
74 bool m_s3UriHasBeenSet = false;
75 bool m_formatHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Translate
80} // namespace Aws
AWS_TRANSLATE_API ParallelDataConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ParallelDataConfig & WithS3Uri(S3UriT &&value)
AWS_TRANSLATE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ParallelDataConfig & WithFormat(ParallelDataFormat value)
AWS_TRANSLATE_API ParallelDataConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_TRANSLATE_API ParallelDataConfig()=default
void SetFormat(ParallelDataFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String