AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3LocationDescription.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
33 {
34 public:
35 AWS_KAFKACONNECT_API S3LocationDescription() = default;
36 AWS_KAFKACONNECT_API S3LocationDescription(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucketArn() const { return m_bucketArn; }
46 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
47 template<typename BucketArnT = Aws::String>
48 void SetBucketArn(BucketArnT&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::forward<BucketArnT>(value); }
49 template<typename BucketArnT = Aws::String>
50 S3LocationDescription& WithBucketArn(BucketArnT&& value) { SetBucketArn(std::forward<BucketArnT>(value)); return *this;}
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) { m_fileKeyHasBeenSet = true; m_fileKey = std::forward<FileKeyT>(value); }
61 template<typename FileKeyT = Aws::String>
62 S3LocationDescription& WithFileKey(FileKeyT&& value) { SetFileKey(std::forward<FileKeyT>(value)); return *this;}
64
66
69 inline const Aws::String& GetObjectVersion() const { return m_objectVersion; }
70 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
71 template<typename ObjectVersionT = Aws::String>
72 void SetObjectVersion(ObjectVersionT&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::forward<ObjectVersionT>(value); }
73 template<typename ObjectVersionT = Aws::String>
74 S3LocationDescription& WithObjectVersion(ObjectVersionT&& value) { SetObjectVersion(std::forward<ObjectVersionT>(value)); return *this;}
76 private:
77
78 Aws::String m_bucketArn;
79 bool m_bucketArnHasBeenSet = false;
80
81 Aws::String m_fileKey;
82 bool m_fileKeyHasBeenSet = false;
83
84 Aws::String m_objectVersion;
85 bool m_objectVersionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace KafkaConnect
90} // 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