AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DataIntegrationFlowS3TargetConfiguration.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 DataIntegrationFlowS3TargetConfiguration() = 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 DataIntegrationFlowS3TargetConfiguration& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetPrefix() const { return m_prefix; }
59 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
60 template<typename PrefixT = Aws::String>
61 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
62 template<typename PrefixT = Aws::String>
63 DataIntegrationFlowS3TargetConfiguration& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
65
67
70 inline const DataIntegrationFlowS3Options& GetOptions() const { return m_options; }
71 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
72 template<typename OptionsT = DataIntegrationFlowS3Options>
73 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
74 template<typename OptionsT = DataIntegrationFlowS3Options>
75 DataIntegrationFlowS3TargetConfiguration& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
77 private:
78
79 Aws::String m_bucketName;
80 bool m_bucketNameHasBeenSet = false;
81
82 Aws::String m_prefix;
83 bool m_prefixHasBeenSet = false;
84
86 bool m_optionsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SupplyChain
91} // namespace Aws
DataIntegrationFlowS3TargetConfiguration & WithOptions(OptionsT &&value)
DataIntegrationFlowS3TargetConfiguration & WithBucketName(BucketNameT &&value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SUPPLYCHAIN_API DataIntegrationFlowS3TargetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPLYCHAIN_API DataIntegrationFlowS3TargetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue