7#include <aws/context/ContextRequest.h>
8#include <aws/context/Context_EXPORTS.h>
9#include <aws/context/model/ConnectionMapping.h>
10#include <aws/context/model/EntityResolutionConfig.h>
11#include <aws/context/model/TraceAnalysisConfig.h>
12#include <aws/context/model/TrustedIdentitySource.h>
13#include <aws/context/model/WorkforceSignInConfig.h>
14#include <aws/core/utils/UUID.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
51 template <
typename ClientTokenT = Aws::String>
53 m_clientTokenHasBeenSet =
true;
54 m_clientToken = std::forward<ClientTokenT>(value);
56 template <
typename ClientTokenT = Aws::String>
70 template <
typename NameT = Aws::String>
72 m_nameHasBeenSet =
true;
73 m_name = std::forward<NameT>(value);
75 template <
typename NameT = Aws::String>
77 SetName(std::forward<NameT>(value));
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
114 template <
typename ConnectionMappingsT = Aws::Vector<ConnectionMapping>>
116 m_connectionMappingsHasBeenSet =
true;
117 m_connectionMappings = std::forward<ConnectionMappingsT>(value);
119 template <
typename ConnectionMappingsT = Aws::Vector<ConnectionMapping>>
124 template <
typename ConnectionMappingsT = ConnectionMapping>
126 m_connectionMappingsHasBeenSet =
true;
127 m_connectionMappings.emplace_back(std::forward<ConnectionMappingsT>(value));
139 template <
typename TraceAnalysisConfigT = TraceAnalysisConfig>
141 m_traceAnalysisConfigHasBeenSet =
true;
142 m_traceAnalysisConfig = std::forward<TraceAnalysisConfigT>(value);
144 template <
typename TraceAnalysisConfigT = TraceAnalysisConfig>
160 template <
typename WorkforceSignInConfigT = WorkforceSignInConfig>
162 m_workforceSignInConfigHasBeenSet =
true;
163 m_workforceSignInConfig = std::forward<WorkforceSignInConfigT>(value);
165 template <
typename WorkforceSignInConfigT = WorkforceSignInConfig>
180 template <
typename EntityResolutionConfigT = EntityResolutionConfig>
182 m_entityResolutionConfigHasBeenSet =
true;
183 m_entityResolutionConfig = std::forward<EntityResolutionConfigT>(value);
185 template <
typename EntityResolutionConfigT = EntityResolutionConfig>
201 template <
typename TrustedIdentitySourcesT = Aws::Vector<TrustedIdentitySource>>
203 m_trustedIdentitySourcesHasBeenSet =
true;
204 m_trustedIdentitySources = std::forward<TrustedIdentitySourcesT>(value);
206 template <
typename TrustedIdentitySourcesT = Aws::Vector<TrustedIdentitySource>>
211 template <
typename TrustedIdentitySourcesT = TrustedIdentitySource>
213 m_trustedIdentitySourcesHasBeenSet =
true;
214 m_trustedIdentitySources.emplace_back(std::forward<TrustedIdentitySourcesT>(value));
231 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
233 m_tagsHasBeenSet =
true;
234 m_tags = std::forward<TagsT>(value);
236 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
238 SetTags(std::forward<TagsT>(value));
241 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
243 m_tagsHasBeenSet =
true;
244 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
263 template <
typename CurationPolicyIdsT = Aws::Vector<Aws::String>>
265 m_curationPolicyIdsHasBeenSet =
true;
266 m_curationPolicyIds = std::forward<CurationPolicyIdsT>(value);
268 template <
typename CurationPolicyIdsT = Aws::Vector<Aws::String>>
273 template <
typename CurationPolicyIdsT = Aws::String>
275 m_curationPolicyIdsHasBeenSet =
true;
276 m_curationPolicyIds.emplace_back(std::forward<CurationPolicyIdsT>(value));
289 TraceAnalysisConfig m_traceAnalysisConfig;
291 WorkforceSignInConfig m_workforceSignInConfig;
293 EntityResolutionConfig m_entityResolutionConfig;
300 bool m_clientTokenHasBeenSet =
true;
301 bool m_nameHasBeenSet =
false;
302 bool m_descriptionHasBeenSet =
false;
303 bool m_connectionMappingsHasBeenSet =
false;
304 bool m_traceAnalysisConfigHasBeenSet =
false;
305 bool m_workforceSignInConfigHasBeenSet =
false;
306 bool m_entityResolutionConfigHasBeenSet =
false;
307 bool m_trustedIdentitySourcesHasBeenSet =
false;
308 bool m_tagsHasBeenSet =
false;
309 bool m_curationPolicyIdsHasBeenSet =
false;
CreateAgentContextRequest & WithName(NameT &&value)
void SetWorkforceSignInConfig(WorkforceSignInConfigT &&value)
CreateAgentContextRequest & AddTrustedIdentitySources(TrustedIdentitySourcesT &&value)
CreateAgentContextRequest & WithCurationPolicyIds(CurationPolicyIdsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(DescriptionT &&value)
const Aws::Vector< TrustedIdentitySource > & GetTrustedIdentitySources() const
const Aws::Vector< Aws::String > & GetCurationPolicyIds() const
const Aws::String & GetName() const
void SetEntityResolutionConfig(EntityResolutionConfigT &&value)
CreateAgentContextRequest & WithTags(TagsT &&value)
const TraceAnalysisConfig & GetTraceAnalysisConfig() const
CreateAgentContextRequest & WithClientToken(ClientTokenT &&value)
void SetName(NameT &&value)
bool EntityResolutionConfigHasBeenSet() const
bool CurationPolicyIdsHasBeenSet() const
bool ConnectionMappingsHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetClientToken() const
CreateAgentContextRequest & AddConnectionMappings(ConnectionMappingsT &&value)
CreateAgentContextRequest & AddCurationPolicyIds(CurationPolicyIdsT &&value)
CreateAgentContextRequest & WithWorkforceSignInConfig(WorkforceSignInConfigT &&value)
CreateAgentContextRequest & WithTrustedIdentitySources(TrustedIdentitySourcesT &&value)
CreateAgentContextRequest & WithTraceAnalysisConfig(TraceAnalysisConfigT &&value)
const EntityResolutionConfig & GetEntityResolutionConfig() const
AWS_CONTEXT_API CreateAgentContextRequest()=default
AWS_CONTEXT_API Aws::String SerializePayload() const override
const WorkforceSignInConfig & GetWorkforceSignInConfig() const
bool NameHasBeenSet() const
bool WorkforceSignInConfigHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateAgentContextRequest & WithEntityResolutionConfig(EntityResolutionConfigT &&value)
bool TagsHasBeenSet() const
void SetCurationPolicyIds(CurationPolicyIdsT &&value)
const Aws::Vector< ConnectionMapping > & GetConnectionMappings() const
bool TrustedIdentitySourcesHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
void SetTraceAnalysisConfig(TraceAnalysisConfigT &&value)
void SetConnectionMappings(ConnectionMappingsT &&value)
CreateAgentContextRequest & WithConnectionMappings(ConnectionMappingsT &&value)
void SetTags(TagsT &&value)
CreateAgentContextRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ClientTokenHasBeenSet() const
bool TraceAnalysisConfigHasBeenSet() const
AWS_CONTEXT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAgentContextRequest & WithDescription(DescriptionT &&value)
void SetTrustedIdentitySources(TrustedIdentitySourcesT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector