AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
S3ReferenceDataSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalytics {
20namespace Model {
21
34 public:
35 AWS_KINESISANALYTICS_API S3ReferenceDataSource() = default;
36 AWS_KINESISANALYTICS_API S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISANALYTICS_API S3ReferenceDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
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) {
48 m_bucketARNHasBeenSet = true;
49 m_bucketARN = std::forward<BucketARNT>(value);
50 }
51 template <typename BucketARNT = Aws::String>
52 S3ReferenceDataSource& WithBucketARN(BucketARNT&& value) {
53 SetBucketARN(std::forward<BucketARNT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetFileKey() const { return m_fileKey; }
63 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
64 template <typename FileKeyT = Aws::String>
65 void SetFileKey(FileKeyT&& value) {
66 m_fileKeyHasBeenSet = true;
67 m_fileKey = std::forward<FileKeyT>(value);
68 }
69 template <typename FileKeyT = Aws::String>
71 SetFileKey(std::forward<FileKeyT>(value));
72 return *this;
73 }
75
77
83 inline const Aws::String& GetReferenceRoleARN() const { return m_referenceRoleARN; }
84 inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
85 template <typename ReferenceRoleARNT = Aws::String>
86 void SetReferenceRoleARN(ReferenceRoleARNT&& value) {
87 m_referenceRoleARNHasBeenSet = true;
88 m_referenceRoleARN = std::forward<ReferenceRoleARNT>(value);
89 }
90 template <typename ReferenceRoleARNT = Aws::String>
91 S3ReferenceDataSource& WithReferenceRoleARN(ReferenceRoleARNT&& value) {
92 SetReferenceRoleARN(std::forward<ReferenceRoleARNT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_bucketARN;
98
99 Aws::String m_fileKey;
100
101 Aws::String m_referenceRoleARN;
102 bool m_bucketARNHasBeenSet = false;
103 bool m_fileKeyHasBeenSet = false;
104 bool m_referenceRoleARNHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace KinesisAnalytics
109} // namespace Aws
AWS_KINESISANALYTICS_API S3ReferenceDataSource()=default
AWS_KINESISANALYTICS_API S3ReferenceDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSource & WithBucketARN(BucketARNT &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
S3ReferenceDataSource & WithFileKey(FileKeyT &&value)
AWS_KINESISANALYTICS_API S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSource & WithReferenceRoleARN(ReferenceRoleARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue