AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DeliveryChannelStatus.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConfigExportDeliveryInfo.h>
9#include <aws/config/model/ConfigStreamDeliveryInfo.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConfigService {
22namespace Model {
23
31 public:
32 AWS_CONFIGSERVICE_API DeliveryChannelStatus() = default;
33 AWS_CONFIGSERVICE_API DeliveryChannelStatus(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
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) {
64 m_configSnapshotDeliveryInfoHasBeenSet = true;
65 m_configSnapshotDeliveryInfo = std::forward<ConfigSnapshotDeliveryInfoT>(value);
66 }
67 template <typename ConfigSnapshotDeliveryInfoT = ConfigExportDeliveryInfo>
68 DeliveryChannelStatus& WithConfigSnapshotDeliveryInfo(ConfigSnapshotDeliveryInfoT&& value) {
69 SetConfigSnapshotDeliveryInfo(std::forward<ConfigSnapshotDeliveryInfoT>(value));
70 return *this;
71 }
73
75
79 inline const ConfigExportDeliveryInfo& GetConfigHistoryDeliveryInfo() const { return m_configHistoryDeliveryInfo; }
80 inline bool ConfigHistoryDeliveryInfoHasBeenSet() const { return m_configHistoryDeliveryInfoHasBeenSet; }
81 template <typename ConfigHistoryDeliveryInfoT = ConfigExportDeliveryInfo>
82 void SetConfigHistoryDeliveryInfo(ConfigHistoryDeliveryInfoT&& value) {
83 m_configHistoryDeliveryInfoHasBeenSet = true;
84 m_configHistoryDeliveryInfo = std::forward<ConfigHistoryDeliveryInfoT>(value);
85 }
86 template <typename ConfigHistoryDeliveryInfoT = ConfigExportDeliveryInfo>
87 DeliveryChannelStatus& WithConfigHistoryDeliveryInfo(ConfigHistoryDeliveryInfoT&& value) {
88 SetConfigHistoryDeliveryInfo(std::forward<ConfigHistoryDeliveryInfoT>(value));
89 return *this;
90 }
92
94
98 inline const ConfigStreamDeliveryInfo& GetConfigStreamDeliveryInfo() const { return m_configStreamDeliveryInfo; }
99 inline bool ConfigStreamDeliveryInfoHasBeenSet() const { return m_configStreamDeliveryInfoHasBeenSet; }
100 template <typename ConfigStreamDeliveryInfoT = ConfigStreamDeliveryInfo>
101 void SetConfigStreamDeliveryInfo(ConfigStreamDeliveryInfoT&& value) {
102 m_configStreamDeliveryInfoHasBeenSet = true;
103 m_configStreamDeliveryInfo = std::forward<ConfigStreamDeliveryInfoT>(value);
104 }
105 template <typename ConfigStreamDeliveryInfoT = ConfigStreamDeliveryInfo>
106 DeliveryChannelStatus& WithConfigStreamDeliveryInfo(ConfigStreamDeliveryInfoT&& value) {
107 SetConfigStreamDeliveryInfo(std::forward<ConfigStreamDeliveryInfoT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_name;
113
114 ConfigExportDeliveryInfo m_configSnapshotDeliveryInfo;
115
116 ConfigExportDeliveryInfo m_configHistoryDeliveryInfo;
117
118 ConfigStreamDeliveryInfo m_configStreamDeliveryInfo;
119 bool m_nameHasBeenSet = false;
120 bool m_configSnapshotDeliveryInfoHasBeenSet = false;
121 bool m_configHistoryDeliveryInfoHasBeenSet = false;
122 bool m_configStreamDeliveryInfoHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace ConfigService
127} // 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