AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
49 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
50 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
51 inline IngestionS3InputConfiguration& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
52 inline IngestionS3InputConfiguration& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
53 inline IngestionS3InputConfiguration& WithBucket(const char* value) { SetBucket(value); return *this;}
55
57
61 inline const Aws::String& GetPrefix() const{ return m_prefix; }
62 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
63 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
64 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
65 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
66 inline IngestionS3InputConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
67 inline IngestionS3InputConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
68 inline IngestionS3InputConfiguration& WithPrefix(const char* value) { SetPrefix(value); return *this;}
70
72
81 inline const Aws::String& GetKeyPattern() const{ return m_keyPattern; }
82 inline bool KeyPatternHasBeenSet() const { return m_keyPatternHasBeenSet; }
83 inline void SetKeyPattern(const Aws::String& value) { m_keyPatternHasBeenSet = true; m_keyPattern = value; }
84 inline void SetKeyPattern(Aws::String&& value) { m_keyPatternHasBeenSet = true; m_keyPattern = std::move(value); }
85 inline void SetKeyPattern(const char* value) { m_keyPatternHasBeenSet = true; m_keyPattern.assign(value); }
86 inline IngestionS3InputConfiguration& WithKeyPattern(const Aws::String& value) { SetKeyPattern(value); return *this;}
87 inline IngestionS3InputConfiguration& WithKeyPattern(Aws::String&& value) { SetKeyPattern(std::move(value)); return *this;}
88 inline IngestionS3InputConfiguration& WithKeyPattern(const char* value) { SetKeyPattern(value); return *this;}
90 private:
91
92 Aws::String m_bucket;
93 bool m_bucketHasBeenSet = false;
94
95 Aws::String m_prefix;
96 bool m_prefixHasBeenSet = false;
97
98 Aws::String m_keyPattern;
99 bool m_keyPatternHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace LookoutEquipment
104} // namespace Aws
IngestionS3InputConfiguration & WithKeyPattern(const char *value)
AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestionS3InputConfiguration & WithKeyPattern(Aws::String &&value)
IngestionS3InputConfiguration & WithBucket(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
IngestionS3InputConfiguration & WithPrefix(Aws::String &&value)
IngestionS3InputConfiguration & WithPrefix(const Aws::String &value)
IngestionS3InputConfiguration & WithPrefix(const char *value)
AWS_LOOKOUTEQUIPMENT_API IngestionS3InputConfiguration(Aws::Utils::Json::JsonView jsonValue)
IngestionS3InputConfiguration & WithKeyPattern(const Aws::String &value)
IngestionS3InputConfiguration & WithBucket(const Aws::String &value)
IngestionS3InputConfiguration & WithBucket(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue