AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Configuration.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
35 {
36 public:
37 AWS_KINESISANALYTICS_API S3Configuration() = default;
38 AWS_KINESISANALYTICS_API S3Configuration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICS_API S3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
48 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
49 template<typename RoleARNT = Aws::String>
50 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
51 template<typename RoleARNT = Aws::String>
52 S3Configuration& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
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) { m_bucketARNHasBeenSet = true; m_bucketARN = std::forward<BucketARNT>(value); }
63 template<typename BucketARNT = Aws::String>
64 S3Configuration& WithBucketARN(BucketARNT&& value) { SetBucketARN(std::forward<BucketARNT>(value)); return *this;}
66
68
71 inline const Aws::String& GetFileKey() const { return m_fileKey; }
72 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
73 template<typename FileKeyT = Aws::String>
74 void SetFileKey(FileKeyT&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::forward<FileKeyT>(value); }
75 template<typename FileKeyT = Aws::String>
76 S3Configuration& WithFileKey(FileKeyT&& value) { SetFileKey(std::forward<FileKeyT>(value)); return *this;}
78 private:
79
80 Aws::String m_roleARN;
81 bool m_roleARNHasBeenSet = false;
82
83 Aws::String m_bucketARN;
84 bool m_bucketARNHasBeenSet = false;
85
86 Aws::String m_fileKey;
87 bool m_fileKeyHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace KinesisAnalytics
92} // 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