AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventDetailsResult.h
1
6#pragma once
7#include <aws/health/Health_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/health/model/EventDetails.h>
11#include <aws/health/model/EventDetailsErrorItem.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Health
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::Vector<EventDetails>& GetSuccessfulSet() const{ return m_successfulSet; }
43 inline void SetSuccessfulSet(const Aws::Vector<EventDetails>& value) { m_successfulSet = value; }
44 inline void SetSuccessfulSet(Aws::Vector<EventDetails>&& value) { m_successfulSet = std::move(value); }
47 inline DescribeEventDetailsResult& AddSuccessfulSet(const EventDetails& value) { m_successfulSet.push_back(value); return *this; }
48 inline DescribeEventDetailsResult& AddSuccessfulSet(EventDetails&& value) { m_successfulSet.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<EventDetailsErrorItem>& GetFailedSet() const{ return m_failedSet; }
56 inline void SetFailedSet(const Aws::Vector<EventDetailsErrorItem>& value) { m_failedSet = value; }
57 inline void SetFailedSet(Aws::Vector<EventDetailsErrorItem>&& value) { m_failedSet = std::move(value); }
60 inline DescribeEventDetailsResult& AddFailedSet(const EventDetailsErrorItem& value) { m_failedSet.push_back(value); return *this; }
61 inline DescribeEventDetailsResult& AddFailedSet(EventDetailsErrorItem&& value) { m_failedSet.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline DescribeEventDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline DescribeEventDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline DescribeEventDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<EventDetails> m_successfulSet;
77
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Health
85} // namespace Aws
void SetSuccessfulSet(Aws::Vector< EventDetails > &&value)
DescribeEventDetailsResult & WithRequestId(const Aws::String &value)
DescribeEventDetailsResult & AddFailedSet(const EventDetailsErrorItem &value)
const Aws::Vector< EventDetails > & GetSuccessfulSet() const
DescribeEventDetailsResult & WithFailedSet(const Aws::Vector< EventDetailsErrorItem > &value)
DescribeEventDetailsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< EventDetailsErrorItem > & GetFailedSet() const
AWS_HEALTH_API DescribeEventDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_HEALTH_API DescribeEventDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailedSet(const Aws::Vector< EventDetailsErrorItem > &value)
void SetFailedSet(Aws::Vector< EventDetailsErrorItem > &&value)
DescribeEventDetailsResult & WithSuccessfulSet(const Aws::Vector< EventDetails > &value)
DescribeEventDetailsResult & WithFailedSet(Aws::Vector< EventDetailsErrorItem > &&value)
DescribeEventDetailsResult & AddFailedSet(EventDetailsErrorItem &&value)
DescribeEventDetailsResult & WithSuccessfulSet(Aws::Vector< EventDetails > &&value)
DescribeEventDetailsResult & AddSuccessfulSet(EventDetails &&value)
DescribeEventDetailsResult & AddSuccessfulSet(const EventDetails &value)
DescribeEventDetailsResult & WithRequestId(const char *value)
void SetSuccessfulSet(const Aws::Vector< EventDetails > &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