7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/EndPoint.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename ARNT = Aws::String>
44 m_aRNHasBeenSet =
true;
45 m_aRN = std::forward<ARNT>(value);
47 template <
typename ARNT = Aws::String>
49 SetARN(std::forward<ARNT>(value));
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
82 m_samplingRateHasBeenSet =
true;
83 m_samplingRate = value;
98 template <
typename EndPo
intsT = Aws::Vector<EndPo
int>>
100 m_endPointsHasBeenSet =
true;
101 m_endPoints = std::forward<EndPointsT>(value);
103 template <
typename EndPo
intsT = Aws::Vector<EndPo
int>>
108 template <
typename EndPo
intsT = EndPo
int>
110 m_endPointsHasBeenSet =
true;
111 m_endPoints.emplace_back(std::forward<EndPointsT>(value));
127 template <
typename FieldsT = Aws::Vector<Aws::String>>
129 m_fieldsHasBeenSet =
true;
130 m_fields = std::forward<FieldsT>(value);
132 template <
typename FieldsT = Aws::Vector<Aws::String>>
137 template <
typename FieldsT = Aws::String>
139 m_fieldsHasBeenSet =
true;
140 m_fields.emplace_back(std::forward<FieldsT>(value));
149 long long m_samplingRate{0};
154 bool m_aRNHasBeenSet =
false;
155 bool m_nameHasBeenSet =
false;
156 bool m_samplingRateHasBeenSet =
false;
157 bool m_endPointsHasBeenSet =
false;
158 bool m_fieldsHasBeenSet =
false;
bool EndPointsHasBeenSet() const
RealtimeLogConfig & WithEndPoints(EndPointsT &&value)
AWS_CLOUDFRONT_API RealtimeLogConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetARN(ARNT &&value)
bool ARNHasBeenSet() const
RealtimeLogConfig & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetFields() const
RealtimeLogConfig & WithSamplingRate(long long value)
const Aws::Vector< EndPoint > & GetEndPoints() const
bool NameHasBeenSet() const
AWS_CLOUDFRONT_API RealtimeLogConfig()=default
RealtimeLogConfig & AddEndPoints(EndPointsT &&value)
AWS_CLOUDFRONT_API RealtimeLogConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
long long GetSamplingRate() const
void SetFields(FieldsT &&value)
bool SamplingRateHasBeenSet() const
bool FieldsHasBeenSet() const
const Aws::String & GetARN() const
RealtimeLogConfig & WithARN(ARNT &&value)
void SetName(NameT &&value)
RealtimeLogConfig & AddFields(FieldsT &&value)
RealtimeLogConfig & WithFields(FieldsT &&value)
const Aws::String & GetName() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetSamplingRate(long long value)
void SetEndPoints(EndPointsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector