AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
50 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
51 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
52 inline ParallelDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
53 inline ParallelDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
54 inline ParallelDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
56
58
61 inline const ParallelDataFormat& GetFormat() const{ return m_format; }
62 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
63 inline void SetFormat(const ParallelDataFormat& value) { m_formatHasBeenSet = true; m_format = value; }
64 inline void SetFormat(ParallelDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
65 inline ParallelDataConfig& WithFormat(const ParallelDataFormat& value) { SetFormat(value); return *this;}
66 inline ParallelDataConfig& WithFormat(ParallelDataFormat&& value) { SetFormat(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_s3Uri;
71 bool m_s3UriHasBeenSet = false;
72
73 ParallelDataFormat m_format;
74 bool m_formatHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Translate
79} // namespace Aws
const ParallelDataFormat & GetFormat() const
ParallelDataConfig & WithS3Uri(const Aws::String &value)
void SetS3Uri(const Aws::String &value)
AWS_TRANSLATE_API ParallelDataConfig(Aws::Utils::Json::JsonView jsonValue)
ParallelDataConfig & WithFormat(const ParallelDataFormat &value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
ParallelDataConfig & WithFormat(ParallelDataFormat &&value)
ParallelDataConfig & WithS3Uri(Aws::String &&value)
void SetFormat(ParallelDataFormat &&value)
void SetFormat(const ParallelDataFormat &value)
ParallelDataConfig & WithS3Uri(const char *value)
AWS_TRANSLATE_API ParallelDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue