7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/AuthType.h>
9#include <aws/cloudwatchomni/model/IntegrationStatus.h>
10#include <aws/cloudwatchomni/model/IntegrationType.h>
11#include <aws/cloudwatchomni/model/Scope.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/crt/cbor/Cbor.h>
25namespace CloudWatchOmni {
38 AWS_CLOUDWATCHOMNI_API
Integration(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_CLOUDWATCHOMNI_API
Integration&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename IntegrationIdT = Aws::String>
50 m_integrationIdHasBeenSet =
true;
51 m_integrationId = std::forward<IntegrationIdT>(value);
53 template <
typename IntegrationIdT = Aws::String>
66 template <
typename IntegrationArnT = Aws::String>
68 m_integrationArnHasBeenSet =
true;
69 m_integrationArn = std::forward<IntegrationArnT>(value);
71 template <
typename IntegrationArnT = Aws::String>
83 m_integrationTypeHasBeenSet =
true;
84 m_integrationType = value;
98 template <
typename NameT = Aws::String>
100 m_nameHasBeenSet =
true;
101 m_name = std::forward<NameT>(value);
103 template <
typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
115 m_statusHasBeenSet =
true;
129 m_authTypeHasBeenSet =
true;
145 template <
typename CredentialArnT = Aws::String>
147 m_credentialArnHasBeenSet =
true;
148 m_credentialArn = std::forward<CredentialArnT>(value);
150 template <
typename CredentialArnT = Aws::String>
164 template <
typename RoleArnT = Aws::String>
166 m_roleArnHasBeenSet =
true;
167 m_roleArn = std::forward<RoleArnT>(value);
169 template <
typename RoleArnT = Aws::String>
182 template <
typename IntegrationAttributesT = Aws::Map<Aws::String, Aws::String>>
184 m_integrationAttributesHasBeenSet =
true;
185 m_integrationAttributes = std::forward<IntegrationAttributesT>(value);
187 template <
typename IntegrationAttributesT = Aws::Map<Aws::String, Aws::String>>
192 template <
typename IntegrationAttributesKeyT = Aws::String,
typename IntegrationAttributesValueT = Aws::String>
194 m_integrationAttributesHasBeenSet =
true;
195 m_integrationAttributes.emplace(std::forward<IntegrationAttributesKeyT>(key), std::forward<IntegrationAttributesValueT>(value));
207 template <
typename AuthorizationUrlT = Aws::String>
209 m_authorizationUrlHasBeenSet =
true;
210 m_authorizationUrl = std::forward<AuthorizationUrlT>(value);
212 template <
typename AuthorizationUrlT = Aws::String>
226 template <
typename ErrorMessageT = Aws::String>
228 m_errorMessageHasBeenSet =
true;
229 m_errorMessage = std::forward<ErrorMessageT>(value);
231 template <
typename ErrorMessageT = Aws::String>
244 template <
typename CreatedAtT = Aws::Utils::DateTime>
246 m_createdAtHasBeenSet =
true;
247 m_createdAt = std::forward<CreatedAtT>(value);
249 template <
typename CreatedAtT = Aws::Utils::DateTime>
262 template <
typename UpdatedAtT = Aws::Utils::DateTime>
264 m_updatedAtHasBeenSet =
true;
265 m_updatedAt = std::forward<UpdatedAtT>(value);
267 template <
typename UpdatedAtT = Aws::Utils::DateTime>
283 m_scopeHasBeenSet =
true;
319 bool m_integrationIdHasBeenSet =
false;
320 bool m_integrationArnHasBeenSet =
false;
321 bool m_integrationTypeHasBeenSet =
false;
322 bool m_nameHasBeenSet =
false;
323 bool m_statusHasBeenSet =
false;
324 bool m_authTypeHasBeenSet =
false;
325 bool m_credentialArnHasBeenSet =
false;
326 bool m_roleArnHasBeenSet =
false;
327 bool m_integrationAttributesHasBeenSet =
false;
328 bool m_authorizationUrlHasBeenSet =
false;
329 bool m_errorMessageHasBeenSet =
false;
330 bool m_createdAtHasBeenSet =
false;
331 bool m_updatedAtHasBeenSet =
false;
332 bool m_scopeHasBeenSet =
false;
Integration & WithAuthorizationUrl(AuthorizationUrlT &&value)
bool CredentialArnHasBeenSet() const
void SetStatus(IntegrationStatus value)
bool NameHasBeenSet() const
bool ScopeHasBeenSet() const
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
Integration & WithStatus(IntegrationStatus value)
const Aws::String & GetName() const
void SetCreatedAt(CreatedAtT &&value)
Integration & WithCredentialArn(CredentialArnT &&value)
void SetIntegrationAttributes(IntegrationAttributesT &&value)
void SetScope(Scope value)
Integration & WithName(NameT &&value)
bool IntegrationTypeHasBeenSet() const
Integration & WithScope(Scope value)
const Aws::String & GetIntegrationArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetIntegrationId() const
AWS_CLOUDWATCHOMNI_API Integration()=default
Integration & WithCreatedAt(CreatedAtT &&value)
bool ErrorMessageHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
bool StatusHasBeenSet() const
void SetAuthorizationUrl(AuthorizationUrlT &&value)
Integration & WithErrorMessage(ErrorMessageT &&value)
void SetIntegrationType(IntegrationType value)
bool IntegrationArnHasBeenSet() const
const Aws::String & GetCredentialArn() const
Integration & WithIntegrationAttributes(IntegrationAttributesT &&value)
Integration & WithRoleArn(RoleArnT &&value)
void SetCredentialArn(CredentialArnT &&value)
void SetAuthType(AuthType value)
Integration & AddIntegrationAttributes(IntegrationAttributesKeyT &&key, IntegrationAttributesValueT &&value)
bool RoleArnHasBeenSet() const
AWS_CLOUDWATCHOMNI_API Integration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool UpdatedAtHasBeenSet() const
bool AuthorizationUrlHasBeenSet() const
Integration & WithIntegrationId(IntegrationIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetIntegrationAttributes() const
bool IntegrationIdHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetAuthorizationUrl() const
const Aws::String & GetRoleArn() const
const Aws::String & GetErrorMessage() const
Integration & WithIntegrationArn(IntegrationArnT &&value)
AuthType GetAuthType() const
void SetIntegrationId(IntegrationIdT &&value)
Integration & WithIntegrationType(IntegrationType value)
void SetName(NameT &&value)
IntegrationStatus GetStatus() const
bool CreatedAtHasBeenSet() const
bool AuthTypeHasBeenSet() const
bool IntegrationAttributesHasBeenSet() const
Integration & WithAuthType(AuthType value)
Integration & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_CLOUDWATCHOMNI_API Integration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
IntegrationType GetIntegrationType() const
void SetIntegrationArn(IntegrationArnT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String