AWS SDK for C++  1.9.124
AWS SDK for C++
GetPercentilesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<PercentPair>& GetPercentiles() const{ return m_percentiles; }
40 
44  inline void SetPercentiles(const Aws::Vector<PercentPair>& value) { m_percentiles = value; }
45 
49  inline void SetPercentiles(Aws::Vector<PercentPair>&& value) { m_percentiles = std::move(value); }
50 
54  inline GetPercentilesResult& WithPercentiles(const Aws::Vector<PercentPair>& value) { SetPercentiles(value); return *this;}
55 
59  inline GetPercentilesResult& WithPercentiles(Aws::Vector<PercentPair>&& value) { SetPercentiles(std::move(value)); return *this;}
60 
64  inline GetPercentilesResult& AddPercentiles(const PercentPair& value) { m_percentiles.push_back(value); return *this; }
65 
69  inline GetPercentilesResult& AddPercentiles(PercentPair&& value) { m_percentiles.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<PercentPair> m_percentiles;
74  };
75 
76 } // namespace Model
77 } // namespace IoT
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::GetPercentilesResult::WithPercentiles
GetPercentilesResult & WithPercentiles(Aws::Vector< PercentPair > &&value)
Definition: GetPercentilesResult.h:59
Aws::IoT::Model::GetPercentilesResult::GetPercentilesResult
GetPercentilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PercentPair.h
Aws::IoT::Model::GetPercentilesResult::WithPercentiles
GetPercentilesResult & WithPercentiles(const Aws::Vector< PercentPair > &value)
Definition: GetPercentilesResult.h:54
Aws::IoT::Model::GetPercentilesResult::AddPercentiles
GetPercentilesResult & AddPercentiles(const PercentPair &value)
Definition: GetPercentilesResult.h:64
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::PercentPair
Definition: PercentPair.h:30
Aws::IoT::Model::GetPercentilesResult
Definition: GetPercentilesResult.h:29
Aws::IoT::Model::GetPercentilesResult::operator=
GetPercentilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetPercentilesResult::SetPercentiles
void SetPercentiles(const Aws::Vector< PercentPair > &value)
Definition: GetPercentilesResult.h:44
Aws::IoT::Model::GetPercentilesResult::AddPercentiles
GetPercentilesResult & AddPercentiles(PercentPair &&value)
Definition: GetPercentilesResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::GetPercentilesResult::GetPercentiles
const Aws::Vector< PercentPair > & GetPercentiles() const
Definition: GetPercentilesResult.h:39
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::GetPercentilesResult::SetPercentiles
void SetPercentiles(Aws::Vector< PercentPair > &&value)
Definition: GetPercentilesResult.h:49
Aws::IoT::Model::GetPercentilesResult::GetPercentilesResult
GetPercentilesResult()
IoT_EXPORTS.h