AWS SDK for C++  1.9.108
AWS SDK for C++
OutputS3Object.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 OutputS3Object& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
70 
74  inline OutputS3Object& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
75 
79  inline OutputS3Object& 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 OutputS3Object& WithKey(const Aws::String& value) { SetKey(value); return *this;}
111 
115  inline OutputS3Object& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
116 
120  inline OutputS3Object& WithKey(const char* value) { SetKey(value); return *this;}
121 
122  private:
123 
124  Aws::String m_bucket;
125  bool m_bucketHasBeenSet;
126 
127  Aws::String m_key;
128  bool m_keyHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace LookoutforVision
133 } // namespace Aws
Aws::LookoutforVision::Model::OutputS3Object::SetKey
void SetKey(Aws::String &&value)
Definition: OutputS3Object.h:100
Aws::LookoutforVision::Model::OutputS3Object::WithBucket
OutputS3Object & WithBucket(const char *value)
Definition: OutputS3Object.h:79
Aws::LookoutforVision::Model::OutputS3Object
Definition: OutputS3Object.h:33
Aws::LookoutforVision::Model::OutputS3Object::SetBucket
void SetBucket(const Aws::String &value)
Definition: OutputS3Object.h:54
Aws::LookoutforVision::Model::OutputS3Object::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::OutputS3Object::WithKey
OutputS3Object & WithKey(Aws::String &&value)
Definition: OutputS3Object.h:115
Aws::LookoutforVision::Model::OutputS3Object::OutputS3Object
OutputS3Object(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::OutputS3Object::SetKey
void SetKey(const char *value)
Definition: OutputS3Object.h:105
Aws::LookoutforVision::Model::OutputS3Object::operator=
OutputS3Object & operator=(Aws::Utils::Json::JsonView jsonValue)
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::OutputS3Object::WithKey
OutputS3Object & WithKey(const Aws::String &value)
Definition: OutputS3Object.h:110
Aws::LookoutforVision::Model::OutputS3Object::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: OutputS3Object.h:49
Aws::LookoutforVision::Model::OutputS3Object::SetKey
void SetKey(const Aws::String &value)
Definition: OutputS3Object.h:95
Aws::LookoutforVision::Model::OutputS3Object::WithBucket
OutputS3Object & WithBucket(const Aws::String &value)
Definition: OutputS3Object.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::OutputS3Object::SetBucket
void SetBucket(Aws::String &&value)
Definition: OutputS3Object.h:59
Aws::LookoutforVision::Model::OutputS3Object::SetBucket
void SetBucket(const char *value)
Definition: OutputS3Object.h:64
Aws::LookoutforVision::Model::OutputS3Object::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: OutputS3Object.h:90
Aws::LookoutforVision::Model::OutputS3Object::GetKey
const Aws::String & GetKey() const
Definition: OutputS3Object.h:85
Aws::LookoutforVision::Model::OutputS3Object::GetBucket
const Aws::String & GetBucket() const
Definition: OutputS3Object.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::OutputS3Object::WithBucket
OutputS3Object & WithBucket(Aws::String &&value)
Definition: OutputS3Object.h:74
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::OutputS3Object::OutputS3Object
OutputS3Object()
Aws::LookoutforVision::Model::OutputS3Object::WithKey
OutputS3Object & WithKey(const char *value)
Definition: OutputS3Object.h:120