AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename BucketArnT = Aws::String>
47 void SetBucketArn(BucketArnT&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::forward<BucketArnT>(value); }
48 template<typename BucketArnT = Aws::String>
49 S3Location& WithBucketArn(BucketArnT&& value) { SetBucketArn(std::forward<BucketArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetFileKey() const { return m_fileKey; }
57 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
58 template<typename FileKeyT = Aws::String>
59 void SetFileKey(FileKeyT&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::forward<FileKeyT>(value); }
60 template<typename FileKeyT = Aws::String>
61 S3Location& WithFileKey(FileKeyT&& value) { SetFileKey(std::forward<FileKeyT>(value)); return *this;}
63
65
68 inline const Aws::String& GetObjectVersion() const { return m_objectVersion; }
69 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
70 template<typename ObjectVersionT = Aws::String>
71 void SetObjectVersion(ObjectVersionT&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::forward<ObjectVersionT>(value); }
72 template<typename ObjectVersionT = Aws::String>
73 S3Location& WithObjectVersion(ObjectVersionT&& value) { SetObjectVersion(std::forward<ObjectVersionT>(value)); return *this;}
75 private:
76
77 Aws::String m_bucketArn;
78 bool m_bucketArnHasBeenSet = false;
79
80 Aws::String m_fileKey;
81 bool m_fileKeyHasBeenSet = false;
82
83 Aws::String m_objectVersion;
84 bool m_objectVersionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace KafkaConnect
89} // namespace Aws
void SetBucketArn(BucketArnT &&value)
Definition S3Location.h:47
void SetFileKey(FileKeyT &&value)
Definition S3Location.h:59
void SetObjectVersion(ObjectVersionT &&value)
Definition S3Location.h:71
S3Location & WithObjectVersion(ObjectVersionT &&value)
Definition S3Location.h:73
AWS_KAFKACONNECT_API S3Location(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFileKey() const
Definition S3Location.h:56
AWS_KAFKACONNECT_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API S3Location()=default
S3Location & WithFileKey(FileKeyT &&value)
Definition S3Location.h:61
const Aws::String & GetObjectVersion() const
Definition S3Location.h:68
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBucketArn() const
Definition S3Location.h:44
S3Location & WithBucketArn(BucketArnT &&value)
Definition S3Location.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue