AWS SDK for C++  1.9.108
AWS SDK for C++
GetSamplingStatisticSummariesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace XRay
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<SamplingStatisticSummary>& GetSamplingStatisticSummaries() const{ return m_samplingStatisticSummaries; }
42 
47  inline void SetSamplingStatisticSummaries(const Aws::Vector<SamplingStatisticSummary>& value) { m_samplingStatisticSummaries = value; }
48 
53  inline void SetSamplingStatisticSummaries(Aws::Vector<SamplingStatisticSummary>&& value) { m_samplingStatisticSummaries = std::move(value); }
54 
59  inline GetSamplingStatisticSummariesResult& WithSamplingStatisticSummaries(const Aws::Vector<SamplingStatisticSummary>& value) { SetSamplingStatisticSummaries(value); return *this;}
60 
65  inline GetSamplingStatisticSummariesResult& WithSamplingStatisticSummaries(Aws::Vector<SamplingStatisticSummary>&& value) { SetSamplingStatisticSummaries(std::move(value)); return *this;}
66 
71  inline GetSamplingStatisticSummariesResult& AddSamplingStatisticSummaries(const SamplingStatisticSummary& value) { m_samplingStatisticSummaries.push_back(value); return *this; }
72 
77  inline GetSamplingStatisticSummariesResult& AddSamplingStatisticSummaries(SamplingStatisticSummary&& value) { m_samplingStatisticSummaries.push_back(std::move(value)); return *this; }
78 
79 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
98  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
99 
103  inline GetSamplingStatisticSummariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 
108  inline GetSamplingStatisticSummariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
113  inline GetSamplingStatisticSummariesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<SamplingStatisticSummary> m_samplingStatisticSummaries;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace XRay
124 } // namespace Aws
Aws::XRay::Model::GetSamplingStatisticSummariesResult::GetSamplingStatisticSummariesResult
GetSamplingStatisticSummariesResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::XRay::Model::GetSamplingStatisticSummariesResult::AddSamplingStatisticSummaries
GetSamplingStatisticSummariesResult & AddSamplingStatisticSummaries(SamplingStatisticSummary &&value)
Definition: GetSamplingStatisticSummariesResult.h:77
Aws::XRay::Model::GetSamplingStatisticSummariesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetSamplingStatisticSummariesResult.h:83
Aws::XRay::Model::GetSamplingStatisticSummariesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetSamplingStatisticSummariesResult.h:88
Aws::XRay::Model::GetSamplingStatisticSummariesResult::GetSamplingStatisticSummaries
const Aws::Vector< SamplingStatisticSummary > & GetSamplingStatisticSummaries() const
Definition: GetSamplingStatisticSummariesResult.h:41
Aws::XRay::Model::SamplingStatisticSummary
Definition: SamplingStatisticSummary.h:34
Aws::XRay::Model::GetSamplingStatisticSummariesResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetSamplingStatisticSummariesResult.h:98
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::XRay::Model::GetSamplingStatisticSummariesResult::SetSamplingStatisticSummaries
void SetSamplingStatisticSummaries(const Aws::Vector< SamplingStatisticSummary > &value)
Definition: GetSamplingStatisticSummariesResult.h:47
Aws::XRay::Model::GetSamplingStatisticSummariesResult::WithSamplingStatisticSummaries
GetSamplingStatisticSummariesResult & WithSamplingStatisticSummaries(const Aws::Vector< SamplingStatisticSummary > &value)
Definition: GetSamplingStatisticSummariesResult.h:59
Aws::XRay::Model::GetSamplingStatisticSummariesResult::WithNextToken
GetSamplingStatisticSummariesResult & WithNextToken(const char *value)
Definition: GetSamplingStatisticSummariesResult.h:113
Aws::XRay::Model::GetSamplingStatisticSummariesResult::WithSamplingStatisticSummaries
GetSamplingStatisticSummariesResult & WithSamplingStatisticSummaries(Aws::Vector< SamplingStatisticSummary > &&value)
Definition: GetSamplingStatisticSummariesResult.h:65
Aws::XRay::Model::GetSamplingStatisticSummariesResult::GetSamplingStatisticSummariesResult
GetSamplingStatisticSummariesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::XRay::Model::GetSamplingStatisticSummariesResult::WithNextToken
GetSamplingStatisticSummariesResult & WithNextToken(Aws::String &&value)
Definition: GetSamplingStatisticSummariesResult.h:108
AWSString.h
XRay_EXPORTS.h
Aws::XRay::Model::GetSamplingStatisticSummariesResult::operator=
GetSamplingStatisticSummariesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::XRay::Model::GetSamplingStatisticSummariesResult::AddSamplingStatisticSummaries
GetSamplingStatisticSummariesResult & AddSamplingStatisticSummaries(const SamplingStatisticSummary &value)
Definition: GetSamplingStatisticSummariesResult.h:71
SamplingStatisticSummary.h
AWS_XRAY_API
#define AWS_XRAY_API
Definition: XRay_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::XRay::Model::GetSamplingStatisticSummariesResult
Definition: GetSamplingStatisticSummariesResult.h:30
Aws::XRay::Model::GetSamplingStatisticSummariesResult::WithNextToken
GetSamplingStatisticSummariesResult & WithNextToken(const Aws::String &value)
Definition: GetSamplingStatisticSummariesResult.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::XRay::Model::GetSamplingStatisticSummariesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetSamplingStatisticSummariesResult.h:93
Aws::XRay::Model::GetSamplingStatisticSummariesResult::SetSamplingStatisticSummaries
void SetSamplingStatisticSummaries(Aws::Vector< SamplingStatisticSummary > &&value)
Definition: GetSamplingStatisticSummariesResult.h:53