AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
49 inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
50 inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
51 inline S3ReferenceDataSourceDescription& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
52 inline S3ReferenceDataSourceDescription& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
53 inline S3ReferenceDataSourceDescription& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
55
57
60 inline const Aws::String& GetFileKey() const{ return m_fileKey; }
61 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
62 inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
63 inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
64 inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
65 inline S3ReferenceDataSourceDescription& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
66 inline S3ReferenceDataSourceDescription& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
67 inline S3ReferenceDataSourceDescription& WithFileKey(const char* value) { SetFileKey(value); return *this;}
69
71
78 inline const Aws::String& GetReferenceRoleARN() const{ return m_referenceRoleARN; }
79 inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
80 inline void SetReferenceRoleARN(const Aws::String& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = value; }
81 inline void SetReferenceRoleARN(Aws::String&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::move(value); }
82 inline void SetReferenceRoleARN(const char* value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN.assign(value); }
84 inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(Aws::String&& value) { SetReferenceRoleARN(std::move(value)); return *this;}
85 inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(const char* value) { SetReferenceRoleARN(value); return *this;}
87 private:
88
89 Aws::String m_bucketARN;
90 bool m_bucketARNHasBeenSet = false;
91
92 Aws::String m_fileKey;
93 bool m_fileKeyHasBeenSet = false;
94
95 Aws::String m_referenceRoleARN;
96 bool m_referenceRoleARNHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace KinesisAnalyticsV2
101} // namespace Aws
S3ReferenceDataSourceDescription & WithBucketARN(const Aws::String &value)
AWS_KINESISANALYTICSV2_API S3ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API S3ReferenceDataSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSourceDescription & WithFileKey(Aws::String &&value)
S3ReferenceDataSourceDescription & WithFileKey(const Aws::String &value)
S3ReferenceDataSourceDescription & WithReferenceRoleARN(const char *value)
S3ReferenceDataSourceDescription & WithFileKey(const char *value)
S3ReferenceDataSourceDescription & WithReferenceRoleARN(const Aws::String &value)
S3ReferenceDataSourceDescription & WithBucketARN(Aws::String &&value)
S3ReferenceDataSourceDescription & WithBucketARN(const char *value)
S3ReferenceDataSourceDescription & WithReferenceRoleARN(Aws::String &&value)
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