AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
IngestionS3InputConfiguration.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_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 LookoutEquipment
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration() = default;
36 AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetBucket() const { return m_bucket; }
47 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
48 template<typename BucketT = Aws::String>
49 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
50 template<typename BucketT = Aws::String>
51 IngestionS3InputConfiguration& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
53
55
59 inline const Aws::String& GetPrefix() const { return m_prefix; }
60 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
61 template<typename PrefixT = Aws::String>
62 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
63 template<typename PrefixT = Aws::String>
64 IngestionS3InputConfiguration& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
66
68
77 inline const Aws::String& GetKeyPattern() const { return m_keyPattern; }
78 inline bool KeyPatternHasBeenSet() const { return m_keyPatternHasBeenSet; }
79 template<typename KeyPatternT = Aws::String>
80 void SetKeyPattern(KeyPatternT&& value) { m_keyPatternHasBeenSet = true; m_keyPattern = std::forward<KeyPatternT>(value); }
81 template<typename KeyPatternT = Aws::String>
82 IngestionS3InputConfiguration& WithKeyPattern(KeyPatternT&& value) { SetKeyPattern(std::forward<KeyPatternT>(value)); return *this;}
84 private:
85
86 Aws::String m_bucket;
87 bool m_bucketHasBeenSet = false;
88
89 Aws::String m_prefix;
90 bool m_prefixHasBeenSet = false;
91
92 Aws::String m_keyPattern;
93 bool m_keyPatternHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace LookoutEquipment
98} // namespace Aws
IngestionS3InputConfiguration & WithBucket(BucketT &&value)
AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration()=default
AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
IngestionS3InputConfiguration & WithKeyPattern(KeyPatternT &&value)
IngestionS3InputConfiguration & WithPrefix(PrefixT &&value)
AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue