7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/iot-managed-integrations/model/DiscoveryType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/iot-managed-integrations/model/DiscoveryAuthMaterialType.h>
17namespace IoTManagedIntegrations
58 template<
typename CustomProtocolDetailT = Aws::Map<Aws::String, Aws::String>>
59 void SetCustomProtocolDetail(CustomProtocolDetailT&& value) { m_customProtocolDetailHasBeenSet =
true; m_customProtocolDetail = std::forward<CustomProtocolDetailT>(value); }
60 template<
typename CustomProtocolDetailT = Aws::Map<Aws::String, Aws::String>>
62 template<
typename CustomProtocolDetailKeyT = Aws::String,
typename CustomProtocolDetailValueT = Aws::String>
64 m_customProtocolDetailHasBeenSet =
true; m_customProtocolDetail.emplace(std::forward<CustomProtocolDetailKeyT>(key), std::forward<CustomProtocolDetailValueT>(value));
return *
this;
74 template<
typename ControllerIdentifierT = Aws::String>
75 void SetControllerIdentifier(ControllerIdentifierT&& value) { m_controllerIdentifierHasBeenSet =
true; m_controllerIdentifier = std::forward<ControllerIdentifierT>(value); }
76 template<
typename ControllerIdentifierT = Aws::String>
87 template<
typename AccountAssociationIdT = Aws::String>
88 void SetAccountAssociationId(AccountAssociationIdT&& value) { m_accountAssociationIdHasBeenSet =
true; m_accountAssociationId = std::forward<AccountAssociationIdT>(value); }
89 template<
typename AccountAssociationIdT = Aws::String>
100 template<
typename AuthenticationMaterialT = Aws::String>
101 void SetAuthenticationMaterial(AuthenticationMaterialT&& value) { m_authenticationMaterialHasBeenSet =
true; m_authenticationMaterial = std::forward<AuthenticationMaterialT>(value); }
102 template<
typename AuthenticationMaterialT = Aws::String>
124 template<
typename ClientTokenT = Aws::String>
125 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
126 template<
typename ClientTokenT = Aws::String>
132 bool m_discoveryTypeHasBeenSet =
false;
135 bool m_customProtocolDetailHasBeenSet =
false;
138 bool m_controllerIdentifierHasBeenSet =
false;
141 bool m_accountAssociationIdHasBeenSet =
false;
144 bool m_authenticationMaterialHasBeenSet =
false;
147 bool m_authenticationMaterialTypeHasBeenSet =
false;
150 bool m_clientTokenHasBeenSet =
false;
void SetControllerIdentifier(ControllerIdentifierT &&value)
void SetAuthenticationMaterialType(DiscoveryAuthMaterialType value)
StartDeviceDiscoveryRequest & WithAuthenticationMaterialType(DiscoveryAuthMaterialType value)
StartDeviceDiscoveryRequest & WithControllerIdentifier(ControllerIdentifierT &&value)
bool AuthenticationMaterialTypeHasBeenSet() const
const Aws::String & GetControllerIdentifier() const
const Aws::String & GetClientToken() const
bool AuthenticationMaterialHasBeenSet() const
const Aws::String & GetAuthenticationMaterial() const
StartDeviceDiscoveryRequest & AddCustomProtocolDetail(CustomProtocolDetailKeyT &&key, CustomProtocolDetailValueT &&value)
DiscoveryType GetDiscoveryType() const
StartDeviceDiscoveryRequest & WithCustomProtocolDetail(CustomProtocolDetailT &&value)
void SetCustomProtocolDetail(CustomProtocolDetailT &&value)
void SetAccountAssociationId(AccountAssociationIdT &&value)
virtual const char * GetServiceRequestName() const override
StartDeviceDiscoveryRequest & WithDiscoveryType(DiscoveryType value)
bool ClientTokenHasBeenSet() const
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
bool ControllerIdentifierHasBeenSet() const
StartDeviceDiscoveryRequest & WithAuthenticationMaterial(AuthenticationMaterialT &&value)
StartDeviceDiscoveryRequest & WithClientToken(ClientTokenT &&value)
bool CustomProtocolDetailHasBeenSet() const
StartDeviceDiscoveryRequest & WithAccountAssociationId(AccountAssociationIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomProtocolDetail() const
void SetClientToken(ClientTokenT &&value)
void SetDiscoveryType(DiscoveryType value)
bool AccountAssociationIdHasBeenSet() const
DiscoveryAuthMaterialType GetAuthenticationMaterialType() const
AWS_IOTMANAGEDINTEGRATIONS_API StartDeviceDiscoveryRequest()=default
void SetAuthenticationMaterial(AuthenticationMaterialT &&value)
const Aws::String & GetAccountAssociationId() const
bool DiscoveryTypeHasBeenSet() const
DiscoveryAuthMaterialType
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