AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeliveryChannelStatus.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/ConfigExportDeliveryInfo.h>
10#include <aws/config/model/ConfigStreamDeliveryInfo.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 ConfigService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONFIGSERVICE_API DeliveryChannelStatus() = default;
38 AWS_CONFIGSERVICE_API DeliveryChannelStatus(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 DeliveryChannelStatus& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
60 inline const ConfigExportDeliveryInfo& GetConfigSnapshotDeliveryInfo() const { return m_configSnapshotDeliveryInfo; }
61 inline bool ConfigSnapshotDeliveryInfoHasBeenSet() const { return m_configSnapshotDeliveryInfoHasBeenSet; }
62 template<typename ConfigSnapshotDeliveryInfoT = ConfigExportDeliveryInfo>
63 void SetConfigSnapshotDeliveryInfo(ConfigSnapshotDeliveryInfoT&& value) { m_configSnapshotDeliveryInfoHasBeenSet = true; m_configSnapshotDeliveryInfo = std::forward<ConfigSnapshotDeliveryInfoT>(value); }
64 template<typename ConfigSnapshotDeliveryInfoT = ConfigExportDeliveryInfo>
65 DeliveryChannelStatus& WithConfigSnapshotDeliveryInfo(ConfigSnapshotDeliveryInfoT&& value) { SetConfigSnapshotDeliveryInfo(std::forward<ConfigSnapshotDeliveryInfoT>(value)); return *this;}
67
69
73 inline const ConfigExportDeliveryInfo& GetConfigHistoryDeliveryInfo() const { return m_configHistoryDeliveryInfo; }
74 inline bool ConfigHistoryDeliveryInfoHasBeenSet() const { return m_configHistoryDeliveryInfoHasBeenSet; }
75 template<typename ConfigHistoryDeliveryInfoT = ConfigExportDeliveryInfo>
76 void SetConfigHistoryDeliveryInfo(ConfigHistoryDeliveryInfoT&& value) { m_configHistoryDeliveryInfoHasBeenSet = true; m_configHistoryDeliveryInfo = std::forward<ConfigHistoryDeliveryInfoT>(value); }
77 template<typename ConfigHistoryDeliveryInfoT = ConfigExportDeliveryInfo>
78 DeliveryChannelStatus& WithConfigHistoryDeliveryInfo(ConfigHistoryDeliveryInfoT&& value) { SetConfigHistoryDeliveryInfo(std::forward<ConfigHistoryDeliveryInfoT>(value)); return *this;}
80
82
86 inline const ConfigStreamDeliveryInfo& GetConfigStreamDeliveryInfo() const { return m_configStreamDeliveryInfo; }
87 inline bool ConfigStreamDeliveryInfoHasBeenSet() const { return m_configStreamDeliveryInfoHasBeenSet; }
88 template<typename ConfigStreamDeliveryInfoT = ConfigStreamDeliveryInfo>
89 void SetConfigStreamDeliveryInfo(ConfigStreamDeliveryInfoT&& value) { m_configStreamDeliveryInfoHasBeenSet = true; m_configStreamDeliveryInfo = std::forward<ConfigStreamDeliveryInfoT>(value); }
90 template<typename ConfigStreamDeliveryInfoT = ConfigStreamDeliveryInfo>
91 DeliveryChannelStatus& WithConfigStreamDeliveryInfo(ConfigStreamDeliveryInfoT&& value) { SetConfigStreamDeliveryInfo(std::forward<ConfigStreamDeliveryInfoT>(value)); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 ConfigExportDeliveryInfo m_configSnapshotDeliveryInfo;
99 bool m_configSnapshotDeliveryInfoHasBeenSet = false;
100
101 ConfigExportDeliveryInfo m_configHistoryDeliveryInfo;
102 bool m_configHistoryDeliveryInfoHasBeenSet = false;
103
104 ConfigStreamDeliveryInfo m_configStreamDeliveryInfo;
105 bool m_configStreamDeliveryInfoHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ConfigService
110} // namespace Aws
AWS_CONFIGSERVICE_API DeliveryChannelStatus()=default
void SetConfigSnapshotDeliveryInfo(ConfigSnapshotDeliveryInfoT &&value)
void SetConfigHistoryDeliveryInfo(ConfigHistoryDeliveryInfoT &&value)
const ConfigExportDeliveryInfo & GetConfigSnapshotDeliveryInfo() const
DeliveryChannelStatus & WithConfigStreamDeliveryInfo(ConfigStreamDeliveryInfoT &&value)
const ConfigExportDeliveryInfo & GetConfigHistoryDeliveryInfo() const
AWS_CONFIGSERVICE_API DeliveryChannelStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API DeliveryChannelStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryChannelStatus & WithName(NameT &&value)
void SetConfigStreamDeliveryInfo(ConfigStreamDeliveryInfoT &&value)
DeliveryChannelStatus & WithConfigSnapshotDeliveryInfo(ConfigSnapshotDeliveryInfoT &&value)
DeliveryChannelStatus & WithConfigHistoryDeliveryInfo(ConfigHistoryDeliveryInfoT &&value)
const ConfigStreamDeliveryInfo & GetConfigStreamDeliveryInfo() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue