AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
53 inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
54 inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
55 inline S3ReferenceDataSource& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
56 inline S3ReferenceDataSource& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
57 inline S3ReferenceDataSource& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
59
61
64 inline const Aws::String& GetFileKey() const{ return m_fileKey; }
65 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
66 inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
67 inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
68 inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
69 inline S3ReferenceDataSource& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
70 inline S3ReferenceDataSource& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
71 inline S3ReferenceDataSource& WithFileKey(const char* value) { SetFileKey(value); return *this;}
73
75
81 inline const Aws::String& GetReferenceRoleARN() const{ return m_referenceRoleARN; }
82 inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
83 inline void SetReferenceRoleARN(const Aws::String& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = value; }
84 inline void SetReferenceRoleARN(Aws::String&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::move(value); }
85 inline void SetReferenceRoleARN(const char* value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN.assign(value); }
86 inline S3ReferenceDataSource& WithReferenceRoleARN(const Aws::String& value) { SetReferenceRoleARN(value); return *this;}
87 inline S3ReferenceDataSource& WithReferenceRoleARN(Aws::String&& value) { SetReferenceRoleARN(std::move(value)); return *this;}
88 inline S3ReferenceDataSource& WithReferenceRoleARN(const char* value) { SetReferenceRoleARN(value); return *this;}
90 private:
91
92 Aws::String m_bucketARN;
93 bool m_bucketARNHasBeenSet = false;
94
95 Aws::String m_fileKey;
96 bool m_fileKeyHasBeenSet = false;
97
98 Aws::String m_referenceRoleARN;
99 bool m_referenceRoleARNHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace KinesisAnalytics
104} // namespace Aws
S3ReferenceDataSource & WithFileKey(const char *value)
AWS_KINESISANALYTICS_API S3ReferenceDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSource & WithReferenceRoleARN(Aws::String &&value)
S3ReferenceDataSource & WithReferenceRoleARN(const Aws::String &value)
S3ReferenceDataSource & WithFileKey(Aws::String &&value)
S3ReferenceDataSource & WithFileKey(const Aws::String &value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
S3ReferenceDataSource & WithBucketARN(const char *value)
AWS_KINESISANALYTICS_API S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSource & WithReferenceRoleARN(const char *value)
S3ReferenceDataSource & WithBucketARN(Aws::String &&value)
S3ReferenceDataSource & WithBucketARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue