AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_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 KafkaConnect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_KAFKACONNECT_API S3Location();
35 AWS_KAFKACONNECT_API S3Location(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KAFKACONNECT_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetBucketArn() const{ return m_bucketArn; }
45 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
46 inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; }
47 inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); }
48 inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); }
49 inline S3Location& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;}
50 inline S3Location& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;}
51 inline S3Location& WithBucketArn(const char* value) { SetBucketArn(value); return *this;}
53
55
58 inline const Aws::String& GetFileKey() const{ return m_fileKey; }
59 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
60 inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
61 inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
62 inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
63 inline S3Location& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
64 inline S3Location& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
65 inline S3Location& WithFileKey(const char* value) { SetFileKey(value); return *this;}
67
69
72 inline const Aws::String& GetObjectVersion() const{ return m_objectVersion; }
73 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
74 inline void SetObjectVersion(const Aws::String& value) { m_objectVersionHasBeenSet = true; m_objectVersion = value; }
75 inline void SetObjectVersion(Aws::String&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::move(value); }
76 inline void SetObjectVersion(const char* value) { m_objectVersionHasBeenSet = true; m_objectVersion.assign(value); }
77 inline S3Location& WithObjectVersion(const Aws::String& value) { SetObjectVersion(value); return *this;}
78 inline S3Location& WithObjectVersion(Aws::String&& value) { SetObjectVersion(std::move(value)); return *this;}
79 inline S3Location& WithObjectVersion(const char* value) { SetObjectVersion(value); return *this;}
81 private:
82
83 Aws::String m_bucketArn;
84 bool m_bucketArnHasBeenSet = false;
85
86 Aws::String m_fileKey;
87 bool m_fileKeyHasBeenSet = false;
88
89 Aws::String m_objectVersion;
90 bool m_objectVersionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace KafkaConnect
95} // namespace Aws
S3Location & WithObjectVersion(const char *value)
Definition S3Location.h:79
S3Location & WithBucketArn(Aws::String &&value)
Definition S3Location.h:50
S3Location & WithFileKey(const Aws::String &value)
Definition S3Location.h:63
void SetBucketArn(const char *value)
Definition S3Location.h:48
void SetBucketArn(const Aws::String &value)
Definition S3Location.h:46
S3Location & WithFileKey(Aws::String &&value)
Definition S3Location.h:64
AWS_KAFKACONNECT_API S3Location(Aws::Utils::Json::JsonView jsonValue)
S3Location & WithObjectVersion(Aws::String &&value)
Definition S3Location.h:78
const Aws::String & GetFileKey() const
Definition S3Location.h:58
AWS_KAFKACONNECT_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObjectVersion(Aws::String &&value)
Definition S3Location.h:75
void SetBucketArn(Aws::String &&value)
Definition S3Location.h:47
void SetObjectVersion(const char *value)
Definition S3Location.h:76
S3Location & WithBucketArn(const char *value)
Definition S3Location.h:51
AWS_KAFKACONNECT_API S3Location()
S3Location & WithObjectVersion(const Aws::String &value)
Definition S3Location.h:77
const Aws::String & GetObjectVersion() const
Definition S3Location.h:72
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetObjectVersion(const Aws::String &value)
Definition S3Location.h:74
void SetFileKey(Aws::String &&value)
Definition S3Location.h:61
void SetFileKey(const Aws::String &value)
Definition S3Location.h:60
const Aws::String & GetBucketArn() const
Definition S3Location.h:44
S3Location & WithBucketArn(const Aws::String &value)
Definition S3Location.h:49
S3Location & WithFileKey(const char *value)
Definition S3Location.h:65
void SetFileKey(const char *value)
Definition S3Location.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue