AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 InputDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
53 inline InputDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
54 inline InputDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
56
58
84 inline const Aws::String& GetContentType() const{ return m_contentType; }
85 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
86 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
87 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
88 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
89 inline InputDataConfig& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
90 inline InputDataConfig& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
91 inline InputDataConfig& WithContentType(const char* value) { SetContentType(value); return *this;}
93 private:
94
95 Aws::String m_s3Uri;
96 bool m_s3UriHasBeenSet = false;
97
98 Aws::String m_contentType;
99 bool m_contentTypeHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Translate
104} // namespace Aws
AWS_TRANSLATE_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContentType(Aws::String &&value)
InputDataConfig & WithContentType(const char *value)
AWS_TRANSLATE_API InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDataConfig & WithS3Uri(const char *value)
InputDataConfig & WithS3Uri(Aws::String &&value)
InputDataConfig & WithS3Uri(const Aws::String &value)
InputDataConfig & WithContentType(const Aws::String &value)
void SetS3Uri(const Aws::String &value)
const Aws::String & GetContentType() const
const Aws::String & GetS3Uri() const
void SetContentType(const Aws::String &value)
InputDataConfig & WithContentType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue