AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
OutputDataConfig.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
28 public:
29 AWS_COMPREHENDMEDICAL_API OutputDataConfig() = default;
30 AWS_COMPREHENDMEDICAL_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue);
31 AWS_COMPREHENDMEDICAL_API OutputDataConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
42 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
43 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
44 template <typename S3BucketT = Aws::String>
45 void SetS3Bucket(S3BucketT&& value) {
46 m_s3BucketHasBeenSet = true;
47 m_s3Bucket = std::forward<S3BucketT>(value);
48 }
49 template <typename S3BucketT = Aws::String>
50 OutputDataConfig& WithS3Bucket(S3BucketT&& value) {
51 SetS3Bucket(std::forward<S3BucketT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetS3Key() const { return m_s3Key; }
63 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
64 template <typename S3KeyT = Aws::String>
65 void SetS3Key(S3KeyT&& value) {
66 m_s3KeyHasBeenSet = true;
67 m_s3Key = std::forward<S3KeyT>(value);
68 }
69 template <typename S3KeyT = Aws::String>
70 OutputDataConfig& WithS3Key(S3KeyT&& value) {
71 SetS3Key(std::forward<S3KeyT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_s3Bucket;
77
78 Aws::String m_s3Key;
79 bool m_s3BucketHasBeenSet = false;
80 bool m_s3KeyHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace ComprehendMedical
85} // namespace Aws
AWS_COMPREHENDMEDICAL_API OutputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHENDMEDICAL_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue)
OutputDataConfig & WithS3Key(S3KeyT &&value)
AWS_COMPREHENDMEDICAL_API OutputDataConfig()=default
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
OutputDataConfig & WithS3Bucket(S3BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue