AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventSourceResult.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/events/model/EventSourceState.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 CloudWatchEvents
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline DescribeEventSourceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline DescribeEventSourceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline DescribeEventSourceResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
55 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
56 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
57 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
58 inline DescribeEventSourceResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
59 inline DescribeEventSourceResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
60 inline DescribeEventSourceResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
68 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
69 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
71 inline DescribeEventSourceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
73
75
79 inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; }
80 inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTime = value; }
81 inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTime = std::move(value); }
83 inline DescribeEventSourceResult& WithExpirationTime(Aws::Utils::DateTime&& value) { SetExpirationTime(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetName() const{ return m_name; }
91 inline void SetName(const Aws::String& value) { m_name = value; }
92 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
93 inline void SetName(const char* value) { m_name.assign(value); }
94 inline DescribeEventSourceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
95 inline DescribeEventSourceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 inline DescribeEventSourceResult& WithName(const char* value) { SetName(value); return *this;}
98
100
107 inline const EventSourceState& GetState() const{ return m_state; }
108 inline void SetState(const EventSourceState& value) { m_state = value; }
109 inline void SetState(EventSourceState&& value) { m_state = std::move(value); }
110 inline DescribeEventSourceResult& WithState(const EventSourceState& value) { SetState(value); return *this;}
111 inline DescribeEventSourceResult& WithState(EventSourceState&& value) { SetState(std::move(value)); return *this;}
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline DescribeEventSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline DescribeEventSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline DescribeEventSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 Aws::String m_arn;
127
128 Aws::String m_createdBy;
129
130 Aws::Utils::DateTime m_creationTime;
131
132 Aws::Utils::DateTime m_expirationTime;
133
134 Aws::String m_name;
135
136 EventSourceState m_state;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace CloudWatchEvents
143} // namespace Aws
DescribeEventSourceResult & WithCreatedBy(const char *value)
DescribeEventSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeEventSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeEventSourceResult & WithState(const EventSourceState &value)
DescribeEventSourceResult & WithExpirationTime(const Aws::Utils::DateTime &value)
DescribeEventSourceResult & WithCreatedBy(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventSourceResult & WithRequestId(Aws::String &&value)
DescribeEventSourceResult & WithCreatedBy(const Aws::String &value)
DescribeEventSourceResult & WithRequestId(const Aws::String &value)
DescribeEventSourceResult & WithRequestId(const char *value)
DescribeEventSourceResult & WithName(const char *value)
DescribeEventSourceResult & WithArn(Aws::String &&value)
DescribeEventSourceResult & WithArn(const Aws::String &value)
DescribeEventSourceResult & WithArn(const char *value)
DescribeEventSourceResult & WithExpirationTime(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventSourceResult & WithName(const Aws::String &value)
DescribeEventSourceResult & WithName(Aws::String &&value)
DescribeEventSourceResult & WithState(EventSourceState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue