AWS SDK for C++  1.9.153
AWS SDK for C++
GetAssetPropertyAggregatesResult.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 IoTSiteWise
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<AggregatedValue>& GetAggregatedValues() const{ return m_aggregatedValues; }
41 
45  inline void SetAggregatedValues(const Aws::Vector<AggregatedValue>& value) { m_aggregatedValues = value; }
46 
50  inline void SetAggregatedValues(Aws::Vector<AggregatedValue>&& value) { m_aggregatedValues = std::move(value); }
51 
55  inline GetAssetPropertyAggregatesResult& WithAggregatedValues(const Aws::Vector<AggregatedValue>& value) { SetAggregatedValues(value); return *this;}
56 
60  inline GetAssetPropertyAggregatesResult& WithAggregatedValues(Aws::Vector<AggregatedValue>&& value) { SetAggregatedValues(std::move(value)); return *this;}
61 
65  inline GetAssetPropertyAggregatesResult& AddAggregatedValues(const AggregatedValue& value) { m_aggregatedValues.push_back(value); return *this; }
66 
70  inline GetAssetPropertyAggregatesResult& AddAggregatedValues(AggregatedValue&& value) { m_aggregatedValues.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline GetAssetPropertyAggregatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline GetAssetPropertyAggregatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline GetAssetPropertyAggregatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<AggregatedValue> m_aggregatedValues;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace IoTSiteWise
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::SetAggregatedValues
void SetAggregatedValues(const Aws::Vector< AggregatedValue > &value)
Definition: GetAssetPropertyAggregatesResult.h:45
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetAssetPropertyAggregatesResult.h:95
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::GetAssetPropertyAggregatesResult
GetAssetPropertyAggregatesResult()
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::GetAggregatedValues
const Aws::Vector< AggregatedValue > & GetAggregatedValues() const
Definition: GetAssetPropertyAggregatesResult.h:40
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::WithNextToken
GetAssetPropertyAggregatesResult & WithNextToken(const Aws::String &value)
Definition: GetAssetPropertyAggregatesResult.h:101
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::operator=
GetAssetPropertyAggregatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult
Definition: GetAssetPropertyAggregatesResult.h:30
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::WithAggregatedValues
GetAssetPropertyAggregatesResult & WithAggregatedValues(Aws::Vector< AggregatedValue > &&value)
Definition: GetAssetPropertyAggregatesResult.h:60
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetAssetPropertyAggregatesResult.h:83
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::WithAggregatedValues
GetAssetPropertyAggregatesResult & WithAggregatedValues(const Aws::Vector< AggregatedValue > &value)
Definition: GetAssetPropertyAggregatesResult.h:55
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetAssetPropertyAggregatesResult.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::GetAssetPropertyAggregatesResult
GetAssetPropertyAggregatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetAssetPropertyAggregatesResult.h:89
AWSString.h
AggregatedValue.h
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::SetAggregatedValues
void SetAggregatedValues(Aws::Vector< AggregatedValue > &&value)
Definition: GetAssetPropertyAggregatesResult.h:50
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::AggregatedValue
Definition: AggregatedValue.h:35
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::AddAggregatedValues
GetAssetPropertyAggregatesResult & AddAggregatedValues(const AggregatedValue &value)
Definition: GetAssetPropertyAggregatesResult.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::WithNextToken
GetAssetPropertyAggregatesResult & WithNextToken(Aws::String &&value)
Definition: GetAssetPropertyAggregatesResult.h:107
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::AddAggregatedValues
GetAssetPropertyAggregatesResult & AddAggregatedValues(AggregatedValue &&value)
Definition: GetAssetPropertyAggregatesResult.h:70
Aws::IoTSiteWise::Model::GetAssetPropertyAggregatesResult::WithNextToken
GetAssetPropertyAggregatesResult & WithNextToken(const char *value)
Definition: GetAssetPropertyAggregatesResult.h:113