AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename BucketT = Aws::String>
50 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
51 template<typename BucketT = Aws::String>
52 CustomerManagedChannelS3Storage& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
54
56
62 inline const Aws::String& GetKeyPrefix() const { return m_keyPrefix; }
63 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
64 template<typename KeyPrefixT = Aws::String>
65 void SetKeyPrefix(KeyPrefixT&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::forward<KeyPrefixT>(value); }
66 template<typename KeyPrefixT = Aws::String>
67 CustomerManagedChannelS3Storage& WithKeyPrefix(KeyPrefixT&& value) { SetKeyPrefix(std::forward<KeyPrefixT>(value)); return *this;}
69
71
75 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
76 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
77 template<typename RoleArnT = Aws::String>
78 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
79 template<typename RoleArnT = Aws::String>
80 CustomerManagedChannelS3Storage& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
82 private:
83
84 Aws::String m_bucket;
85 bool m_bucketHasBeenSet = false;
86
87 Aws::String m_keyPrefix;
88 bool m_keyPrefixHasBeenSet = false;
89
90 Aws::String m_roleArn;
91 bool m_roleArnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTAnalytics
96} // namespace Aws
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerManagedChannelS3Storage & WithRoleArn(RoleArnT &&value)
CustomerManagedChannelS3Storage & WithKeyPrefix(KeyPrefixT &&value)
AWS_IOTANALYTICS_API CustomerManagedChannelS3Storage(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API CustomerManagedChannelS3Storage()=default
AWS_IOTANALYTICS_API CustomerManagedChannelS3Storage & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedChannelS3Storage & WithBucket(BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue