AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DataIntegrationFlowS3SourceConfiguration.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/supplychain/model/DataIntegrationFlowS3Options.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SupplyChain
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SUPPLYCHAIN_API DataIntegrationFlowS3SourceConfiguration() = default;
39 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucketName() const { return m_bucketName; }
47 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
48 template<typename BucketNameT = Aws::String>
49 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
50 template<typename BucketNameT = Aws::String>
51 DataIntegrationFlowS3SourceConfiguration& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(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 DataIntegrationFlowS3SourceConfiguration& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
66
68
71 inline const DataIntegrationFlowS3Options& GetOptions() const { return m_options; }
72 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
73 template<typename OptionsT = DataIntegrationFlowS3Options>
74 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
75 template<typename OptionsT = DataIntegrationFlowS3Options>
76 DataIntegrationFlowS3SourceConfiguration& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
78 private:
79
80 Aws::String m_bucketName;
81 bool m_bucketNameHasBeenSet = false;
82
83 Aws::String m_prefix;
84 bool m_prefixHasBeenSet = false;
85
87 bool m_optionsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SupplyChain
92} // namespace Aws
DataIntegrationFlowS3SourceConfiguration & WithBucketName(BucketNameT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlowS3SourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPLYCHAIN_API DataIntegrationFlowS3SourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
DataIntegrationFlowS3SourceConfiguration & WithOptions(OptionsT &&value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue