AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
S3LocationDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KafkaConnect {
20namespace Model {
21
29 public:
30 AWS_KAFKACONNECT_API S3LocationDescription() = default;
31 AWS_KAFKACONNECT_API S3LocationDescription(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBucketArn() const { return m_bucketArn; }
40 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
41 template <typename BucketArnT = Aws::String>
42 void SetBucketArn(BucketArnT&& value) {
43 m_bucketArnHasBeenSet = true;
44 m_bucketArn = std::forward<BucketArnT>(value);
45 }
46 template <typename BucketArnT = Aws::String>
47 S3LocationDescription& WithBucketArn(BucketArnT&& value) {
48 SetBucketArn(std::forward<BucketArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFileKey() const { return m_fileKey; }
58 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
59 template <typename FileKeyT = Aws::String>
60 void SetFileKey(FileKeyT&& value) {
61 m_fileKeyHasBeenSet = true;
62 m_fileKey = std::forward<FileKeyT>(value);
63 }
64 template <typename FileKeyT = Aws::String>
66 SetFileKey(std::forward<FileKeyT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetObjectVersion() const { return m_objectVersion; }
76 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
77 template <typename ObjectVersionT = Aws::String>
78 void SetObjectVersion(ObjectVersionT&& value) {
79 m_objectVersionHasBeenSet = true;
80 m_objectVersion = std::forward<ObjectVersionT>(value);
81 }
82 template <typename ObjectVersionT = Aws::String>
83 S3LocationDescription& WithObjectVersion(ObjectVersionT&& value) {
84 SetObjectVersion(std::forward<ObjectVersionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_bucketArn;
90
91 Aws::String m_fileKey;
92
93 Aws::String m_objectVersion;
94 bool m_bucketArnHasBeenSet = false;
95 bool m_fileKeyHasBeenSet = false;
96 bool m_objectVersionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace KafkaConnect
101} // namespace Aws
AWS_KAFKACONNECT_API S3LocationDescription()=default
S3LocationDescription & WithBucketArn(BucketArnT &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API S3LocationDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API S3LocationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3LocationDescription & WithFileKey(FileKeyT &&value)
S3LocationDescription & WithObjectVersion(ObjectVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue