/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace ElasticLoadBalancingv2 { namespace Model { /** */ class DescribeSSLPoliciesRequest : public ElasticLoadBalancingv2Request { public: AWS_ELASTICLOADBALANCINGV2_API DescribeSSLPoliciesRequest(); // 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 "DescribeSSLPolicies"; } AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override; protected: AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The names of the policies.

*/ inline const Aws::Vector& GetNames() const{ return m_names; } /** *

The names of the policies.

*/ inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; } /** *

The names of the policies.

*/ inline void SetNames(const Aws::Vector& value) { m_namesHasBeenSet = true; m_names = value; } /** *

The names of the policies.

*/ inline void SetNames(Aws::Vector&& value) { m_namesHasBeenSet = true; m_names = std::move(value); } /** *

The names of the policies.

*/ inline DescribeSSLPoliciesRequest& WithNames(const Aws::Vector& value) { SetNames(value); return *this;} /** *

The names of the policies.

*/ inline DescribeSSLPoliciesRequest& WithNames(Aws::Vector&& value) { SetNames(std::move(value)); return *this;} /** *

The names of the policies.

*/ inline DescribeSSLPoliciesRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *

The names of the policies.

*/ inline DescribeSSLPoliciesRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; } /** *

The names of the policies.

*/ inline DescribeSSLPoliciesRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *

The marker for the next set of results. (You received this marker from a * previous call.)

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The marker for the next set of results. (You received this marker from a * previous call.)

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

The marker for the next set of results. (You received this marker from a * previous call.)

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

The marker for the next set of results. (You received this marker from a * previous call.)

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

The marker for the next set of results. (You received this marker from a * previous call.)

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

The marker for the next set of results. (You received this marker from a * previous call.)

*/ inline DescribeSSLPoliciesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The marker for the next set of results. (You received this marker from a * previous call.)

*/ inline DescribeSSLPoliciesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The marker for the next set of results. (You received this marker from a * previous call.)

*/ inline DescribeSSLPoliciesRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

The maximum number of results to return with this call.

*/ inline int GetPageSize() const{ return m_pageSize; } /** *

The maximum number of results to return with this call.

*/ inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } /** *

The maximum number of results to return with this call.

*/ inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } /** *

The maximum number of results to return with this call.

*/ inline DescribeSSLPoliciesRequest& WithPageSize(int value) { SetPageSize(value); return *this;} /** *

The type of load balancer. The default lists the SSL policies for all load * balancers.

*/ inline const LoadBalancerTypeEnum& GetLoadBalancerType() const{ return m_loadBalancerType; } /** *

The type of load balancer. The default lists the SSL policies for all load * balancers.

*/ inline bool LoadBalancerTypeHasBeenSet() const { return m_loadBalancerTypeHasBeenSet; } /** *

The type of load balancer. The default lists the SSL policies for all load * balancers.

*/ inline void SetLoadBalancerType(const LoadBalancerTypeEnum& value) { m_loadBalancerTypeHasBeenSet = true; m_loadBalancerType = value; } /** *

The type of load balancer. The default lists the SSL policies for all load * balancers.

*/ inline void SetLoadBalancerType(LoadBalancerTypeEnum&& value) { m_loadBalancerTypeHasBeenSet = true; m_loadBalancerType = std::move(value); } /** *

The type of load balancer. The default lists the SSL policies for all load * balancers.

*/ inline DescribeSSLPoliciesRequest& WithLoadBalancerType(const LoadBalancerTypeEnum& value) { SetLoadBalancerType(value); return *this;} /** *

The type of load balancer. The default lists the SSL policies for all load * balancers.

*/ inline DescribeSSLPoliciesRequest& WithLoadBalancerType(LoadBalancerTypeEnum&& value) { SetLoadBalancerType(std::move(value)); return *this;} private: Aws::Vector m_names; bool m_namesHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; int m_pageSize; bool m_pageSizeHasBeenSet = false; LoadBalancerTypeEnum m_loadBalancerType; bool m_loadBalancerTypeHasBeenSet = false; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws