7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/xray/XRay_EXPORTS.h>
11#include <aws/xray/model/SamplingTargetDocument.h>
12#include <aws/xray/model/UnprocessedStatistics.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename SamplingTargetDocumentsT = Aws::Vector<SamplingTargetDocument>>
40 m_samplingTargetDocumentsHasBeenSet =
true;
41 m_samplingTargetDocuments = std::forward<SamplingTargetDocumentsT>(value);
43 template <
typename SamplingTargetDocumentsT = Aws::Vector<SamplingTargetDocument>>
48 template <
typename SamplingTargetDocumentsT = SamplingTargetDocument>
50 m_samplingTargetDocumentsHasBeenSet =
true;
51 m_samplingTargetDocuments.emplace_back(std::forward<SamplingTargetDocumentsT>(value));
65 template <
typename LastRuleModificationT = Aws::Utils::DateTime>
67 m_lastRuleModificationHasBeenSet =
true;
68 m_lastRuleModification = std::forward<LastRuleModificationT>(value);
70 template <
typename LastRuleModificationT = Aws::Utils::DateTime>
84 template <
typename UnprocessedStatisticsT = Aws::Vector<UnprocessedStatistics>>
86 m_unprocessedStatisticsHasBeenSet =
true;
87 m_unprocessedStatistics = std::forward<UnprocessedStatisticsT>(value);
89 template <
typename UnprocessedStatisticsT = Aws::Vector<UnprocessedStatistics>>
94 template <
typename UnprocessedStatisticsT = UnprocessedStatistics>
96 m_unprocessedStatisticsHasBeenSet =
true;
97 m_unprocessedStatistics.emplace_back(std::forward<UnprocessedStatisticsT>(value));
109 template <
typename UnprocessedBoostStatisticsT = Aws::Vector<UnprocessedStatistics>>
111 m_unprocessedBoostStatisticsHasBeenSet =
true;
112 m_unprocessedBoostStatistics = std::forward<UnprocessedBoostStatisticsT>(value);
114 template <
typename UnprocessedBoostStatisticsT = Aws::Vector<UnprocessedStatistics>>
119 template <
typename UnprocessedBoostStatisticsT = UnprocessedStatistics>
121 m_unprocessedBoostStatisticsHasBeenSet =
true;
122 m_unprocessedBoostStatistics.emplace_back(std::forward<UnprocessedBoostStatisticsT>(value));
130 template <
typename RequestIdT = Aws::String>
132 m_requestIdHasBeenSet =
true;
133 m_requestId = std::forward<RequestIdT>(value);
135 template <
typename RequestIdT = Aws::String>
151 bool m_samplingTargetDocumentsHasBeenSet =
false;
152 bool m_lastRuleModificationHasBeenSet =
false;
153 bool m_unprocessedStatisticsHasBeenSet =
false;
154 bool m_unprocessedBoostStatisticsHasBeenSet =
false;
155 bool m_requestIdHasBeenSet =
false;
AWS_XRAY_API GetSamplingTargetsResult()=default
GetSamplingTargetsResult & AddUnprocessedBoostStatistics(UnprocessedBoostStatisticsT &&value)
AWS_XRAY_API GetSamplingTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
GetSamplingTargetsResult & WithRequestId(RequestIdT &&value)
void SetUnprocessedStatistics(UnprocessedStatisticsT &&value)
GetSamplingTargetsResult & AddUnprocessedStatistics(UnprocessedStatisticsT &&value)
GetSamplingTargetsResult & WithUnprocessedBoostStatistics(UnprocessedBoostStatisticsT &&value)
void SetUnprocessedBoostStatistics(UnprocessedBoostStatisticsT &&value)
const Aws::Vector< UnprocessedStatistics > & GetUnprocessedStatistics() const
GetSamplingTargetsResult & WithLastRuleModification(LastRuleModificationT &&value)
const Aws::Vector< UnprocessedStatistics > & GetUnprocessedBoostStatistics() const
void SetSamplingTargetDocuments(SamplingTargetDocumentsT &&value)
GetSamplingTargetsResult & WithSamplingTargetDocuments(SamplingTargetDocumentsT &&value)
const Aws::Vector< SamplingTargetDocument > & GetSamplingTargetDocuments() const
const Aws::String & GetRequestId() const
GetSamplingTargetsResult & WithUnprocessedStatistics(UnprocessedStatisticsT &&value)
GetSamplingTargetsResult & AddSamplingTargetDocuments(SamplingTargetDocumentsT &&value)
const Aws::Utils::DateTime & GetLastRuleModification() const
void SetLastRuleModification(LastRuleModificationT &&value)
AWS_XRAY_API GetSamplingTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue