AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ParallelDataConfig.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/translate/model/ParallelDataFormat.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 Translate
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TRANSLATE_API ParallelDataConfig() = default;
37 AWS_TRANSLATE_API ParallelDataConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
48 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
49 template<typename S3UriT = Aws::String>
50 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
51 template<typename S3UriT = Aws::String>
52 ParallelDataConfig& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
54
56
59 inline ParallelDataFormat GetFormat() const { return m_format; }
60 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
61 inline void SetFormat(ParallelDataFormat value) { m_formatHasBeenSet = true; m_format = value; }
62 inline ParallelDataConfig& WithFormat(ParallelDataFormat value) { SetFormat(value); return *this;}
64 private:
65
66 Aws::String m_s3Uri;
67 bool m_s3UriHasBeenSet = false;
68
70 bool m_formatHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Translate
75} // 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