AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3ReferenceDataSourceDescription.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
33 {
34 public:
35 AWS_KINESISANALYTICS_API S3ReferenceDataSourceDescription() = default;
38 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
46 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
47 template<typename BucketARNT = Aws::String>
48 void SetBucketARN(BucketARNT&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::forward<BucketARNT>(value); }
49 template<typename BucketARNT = Aws::String>
50 S3ReferenceDataSourceDescription& WithBucketARN(BucketARNT&& value) { SetBucketARN(std::forward<BucketARNT>(value)); return *this;}
52
54
57 inline const Aws::String& GetFileKey() const { return m_fileKey; }
58 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
59 template<typename FileKeyT = Aws::String>
60 void SetFileKey(FileKeyT&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::forward<FileKeyT>(value); }
61 template<typename FileKeyT = Aws::String>
62 S3ReferenceDataSourceDescription& WithFileKey(FileKeyT&& value) { SetFileKey(std::forward<FileKeyT>(value)); return *this;}
64
66
71 inline const Aws::String& GetReferenceRoleARN() const { return m_referenceRoleARN; }
72 inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
73 template<typename ReferenceRoleARNT = Aws::String>
74 void SetReferenceRoleARN(ReferenceRoleARNT&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::forward<ReferenceRoleARNT>(value); }
75 template<typename ReferenceRoleARNT = Aws::String>
76 S3ReferenceDataSourceDescription& WithReferenceRoleARN(ReferenceRoleARNT&& value) { SetReferenceRoleARN(std::forward<ReferenceRoleARNT>(value)); return *this;}
78 private:
79
80 Aws::String m_bucketARN;
81 bool m_bucketARNHasBeenSet = false;
82
83 Aws::String m_fileKey;
84 bool m_fileKeyHasBeenSet = false;
85
86 Aws::String m_referenceRoleARN;
87 bool m_referenceRoleARNHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace KinesisAnalytics
92} // namespace Aws
AWS_KINESISANALYTICS_API S3ReferenceDataSourceDescription()=default
S3ReferenceDataSourceDescription & WithBucketARN(BucketARNT &&value)
S3ReferenceDataSourceDescription & WithFileKey(FileKeyT &&value)
AWS_KINESISANALYTICS_API S3ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API S3ReferenceDataSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSourceDescription & WithReferenceRoleARN(ReferenceRoleARNT &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue