AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutputConfig.h
1
6#pragma once
7#include <aws/textract/Textract_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 Textract
22{
23namespace Model
24{
25
52 {
53 public:
54 AWS_TEXTRACT_API OutputConfig();
55 AWS_TEXTRACT_API OutputConfig(Aws::Utils::Json::JsonView jsonValue);
57 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
58
59
61
64 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
65 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
66 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
67 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
68 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
69 inline OutputConfig& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
70 inline OutputConfig& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
71 inline OutputConfig& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
73
75
79 inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
80 inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
81 inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; }
82 inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); }
83 inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); }
84 inline OutputConfig& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
85 inline OutputConfig& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
86 inline OutputConfig& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
88 private:
89
90 Aws::String m_s3Bucket;
91 bool m_s3BucketHasBeenSet = false;
92
93 Aws::String m_s3Prefix;
94 bool m_s3PrefixHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Textract
99} // namespace Aws
OutputConfig & WithS3Bucket(const char *value)
AWS_TEXTRACT_API OutputConfig(Aws::Utils::Json::JsonView jsonValue)
void SetS3Prefix(const char *value)
OutputConfig & WithS3Bucket(const Aws::String &value)
AWS_TEXTRACT_API OutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3Prefix(Aws::String &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
OutputConfig & WithS3Prefix(Aws::String &&value)
void SetS3Prefix(const Aws::String &value)
const Aws::String & GetS3Prefix() const
OutputConfig & WithS3Prefix(const Aws::String &value)
OutputConfig & WithS3Prefix(const char *value)
void SetS3Bucket(const char *value)
OutputConfig & WithS3Bucket(Aws::String &&value)
const Aws::String & GetS3Bucket() const
void SetS3Bucket(const Aws::String &value)
void SetS3Bucket(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue