AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeApiDestinationResult.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ApiDestinationState.h>
10#include <aws/events/model/ApiDestinationHttpMethod.h>
11#include <aws/core/utils/DateTime.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 CloudWatchEvents
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CLOUDWATCHEVENTS_API DescribeApiDestinationResult();
36
37
39
42 inline const Aws::String& GetApiDestinationArn() const{ return m_apiDestinationArn; }
43 inline void SetApiDestinationArn(const Aws::String& value) { m_apiDestinationArn = value; }
44 inline void SetApiDestinationArn(Aws::String&& value) { m_apiDestinationArn = std::move(value); }
45 inline void SetApiDestinationArn(const char* value) { m_apiDestinationArn.assign(value); }
47 inline DescribeApiDestinationResult& WithApiDestinationArn(Aws::String&& value) { SetApiDestinationArn(std::move(value)); return *this;}
48 inline DescribeApiDestinationResult& WithApiDestinationArn(const char* value) { SetApiDestinationArn(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline void SetName(const Aws::String& value) { m_name = value; }
57 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 inline void SetName(const char* value) { m_name.assign(value); }
59 inline DescribeApiDestinationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline DescribeApiDestinationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline DescribeApiDestinationResult& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline void SetDescription(const Aws::String& value) { m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_description.assign(value); }
72 inline DescribeApiDestinationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline DescribeApiDestinationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline DescribeApiDestinationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const ApiDestinationState& GetApiDestinationState() const{ return m_apiDestinationState; }
82 inline void SetApiDestinationState(const ApiDestinationState& value) { m_apiDestinationState = value; }
83 inline void SetApiDestinationState(ApiDestinationState&& value) { m_apiDestinationState = std::move(value); }
87
89
92 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
93 inline void SetConnectionArn(const Aws::String& value) { m_connectionArn = value; }
94 inline void SetConnectionArn(Aws::String&& value) { m_connectionArn = std::move(value); }
95 inline void SetConnectionArn(const char* value) { m_connectionArn.assign(value); }
96 inline DescribeApiDestinationResult& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
97 inline DescribeApiDestinationResult& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
98 inline DescribeApiDestinationResult& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
100
102
105 inline const Aws::String& GetInvocationEndpoint() const{ return m_invocationEndpoint; }
106 inline void SetInvocationEndpoint(const Aws::String& value) { m_invocationEndpoint = value; }
107 inline void SetInvocationEndpoint(Aws::String&& value) { m_invocationEndpoint = std::move(value); }
108 inline void SetInvocationEndpoint(const char* value) { m_invocationEndpoint.assign(value); }
111 inline DescribeApiDestinationResult& WithInvocationEndpoint(const char* value) { SetInvocationEndpoint(value); return *this;}
113
115
118 inline const ApiDestinationHttpMethod& GetHttpMethod() const{ return m_httpMethod; }
119 inline void SetHttpMethod(const ApiDestinationHttpMethod& value) { m_httpMethod = value; }
120 inline void SetHttpMethod(ApiDestinationHttpMethod&& value) { m_httpMethod = std::move(value); }
122 inline DescribeApiDestinationResult& WithHttpMethod(ApiDestinationHttpMethod&& value) { SetHttpMethod(std::move(value)); return *this;}
124
126
135 inline int GetInvocationRateLimitPerSecond() const{ return m_invocationRateLimitPerSecond; }
136 inline void SetInvocationRateLimitPerSecond(int value) { m_invocationRateLimitPerSecond = value; }
139
141
144 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
145 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
146 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
148 inline DescribeApiDestinationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
156 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
157 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
161
163
164 inline const Aws::String& GetRequestId() const{ return m_requestId; }
165 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
166 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
167 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
168 inline DescribeApiDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
169 inline DescribeApiDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
170 inline DescribeApiDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
172 private:
173
174 Aws::String m_apiDestinationArn;
175
176 Aws::String m_name;
177
178 Aws::String m_description;
179
180 ApiDestinationState m_apiDestinationState;
181
182 Aws::String m_connectionArn;
183
184 Aws::String m_invocationEndpoint;
185
186 ApiDestinationHttpMethod m_httpMethod;
187
188 int m_invocationRateLimitPerSecond;
189
190 Aws::Utils::DateTime m_creationTime;
191
192 Aws::Utils::DateTime m_lastModifiedTime;
193
194 Aws::String m_requestId;
195 };
196
197} // namespace Model
198} // namespace CloudWatchEvents
199} // namespace Aws
DescribeApiDestinationResult & WithDescription(const Aws::String &value)
DescribeApiDestinationResult & WithApiDestinationArn(Aws::String &&value)
DescribeApiDestinationResult & WithConnectionArn(const char *value)
DescribeApiDestinationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeApiDestinationResult & WithApiDestinationState(ApiDestinationState &&value)
DescribeApiDestinationResult & WithConnectionArn(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API DescribeApiDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApiDestinationResult & WithName(const char *value)
DescribeApiDestinationResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeApiDestinationResult & WithInvocationEndpoint(const Aws::String &value)
DescribeApiDestinationResult & WithInvocationRateLimitPerSecond(int value)
DescribeApiDestinationResult & WithHttpMethod(ApiDestinationHttpMethod &&value)
DescribeApiDestinationResult & WithDescription(const char *value)
DescribeApiDestinationResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeApiDestinationResult & WithDescription(Aws::String &&value)
DescribeApiDestinationResult & WithApiDestinationArn(const char *value)
DescribeApiDestinationResult & WithRequestId(Aws::String &&value)
DescribeApiDestinationResult & WithRequestId(const char *value)
DescribeApiDestinationResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeApiDestinationResult & WithApiDestinationArn(const Aws::String &value)
DescribeApiDestinationResult & WithHttpMethod(const ApiDestinationHttpMethod &value)
DescribeApiDestinationResult & WithInvocationEndpoint(const char *value)
AWS_CLOUDWATCHEVENTS_API DescribeApiDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApiDestinationResult & WithRequestId(const Aws::String &value)
DescribeApiDestinationResult & WithConnectionArn(const Aws::String &value)
DescribeApiDestinationResult & WithInvocationEndpoint(Aws::String &&value)
DescribeApiDestinationResult & WithApiDestinationState(const ApiDestinationState &value)
DescribeApiDestinationResult & WithName(Aws::String &&value)
DescribeApiDestinationResult & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue