AWS SDK for C++

AWS SDK for C++ Version 1.11.688

Loading...
Searching...
No Matches
S3Configuration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalytics {
20namespace Model {
21
31 public:
32 AWS_KINESISANALYTICS_API S3Configuration() = default;
33 AWS_KINESISANALYTICS_API S3Configuration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICS_API S3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
42 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
43 template <typename RoleARNT = Aws::String>
44 void SetRoleARN(RoleARNT&& value) {
45 m_roleARNHasBeenSet = true;
46 m_roleARN = std::forward<RoleARNT>(value);
47 }
48 template <typename RoleARNT = Aws::String>
49 S3Configuration& WithRoleARN(RoleARNT&& value) {
50 SetRoleARN(std::forward<RoleARNT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
60 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
61 template <typename BucketARNT = Aws::String>
62 void SetBucketARN(BucketARNT&& value) {
63 m_bucketARNHasBeenSet = true;
64 m_bucketARN = std::forward<BucketARNT>(value);
65 }
66 template <typename BucketARNT = Aws::String>
67 S3Configuration& WithBucketARN(BucketARNT&& value) {
68 SetBucketARN(std::forward<BucketARNT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetFileKey() const { return m_fileKey; }
78 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
79 template <typename FileKeyT = Aws::String>
80 void SetFileKey(FileKeyT&& value) {
81 m_fileKeyHasBeenSet = true;
82 m_fileKey = std::forward<FileKeyT>(value);
83 }
84 template <typename FileKeyT = Aws::String>
85 S3Configuration& WithFileKey(FileKeyT&& value) {
86 SetFileKey(std::forward<FileKeyT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_roleARN;
92 bool m_roleARNHasBeenSet = false;
93
94 Aws::String m_bucketARN;
95 bool m_bucketARNHasBeenSet = false;
96
97 Aws::String m_fileKey;
98 bool m_fileKeyHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace KinesisAnalytics
103} // namespace Aws
S3Configuration & WithRoleARN(RoleARNT &&value)
AWS_KINESISANALYTICS_API S3Configuration()=default
AWS_KINESISANALYTICS_API S3Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICS_API S3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Configuration & WithBucketARN(BucketARNT &&value)
S3Configuration & WithFileKey(FileKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue