AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3DestinationConfiguration.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/GlueConfiguration.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 IoTAnalytics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTANALYTICS_API S3DestinationConfiguration() = default;
39 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
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 S3DestinationConfiguration& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
53
55
72 inline const Aws::String& GetKey() const { return m_key; }
73 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
74 template<typename KeyT = Aws::String>
75 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
76 template<typename KeyT = Aws::String>
77 S3DestinationConfiguration& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
79
81
85 inline const GlueConfiguration& GetGlueConfiguration() const { return m_glueConfiguration; }
86 inline bool GlueConfigurationHasBeenSet() const { return m_glueConfigurationHasBeenSet; }
87 template<typename GlueConfigurationT = GlueConfiguration>
88 void SetGlueConfiguration(GlueConfigurationT&& value) { m_glueConfigurationHasBeenSet = true; m_glueConfiguration = std::forward<GlueConfigurationT>(value); }
89 template<typename GlueConfigurationT = GlueConfiguration>
90 S3DestinationConfiguration& WithGlueConfiguration(GlueConfigurationT&& value) { SetGlueConfiguration(std::forward<GlueConfigurationT>(value)); return *this;}
92
94
98 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
99 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
100 template<typename RoleArnT = Aws::String>
101 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
102 template<typename RoleArnT = Aws::String>
103 S3DestinationConfiguration& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
105 private:
106
107 Aws::String m_bucket;
108 bool m_bucketHasBeenSet = false;
109
110 Aws::String m_key;
111 bool m_keyHasBeenSet = false;
112
113 GlueConfiguration m_glueConfiguration;
114 bool m_glueConfigurationHasBeenSet = false;
115
116 Aws::String m_roleArn;
117 bool m_roleArnHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace IoTAnalytics
122} // namespace Aws
AWS_IOTANALYTICS_API S3DestinationConfiguration()=default
AWS_IOTANALYTICS_API S3DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3DestinationConfiguration & WithBucket(BucketT &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
S3DestinationConfiguration & WithGlueConfiguration(GlueConfigurationT &&value)
AWS_IOTANALYTICS_API S3DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DestinationConfiguration & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue