7#include <aws/core/http/HttpResponse.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/SamplingRuleRecord.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename SamplingRuleRecordsT = Aws::Vector<SamplingRuleRecord>>
39 m_samplingRuleRecordsHasBeenSet =
true;
40 m_samplingRuleRecords = std::forward<SamplingRuleRecordsT>(value);
42 template <
typename SamplingRuleRecordsT = Aws::Vector<SamplingRuleRecord>>
47 template <
typename SamplingRuleRecordsT = SamplingRuleRecord>
49 m_samplingRuleRecordsHasBeenSet =
true;
50 m_samplingRuleRecords.emplace_back(std::forward<SamplingRuleRecordsT>(value));
60 template <
typename NextTokenT = Aws::String>
62 m_nextTokenHasBeenSet =
true;
63 m_nextToken = std::forward<NextTokenT>(value);
65 template <
typename NextTokenT = Aws::String>
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
95 bool m_samplingRuleRecordsHasBeenSet =
false;
96 bool m_nextTokenHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
const Aws::Vector< SamplingRuleRecord > & GetSamplingRuleRecords() const
GetSamplingRulesResult & WithNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_XRAY_API GetSamplingRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_XRAY_API GetSamplingRulesResult()=default
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
GetSamplingRulesResult & WithSamplingRuleRecords(SamplingRuleRecordsT &&value)
const Aws::String & GetNextToken() const
GetSamplingRulesResult & AddSamplingRuleRecords(SamplingRuleRecordsT &&value)
void SetSamplingRuleRecords(SamplingRuleRecordsT &&value)
AWS_XRAY_API GetSamplingRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSamplingRulesResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue