AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ChannelStorage.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/ServiceManagedChannelS3Storage.h>
9#include <aws/iotanalytics/model/CustomerManagedChannelS3Storage.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
36 {
37 public:
38 AWS_IOTANALYTICS_API ChannelStorage() = default;
39 AWS_IOTANALYTICS_API ChannelStorage(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTANALYTICS_API ChannelStorage& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const ServiceManagedChannelS3Storage& GetServiceManagedS3() const { return m_serviceManagedS3; }
50 inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; }
51 template<typename ServiceManagedS3T = ServiceManagedChannelS3Storage>
52 void SetServiceManagedS3(ServiceManagedS3T&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::forward<ServiceManagedS3T>(value); }
53 template<typename ServiceManagedS3T = ServiceManagedChannelS3Storage>
54 ChannelStorage& WithServiceManagedS3(ServiceManagedS3T&& value) { SetServiceManagedS3(std::forward<ServiceManagedS3T>(value)); return *this;}
56
58
64 inline const CustomerManagedChannelS3Storage& GetCustomerManagedS3() const { return m_customerManagedS3; }
65 inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; }
66 template<typename CustomerManagedS3T = CustomerManagedChannelS3Storage>
67 void SetCustomerManagedS3(CustomerManagedS3T&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::forward<CustomerManagedS3T>(value); }
68 template<typename CustomerManagedS3T = CustomerManagedChannelS3Storage>
69 ChannelStorage& WithCustomerManagedS3(CustomerManagedS3T&& value) { SetCustomerManagedS3(std::forward<CustomerManagedS3T>(value)); return *this;}
71 private:
72
73 ServiceManagedChannelS3Storage m_serviceManagedS3;
74 bool m_serviceManagedS3HasBeenSet = false;
75
76 CustomerManagedChannelS3Storage m_customerManagedS3;
77 bool m_customerManagedS3HasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoTAnalytics
82} // namespace Aws
const CustomerManagedChannelS3Storage & GetCustomerManagedS3() const
AWS_IOTANALYTICS_API ChannelStorage()=default
ChannelStorage & WithServiceManagedS3(ServiceManagedS3T &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API ChannelStorage(Aws::Utils::Json::JsonView jsonValue)
const ServiceManagedChannelS3Storage & GetServiceManagedS3() const
AWS_IOTANALYTICS_API ChannelStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelStorage & WithCustomerManagedS3(CustomerManagedS3T &&value)
void SetServiceManagedS3(ServiceManagedS3T &&value)
void SetCustomerManagedS3(CustomerManagedS3T &&value)
Aws::Utils::Json::JsonValue JsonValue