/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace MediaConvert { namespace Model { /** * DescribeEndpointsRequest

See Also:

AWS * API Reference

*/ class DescribeEndpointsRequest : public MediaConvertRequest { public: AWS_MEDIACONVERT_API DescribeEndpointsRequest(); // 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 "DescribeEndpoints"; } AWS_MEDIACONVERT_API Aws::String SerializePayload() const override; /** * Optional. Max number of endpoints, up to twenty, that will be returned at one * time. */ inline int GetMaxResults() const{ return m_maxResults; } /** * Optional. Max number of endpoints, up to twenty, that will be returned at one * time. */ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** * Optional. Max number of endpoints, up to twenty, that will be returned at one * time. */ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** * Optional. Max number of endpoints, up to twenty, that will be returned at one * time. */ inline DescribeEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to * return your endpoints if any exist, or to create an endpoint for you and return * it if one doesn't already exist. Specify GET_ONLY to return your endpoints if * any exist, or an empty list if none exist. */ inline const DescribeEndpointsMode& GetMode() const{ return m_mode; } /** * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to * return your endpoints if any exist, or to create an endpoint for you and return * it if one doesn't already exist. Specify GET_ONLY to return your endpoints if * any exist, or an empty list if none exist. */ inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } /** * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to * return your endpoints if any exist, or to create an endpoint for you and return * it if one doesn't already exist. Specify GET_ONLY to return your endpoints if * any exist, or an empty list if none exist. */ inline void SetMode(const DescribeEndpointsMode& value) { m_modeHasBeenSet = true; m_mode = value; } /** * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to * return your endpoints if any exist, or to create an endpoint for you and return * it if one doesn't already exist. Specify GET_ONLY to return your endpoints if * any exist, or an empty list if none exist. */ inline void SetMode(DescribeEndpointsMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } /** * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to * return your endpoints if any exist, or to create an endpoint for you and return * it if one doesn't already exist. Specify GET_ONLY to return your endpoints if * any exist, or an empty list if none exist. */ inline DescribeEndpointsRequest& WithMode(const DescribeEndpointsMode& value) { SetMode(value); return *this;} /** * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to * return your endpoints if any exist, or to create an endpoint for you and return * it if one doesn't already exist. Specify GET_ONLY to return your endpoints if * any exist, or an empty list if none exist. */ inline DescribeEndpointsRequest& WithMode(DescribeEndpointsMode&& value) { SetMode(std::move(value)); return *this;} /** * Use this string, provided with the response to a previous request, to request * the next batch of endpoints. */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** * Use this string, provided with the response to a previous request, to request * the next batch of endpoints. */ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** * Use this string, provided with the response to a previous request, to request * the next batch of endpoints. */ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** * Use this string, provided with the response to a previous request, to request * the next batch of endpoints. */ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** * Use this string, provided with the response to a previous request, to request * the next batch of endpoints. */ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** * Use this string, provided with the response to a previous request, to request * the next batch of endpoints. */ inline DescribeEndpointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** * Use this string, provided with the response to a previous request, to request * the next batch of endpoints. */ inline DescribeEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** * Use this string, provided with the response to a previous request, to request * the next batch of endpoints. */ inline DescribeEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; DescribeEndpointsMode m_mode; bool m_modeHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace MediaConvert } // namespace Aws