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/rekognition/Rekognition_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 Rekognition
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_REKOGNITION_API S3Object();
40 AWS_REKOGNITION_API S3Object(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API S3Object& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
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
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline S3Object& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline S3Object& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline S3Object& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const Aws::String& GetVersion() const{ return m_version; }
78 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
79 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
80 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
81 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
82 inline S3Object& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
83 inline S3Object& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
84 inline S3Object& WithVersion(const char* value) { SetVersion(value); return *this;}
86 private:
87
88 Aws::String m_bucket;
89 bool m_bucketHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::String m_version;
95 bool m_versionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Rekognition
100} // namespace Aws
S3Object & WithVersion(Aws::String &&value)
Definition S3Object.h:83
S3Object & WithBucket(Aws::String &&value)
Definition S3Object.h:55
S3Object & WithName(const char *value)
Definition S3Object.h:70
const Aws::String & GetBucket() const
Definition S3Object.h:49
void SetBucket(const Aws::String &value)
Definition S3Object.h:51
S3Object & WithBucket(const Aws::String &value)
Definition S3Object.h:54
S3Object & WithName(Aws::String &&value)
Definition S3Object.h:69
const Aws::String & GetName() const
Definition S3Object.h:63
const Aws::String & GetVersion() const
Definition S3Object.h:77
AWS_REKOGNITION_API S3Object(Aws::Utils::Json::JsonView jsonValue)
S3Object & WithName(const Aws::String &value)
Definition S3Object.h:68
S3Object & WithBucket(const char *value)
Definition S3Object.h:56
void SetBucket(const char *value)
Definition S3Object.h:53
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
Definition S3Object.h:66
void SetVersion(const Aws::String &value)
Definition S3Object.h:79
S3Object & WithVersion(const Aws::String &value)
Definition S3Object.h:82
void SetVersion(Aws::String &&value)
Definition S3Object.h:80
void SetVersion(const char *value)
Definition S3Object.h:81
AWS_REKOGNITION_API S3Object()
void SetName(const char *value)
Definition S3Object.h:67
AWS_REKOGNITION_API S3Object & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
Definition S3Object.h:65
void SetBucket(Aws::String &&value)
Definition S3Object.h:52
S3Object & WithVersion(const char *value)
Definition S3Object.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue