AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
S3ReferenceDataSource.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_KINESISANALYTICS_API S3ReferenceDataSource() = default;
41 AWS_KINESISANALYTICS_API S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICS_API S3ReferenceDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
51 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
52 template<typename BucketARNT = Aws::String>
53 void SetBucketARN(BucketARNT&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::forward<BucketARNT>(value); }
54 template<typename BucketARNT = Aws::String>
55 S3ReferenceDataSource& WithBucketARN(BucketARNT&& value) { SetBucketARN(std::forward<BucketARNT>(value)); return *this;}
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) { m_fileKeyHasBeenSet = true; m_fileKey = std::forward<FileKeyT>(value); }
66 template<typename FileKeyT = Aws::String>
67 S3ReferenceDataSource& WithFileKey(FileKeyT&& value) { SetFileKey(std::forward<FileKeyT>(value)); return *this;}
69
71
77 inline const Aws::String& GetReferenceRoleARN() const { return m_referenceRoleARN; }
78 inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
79 template<typename ReferenceRoleARNT = Aws::String>
80 void SetReferenceRoleARN(ReferenceRoleARNT&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::forward<ReferenceRoleARNT>(value); }
81 template<typename ReferenceRoleARNT = Aws::String>
82 S3ReferenceDataSource& WithReferenceRoleARN(ReferenceRoleARNT&& value) { SetReferenceRoleARN(std::forward<ReferenceRoleARNT>(value)); return *this;}
84 private:
85
86 Aws::String m_bucketARN;
87 bool m_bucketARNHasBeenSet = false;
88
89 Aws::String m_fileKey;
90 bool m_fileKeyHasBeenSet = false;
91
92 Aws::String m_referenceRoleARN;
93 bool m_referenceRoleARNHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace KinesisAnalytics
98} // 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