AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
GetIntegrationConnectionResult.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyGen3 {
24namespace Model {
26 public:
27 AWS_AMPLIFYGEN3_API GetIntegrationConnectionResult() = default;
30
32
35 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
36 template <typename ConnectionIdT = Aws::String>
37 void SetConnectionId(ConnectionIdT&& value) {
38 m_connectionIdHasBeenSet = true;
39 m_connectionId = std::forward<ConnectionIdT>(value);
40 }
41 template <typename ConnectionIdT = Aws::String>
43 SetConnectionId(std::forward<ConnectionIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetIntegrationName() const { return m_integrationName; }
53 template <typename IntegrationNameT = Aws::String>
54 void SetIntegrationName(IntegrationNameT&& value) {
55 m_integrationNameHasBeenSet = true;
56 m_integrationName = std::forward<IntegrationNameT>(value);
57 }
58 template <typename IntegrationNameT = Aws::String>
60 SetIntegrationName(std::forward<IntegrationNameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
70 template <typename IntegrationArnT = Aws::String>
71 void SetIntegrationArn(IntegrationArnT&& value) {
72 m_integrationArnHasBeenSet = true;
73 m_integrationArn = std::forward<IntegrationArnT>(value);
74 }
75 template <typename IntegrationArnT = Aws::String>
77 SetIntegrationArn(std::forward<IntegrationArnT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
87 template <typename EnvironmentArnT = Aws::String>
88 void SetEnvironmentArn(EnvironmentArnT&& value) {
89 m_environmentArnHasBeenSet = true;
90 m_environmentArn = std::forward<EnvironmentArnT>(value);
91 }
92 template <typename EnvironmentArnT = Aws::String>
94 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
105 template <typename CreatedAtT = Aws::Utils::DateTime>
106 void SetCreatedAt(CreatedAtT&& value) {
107 m_createdAtHasBeenSet = true;
108 m_createdAt = std::forward<CreatedAtT>(value);
109 }
110 template <typename CreatedAtT = Aws::Utils::DateTime>
112 SetCreatedAt(std::forward<CreatedAtT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
123 template <typename UpdatedAtT = Aws::Utils::DateTime>
124 void SetUpdatedAt(UpdatedAtT&& value) {
125 m_updatedAtHasBeenSet = true;
126 m_updatedAt = std::forward<UpdatedAtT>(value);
127 }
128 template <typename UpdatedAtT = Aws::Utils::DateTime>
130 SetUpdatedAt(std::forward<UpdatedAtT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
150
151 private:
152 Aws::String m_connectionId;
153
154 Aws::String m_integrationName;
155
156 Aws::String m_integrationArn;
157
158 Aws::String m_environmentArn;
159
160 Aws::Utils::DateTime m_createdAt{};
161
162 Aws::Utils::DateTime m_updatedAt{};
163
164 Aws::String m_requestId;
165 Aws::Http::HttpResponseCode m_HttpResponseCode;
166 bool m_connectionIdHasBeenSet = false;
167 bool m_integrationNameHasBeenSet = false;
168 bool m_integrationArnHasBeenSet = false;
169 bool m_environmentArnHasBeenSet = false;
170 bool m_createdAtHasBeenSet = false;
171 bool m_updatedAtHasBeenSet = false;
172 bool m_requestIdHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace AmplifyGen3
177} // namespace Aws
GetIntegrationConnectionResult & WithCreatedAt(CreatedAtT &&value)
AWS_AMPLIFYGEN3_API GetIntegrationConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationConnectionResult & WithUpdatedAt(UpdatedAtT &&value)
GetIntegrationConnectionResult & WithConnectionId(ConnectionIdT &&value)
AWS_AMPLIFYGEN3_API GetIntegrationConnectionResult()=default
GetIntegrationConnectionResult & WithEnvironmentArn(EnvironmentArnT &&value)
AWS_AMPLIFYGEN3_API GetIntegrationConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationConnectionResult & WithIntegrationArn(IntegrationArnT &&value)
GetIntegrationConnectionResult & WithIntegrationName(IntegrationNameT &&value)
GetIntegrationConnectionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue