AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetAssetPropertyAggregatesResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsitewise/model/BatchGetAssetPropertyAggregatesErrorEntry.h>
11#include <aws/iotsitewise/model/BatchGetAssetPropertyAggregatesSuccessEntry.h>
12#include <aws/iotsitewise/model/BatchGetAssetPropertyAggregatesSkippedEntry.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTSiteWise
28{
29namespace Model
30{
32 {
33 public:
37
38
40
44 inline const Aws::Vector<BatchGetAssetPropertyAggregatesErrorEntry>& GetErrorEntries() const{ return m_errorEntries; }
45 inline void SetErrorEntries(const Aws::Vector<BatchGetAssetPropertyAggregatesErrorEntry>& value) { m_errorEntries = value; }
46 inline void SetErrorEntries(Aws::Vector<BatchGetAssetPropertyAggregatesErrorEntry>&& value) { m_errorEntries = std::move(value); }
49 inline BatchGetAssetPropertyAggregatesResult& AddErrorEntries(const BatchGetAssetPropertyAggregatesErrorEntry& value) { m_errorEntries.push_back(value); return *this; }
50 inline BatchGetAssetPropertyAggregatesResult& AddErrorEntries(BatchGetAssetPropertyAggregatesErrorEntry&& value) { m_errorEntries.push_back(std::move(value)); return *this; }
52
54
59 inline const Aws::Vector<BatchGetAssetPropertyAggregatesSuccessEntry>& GetSuccessEntries() const{ return m_successEntries; }
60 inline void SetSuccessEntries(const Aws::Vector<BatchGetAssetPropertyAggregatesSuccessEntry>& value) { m_successEntries = value; }
61 inline void SetSuccessEntries(Aws::Vector<BatchGetAssetPropertyAggregatesSuccessEntry>&& value) { m_successEntries = std::move(value); }
64 inline BatchGetAssetPropertyAggregatesResult& AddSuccessEntries(const BatchGetAssetPropertyAggregatesSuccessEntry& value) { m_successEntries.push_back(value); return *this; }
65 inline BatchGetAssetPropertyAggregatesResult& AddSuccessEntries(BatchGetAssetPropertyAggregatesSuccessEntry&& value) { m_successEntries.push_back(std::move(value)); return *this; }
67
69
74 inline const Aws::Vector<BatchGetAssetPropertyAggregatesSkippedEntry>& GetSkippedEntries() const{ return m_skippedEntries; }
75 inline void SetSkippedEntries(const Aws::Vector<BatchGetAssetPropertyAggregatesSkippedEntry>& value) { m_skippedEntries = value; }
76 inline void SetSkippedEntries(Aws::Vector<BatchGetAssetPropertyAggregatesSkippedEntry>&& value) { m_skippedEntries = std::move(value); }
79 inline BatchGetAssetPropertyAggregatesResult& AddSkippedEntries(const BatchGetAssetPropertyAggregatesSkippedEntry& value) { m_skippedEntries.push_back(value); return *this; }
80 inline BatchGetAssetPropertyAggregatesResult& AddSkippedEntries(BatchGetAssetPropertyAggregatesSkippedEntry&& value) { m_skippedEntries.push_back(std::move(value)); return *this; }
82
84
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
91 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 inline BatchGetAssetPropertyAggregatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 inline BatchGetAssetPropertyAggregatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
94 inline BatchGetAssetPropertyAggregatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline BatchGetAssetPropertyAggregatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline BatchGetAssetPropertyAggregatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
110
112
114
115 Aws::String m_nextToken;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace IoTSiteWise
122} // namespace Aws
BatchGetAssetPropertyAggregatesResult & AddSkippedEntries(const BatchGetAssetPropertyAggregatesSkippedEntry &value)
BatchGetAssetPropertyAggregatesResult & AddErrorEntries(BatchGetAssetPropertyAggregatesErrorEntry &&value)
BatchGetAssetPropertyAggregatesResult & AddErrorEntries(const BatchGetAssetPropertyAggregatesErrorEntry &value)
const Aws::Vector< BatchGetAssetPropertyAggregatesSkippedEntry > & GetSkippedEntries() const
BatchGetAssetPropertyAggregatesResult & WithErrorEntries(Aws::Vector< BatchGetAssetPropertyAggregatesErrorEntry > &&value)
BatchGetAssetPropertyAggregatesResult & WithRequestId(Aws::String &&value)
void SetSkippedEntries(const Aws::Vector< BatchGetAssetPropertyAggregatesSkippedEntry > &value)
void SetSuccessEntries(const Aws::Vector< BatchGetAssetPropertyAggregatesSuccessEntry > &value)
AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetAssetPropertyAggregatesResult & WithSuccessEntries(Aws::Vector< BatchGetAssetPropertyAggregatesSuccessEntry > &&value)
BatchGetAssetPropertyAggregatesResult & WithNextToken(Aws::String &&value)
BatchGetAssetPropertyAggregatesResult & WithSkippedEntries(const Aws::Vector< BatchGetAssetPropertyAggregatesSkippedEntry > &value)
BatchGetAssetPropertyAggregatesResult & WithErrorEntries(const Aws::Vector< BatchGetAssetPropertyAggregatesErrorEntry > &value)
BatchGetAssetPropertyAggregatesResult & AddSuccessEntries(BatchGetAssetPropertyAggregatesSuccessEntry &&value)
BatchGetAssetPropertyAggregatesResult & WithSkippedEntries(Aws::Vector< BatchGetAssetPropertyAggregatesSkippedEntry > &&value)
void SetErrorEntries(const Aws::Vector< BatchGetAssetPropertyAggregatesErrorEntry > &value)
BatchGetAssetPropertyAggregatesResult & WithNextToken(const char *value)
BatchGetAssetPropertyAggregatesResult & AddSkippedEntries(BatchGetAssetPropertyAggregatesSkippedEntry &&value)
void SetSkippedEntries(Aws::Vector< BatchGetAssetPropertyAggregatesSkippedEntry > &&value)
void SetErrorEntries(Aws::Vector< BatchGetAssetPropertyAggregatesErrorEntry > &&value)
BatchGetAssetPropertyAggregatesResult & WithSuccessEntries(const Aws::Vector< BatchGetAssetPropertyAggregatesSuccessEntry > &value)
BatchGetAssetPropertyAggregatesResult & WithRequestId(const char *value)
BatchGetAssetPropertyAggregatesResult & WithRequestId(const Aws::String &value)
void SetSuccessEntries(Aws::Vector< BatchGetAssetPropertyAggregatesSuccessEntry > &&value)
BatchGetAssetPropertyAggregatesResult & WithNextToken(const Aws::String &value)
BatchGetAssetPropertyAggregatesResult & AddSuccessEntries(const BatchGetAssetPropertyAggregatesSuccessEntry &value)
const Aws::Vector< BatchGetAssetPropertyAggregatesSuccessEntry > & GetSuccessEntries() const
AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchGetAssetPropertyAggregatesErrorEntry > & GetErrorEntries() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue