AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChannelStorageSummary.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/ServiceManagedChannelS3StorageSummary.h>
9#include <aws/iotanalytics/model/CustomerManagedChannelS3StorageSummary.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
33 {
34 public:
35 AWS_IOTANALYTICS_API ChannelStorageSummary() = default;
36 AWS_IOTANALYTICS_API ChannelStorageSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ServiceManagedChannelS3StorageSummary& GetServiceManagedS3() const { return m_serviceManagedS3; }
46 inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; }
47 template<typename ServiceManagedS3T = ServiceManagedChannelS3StorageSummary>
48 void SetServiceManagedS3(ServiceManagedS3T&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::forward<ServiceManagedS3T>(value); }
49 template<typename ServiceManagedS3T = ServiceManagedChannelS3StorageSummary>
50 ChannelStorageSummary& WithServiceManagedS3(ServiceManagedS3T&& value) { SetServiceManagedS3(std::forward<ServiceManagedS3T>(value)); return *this;}
52
54
57 inline const CustomerManagedChannelS3StorageSummary& GetCustomerManagedS3() const { return m_customerManagedS3; }
58 inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; }
59 template<typename CustomerManagedS3T = CustomerManagedChannelS3StorageSummary>
60 void SetCustomerManagedS3(CustomerManagedS3T&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::forward<CustomerManagedS3T>(value); }
61 template<typename CustomerManagedS3T = CustomerManagedChannelS3StorageSummary>
62 ChannelStorageSummary& WithCustomerManagedS3(CustomerManagedS3T&& value) { SetCustomerManagedS3(std::forward<CustomerManagedS3T>(value)); return *this;}
64 private:
65
67 bool m_serviceManagedS3HasBeenSet = false;
68
70 bool m_customerManagedS3HasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoTAnalytics
75} // namespace Aws
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelStorageSummary & WithServiceManagedS3(ServiceManagedS3T &&value)
void SetCustomerManagedS3(CustomerManagedS3T &&value)
ChannelStorageSummary & WithCustomerManagedS3(CustomerManagedS3T &&value)
AWS_IOTANALYTICS_API ChannelStorageSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API ChannelStorageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceManagedChannelS3StorageSummary & GetServiceManagedS3() const
AWS_IOTANALYTICS_API ChannelStorageSummary()=default
const CustomerManagedChannelS3StorageSummary & GetCustomerManagedS3() const
Aws::Utils::Json::JsonValue JsonValue