AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
S3Configuration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalyticsV2 {
20namespace Model {
21
31 public:
32 AWS_KINESISANALYTICSV2_API S3Configuration() = default;
33 AWS_KINESISANALYTICSV2_API S3Configuration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICSV2_API S3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
42 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
43 template <typename BucketARNT = Aws::String>
44 void SetBucketARN(BucketARNT&& value) {
45 m_bucketARNHasBeenSet = true;
46 m_bucketARN = std::forward<BucketARNT>(value);
47 }
48 template <typename BucketARNT = Aws::String>
49 S3Configuration& WithBucketARN(BucketARNT&& value) {
50 SetBucketARN(std::forward<BucketARNT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetFileKey() const { return m_fileKey; }
60 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
61 template <typename FileKeyT = Aws::String>
62 void SetFileKey(FileKeyT&& value) {
63 m_fileKeyHasBeenSet = true;
64 m_fileKey = std::forward<FileKeyT>(value);
65 }
66 template <typename FileKeyT = Aws::String>
67 S3Configuration& WithFileKey(FileKeyT&& value) {
68 SetFileKey(std::forward<FileKeyT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_bucketARN;
74
75 Aws::String m_fileKey;
76 bool m_bucketARNHasBeenSet = false;
77 bool m_fileKeyHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace KinesisAnalyticsV2
82} // namespace Aws
S3Configuration & WithBucketARN(BucketARNT &&value)
S3Configuration & WithFileKey(FileKeyT &&value)
AWS_KINESISANALYTICSV2_API S3Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API S3Configuration()=default
AWS_KINESISANALYTICSV2_API S3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue