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/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
34 {
35 public:
36 AWS_KINESISANALYTICSV2_API S3ReferenceDataSourceDescription() = default;
37 AWS_KINESISANALYTICSV2_API S3ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
47 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
48 template<typename BucketARNT = Aws::String>
49 void SetBucketARN(BucketARNT&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::forward<BucketARNT>(value); }
50 template<typename BucketARNT = Aws::String>
51 S3ReferenceDataSourceDescription& WithBucketARN(BucketARNT&& value) { SetBucketARN(std::forward<BucketARNT>(value)); return *this;}
53
55
58 inline const Aws::String& GetFileKey() const { return m_fileKey; }
59 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
60 template<typename FileKeyT = Aws::String>
61 void SetFileKey(FileKeyT&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::forward<FileKeyT>(value); }
62 template<typename FileKeyT = Aws::String>
63 S3ReferenceDataSourceDescription& WithFileKey(FileKeyT&& value) { SetFileKey(std::forward<FileKeyT>(value)); return *this;}
65
67
74 inline const Aws::String& GetReferenceRoleARN() const { return m_referenceRoleARN; }
75 inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
76 template<typename ReferenceRoleARNT = Aws::String>
77 void SetReferenceRoleARN(ReferenceRoleARNT&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::forward<ReferenceRoleARNT>(value); }
78 template<typename ReferenceRoleARNT = Aws::String>
79 S3ReferenceDataSourceDescription& WithReferenceRoleARN(ReferenceRoleARNT&& value) { SetReferenceRoleARN(std::forward<ReferenceRoleARNT>(value)); return *this;}
81 private:
82
83 Aws::String m_bucketARN;
84 bool m_bucketARNHasBeenSet = false;
85
86 Aws::String m_fileKey;
87 bool m_fileKeyHasBeenSet = false;
88
89 Aws::String m_referenceRoleARN;
90 bool m_referenceRoleARNHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace KinesisAnalyticsV2
95} // namespace Aws
AWS_KINESISANALYTICSV2_API S3ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API S3ReferenceDataSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSourceDescription & WithBucketARN(BucketARNT &&value)
S3ReferenceDataSourceDescription & WithReferenceRoleARN(ReferenceRoleARNT &&value)
AWS_KINESISANALYTICSV2_API S3ReferenceDataSourceDescription()=default
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue