AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
BatchDeleteDetectorResult.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/BatchDeleteDetectorErrorEntry.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 BatchDeleteDetectorResult() = default;
35
36
38
43 inline const Aws::Vector<BatchDeleteDetectorErrorEntry>& GetBatchDeleteDetectorErrorEntries() const { return m_batchDeleteDetectorErrorEntries; }
44 template<typename BatchDeleteDetectorErrorEntriesT = Aws::Vector<BatchDeleteDetectorErrorEntry>>
45 void SetBatchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntriesT&& value) { m_batchDeleteDetectorErrorEntriesHasBeenSet = true; m_batchDeleteDetectorErrorEntries = std::forward<BatchDeleteDetectorErrorEntriesT>(value); }
46 template<typename BatchDeleteDetectorErrorEntriesT = Aws::Vector<BatchDeleteDetectorErrorEntry>>
47 BatchDeleteDetectorResult& WithBatchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntriesT&& value) { SetBatchDeleteDetectorErrorEntries(std::forward<BatchDeleteDetectorErrorEntriesT>(value)); return *this;}
48 template<typename BatchDeleteDetectorErrorEntriesT = BatchDeleteDetectorErrorEntry>
49 BatchDeleteDetectorResult& AddBatchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntriesT&& value) { m_batchDeleteDetectorErrorEntriesHasBeenSet = true; m_batchDeleteDetectorErrorEntries.emplace_back(std::forward<BatchDeleteDetectorErrorEntriesT>(value)); return *this; }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template<typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
57 template<typename RequestIdT = Aws::String>
58 BatchDeleteDetectorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
60 private:
61
62 Aws::Vector<BatchDeleteDetectorErrorEntry> m_batchDeleteDetectorErrorEntries;
63 bool m_batchDeleteDetectorErrorEntriesHasBeenSet = false;
64
65 Aws::String m_requestId;
66 bool m_requestIdHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace IoTEventsData
71} // namespace Aws
AWS_IOTEVENTSDATA_API BatchDeleteDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteDetectorResult & WithBatchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntriesT &&value)
void SetBatchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntriesT &&value)
const Aws::Vector< BatchDeleteDetectorErrorEntry > & GetBatchDeleteDetectorErrorEntries() const
AWS_IOTEVENTSDATA_API BatchDeleteDetectorResult()=default
BatchDeleteDetectorResult & AddBatchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntriesT &&value)
AWS_IOTEVENTSDATA_API BatchDeleteDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteDetectorResult & WithRequestId(RequestIdT &&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