AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
ParallelDataConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/translate/Translate_EXPORTS.h>
9#include <aws/translate/model/ParallelDataFormat.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Translate {
21namespace Model {
22
30 public:
31 AWS_TRANSLATE_API ParallelDataConfig() = default;
32 AWS_TRANSLATE_API ParallelDataConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() 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 bool m_s3UriHasBeenSet = false;
73
75 bool m_formatHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Translate
80} // namespace Aws
ParallelDataConfig & WithS3Uri(S3UriT &&value)
AWS_TRANSLATE_API ParallelDataConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
ParallelDataConfig & WithFormat(ParallelDataFormat value)
AWS_TRANSLATE_API ParallelDataConfig()=default
AWS_TRANSLATE_API ParallelDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(ParallelDataFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue