AWS SDK for C++  1.9.129
AWS SDK for C++
GetStatisticsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Statistics& GetStatistics() const{ return m_statistics; }
40 
45  inline void SetStatistics(const Statistics& value) { m_statistics = value; }
46 
51  inline void SetStatistics(Statistics&& value) { m_statistics = std::move(value); }
52 
57  inline GetStatisticsResult& WithStatistics(const Statistics& value) { SetStatistics(value); return *this;}
58 
63  inline GetStatisticsResult& WithStatistics(Statistics&& value) { SetStatistics(std::move(value)); return *this;}
64 
65  private:
66 
67  Statistics m_statistics;
68  };
69 
70 } // namespace Model
71 } // namespace IoT
72 } // namespace Aws
Aws::IoT::Model::GetStatisticsResult::WithStatistics
GetStatisticsResult & WithStatistics(Statistics &&value)
Definition: GetStatisticsResult.h:63
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::GetStatisticsResult::GetStatisticsResult
GetStatisticsResult()
Aws::IoT::Model::Statistics
Definition: Statistics.h:31
Aws::IoT::Model::GetStatisticsResult::GetStatisticsResult
GetStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetStatisticsResult::operator=
GetStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetStatisticsResult
Definition: GetStatisticsResult.h:28
Aws::IoT::Model::GetStatisticsResult::SetStatistics
void SetStatistics(Statistics &&value)
Definition: GetStatisticsResult.h:51
Aws::IoT::Model::GetStatisticsResult::SetStatistics
void SetStatistics(const Statistics &value)
Definition: GetStatisticsResult.h:45
Aws::IoT::Model::GetStatisticsResult::WithStatistics
GetStatisticsResult & WithStatistics(const Statistics &value)
Definition: GetStatisticsResult.h:57
Aws::IoT::Model::GetStatisticsResult::GetStatistics
const Statistics & GetStatistics() const
Definition: GetStatisticsResult.h:39
Aws
Definition: AccessManagementClient.h:15
Statistics.h
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
IoT_EXPORTS.h