7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/xray/XRay_EXPORTS.h>
12#include <aws/xray/model/SamplingTargetDocument.h>
13#include <aws/xray/model/UnprocessedStatistics.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename SamplingTargetDocumentsT = Aws::Vector<SamplingTargetDocument>>
41 m_samplingTargetDocumentsHasBeenSet =
true;
42 m_samplingTargetDocuments = std::forward<SamplingTargetDocumentsT>(value);
44 template <
typename SamplingTargetDocumentsT = Aws::Vector<SamplingTargetDocument>>
49 template <
typename SamplingTargetDocumentsT = SamplingTargetDocument>
51 m_samplingTargetDocumentsHasBeenSet =
true;
52 m_samplingTargetDocuments.emplace_back(std::forward<SamplingTargetDocumentsT>(value));
66 template <
typename LastRuleModificationT = Aws::Utils::DateTime>
68 m_lastRuleModificationHasBeenSet =
true;
69 m_lastRuleModification = std::forward<LastRuleModificationT>(value);
71 template <
typename LastRuleModificationT = Aws::Utils::DateTime>
85 template <
typename UnprocessedStatisticsT = Aws::Vector<UnprocessedStatistics>>
87 m_unprocessedStatisticsHasBeenSet =
true;
88 m_unprocessedStatistics = std::forward<UnprocessedStatisticsT>(value);
90 template <
typename UnprocessedStatisticsT = Aws::Vector<UnprocessedStatistics>>
95 template <
typename UnprocessedStatisticsT = UnprocessedStatistics>
97 m_unprocessedStatisticsHasBeenSet =
true;
98 m_unprocessedStatistics.emplace_back(std::forward<UnprocessedStatisticsT>(value));
110 template <
typename UnprocessedBoostStatisticsT = Aws::Vector<UnprocessedStatistics>>
112 m_unprocessedBoostStatisticsHasBeenSet =
true;
113 m_unprocessedBoostStatistics = std::forward<UnprocessedBoostStatisticsT>(value);
115 template <
typename UnprocessedBoostStatisticsT = Aws::Vector<UnprocessedStatistics>>
120 template <
typename UnprocessedBoostStatisticsT = UnprocessedStatistics>
122 m_unprocessedBoostStatisticsHasBeenSet =
true;
123 m_unprocessedBoostStatistics.emplace_back(std::forward<UnprocessedBoostStatisticsT>(value));
131 template <
typename RequestIdT = Aws::String>
133 m_requestIdHasBeenSet =
true;
134 m_requestId = std::forward<RequestIdT>(value);
136 template <
typename RequestIdT = Aws::String>
155 bool m_samplingTargetDocumentsHasBeenSet =
false;
156 bool m_lastRuleModificationHasBeenSet =
false;
157 bool m_unprocessedStatisticsHasBeenSet =
false;
158 bool m_unprocessedBoostStatisticsHasBeenSet =
false;
159 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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