AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveTargetsResult.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/RemoveTargetsResultEntry.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 EventBridge
26{
27namespace Model
28{
30 {
31 public:
32 AWS_EVENTBRIDGE_API RemoveTargetsResult();
35
36
38
41 inline int GetFailedEntryCount() const{ return m_failedEntryCount; }
42 inline void SetFailedEntryCount(int value) { m_failedEntryCount = value; }
43 inline RemoveTargetsResult& WithFailedEntryCount(int value) { SetFailedEntryCount(value); return *this;}
45
47
50 inline const Aws::Vector<RemoveTargetsResultEntry>& GetFailedEntries() const{ return m_failedEntries; }
51 inline void SetFailedEntries(const Aws::Vector<RemoveTargetsResultEntry>& value) { m_failedEntries = value; }
52 inline void SetFailedEntries(Aws::Vector<RemoveTargetsResultEntry>&& value) { m_failedEntries = std::move(value); }
55 inline RemoveTargetsResult& AddFailedEntries(const RemoveTargetsResultEntry& value) { m_failedEntries.push_back(value); return *this; }
56 inline RemoveTargetsResult& AddFailedEntries(RemoveTargetsResultEntry&& value) { m_failedEntries.push_back(std::move(value)); return *this; }
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline RemoveTargetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline RemoveTargetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline RemoveTargetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 int m_failedEntryCount;
72
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace EventBridge
80} // namespace Aws
RemoveTargetsResult & WithRequestId(const char *value)
const Aws::Vector< RemoveTargetsResultEntry > & GetFailedEntries() const
RemoveTargetsResult & WithFailedEntries(const Aws::Vector< RemoveTargetsResultEntry > &value)
RemoveTargetsResult & AddFailedEntries(const RemoveTargetsResultEntry &value)
RemoveTargetsResult & WithRequestId(Aws::String &&value)
AWS_EVENTBRIDGE_API RemoveTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailedEntries(const Aws::Vector< RemoveTargetsResultEntry > &value)
AWS_EVENTBRIDGE_API RemoveTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RemoveTargetsResult & WithFailedEntryCount(int value)
RemoveTargetsResult & WithRequestId(const Aws::String &value)
void SetFailedEntries(Aws::Vector< RemoveTargetsResultEntry > &&value)
RemoveTargetsResult & AddFailedEntries(RemoveTargetsResultEntry &&value)
RemoveTargetsResult & WithFailedEntries(Aws::Vector< RemoveTargetsResultEntry > &&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