/** * 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 EKS { namespace Model { /** */ class ListFargateProfilesRequest : public EKSRequest { public: AWS_EKS_API ListFargateProfilesRequest(); // 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 "ListFargateProfiles"; } AWS_EKS_API Aws::String SerializePayload() const override; AWS_EKS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the Amazon EKS cluster that you would like to list Fargate * profiles in.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *

The name of the Amazon EKS cluster that you would like to list Fargate * profiles in.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *

The name of the Amazon EKS cluster that you would like to list Fargate * profiles in.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *

The name of the Amazon EKS cluster that you would like to list Fargate * profiles in.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *

The name of the Amazon EKS cluster that you would like to list Fargate * profiles in.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *

The name of the Amazon EKS cluster that you would like to list Fargate * profiles in.

*/ inline ListFargateProfilesRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *

The name of the Amazon EKS cluster that you would like to list Fargate * profiles in.

*/ inline ListFargateProfilesRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *

The name of the Amazon EKS cluster that you would like to list Fargate * profiles in.

*/ inline ListFargateProfilesRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *

The maximum number of Fargate profile results returned by * ListFargateProfiles in paginated output. When you use this * parameter, ListFargateProfiles returns only maxResults * results in a single page along with a nextToken response element. * You can see the remaining results of the initial request by sending another * ListFargateProfiles request with the returned * nextToken value. This value can be between 1 and 100. If you don't * use this parameter, ListFargateProfiles returns up to 100 results * and a nextToken value if applicable.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of Fargate profile results returned by * ListFargateProfiles in paginated output. When you use this * parameter, ListFargateProfiles returns only maxResults * results in a single page along with a nextToken response element. * You can see the remaining results of the initial request by sending another * ListFargateProfiles request with the returned * nextToken value. This value can be between 1 and 100. If you don't * use this parameter, ListFargateProfiles returns up to 100 results * and a nextToken value if applicable.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of Fargate profile results returned by * ListFargateProfiles in paginated output. When you use this * parameter, ListFargateProfiles returns only maxResults * results in a single page along with a nextToken response element. * You can see the remaining results of the initial request by sending another * ListFargateProfiles request with the returned * nextToken value. This value can be between 1 and 100. If you don't * use this parameter, ListFargateProfiles returns up to 100 results * and a nextToken value if applicable.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of Fargate profile results returned by * ListFargateProfiles in paginated output. When you use this * parameter, ListFargateProfiles returns only maxResults * results in a single page along with a nextToken response element. * You can see the remaining results of the initial request by sending another * ListFargateProfiles request with the returned * nextToken value. This value can be between 1 and 100. If you don't * use this parameter, ListFargateProfiles returns up to 100 results * and a nextToken value if applicable.

*/ inline ListFargateProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The nextToken value returned from a previous paginated * ListFargateProfiles request where maxResults was used * and the results exceeded the value of that parameter. Pagination continues from * the end of the previous results that returned the nextToken * value.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The nextToken value returned from a previous paginated * ListFargateProfiles request where maxResults was used * and the results exceeded the value of that parameter. Pagination continues from * the end of the previous results that returned the nextToken * value.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The nextToken value returned from a previous paginated * ListFargateProfiles request where maxResults was used * and the results exceeded the value of that parameter. Pagination continues from * the end of the previous results that returned the nextToken * value.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The nextToken value returned from a previous paginated * ListFargateProfiles request where maxResults was used * and the results exceeded the value of that parameter. Pagination continues from * the end of the previous results that returned the nextToken * value.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The nextToken value returned from a previous paginated * ListFargateProfiles request where maxResults was used * and the results exceeded the value of that parameter. Pagination continues from * the end of the previous results that returned the nextToken * value.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The nextToken value returned from a previous paginated * ListFargateProfiles request where maxResults was used * and the results exceeded the value of that parameter. Pagination continues from * the end of the previous results that returned the nextToken * value.

*/ inline ListFargateProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The nextToken value returned from a previous paginated * ListFargateProfiles request where maxResults was used * and the results exceeded the value of that parameter. Pagination continues from * the end of the previous results that returned the nextToken * value.

*/ inline ListFargateProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The nextToken value returned from a previous paginated * ListFargateProfiles request where maxResults was used * and the results exceeded the value of that parameter. Pagination continues from * the end of the previous results that returned the nextToken * value.

*/ inline ListFargateProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws