7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
9#include <aws/observabilityadmin/model/CloudtrailParameters.h>
10#include <aws/observabilityadmin/model/DestinationType.h>
11#include <aws/observabilityadmin/model/ELBLoadBalancerLoggingParameters.h>
12#include <aws/observabilityadmin/model/LogDeliveryParameters.h>
13#include <aws/observabilityadmin/model/MskMonitoringParameters.h>
14#include <aws/observabilityadmin/model/VPCFlowLogParameters.h>
15#include <aws/observabilityadmin/model/WAFLoggingParameters.h>
26namespace ObservabilityAdmin {
50 m_destinationTypeHasBeenSet =
true;
51 m_destinationType = value;
66 template <
typename DestinationPatternT = Aws::String>
68 m_destinationPatternHasBeenSet =
true;
69 m_destinationPattern = std::forward<DestinationPatternT>(value);
71 template <
typename DestinationPatternT = Aws::String>
85 m_retentionInDaysHasBeenSet =
true;
86 m_retentionInDays = value;
101 template <
typename VPCFlowLogParametersT = VPCFlowLogParameters>
103 m_vPCFlowLogParametersHasBeenSet =
true;
104 m_vPCFlowLogParameters = std::forward<VPCFlowLogParametersT>(value);
106 template <
typename VPCFlowLogParametersT = VPCFlowLogParameters>
120 template <
typename CloudtrailParametersT = CloudtrailParameters>
122 m_cloudtrailParametersHasBeenSet =
true;
123 m_cloudtrailParameters = std::forward<CloudtrailParametersT>(value);
125 template <
typename CloudtrailParametersT = CloudtrailParameters>
139 template <
typename ELBLoadBalancerLoggingParametersT = ELBLoadBalancerLoggingParameters>
141 m_eLBLoadBalancerLoggingParametersHasBeenSet =
true;
142 m_eLBLoadBalancerLoggingParameters = std::forward<ELBLoadBalancerLoggingParametersT>(value);
144 template <
typename ELBLoadBalancerLoggingParametersT = ELBLoadBalancerLoggingParameters>
158 template <
typename WAFLoggingParametersT = WAFLoggingParameters>
160 m_wAFLoggingParametersHasBeenSet =
true;
161 m_wAFLoggingParameters = std::forward<WAFLoggingParametersT>(value);
163 template <
typename WAFLoggingParametersT = WAFLoggingParameters>
177 template <
typename LogDeliveryParametersT = LogDeliveryParameters>
179 m_logDeliveryParametersHasBeenSet =
true;
180 m_logDeliveryParameters = std::forward<LogDeliveryParametersT>(value);
182 template <
typename LogDeliveryParametersT = LogDeliveryParameters>
196 template <
typename MskMonitoringParametersT = MskMonitoringParameters>
198 m_mskMonitoringParametersHasBeenSet =
true;
199 m_mskMonitoringParameters = std::forward<MskMonitoringParametersT>(value);
201 template <
typename MskMonitoringParametersT = MskMonitoringParameters>
212 int m_retentionInDays{0};
214 VPCFlowLogParameters m_vPCFlowLogParameters;
216 CloudtrailParameters m_cloudtrailParameters;
218 ELBLoadBalancerLoggingParameters m_eLBLoadBalancerLoggingParameters;
220 WAFLoggingParameters m_wAFLoggingParameters;
222 LogDeliveryParameters m_logDeliveryParameters;
224 MskMonitoringParameters m_mskMonitoringParameters;
225 bool m_destinationTypeHasBeenSet =
false;
226 bool m_destinationPatternHasBeenSet =
false;
227 bool m_retentionInDaysHasBeenSet =
false;
228 bool m_vPCFlowLogParametersHasBeenSet =
false;
229 bool m_cloudtrailParametersHasBeenSet =
false;
230 bool m_eLBLoadBalancerLoggingParametersHasBeenSet =
false;
231 bool m_wAFLoggingParametersHasBeenSet =
false;
232 bool m_logDeliveryParametersHasBeenSet =
false;
233 bool m_mskMonitoringParametersHasBeenSet =
false;
void SetVPCFlowLogParameters(VPCFlowLogParametersT &&value)
void SetCloudtrailParameters(CloudtrailParametersT &&value)
const WAFLoggingParameters & GetWAFLoggingParameters() const
const MskMonitoringParameters & GetMskMonitoringParameters() const
bool VPCFlowLogParametersHasBeenSet() const
const ELBLoadBalancerLoggingParameters & GetELBLoadBalancerLoggingParameters() const
void SetWAFLoggingParameters(WAFLoggingParametersT &&value)
TelemetryDestinationConfiguration & WithVPCFlowLogParameters(VPCFlowLogParametersT &&value)
TelemetryDestinationConfiguration & WithLogDeliveryParameters(LogDeliveryParametersT &&value)
TelemetryDestinationConfiguration & WithELBLoadBalancerLoggingParameters(ELBLoadBalancerLoggingParametersT &&value)
void SetDestinationPattern(DestinationPatternT &&value)
AWS_OBSERVABILITYADMIN_API TelemetryDestinationConfiguration()=default
void SetRetentionInDays(int value)
DestinationType GetDestinationType() const
bool DestinationPatternHasBeenSet() const
int GetRetentionInDays() const
bool DestinationTypeHasBeenSet() const
bool WAFLoggingParametersHasBeenSet() const
bool MskMonitoringParametersHasBeenSet() const
AWS_OBSERVABILITYADMIN_API TelemetryDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool ELBLoadBalancerLoggingParametersHasBeenSet() const
void SetLogDeliveryParameters(LogDeliveryParametersT &&value)
TelemetryDestinationConfiguration & WithRetentionInDays(int value)
const VPCFlowLogParameters & GetVPCFlowLogParameters() const
TelemetryDestinationConfiguration & WithDestinationType(DestinationType value)
const LogDeliveryParameters & GetLogDeliveryParameters() const
void SetELBLoadBalancerLoggingParameters(ELBLoadBalancerLoggingParametersT &&value)
TelemetryDestinationConfiguration & WithCloudtrailParameters(CloudtrailParametersT &&value)
TelemetryDestinationConfiguration & WithMskMonitoringParameters(MskMonitoringParametersT &&value)
bool LogDeliveryParametersHasBeenSet() const
bool CloudtrailParametersHasBeenSet() const
const CloudtrailParameters & GetCloudtrailParameters() const
TelemetryDestinationConfiguration & WithWAFLoggingParameters(WAFLoggingParametersT &&value)
const Aws::String & GetDestinationPattern() const
void SetMskMonitoringParameters(MskMonitoringParametersT &&value)
AWS_OBSERVABILITYADMIN_API TelemetryDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationType(DestinationType value)
TelemetryDestinationConfiguration & WithDestinationPattern(DestinationPatternT &&value)
bool RetentionInDaysHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue