/** * 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 AppStream { namespace Model { /** */ class DescribeEntitlementsRequest : public AppStreamRequest { public: AWS_APPSTREAM_API DescribeEntitlementsRequest(); // 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 "DescribeEntitlements"; } AWS_APPSTREAM_API Aws::String SerializePayload() const override; AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the entitlement.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the entitlement.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the entitlement.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the entitlement.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the entitlement.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the entitlement.

*/ inline DescribeEntitlementsRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the entitlement.

*/ inline DescribeEntitlementsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the entitlement.

*/ inline DescribeEntitlementsRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The name of the stack with which the entitlement is associated.

*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *

The name of the stack with which the entitlement is associated.

*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *

The name of the stack with which the entitlement is associated.

*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *

The name of the stack with which the entitlement is associated.

*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *

The name of the stack with which the entitlement is associated.

*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *

The name of the stack with which the entitlement is associated.

*/ inline DescribeEntitlementsRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *

The name of the stack with which the entitlement is associated.

*/ inline DescribeEntitlementsRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *

The name of the stack with which the entitlement is associated.

*/ inline DescribeEntitlementsRequest& WithStackName(const char* value) { SetStackName(value); return *this;} /** *

The pagination token used to retrieve the next page of results for this * operation.

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

The pagination token used to retrieve the next page of results for this * operation.

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

The pagination token used to retrieve the next page of results for this * operation.

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

The pagination token used to retrieve the next page of results for this * operation.

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

The pagination token used to retrieve the next page of results for this * operation.

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

The pagination token used to retrieve the next page of results for this * operation.

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

The pagination token used to retrieve the next page of results for this * operation.

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

The pagination token used to retrieve the next page of results for this * operation.

*/ inline DescribeEntitlementsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum size of each page of results.

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

The maximum size of each page of results.

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

The maximum size of each page of results.

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

The maximum size of each page of results.

*/ inline DescribeEntitlementsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_stackName; bool m_stackNameHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws