AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InputDataConfig.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Translate
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TRANSLATE_API InputDataConfig() = default;
36 AWS_TRANSLATE_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
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 InputDataConfig& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
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) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
86 template<typename ContentTypeT = Aws::String>
87 InputDataConfig& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
89 private:
90
91 Aws::String m_s3Uri;
92 bool m_s3UriHasBeenSet = false;
93
94 Aws::String m_contentType;
95 bool m_contentTypeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Translate
100} // 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