7#include <aws/cloudwatchomni/CloudWatchOmniRequest.h>
8#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
9#include <aws/cloudwatchomni/model/IntegrationCredential.h>
10#include <aws/cloudwatchomni/model/IntegrationIdentifier.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace CloudWatchOmni {
47 template <
typename IdentifierT = IntegrationIdentifier>
49 m_identifierHasBeenSet =
true;
50 m_identifier = std::forward<IdentifierT>(value);
52 template <
typename IdentifierT = IntegrationIdentifier>
65 template <
typename CredentialT = IntegrationCredential>
67 m_credentialHasBeenSet =
true;
68 m_credential = std::forward<CredentialT>(value);
70 template <
typename CredentialT = IntegrationCredential>
83 template <
typename IntegrationAttributesT = Aws::Map<Aws::String, Aws::String>>
85 m_integrationAttributesHasBeenSet =
true;
86 m_integrationAttributes = std::forward<IntegrationAttributesT>(value);
88 template <
typename IntegrationAttributesT = Aws::Map<Aws::String, Aws::String>>
93 template <
typename IntegrationAttributesKeyT = Aws::String,
typename IntegrationAttributesValueT = Aws::String>
95 m_integrationAttributesHasBeenSet =
true;
96 m_integrationAttributes.emplace(std::forward<IntegrationAttributesKeyT>(key), std::forward<IntegrationAttributesValueT>(value));
108 template <
typename RoleArnT = Aws::String>
110 m_roleArnHasBeenSet =
true;
111 m_roleArn = std::forward<RoleArnT>(value);
113 template <
typename RoleArnT = Aws::String>
127 bool m_identifierHasBeenSet =
false;
128 bool m_credentialHasBeenSet =
false;
129 bool m_integrationAttributesHasBeenSet =
false;
130 bool m_roleArnHasBeenSet =
false;
const IntegrationIdentifier & GetIdentifier() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetIntegrationAttributes() const
UpdateIntegrationRequest & WithIdentifier(IdentifierT &&value)
void SetIntegrationAttributes(IntegrationAttributesT &&value)
void SetIdentifier(IdentifierT &&value)
bool IntegrationAttributesHasBeenSet() const
const IntegrationCredential & GetCredential() const
bool CredentialHasBeenSet() const
AWS_CLOUDWATCHOMNI_API UpdateIntegrationRequest()=default
AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateIntegrationRequest & WithCredential(CredentialT &&value)
UpdateIntegrationRequest & WithRoleArn(RoleArnT &&value)
void SetCredential(CredentialT &&value)
AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override
bool RoleArnHasBeenSet() const
const Aws::String & GetRoleArn() const
void SetRoleArn(RoleArnT &&value)
UpdateIntegrationRequest & AddIntegrationAttributes(IntegrationAttributesKeyT &&key, IntegrationAttributesValueT &&value)
bool IdentifierHasBeenSet() const
UpdateIntegrationRequest & WithIntegrationAttributes(IntegrationAttributesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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