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/VPCFlowLogParameters.h>
14#include <aws/observabilityadmin/model/WAFLoggingParameters.h>
25namespace ObservabilityAdmin {
49 m_destinationTypeHasBeenSet =
true;
50 m_destinationType = value;
65 template <
typename DestinationPatternT = Aws::String>
67 m_destinationPatternHasBeenSet =
true;
68 m_destinationPattern = std::forward<DestinationPatternT>(value);
70 template <
typename DestinationPatternT = Aws::String>
84 m_retentionInDaysHasBeenSet =
true;
85 m_retentionInDays = value;
100 template <
typename VPCFlowLogParametersT = VPCFlowLogParameters>
102 m_vPCFlowLogParametersHasBeenSet =
true;
103 m_vPCFlowLogParameters = std::forward<VPCFlowLogParametersT>(value);
105 template <
typename VPCFlowLogParametersT = VPCFlowLogParameters>
119 template <
typename CloudtrailParametersT = CloudtrailParameters>
121 m_cloudtrailParametersHasBeenSet =
true;
122 m_cloudtrailParameters = std::forward<CloudtrailParametersT>(value);
124 template <
typename CloudtrailParametersT = CloudtrailParameters>
138 template <
typename ELBLoadBalancerLoggingParametersT = ELBLoadBalancerLoggingParameters>
140 m_eLBLoadBalancerLoggingParametersHasBeenSet =
true;
141 m_eLBLoadBalancerLoggingParameters = std::forward<ELBLoadBalancerLoggingParametersT>(value);
143 template <
typename ELBLoadBalancerLoggingParametersT = ELBLoadBalancerLoggingParameters>
157 template <
typename WAFLoggingParametersT = WAFLoggingParameters>
159 m_wAFLoggingParametersHasBeenSet =
true;
160 m_wAFLoggingParameters = std::forward<WAFLoggingParametersT>(value);
162 template <
typename WAFLoggingParametersT = WAFLoggingParameters>
176 template <
typename LogDeliveryParametersT = LogDeliveryParameters>
178 m_logDeliveryParametersHasBeenSet =
true;
179 m_logDeliveryParameters = std::forward<LogDeliveryParametersT>(value);
181 template <
typename LogDeliveryParametersT = LogDeliveryParameters>
192 int m_retentionInDays{0};
194 VPCFlowLogParameters m_vPCFlowLogParameters;
196 CloudtrailParameters m_cloudtrailParameters;
198 ELBLoadBalancerLoggingParameters m_eLBLoadBalancerLoggingParameters;
200 WAFLoggingParameters m_wAFLoggingParameters;
202 LogDeliveryParameters m_logDeliveryParameters;
203 bool m_destinationTypeHasBeenSet =
false;
204 bool m_destinationPatternHasBeenSet =
false;
205 bool m_retentionInDaysHasBeenSet =
false;
206 bool m_vPCFlowLogParametersHasBeenSet =
false;
207 bool m_cloudtrailParametersHasBeenSet =
false;
208 bool m_eLBLoadBalancerLoggingParametersHasBeenSet =
false;
209 bool m_wAFLoggingParametersHasBeenSet =
false;
210 bool m_logDeliveryParametersHasBeenSet =
false;
void SetVPCFlowLogParameters(VPCFlowLogParametersT &&value)
void SetCloudtrailParameters(CloudtrailParametersT &&value)
const WAFLoggingParameters & GetWAFLoggingParameters() 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
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)
bool LogDeliveryParametersHasBeenSet() const
bool CloudtrailParametersHasBeenSet() const
const CloudtrailParameters & GetCloudtrailParameters() const
TelemetryDestinationConfiguration & WithWAFLoggingParameters(WAFLoggingParametersT &&value)
const Aws::String & GetDestinationPattern() const
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