AWS SDK for C++  1.9.108
AWS SDK for C++
InputS3Object.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace LookoutforVision
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetBucket() const{ return m_bucket; }
45 
49  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
50 
54  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
55 
59  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
60 
64  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
65 
69  inline InputS3Object& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
70 
74  inline InputS3Object& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
75 
79  inline InputS3Object& WithBucket(const char* value) { SetBucket(value); return *this;}
80 
81 
85  inline const Aws::String& GetKey() const{ return m_key; }
86 
90  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
91 
95  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
96 
100  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
101 
105  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
106 
110  inline InputS3Object& WithKey(const Aws::String& value) { SetKey(value); return *this;}
111 
115  inline InputS3Object& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
116 
120  inline InputS3Object& WithKey(const char* value) { SetKey(value); return *this;}
121 
122 
126  inline const Aws::String& GetVersionId() const{ return m_versionId; }
127 
131  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
132 
136  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
137 
141  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
142 
146  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
147 
151  inline InputS3Object& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
152 
156  inline InputS3Object& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
157 
161  inline InputS3Object& WithVersionId(const char* value) { SetVersionId(value); return *this;}
162 
163  private:
164 
165  Aws::String m_bucket;
166  bool m_bucketHasBeenSet;
167 
168  Aws::String m_key;
169  bool m_keyHasBeenSet;
170 
171  Aws::String m_versionId;
172  bool m_versionIdHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace LookoutforVision
177 } // namespace Aws
Aws::LookoutforVision::Model::InputS3Object::GetVersionId
const Aws::String & GetVersionId() const
Definition: InputS3Object.h:126
Aws::LookoutforVision::Model::InputS3Object::WithVersionId
InputS3Object & WithVersionId(const Aws::String &value)
Definition: InputS3Object.h:151
Aws::LookoutforVision::Model::InputS3Object::SetKey
void SetKey(const Aws::String &value)
Definition: InputS3Object.h:95
Aws::LookoutforVision::Model::InputS3Object::WithKey
InputS3Object & WithKey(const char *value)
Definition: InputS3Object.h:120
Aws::LookoutforVision::Model::InputS3Object::WithBucket
InputS3Object & WithBucket(const Aws::String &value)
Definition: InputS3Object.h:69
Aws::LookoutforVision::Model::InputS3Object::SetBucket
void SetBucket(Aws::String &&value)
Definition: InputS3Object.h:59
Aws::LookoutforVision::Model::InputS3Object::SetKey
void SetKey(const char *value)
Definition: InputS3Object.h:105
Aws::LookoutforVision::Model::InputS3Object::WithVersionId
InputS3Object & WithVersionId(const char *value)
Definition: InputS3Object.h:161
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::InputS3Object::SetVersionId
void SetVersionId(const char *value)
Definition: InputS3Object.h:146
Aws::LookoutforVision::Model::InputS3Object::SetVersionId
void SetVersionId(Aws::String &&value)
Definition: InputS3Object.h:141
Aws::LookoutforVision::Model::InputS3Object
Definition: InputS3Object.h:33
Aws::LookoutforVision::Model::InputS3Object::operator=
InputS3Object & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::InputS3Object::InputS3Object
InputS3Object(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::InputS3Object::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::InputS3Object::InputS3Object
InputS3Object()
Aws::LookoutforVision::Model::InputS3Object::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: InputS3Object.h:90
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::InputS3Object::GetBucket
const Aws::String & GetBucket() const
Definition: InputS3Object.h:44
Aws::LookoutforVision::Model::InputS3Object::SetBucket
void SetBucket(const Aws::String &value)
Definition: InputS3Object.h:54
Aws::LookoutforVision::Model::InputS3Object::WithVersionId
InputS3Object & WithVersionId(Aws::String &&value)
Definition: InputS3Object.h:156
Aws::LookoutforVision::Model::InputS3Object::WithKey
InputS3Object & WithKey(const Aws::String &value)
Definition: InputS3Object.h:110
Aws::LookoutforVision::Model::InputS3Object::SetKey
void SetKey(Aws::String &&value)
Definition: InputS3Object.h:100
Aws::LookoutforVision::Model::InputS3Object::SetBucket
void SetBucket(const char *value)
Definition: InputS3Object.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::InputS3Object::GetKey
const Aws::String & GetKey() const
Definition: InputS3Object.h:85
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::InputS3Object::VersionIdHasBeenSet
bool VersionIdHasBeenSet() const
Definition: InputS3Object.h:131
Aws::LookoutforVision::Model::InputS3Object::WithBucket
InputS3Object & WithBucket(const char *value)
Definition: InputS3Object.h:79
Aws::LookoutforVision::Model::InputS3Object::WithBucket
InputS3Object & WithBucket(Aws::String &&value)
Definition: InputS3Object.h:74
Aws::LookoutforVision::Model::InputS3Object::WithKey
InputS3Object & WithKey(Aws::String &&value)
Definition: InputS3Object.h:115
Aws::LookoutforVision::Model::InputS3Object::SetVersionId
void SetVersionId(const Aws::String &value)
Definition: InputS3Object.h:136
Aws::LookoutforVision::Model::InputS3Object::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: InputS3Object.h:49