AWS SDK for C++  1.9.108
AWS SDK for C++
S3Location.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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetBucket() const{ return m_bucket; }
44 
48  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
49 
53  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
54 
58  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
59 
63  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
64 
68  inline S3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
69 
73  inline S3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
74 
78  inline S3Location& WithBucket(const char* value) { SetBucket(value); return *this;}
79 
80 
85  inline const Aws::String& GetPrefix() const{ return m_prefix; }
86 
91  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
92 
97  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
98 
103  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
104 
109  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
110 
115  inline S3Location& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
116 
121  inline S3Location& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
122 
127  inline S3Location& WithPrefix(const char* value) { SetPrefix(value); return *this;}
128 
129  private:
130 
131  Aws::String m_bucket;
132  bool m_bucketHasBeenSet;
133 
134  Aws::String m_prefix;
135  bool m_prefixHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace LookoutforVision
140 } // namespace Aws
Aws::LookoutforVision::Model::S3Location::S3Location
S3Location(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::S3Location::WithBucket
S3Location & WithBucket(Aws::String &&value)
Definition: S3Location.h:73
Aws::LookoutforVision::Model::S3Location::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::S3Location
Definition: S3Location.h:32
Aws::LookoutforVision::Model::S3Location::GetBucket
const Aws::String & GetBucket() const
Definition: S3Location.h:43
Aws::LookoutforVision::Model::S3Location::SetBucket
void SetBucket(Aws::String &&value)
Definition: S3Location.h:58
Aws::LookoutforVision::Model::S3Location::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: S3Location.h:48
Aws::LookoutforVision::Model::S3Location::WithBucket
S3Location & WithBucket(const Aws::String &value)
Definition: S3Location.h:68
Aws::LookoutforVision::Model::S3Location::WithBucket
S3Location & WithBucket(const char *value)
Definition: S3Location.h:78
Aws::LookoutforVision::Model::S3Location::SetPrefix
void SetPrefix(const char *value)
Definition: S3Location.h:109
Aws::LookoutforVision::Model::S3Location::operator=
S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::S3Location::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: S3Location.h:91
Aws::LookoutforVision::Model::S3Location::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: S3Location.h:103
Aws::LookoutforVision::Model::S3Location::S3Location
S3Location()
Aws::LookoutforVision::Model::S3Location::SetBucket
void SetBucket(const char *value)
Definition: S3Location.h:63
Aws::LookoutforVision::Model::S3Location::WithPrefix
S3Location & WithPrefix(const char *value)
Definition: S3Location.h:127
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::S3Location::WithPrefix
S3Location & WithPrefix(Aws::String &&value)
Definition: S3Location.h:121
Aws::LookoutforVision::Model::S3Location::GetPrefix
const Aws::String & GetPrefix() const
Definition: S3Location.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::S3Location::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: S3Location.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutforVision::Model::S3Location::WithPrefix
S3Location & WithPrefix(const Aws::String &value)
Definition: S3Location.h:115
Aws::LookoutforVision::Model::S3Location::SetBucket
void SetBucket(const Aws::String &value)
Definition: S3Location.h:53
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28