AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Object.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
36 {
37 public:
38 AWS_TEXTRACT_API S3Object();
39 AWS_TEXTRACT_API S3Object(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API S3Object& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetBucket() const{ return m_bucket; }
50 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
51 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
52 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
53 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
54 inline S3Object& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
55 inline S3Object& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
56 inline S3Object& WithBucket(const char* value) { SetBucket(value); return *this;}
58
60
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline S3Object& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline S3Object& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline S3Object& WithName(const char* value) { SetName(value); return *this;}
74
76
80 inline const Aws::String& GetVersion() const{ return m_version; }
81 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
82 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
83 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
84 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
85 inline S3Object& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
86 inline S3Object& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
87 inline S3Object& WithVersion(const char* value) { SetVersion(value); return *this;}
89 private:
90
91 Aws::String m_bucket;
92 bool m_bucketHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_version;
98 bool m_versionHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Textract
103} // namespace Aws
S3Object & WithName(const char *value)
Definition S3Object.h:72
void SetVersion(const char *value)
Definition S3Object.h:84
void SetName(const char *value)
Definition S3Object.h:69
void SetName(Aws::String &&value)
Definition S3Object.h:68
S3Object & WithBucket(const Aws::String &value)
Definition S3Object.h:54
AWS_TEXTRACT_API S3Object()
void SetBucket(const char *value)
Definition S3Object.h:53
void SetBucket(const Aws::String &value)
Definition S3Object.h:51
void SetVersion(Aws::String &&value)
Definition S3Object.h:83
void SetName(const Aws::String &value)
Definition S3Object.h:67
AWS_TEXTRACT_API S3Object & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBucket() const
Definition S3Object.h:49
const Aws::String & GetVersion() const
Definition S3Object.h:80
void SetBucket(Aws::String &&value)
Definition S3Object.h:52
const Aws::String & GetName() const
Definition S3Object.h:65
S3Object & WithName(const Aws::String &value)
Definition S3Object.h:70
S3Object & WithName(Aws::String &&value)
Definition S3Object.h:71
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
S3Object & WithVersion(const Aws::String &value)
Definition S3Object.h:85
S3Object & WithBucket(const char *value)
Definition S3Object.h:56
S3Object & WithBucket(Aws::String &&value)
Definition S3Object.h:55
S3Object & WithVersion(Aws::String &&value)
Definition S3Object.h:86
AWS_TEXTRACT_API S3Object(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(const Aws::String &value)
Definition S3Object.h:82
S3Object & WithVersion(const char *value)
Definition S3Object.h:87
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue