AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
InputDataConfig.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ComprehendMedical {
20namespace Model {
21
30 public:
31 AWS_COMPREHENDMEDICAL_API InputDataConfig() = default;
32 AWS_COMPREHENDMEDICAL_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPREHENDMEDICAL_API InputDataConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
42 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
43 template <typename S3BucketT = Aws::String>
44 void SetS3Bucket(S3BucketT&& value) {
45 m_s3BucketHasBeenSet = true;
46 m_s3Bucket = std::forward<S3BucketT>(value);
47 }
48 template <typename S3BucketT = Aws::String>
49 InputDataConfig& WithS3Bucket(S3BucketT&& value) {
50 SetS3Bucket(std::forward<S3BucketT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetS3Key() const { return m_s3Key; }
60 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
61 template <typename S3KeyT = Aws::String>
62 void SetS3Key(S3KeyT&& value) {
63 m_s3KeyHasBeenSet = true;
64 m_s3Key = std::forward<S3KeyT>(value);
65 }
66 template <typename S3KeyT = Aws::String>
67 InputDataConfig& WithS3Key(S3KeyT&& value) {
68 SetS3Key(std::forward<S3KeyT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_s3Bucket;
74
75 Aws::String m_s3Key;
76 bool m_s3BucketHasBeenSet = false;
77 bool m_s3KeyHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ComprehendMedical
82} // namespace Aws
AWS_COMPREHENDMEDICAL_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
InputDataConfig & WithS3Key(S3KeyT &&value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHENDMEDICAL_API InputDataConfig()=default
AWS_COMPREHENDMEDICAL_API InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDataConfig & WithS3Bucket(S3BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue