/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the configuration of the HTTP endpoint to which Kinesis Firehose
* delivers data.See Also:
AWS
* API Reference
The URL of the HTTP endpoint selected as the destination.
*If you choose an HTTP endpoint as your destination, review and follow the * instructions in the Appendix * - HTTP Endpoint Delivery Request and Response Specifications.
* */ inline const Aws::String& GetUrl() const{ return m_url; } /** *The URL of the HTTP endpoint selected as the destination.
*If you choose an HTTP endpoint as your destination, review and follow the * instructions in the Appendix * - HTTP Endpoint Delivery Request and Response Specifications.
* */ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The URL of the HTTP endpoint selected as the destination.
*If you choose an HTTP endpoint as your destination, review and follow the * instructions in the Appendix * - HTTP Endpoint Delivery Request and Response Specifications.
* */ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The URL of the HTTP endpoint selected as the destination.
*If you choose an HTTP endpoint as your destination, review and follow the * instructions in the Appendix * - HTTP Endpoint Delivery Request and Response Specifications.
* */ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The URL of the HTTP endpoint selected as the destination.
*If you choose an HTTP endpoint as your destination, review and follow the * instructions in the Appendix * - HTTP Endpoint Delivery Request and Response Specifications.
* */ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The URL of the HTTP endpoint selected as the destination.
*If you choose an HTTP endpoint as your destination, review and follow the * instructions in the Appendix * - HTTP Endpoint Delivery Request and Response Specifications.
* */ inline HttpEndpointConfiguration& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The URL of the HTTP endpoint selected as the destination.
*If you choose an HTTP endpoint as your destination, review and follow the * instructions in the Appendix * - HTTP Endpoint Delivery Request and Response Specifications.
* */ inline HttpEndpointConfiguration& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The URL of the HTTP endpoint selected as the destination.
*If you choose an HTTP endpoint as your destination, review and follow the * instructions in the Appendix * - HTTP Endpoint Delivery Request and Response Specifications.
* */ inline HttpEndpointConfiguration& WithUrl(const char* value) { SetUrl(value); return *this;} /** *The name of the HTTP endpoint selected as the destination.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the HTTP endpoint selected as the destination.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the HTTP endpoint selected as the destination.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the HTTP endpoint selected as the destination.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the HTTP endpoint selected as the destination.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the HTTP endpoint selected as the destination.
*/ inline HttpEndpointConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the HTTP endpoint selected as the destination.
*/ inline HttpEndpointConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the HTTP endpoint selected as the destination.
*/ inline HttpEndpointConfiguration& WithName(const char* value) { SetName(value); return *this;} /** *The access key required for Kinesis Firehose to authenticate with the HTTP * endpoint selected as the destination.
*/ inline const Aws::String& GetAccessKey() const{ return m_accessKey; } /** *The access key required for Kinesis Firehose to authenticate with the HTTP * endpoint selected as the destination.
*/ inline bool AccessKeyHasBeenSet() const { return m_accessKeyHasBeenSet; } /** *The access key required for Kinesis Firehose to authenticate with the HTTP * endpoint selected as the destination.
*/ inline void SetAccessKey(const Aws::String& value) { m_accessKeyHasBeenSet = true; m_accessKey = value; } /** *The access key required for Kinesis Firehose to authenticate with the HTTP * endpoint selected as the destination.
*/ inline void SetAccessKey(Aws::String&& value) { m_accessKeyHasBeenSet = true; m_accessKey = std::move(value); } /** *The access key required for Kinesis Firehose to authenticate with the HTTP * endpoint selected as the destination.
*/ inline void SetAccessKey(const char* value) { m_accessKeyHasBeenSet = true; m_accessKey.assign(value); } /** *The access key required for Kinesis Firehose to authenticate with the HTTP * endpoint selected as the destination.
*/ inline HttpEndpointConfiguration& WithAccessKey(const Aws::String& value) { SetAccessKey(value); return *this;} /** *The access key required for Kinesis Firehose to authenticate with the HTTP * endpoint selected as the destination.
*/ inline HttpEndpointConfiguration& WithAccessKey(Aws::String&& value) { SetAccessKey(std::move(value)); return *this;} /** *The access key required for Kinesis Firehose to authenticate with the HTTP * endpoint selected as the destination.
*/ inline HttpEndpointConfiguration& WithAccessKey(const char* value) { SetAccessKey(value); return *this;} private: Aws::String m_url; bool m_urlHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_accessKey; bool m_accessKeyHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws