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/IntegrationType.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace CloudWatchOmni {
48 m_integrationTypeHasBeenSet =
true;
49 m_integrationType = value;
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename CredentialT = IntegrationCredential>
83 m_credentialHasBeenSet =
true;
84 m_credential = std::forward<CredentialT>(value);
86 template <
typename CredentialT = IntegrationCredential>
99 template <
typename IntegrationAttributesT = Aws::Map<Aws::String, Aws::String>>
101 m_integrationAttributesHasBeenSet =
true;
102 m_integrationAttributes = std::forward<IntegrationAttributesT>(value);
104 template <
typename IntegrationAttributesT = Aws::Map<Aws::String, Aws::String>>
109 template <
typename IntegrationAttributesKeyT = Aws::String,
typename IntegrationAttributesValueT = Aws::String>
111 m_integrationAttributesHasBeenSet =
true;
112 m_integrationAttributes.emplace(std::forward<IntegrationAttributesKeyT>(key), std::forward<IntegrationAttributesValueT>(value));
124 template <
typename RoleArnT = Aws::String>
126 m_roleArnHasBeenSet =
true;
127 m_roleArn = std::forward<RoleArnT>(value);
129 template <
typename RoleArnT = Aws::String>
142 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 m_tagsHasBeenSet =
true;
145 m_tags = std::forward<TagsT>(value);
147 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 SetTags(std::forward<TagsT>(value));
152 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
154 m_tagsHasBeenSet =
true;
155 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
167 template <
typename ClientTokenT = Aws::String>
169 m_clientTokenHasBeenSet =
true;
170 m_clientToken = std::forward<ClientTokenT>(value);
172 template <
typename ClientTokenT = Aws::String>
183 IntegrationCredential m_credential;
192 bool m_integrationTypeHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
194 bool m_credentialHasBeenSet =
false;
195 bool m_integrationAttributesHasBeenSet =
false;
196 bool m_roleArnHasBeenSet =
false;
197 bool m_tagsHasBeenSet =
false;
198 bool m_clientTokenHasBeenSet =
true;
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDWATCHOMNI_API CreateIntegrationRequest()=default
CreateIntegrationRequest & AddIntegrationAttributes(IntegrationAttributesKeyT &&key, IntegrationAttributesValueT &&value)
CreateIntegrationRequest & WithIntegrationType(IntegrationType value)
const Aws::String & GetRoleArn() const
CreateIntegrationRequest & WithIntegrationAttributes(IntegrationAttributesT &&value)
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRoleArn(RoleArnT &&value)
CreateIntegrationRequest & WithRoleArn(RoleArnT &&value)
AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientToken(ClientTokenT &&value)
AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetIntegrationAttributes() const
CreateIntegrationRequest & WithCredential(CredentialT &&value)
CreateIntegrationRequest & WithClientToken(ClientTokenT &&value)
const IntegrationCredential & GetCredential() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
void SetName(NameT &&value)
IntegrationType GetIntegrationType() const
void SetCredential(CredentialT &&value)
CreateIntegrationRequest & WithName(NameT &&value)
void SetIntegrationType(IntegrationType value)
const Aws::String & GetClientToken() const
bool IntegrationTypeHasBeenSet() const
CreateIntegrationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateIntegrationRequest & WithTags(TagsT &&value)
bool CredentialHasBeenSet() const
void SetIntegrationAttributes(IntegrationAttributesT &&value)
bool IntegrationAttributesHasBeenSet() const
bool RoleArnHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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