AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetAssetPropertyValueResult.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/BatchGetAssetPropertyValueErrorEntry.h>
11#include <aws/iotsitewise/model/BatchGetAssetPropertyValueSuccessEntry.h>
12#include <aws/iotsitewise/model/BatchGetAssetPropertyValueSkippedEntry.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:
34 AWS_IOTSITEWISE_API BatchGetAssetPropertyValueResult();
37
38
40
44 inline const Aws::Vector<BatchGetAssetPropertyValueErrorEntry>& GetErrorEntries() const{ return m_errorEntries; }
45 inline void SetErrorEntries(const Aws::Vector<BatchGetAssetPropertyValueErrorEntry>& value) { m_errorEntries = value; }
46 inline void SetErrorEntries(Aws::Vector<BatchGetAssetPropertyValueErrorEntry>&& value) { m_errorEntries = std::move(value); }
49 inline BatchGetAssetPropertyValueResult& AddErrorEntries(const BatchGetAssetPropertyValueErrorEntry& value) { m_errorEntries.push_back(value); return *this; }
50 inline BatchGetAssetPropertyValueResult& AddErrorEntries(BatchGetAssetPropertyValueErrorEntry&& value) { m_errorEntries.push_back(std::move(value)); return *this; }
52
54
59 inline const Aws::Vector<BatchGetAssetPropertyValueSuccessEntry>& GetSuccessEntries() const{ return m_successEntries; }
60 inline void SetSuccessEntries(const Aws::Vector<BatchGetAssetPropertyValueSuccessEntry>& value) { m_successEntries = value; }
61 inline void SetSuccessEntries(Aws::Vector<BatchGetAssetPropertyValueSuccessEntry>&& value) { m_successEntries = std::move(value); }
64 inline BatchGetAssetPropertyValueResult& AddSuccessEntries(const BatchGetAssetPropertyValueSuccessEntry& value) { m_successEntries.push_back(value); return *this; }
65 inline BatchGetAssetPropertyValueResult& AddSuccessEntries(BatchGetAssetPropertyValueSuccessEntry&& value) { m_successEntries.push_back(std::move(value)); return *this; }
67
69
74 inline const Aws::Vector<BatchGetAssetPropertyValueSkippedEntry>& GetSkippedEntries() const{ return m_skippedEntries; }
75 inline void SetSkippedEntries(const Aws::Vector<BatchGetAssetPropertyValueSkippedEntry>& value) { m_skippedEntries = value; }
76 inline void SetSkippedEntries(Aws::Vector<BatchGetAssetPropertyValueSkippedEntry>&& value) { m_skippedEntries = std::move(value); }
79 inline BatchGetAssetPropertyValueResult& AddSkippedEntries(const BatchGetAssetPropertyValueSkippedEntry& value) { m_skippedEntries.push_back(value); return *this; }
80 inline BatchGetAssetPropertyValueResult& AddSkippedEntries(BatchGetAssetPropertyValueSkippedEntry&& 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 BatchGetAssetPropertyValueResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 inline BatchGetAssetPropertyValueResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
94 inline BatchGetAssetPropertyValueResult& 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); }
103 inline BatchGetAssetPropertyValueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline BatchGetAssetPropertyValueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline BatchGetAssetPropertyValueResult& 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
void SetSkippedEntries(const Aws::Vector< BatchGetAssetPropertyValueSkippedEntry > &value)
void SetSuccessEntries(const Aws::Vector< BatchGetAssetPropertyValueSuccessEntry > &value)
BatchGetAssetPropertyValueResult & AddSkippedEntries(BatchGetAssetPropertyValueSkippedEntry &&value)
void SetErrorEntries(const Aws::Vector< BatchGetAssetPropertyValueErrorEntry > &value)
BatchGetAssetPropertyValueResult & AddErrorEntries(const BatchGetAssetPropertyValueErrorEntry &value)
void SetErrorEntries(Aws::Vector< BatchGetAssetPropertyValueErrorEntry > &&value)
BatchGetAssetPropertyValueResult & WithRequestId(const char *value)
const Aws::Vector< BatchGetAssetPropertyValueSuccessEntry > & GetSuccessEntries() const
void SetSuccessEntries(Aws::Vector< BatchGetAssetPropertyValueSuccessEntry > &&value)
BatchGetAssetPropertyValueResult & WithSuccessEntries(const Aws::Vector< BatchGetAssetPropertyValueSuccessEntry > &value)
const Aws::Vector< BatchGetAssetPropertyValueErrorEntry > & GetErrorEntries() const
BatchGetAssetPropertyValueResult & WithRequestId(const Aws::String &value)
BatchGetAssetPropertyValueResult & WithNextToken(const Aws::String &value)
void SetSkippedEntries(Aws::Vector< BatchGetAssetPropertyValueSkippedEntry > &&value)
BatchGetAssetPropertyValueResult & WithErrorEntries(Aws::Vector< BatchGetAssetPropertyValueErrorEntry > &&value)
BatchGetAssetPropertyValueResult & WithNextToken(Aws::String &&value)
BatchGetAssetPropertyValueResult & AddSuccessEntries(const BatchGetAssetPropertyValueSuccessEntry &value)
BatchGetAssetPropertyValueResult & AddErrorEntries(BatchGetAssetPropertyValueErrorEntry &&value)
AWS_IOTSITEWISE_API BatchGetAssetPropertyValueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetAssetPropertyValueResult & WithSkippedEntries(Aws::Vector< BatchGetAssetPropertyValueSkippedEntry > &&value)
BatchGetAssetPropertyValueResult & WithRequestId(Aws::String &&value)
BatchGetAssetPropertyValueResult & AddSkippedEntries(const BatchGetAssetPropertyValueSkippedEntry &value)
BatchGetAssetPropertyValueResult & WithNextToken(const char *value)
BatchGetAssetPropertyValueResult & WithSkippedEntries(const Aws::Vector< BatchGetAssetPropertyValueSkippedEntry > &value)
const Aws::Vector< BatchGetAssetPropertyValueSkippedEntry > & GetSkippedEntries() const
BatchGetAssetPropertyValueResult & WithSuccessEntries(Aws::Vector< BatchGetAssetPropertyValueSuccessEntry > &&value)
BatchGetAssetPropertyValueResult & AddSuccessEntries(BatchGetAssetPropertyValueSuccessEntry &&value)
BatchGetAssetPropertyValueResult & WithErrorEntries(const Aws::Vector< BatchGetAssetPropertyValueErrorEntry > &value)
AWS_IOTSITEWISE_API BatchGetAssetPropertyValueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue