AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
IngestionS3InputConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LookoutEquipment {
20namespace Model {
21
29 public:
30 AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration() = default;
31 AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetBucket() const { return m_bucket; }
41 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
42 template <typename BucketT = Aws::String>
43 void SetBucket(BucketT&& value) {
44 m_bucketHasBeenSet = true;
45 m_bucket = std::forward<BucketT>(value);
46 }
47 template <typename BucketT = Aws::String>
49 SetBucket(std::forward<BucketT>(value));
50 return *this;
51 }
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) {
63 m_prefixHasBeenSet = true;
64 m_prefix = std::forward<PrefixT>(value);
65 }
66 template <typename PrefixT = Aws::String>
68 SetPrefix(std::forward<PrefixT>(value));
69 return *this;
70 }
72
74
83 inline const Aws::String& GetKeyPattern() const { return m_keyPattern; }
84 inline bool KeyPatternHasBeenSet() const { return m_keyPatternHasBeenSet; }
85 template <typename KeyPatternT = Aws::String>
86 void SetKeyPattern(KeyPatternT&& value) {
87 m_keyPatternHasBeenSet = true;
88 m_keyPattern = std::forward<KeyPatternT>(value);
89 }
90 template <typename KeyPatternT = Aws::String>
92 SetKeyPattern(std::forward<KeyPatternT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_bucket;
98 bool m_bucketHasBeenSet = false;
99
100 Aws::String m_prefix;
101 bool m_prefixHasBeenSet = false;
102
103 Aws::String m_keyPattern;
104 bool m_keyPatternHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace LookoutEquipment
109} // 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