AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomerManagedChannelS3Storage.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTAnalytics
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_IOTANALYTICS_API CustomerManagedChannelS3Storage();
40 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetBucket() const{ return m_bucket; }
48 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
49 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
50 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
51 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
52 inline CustomerManagedChannelS3Storage& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
53 inline CustomerManagedChannelS3Storage& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
54 inline CustomerManagedChannelS3Storage& WithBucket(const char* value) { SetBucket(value); return *this;}
56
58
64 inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
65 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
66 inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
67 inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
68 inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
69 inline CustomerManagedChannelS3Storage& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
70 inline CustomerManagedChannelS3Storage& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
71 inline CustomerManagedChannelS3Storage& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
73
75
79 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
80 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
81 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
82 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
83 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
84 inline CustomerManagedChannelS3Storage& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
85 inline CustomerManagedChannelS3Storage& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
86 inline CustomerManagedChannelS3Storage& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
88 private:
89
90 Aws::String m_bucket;
91 bool m_bucketHasBeenSet = false;
92
93 Aws::String m_keyPrefix;
94 bool m_keyPrefixHasBeenSet = false;
95
96 Aws::String m_roleArn;
97 bool m_roleArnHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoTAnalytics
102} // namespace Aws
CustomerManagedChannelS3Storage & WithRoleArn(const char *value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerManagedChannelS3Storage & WithKeyPrefix(Aws::String &&value)
CustomerManagedChannelS3Storage & WithBucket(const char *value)
AWS_IOTANALYTICS_API CustomerManagedChannelS3Storage(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedChannelS3Storage & WithKeyPrefix(const Aws::String &value)
CustomerManagedChannelS3Storage & WithKeyPrefix(const char *value)
CustomerManagedChannelS3Storage & WithRoleArn(Aws::String &&value)
CustomerManagedChannelS3Storage & WithBucket(Aws::String &&value)
AWS_IOTANALYTICS_API CustomerManagedChannelS3Storage & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedChannelS3Storage & WithBucket(const Aws::String &value)
CustomerManagedChannelS3Storage & WithRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue