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/comprehendmedical/ComprehendMedical_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 ComprehendMedical
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_COMPREHENDMEDICAL_API InputDataConfig();
37 AWS_COMPREHENDMEDICAL_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COMPREHENDMEDICAL_API InputDataConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
48 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
49 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
50 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
51 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
52 inline InputDataConfig& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
53 inline InputDataConfig& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
54 inline InputDataConfig& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
56
58
61 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
62 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
63 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
64 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
65 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
66 inline InputDataConfig& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
67 inline InputDataConfig& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
68 inline InputDataConfig& WithS3Key(const char* value) { SetS3Key(value); return *this;}
70 private:
71
72 Aws::String m_s3Bucket;
73 bool m_s3BucketHasBeenSet = false;
74
75 Aws::String m_s3Key;
76 bool m_s3KeyHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ComprehendMedical
81} // namespace Aws
AWS_COMPREHENDMEDICAL_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
InputDataConfig & WithS3Key(Aws::String &&value)
void SetS3Bucket(const Aws::String &value)
InputDataConfig & WithS3Bucket(const char *value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
InputDataConfig & WithS3Bucket(Aws::String &&value)
InputDataConfig & WithS3Key(const char *value)
AWS_COMPREHENDMEDICAL_API InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDataConfig & WithS3Bucket(const Aws::String &value)
AWS_COMPREHENDMEDICAL_API InputDataConfig()
InputDataConfig & WithS3Key(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue