AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Config.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/DataFormat.h>
10#include <aws/iotfleetwise/model/StorageCompressionFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTFleetWise
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_IOTFLEETWISE_API S3Config();
42 AWS_IOTFLEETWISE_API S3Config(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTFLEETWISE_API S3Config& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetBucketArn() const{ return m_bucketArn; }
52 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
53 inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; }
54 inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); }
55 inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); }
56 inline S3Config& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;}
57 inline S3Config& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;}
58 inline S3Config& WithBucketArn(const char* value) { SetBucketArn(value); return *this;}
60
62
69 inline const DataFormat& GetDataFormat() const{ return m_dataFormat; }
70 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
71 inline void SetDataFormat(const DataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
72 inline void SetDataFormat(DataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
73 inline S3Config& WithDataFormat(const DataFormat& value) { SetDataFormat(value); return *this;}
74 inline S3Config& WithDataFormat(DataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
76
78
82 inline const StorageCompressionFormat& GetStorageCompressionFormat() const{ return m_storageCompressionFormat; }
83 inline bool StorageCompressionFormatHasBeenSet() const { return m_storageCompressionFormatHasBeenSet; }
84 inline void SetStorageCompressionFormat(const StorageCompressionFormat& value) { m_storageCompressionFormatHasBeenSet = true; m_storageCompressionFormat = value; }
85 inline void SetStorageCompressionFormat(StorageCompressionFormat&& value) { m_storageCompressionFormatHasBeenSet = true; m_storageCompressionFormat = std::move(value); }
89
91
104 inline const Aws::String& GetPrefix() const{ return m_prefix; }
105 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
106 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
107 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
108 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
109 inline S3Config& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
110 inline S3Config& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
111 inline S3Config& WithPrefix(const char* value) { SetPrefix(value); return *this;}
113 private:
114
115 Aws::String m_bucketArn;
116 bool m_bucketArnHasBeenSet = false;
117
118 DataFormat m_dataFormat;
119 bool m_dataFormatHasBeenSet = false;
120
121 StorageCompressionFormat m_storageCompressionFormat;
122 bool m_storageCompressionFormatHasBeenSet = false;
123
124 Aws::String m_prefix;
125 bool m_prefixHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace IoTFleetWise
130} // namespace Aws
void SetBucketArn(const Aws::String &value)
Definition S3Config.h:53
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
S3Config & WithBucketArn(Aws::String &&value)
Definition S3Config.h:57
void SetStorageCompressionFormat(const StorageCompressionFormat &value)
Definition S3Config.h:84
S3Config & WithBucketArn(const Aws::String &value)
Definition S3Config.h:56
const DataFormat & GetDataFormat() const
Definition S3Config.h:69
bool StorageCompressionFormatHasBeenSet() const
Definition S3Config.h:83
const Aws::String & GetPrefix() const
Definition S3Config.h:104
void SetBucketArn(Aws::String &&value)
Definition S3Config.h:54
void SetPrefix(Aws::String &&value)
Definition S3Config.h:107
AWS_IOTFLEETWISE_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStorageCompressionFormat(StorageCompressionFormat &&value)
Definition S3Config.h:85
S3Config & WithDataFormat(const DataFormat &value)
Definition S3Config.h:73
void SetBucketArn(const char *value)
Definition S3Config.h:55
S3Config & WithPrefix(const Aws::String &value)
Definition S3Config.h:109
AWS_IOTFLEETWISE_API S3Config()
void SetDataFormat(DataFormat &&value)
Definition S3Config.h:72
S3Config & WithStorageCompressionFormat(const StorageCompressionFormat &value)
Definition S3Config.h:86
S3Config & WithBucketArn(const char *value)
Definition S3Config.h:58
const Aws::String & GetBucketArn() const
Definition S3Config.h:51
void SetPrefix(const Aws::String &value)
Definition S3Config.h:106
S3Config & WithStorageCompressionFormat(StorageCompressionFormat &&value)
Definition S3Config.h:87
AWS_IOTFLEETWISE_API S3Config(Aws::Utils::Json::JsonView jsonValue)
S3Config & WithPrefix(const char *value)
Definition S3Config.h:111
void SetPrefix(const char *value)
Definition S3Config.h:108
S3Config & WithPrefix(Aws::String &&value)
Definition S3Config.h:110
const StorageCompressionFormat & GetStorageCompressionFormat() const
Definition S3Config.h:82
void SetDataFormat(const DataFormat &value)
Definition S3Config.h:71
S3Config & WithDataFormat(DataFormat &&value)
Definition S3Config.h:74
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue