AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
BatchUpdateDetectorResult.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotevents-data/model/BatchUpdateDetectorErrorEntry.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTEventsData
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTEVENTSDATA_API BatchUpdateDetectorResult() = default;
35
36
38
42 inline const Aws::Vector<BatchUpdateDetectorErrorEntry>& GetBatchUpdateDetectorErrorEntries() const { return m_batchUpdateDetectorErrorEntries; }
43 template<typename BatchUpdateDetectorErrorEntriesT = Aws::Vector<BatchUpdateDetectorErrorEntry>>
44 void SetBatchUpdateDetectorErrorEntries(BatchUpdateDetectorErrorEntriesT&& value) { m_batchUpdateDetectorErrorEntriesHasBeenSet = true; m_batchUpdateDetectorErrorEntries = std::forward<BatchUpdateDetectorErrorEntriesT>(value); }
45 template<typename BatchUpdateDetectorErrorEntriesT = Aws::Vector<BatchUpdateDetectorErrorEntry>>
46 BatchUpdateDetectorResult& WithBatchUpdateDetectorErrorEntries(BatchUpdateDetectorErrorEntriesT&& value) { SetBatchUpdateDetectorErrorEntries(std::forward<BatchUpdateDetectorErrorEntriesT>(value)); return *this;}
47 template<typename BatchUpdateDetectorErrorEntriesT = BatchUpdateDetectorErrorEntry>
48 BatchUpdateDetectorResult& AddBatchUpdateDetectorErrorEntries(BatchUpdateDetectorErrorEntriesT&& value) { m_batchUpdateDetectorErrorEntriesHasBeenSet = true; m_batchUpdateDetectorErrorEntries.emplace_back(std::forward<BatchUpdateDetectorErrorEntriesT>(value)); return *this; }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template<typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
56 template<typename RequestIdT = Aws::String>
57 BatchUpdateDetectorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
59 private:
60
61 Aws::Vector<BatchUpdateDetectorErrorEntry> m_batchUpdateDetectorErrorEntries;
62 bool m_batchUpdateDetectorErrorEntriesHasBeenSet = false;
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace IoTEventsData
70} // namespace Aws
const Aws::Vector< BatchUpdateDetectorErrorEntry > & GetBatchUpdateDetectorErrorEntries() const
AWS_IOTEVENTSDATA_API BatchUpdateDetectorResult()=default
BatchUpdateDetectorResult & WithBatchUpdateDetectorErrorEntries(BatchUpdateDetectorErrorEntriesT &&value)
BatchUpdateDetectorResult & WithRequestId(RequestIdT &&value)
AWS_IOTEVENTSDATA_API BatchUpdateDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTEVENTSDATA_API BatchUpdateDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchUpdateDetectorResult & AddBatchUpdateDetectorErrorEntries(BatchUpdateDetectorErrorEntriesT &&value)
void SetBatchUpdateDetectorErrorEntries(BatchUpdateDetectorErrorEntriesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue