/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace IoT { namespace Model { /** *

The input for the DescribeEndpoint operation.

See Also:

AWS * API Reference

*/ class DescribeEndpointRequest : public IoTRequest { public: AWS_IOT_API DescribeEndpointRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpoint"; } AWS_IOT_API Aws::String SerializePayload() const override; AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The endpoint type. Valid endpoint types include:

  • * iot:Data - Returns a VeriSign signed data endpoint.

*
  • iot:Data-ATS - Returns an ATS signed data * endpoint.

  • iot:CredentialProvider - * Returns an IoT credentials provider API endpoint.

  • * iot:Jobs - Returns an IoT device management Jobs API endpoint.

    *

We strongly recommend that customers use the newer * iot:Data-ATS endpoint type to avoid issues related to the * widespread distrust of Symantec certificate authorities.

*/ inline const Aws::String& GetEndpointType() const{ return m_endpointType; } /** *

The endpoint type. Valid endpoint types include:

  • * iot:Data - Returns a VeriSign signed data endpoint.

*
  • iot:Data-ATS - Returns an ATS signed data * endpoint.

  • iot:CredentialProvider - * Returns an IoT credentials provider API endpoint.

  • * iot:Jobs - Returns an IoT device management Jobs API endpoint.

    *

We strongly recommend that customers use the newer * iot:Data-ATS endpoint type to avoid issues related to the * widespread distrust of Symantec certificate authorities.

*/ inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; } /** *

The endpoint type. Valid endpoint types include:

  • * iot:Data - Returns a VeriSign signed data endpoint.

*
  • iot:Data-ATS - Returns an ATS signed data * endpoint.

  • iot:CredentialProvider - * Returns an IoT credentials provider API endpoint.

  • * iot:Jobs - Returns an IoT device management Jobs API endpoint.

    *

We strongly recommend that customers use the newer * iot:Data-ATS endpoint type to avoid issues related to the * widespread distrust of Symantec certificate authorities.

*/ inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; } /** *

The endpoint type. Valid endpoint types include:

  • * iot:Data - Returns a VeriSign signed data endpoint.

*
  • iot:Data-ATS - Returns an ATS signed data * endpoint.

  • iot:CredentialProvider - * Returns an IoT credentials provider API endpoint.

  • * iot:Jobs - Returns an IoT device management Jobs API endpoint.

    *

We strongly recommend that customers use the newer * iot:Data-ATS endpoint type to avoid issues related to the * widespread distrust of Symantec certificate authorities.

*/ inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); } /** *

The endpoint type. Valid endpoint types include:

  • * iot:Data - Returns a VeriSign signed data endpoint.

*
  • iot:Data-ATS - Returns an ATS signed data * endpoint.

  • iot:CredentialProvider - * Returns an IoT credentials provider API endpoint.

  • * iot:Jobs - Returns an IoT device management Jobs API endpoint.

    *

We strongly recommend that customers use the newer * iot:Data-ATS endpoint type to avoid issues related to the * widespread distrust of Symantec certificate authorities.

*/ inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); } /** *

The endpoint type. Valid endpoint types include:

  • * iot:Data - Returns a VeriSign signed data endpoint.

*
  • iot:Data-ATS - Returns an ATS signed data * endpoint.

  • iot:CredentialProvider - * Returns an IoT credentials provider API endpoint.

  • * iot:Jobs - Returns an IoT device management Jobs API endpoint.

    *

We strongly recommend that customers use the newer * iot:Data-ATS endpoint type to avoid issues related to the * widespread distrust of Symantec certificate authorities.

*/ inline DescribeEndpointRequest& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;} /** *

The endpoint type. Valid endpoint types include:

  • * iot:Data - Returns a VeriSign signed data endpoint.

*
  • iot:Data-ATS - Returns an ATS signed data * endpoint.

  • iot:CredentialProvider - * Returns an IoT credentials provider API endpoint.

  • * iot:Jobs - Returns an IoT device management Jobs API endpoint.

    *

We strongly recommend that customers use the newer * iot:Data-ATS endpoint type to avoid issues related to the * widespread distrust of Symantec certificate authorities.

*/ inline DescribeEndpointRequest& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;} /** *

The endpoint type. Valid endpoint types include:

  • * iot:Data - Returns a VeriSign signed data endpoint.

*
  • iot:Data-ATS - Returns an ATS signed data * endpoint.

  • iot:CredentialProvider - * Returns an IoT credentials provider API endpoint.

  • * iot:Jobs - Returns an IoT device management Jobs API endpoint.

    *

We strongly recommend that customers use the newer * iot:Data-ATS endpoint type to avoid issues related to the * widespread distrust of Symantec certificate authorities.

*/ inline DescribeEndpointRequest& WithEndpointType(const char* value) { SetEndpointType(value); return *this;} private: Aws::String m_endpointType; bool m_endpointTypeHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws