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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_KINESISANALYTICSV2_API S3ReferenceDataSource();
39 AWS_KINESISANALYTICSV2_API S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API S3ReferenceDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
49 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
50 inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
51 inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
52 inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
53 inline S3ReferenceDataSource& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
54 inline S3ReferenceDataSource& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
55 inline S3ReferenceDataSource& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
57
59
62 inline const Aws::String& GetFileKey() const{ return m_fileKey; }
63 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
64 inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
65 inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
66 inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
67 inline S3ReferenceDataSource& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
68 inline S3ReferenceDataSource& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
69 inline S3ReferenceDataSource& WithFileKey(const char* value) { SetFileKey(value); return *this;}
71 private:
72
73 Aws::String m_bucketARN;
74 bool m_bucketARNHasBeenSet = false;
75
76 Aws::String m_fileKey;
77 bool m_fileKeyHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace KinesisAnalyticsV2
82} // namespace Aws
AWS_KINESISANALYTICSV2_API S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API S3ReferenceDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSource & WithFileKey(Aws::String &&value)
S3ReferenceDataSource & WithBucketARN(const char *value)
S3ReferenceDataSource & WithBucketARN(const Aws::String &value)
S3ReferenceDataSource & WithBucketARN(Aws::String &&value)
S3ReferenceDataSource & WithFileKey(const Aws::String &value)
S3ReferenceDataSource & WithFileKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue