AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutTargetsResult.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/PutTargetsResultEntry.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 PutTargetsResult();
35
36
38
41 inline int GetFailedEntryCount() const{ return m_failedEntryCount; }
42 inline void SetFailedEntryCount(int value) { m_failedEntryCount = value; }
43 inline PutTargetsResult& WithFailedEntryCount(int value) { SetFailedEntryCount(value); return *this;}
45
47
50 inline const Aws::Vector<PutTargetsResultEntry>& GetFailedEntries() const{ return m_failedEntries; }
51 inline void SetFailedEntries(const Aws::Vector<PutTargetsResultEntry>& value) { m_failedEntries = value; }
52 inline void SetFailedEntries(Aws::Vector<PutTargetsResultEntry>&& value) { m_failedEntries = std::move(value); }
55 inline PutTargetsResult& AddFailedEntries(const PutTargetsResultEntry& value) { m_failedEntries.push_back(value); return *this; }
56 inline PutTargetsResult& AddFailedEntries(PutTargetsResultEntry&& 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 PutTargetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline PutTargetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline PutTargetsResult& 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
PutTargetsResult & WithFailedEntryCount(int value)
PutTargetsResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
PutTargetsResult & WithRequestId(const Aws::String &value)
PutTargetsResult & WithRequestId(const char *value)
PutTargetsResult & AddFailedEntries(PutTargetsResultEntry &&value)
const Aws::Vector< PutTargetsResultEntry > & GetFailedEntries() const
PutTargetsResult & WithFailedEntries(Aws::Vector< PutTargetsResultEntry > &&value)
AWS_EVENTBRIDGE_API PutTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailedEntries(const Aws::Vector< PutTargetsResultEntry > &value)
AWS_EVENTBRIDGE_API PutTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutTargetsResult & AddFailedEntries(const PutTargetsResultEntry &value)
void SetFailedEntries(Aws::Vector< PutTargetsResultEntry > &&value)
PutTargetsResult & WithFailedEntries(const Aws::Vector< PutTargetsResultEntry > &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