AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InputDataConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/translate/Translate_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Translate {
20namespace Model {
21
29 public:
30 AWS_TRANSLATE_API InputDataConfig() = default;
31 AWS_TRANSLATE_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
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 InputDataConfig& WithS3Uri(S3UriT&& value) {
50 SetS3Uri(std::forward<S3UriT>(value));
51 return *this;
52 }
54
56
82 inline const Aws::String& GetContentType() const { return m_contentType; }
83 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
84 template <typename ContentTypeT = Aws::String>
85 void SetContentType(ContentTypeT&& value) {
86 m_contentTypeHasBeenSet = true;
87 m_contentType = std::forward<ContentTypeT>(value);
88 }
89 template <typename ContentTypeT = Aws::String>
90 InputDataConfig& WithContentType(ContentTypeT&& value) {
91 SetContentType(std::forward<ContentTypeT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_s3Uri;
97
98 Aws::String m_contentType;
99 bool m_s3UriHasBeenSet = false;
100 bool m_contentTypeHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Translate
105} // namespace Aws
AWS_TRANSLATE_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSLATE_API InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentType(ContentTypeT &&value)
InputDataConfig & WithContentType(ContentTypeT &&value)
const Aws::String & GetContentType() const
const Aws::String & GetS3Uri() const
InputDataConfig & WithS3Uri(S3UriT &&value)
AWS_TRANSLATE_API InputDataConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue