AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_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 GlueDataBrew
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GLUEDATABREW_API S3Location() = default;
37 AWS_GLUEDATABREW_API S3Location(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLUEDATABREW_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucket() const { return m_bucket; }
47 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
48 template<typename BucketT = Aws::String>
49 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
50 template<typename BucketT = Aws::String>
51 S3Location& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
53
55
58 inline const Aws::String& GetKey() const { return m_key; }
59 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
60 template<typename KeyT = Aws::String>
61 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
62 template<typename KeyT = Aws::String>
63 S3Location& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
65
67
70 inline const Aws::String& GetBucketOwner() const { return m_bucketOwner; }
71 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
72 template<typename BucketOwnerT = Aws::String>
73 void SetBucketOwner(BucketOwnerT&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::forward<BucketOwnerT>(value); }
74 template<typename BucketOwnerT = Aws::String>
75 S3Location& WithBucketOwner(BucketOwnerT&& value) { SetBucketOwner(std::forward<BucketOwnerT>(value)); return *this;}
77 private:
78
79 Aws::String m_bucket;
80 bool m_bucketHasBeenSet = false;
81
82 Aws::String m_key;
83 bool m_keyHasBeenSet = false;
84
85 Aws::String m_bucketOwner;
86 bool m_bucketOwnerHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace GlueDataBrew
91} // namespace Aws
void SetBucket(BucketT &&value)
Definition S3Location.h:49
const Aws::String & GetBucketOwner() const
Definition S3Location.h:70
AWS_GLUEDATABREW_API S3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
S3Location & WithBucketOwner(BucketOwnerT &&value)
Definition S3Location.h:75
const Aws::String & GetKey() const
Definition S3Location.h:58
S3Location & WithBucket(BucketT &&value)
Definition S3Location.h:51
S3Location & WithKey(KeyT &&value)
Definition S3Location.h:63
AWS_GLUEDATABREW_API S3Location()=default
const Aws::String & GetBucket() const
Definition S3Location.h:46
void SetBucketOwner(BucketOwnerT &&value)
Definition S3Location.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue