AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; }
48 inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); }
49 inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); }
50 inline S3LocationDescription& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;}
51 inline S3LocationDescription& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;}
52 inline S3LocationDescription& WithBucketArn(const char* value) { SetBucketArn(value); return *this;}
54
56
59 inline const Aws::String& GetFileKey() const{ return m_fileKey; }
60 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
61 inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
62 inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
63 inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
64 inline S3LocationDescription& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
65 inline S3LocationDescription& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
66 inline S3LocationDescription& WithFileKey(const char* value) { SetFileKey(value); return *this;}
68
70
73 inline const Aws::String& GetObjectVersion() const{ return m_objectVersion; }
74 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
75 inline void SetObjectVersion(const Aws::String& value) { m_objectVersionHasBeenSet = true; m_objectVersion = value; }
76 inline void SetObjectVersion(Aws::String&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::move(value); }
77 inline void SetObjectVersion(const char* value) { m_objectVersionHasBeenSet = true; m_objectVersion.assign(value); }
78 inline S3LocationDescription& WithObjectVersion(const Aws::String& value) { SetObjectVersion(value); return *this;}
79 inline S3LocationDescription& WithObjectVersion(Aws::String&& value) { SetObjectVersion(std::move(value)); return *this;}
80 inline S3LocationDescription& WithObjectVersion(const char* value) { SetObjectVersion(value); return *this;}
82 private:
83
84 Aws::String m_bucketArn;
85 bool m_bucketArnHasBeenSet = false;
86
87 Aws::String m_fileKey;
88 bool m_fileKeyHasBeenSet = false;
89
90 Aws::String m_objectVersion;
91 bool m_objectVersionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace KafkaConnect
96} // namespace Aws
S3LocationDescription & WithObjectVersion(const char *value)
S3LocationDescription & WithObjectVersion(Aws::String &&value)
S3LocationDescription & WithFileKey(Aws::String &&value)
S3LocationDescription & WithFileKey(const Aws::String &value)
S3LocationDescription & WithFileKey(const char *value)
S3LocationDescription & WithBucketArn(Aws::String &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API S3LocationDescription(Aws::Utils::Json::JsonView jsonValue)
S3LocationDescription & WithBucketArn(const Aws::String &value)
S3LocationDescription & WithObjectVersion(const Aws::String &value)
AWS_KAFKACONNECT_API S3LocationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3LocationDescription & WithBucketArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue