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/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();
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 inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
48 inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
49 inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
50 inline S3ReferenceDataSourceDescription& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
51 inline S3ReferenceDataSourceDescription& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
52 inline S3ReferenceDataSourceDescription& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
54
56
59 inline const Aws::String& GetFileKey() const{ return m_fileKey; }
60 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
61 inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
62 inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
63 inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
64 inline S3ReferenceDataSourceDescription& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
65 inline S3ReferenceDataSourceDescription& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
66 inline S3ReferenceDataSourceDescription& WithFileKey(const char* value) { SetFileKey(value); return *this;}
68
70
75 inline const Aws::String& GetReferenceRoleARN() const{ return m_referenceRoleARN; }
76 inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
77 inline void SetReferenceRoleARN(const Aws::String& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = value; }
78 inline void SetReferenceRoleARN(Aws::String&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::move(value); }
79 inline void SetReferenceRoleARN(const char* value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN.assign(value); }
81 inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(Aws::String&& value) { SetReferenceRoleARN(std::move(value)); return *this;}
82 inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(const char* value) { SetReferenceRoleARN(value); return *this;}
84 private:
85
86 Aws::String m_bucketARN;
87 bool m_bucketARNHasBeenSet = false;
88
89 Aws::String m_fileKey;
90 bool m_fileKeyHasBeenSet = false;
91
92 Aws::String m_referenceRoleARN;
93 bool m_referenceRoleARNHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace KinesisAnalytics
98} // namespace Aws
S3ReferenceDataSourceDescription & WithReferenceRoleARN(const char *value)
S3ReferenceDataSourceDescription & WithFileKey(const Aws::String &value)
S3ReferenceDataSourceDescription & WithBucketARN(const char *value)
AWS_KINESISANALYTICS_API S3ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API S3ReferenceDataSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReferenceDataSourceDescription & WithBucketARN(Aws::String &&value)
S3ReferenceDataSourceDescription & WithReferenceRoleARN(const Aws::String &value)
S3ReferenceDataSourceDescription & WithReferenceRoleARN(Aws::String &&value)
S3ReferenceDataSourceDescription & WithFileKey(Aws::String &&value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
S3ReferenceDataSourceDescription & WithBucketARN(const Aws::String &value)
S3ReferenceDataSourceDescription & WithFileKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue