AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
S3ReferenceDataSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalyticsV2 {
20namespace Model {
21
32 public:
33 AWS_KINESISANALYTICSV2_API S3ReferenceDataSource() = default;
34 AWS_KINESISANALYTICSV2_API S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISANALYTICSV2_API S3ReferenceDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
43 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
44 template <typename BucketARNT = Aws::String>
45 void SetBucketARN(BucketARNT&& value) {
46 m_bucketARNHasBeenSet = true;
47 m_bucketARN = std::forward<BucketARNT>(value);
48 }
49 template <typename BucketARNT = Aws::String>
50 S3ReferenceDataSource& WithBucketARN(BucketARNT&& value) {
51 SetBucketARN(std::forward<BucketARNT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetFileKey() const { return m_fileKey; }
61 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
62 template <typename FileKeyT = Aws::String>
63 void SetFileKey(FileKeyT&& value) {
64 m_fileKeyHasBeenSet = true;
65 m_fileKey = std::forward<FileKeyT>(value);
66 }
67 template <typename FileKeyT = Aws::String>
69 SetFileKey(std::forward<FileKeyT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_bucketARN;
75
76 Aws::String m_fileKey;
77 bool m_bucketARNHasBeenSet = false;
78 bool m_fileKeyHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace KinesisAnalyticsV2
83} // namespace Aws
AWS_KINESISANALYTICSV2_API S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSource & WithBucketARN(BucketARNT &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API S3ReferenceDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSource & WithFileKey(FileKeyT &&value)
AWS_KINESISANALYTICSV2_API S3ReferenceDataSource()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue