AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 S3DestinationConfiguration& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
52 inline S3DestinationConfiguration& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
53 inline S3DestinationConfiguration& WithBucket(const char* value) { SetBucket(value); return *this;}
55
57
74 inline const Aws::String& GetKey() const{ return m_key; }
75 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
76 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
77 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
78 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
79 inline S3DestinationConfiguration& WithKey(const Aws::String& value) { SetKey(value); return *this;}
80 inline S3DestinationConfiguration& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
81 inline S3DestinationConfiguration& WithKey(const char* value) { SetKey(value); return *this;}
83
85
89 inline const GlueConfiguration& GetGlueConfiguration() const{ return m_glueConfiguration; }
90 inline bool GlueConfigurationHasBeenSet() const { return m_glueConfigurationHasBeenSet; }
91 inline void SetGlueConfiguration(const GlueConfiguration& value) { m_glueConfigurationHasBeenSet = true; m_glueConfiguration = value; }
92 inline void SetGlueConfiguration(GlueConfiguration&& value) { m_glueConfigurationHasBeenSet = true; m_glueConfiguration = std::move(value); }
96
98
102 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
103 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
104 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
105 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
106 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
107 inline S3DestinationConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
108 inline S3DestinationConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
109 inline S3DestinationConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
111 private:
112
113 Aws::String m_bucket;
114 bool m_bucketHasBeenSet = false;
115
116 Aws::String m_key;
117 bool m_keyHasBeenSet = false;
118
119 GlueConfiguration m_glueConfiguration;
120 bool m_glueConfigurationHasBeenSet = false;
121
122 Aws::String m_roleArn;
123 bool m_roleArnHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace IoTAnalytics
128} // namespace Aws
S3DestinationConfiguration & WithBucket(const Aws::String &value)
AWS_IOTANALYTICS_API S3DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
S3DestinationConfiguration & WithKey(const char *value)
S3DestinationConfiguration & WithKey(const Aws::String &value)
AWS_IOTANALYTICS_API S3DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DestinationConfiguration & WithBucket(Aws::String &&value)
S3DestinationConfiguration & WithRoleArn(const Aws::String &value)
S3DestinationConfiguration & WithGlueConfiguration(const GlueConfiguration &value)
S3DestinationConfiguration & WithRoleArn(Aws::String &&value)
S3DestinationConfiguration & WithRoleArn(const char *value)
S3DestinationConfiguration & WithGlueConfiguration(GlueConfiguration &&value)
S3DestinationConfiguration & WithBucket(const char *value)
S3DestinationConfiguration & WithKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue