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

The names of the public or private images to describe.

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

The names of the public or private images to describe.

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

The names of the public or private images to describe.

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

The names of the public or private images to describe.

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

The names of the public or private images to describe.

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

The names of the public or private images to describe.

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

The names of the public or private images to describe.

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

The names of the public or private images to describe.

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

The names of the public or private images to describe.

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

The ARNs of the public, private, and shared images to describe.

*/ inline const Aws::Vector& GetArns() const{ return m_arns; } /** *

The ARNs of the public, private, and shared images to describe.

*/ inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; } /** *

The ARNs of the public, private, and shared images to describe.

*/ inline void SetArns(const Aws::Vector& value) { m_arnsHasBeenSet = true; m_arns = value; } /** *

The ARNs of the public, private, and shared images to describe.

*/ inline void SetArns(Aws::Vector&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); } /** *

The ARNs of the public, private, and shared images to describe.

*/ inline DescribeImagesRequest& WithArns(const Aws::Vector& value) { SetArns(value); return *this;} /** *

The ARNs of the public, private, and shared images to describe.

*/ inline DescribeImagesRequest& WithArns(Aws::Vector&& value) { SetArns(std::move(value)); return *this;} /** *

The ARNs of the public, private, and shared images to describe.

*/ inline DescribeImagesRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; } /** *

The ARNs of the public, private, and shared images to describe.

*/ inline DescribeImagesRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; } /** *

The ARNs of the public, private, and shared images to describe.

*/ inline DescribeImagesRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; } /** *

The type of image (public, private, or shared) to describe.

*/ inline const VisibilityType& GetType() const{ return m_type; } /** *

The type of image (public, private, or shared) to describe.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of image (public, private, or shared) to describe.

*/ inline void SetType(const VisibilityType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of image (public, private, or shared) to describe.

*/ inline void SetType(VisibilityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of image (public, private, or shared) to describe.

*/ inline DescribeImagesRequest& WithType(const VisibilityType& value) { SetType(value); return *this;} /** *

The type of image (public, private, or shared) to describe.

*/ inline DescribeImagesRequest& WithType(VisibilityType&& value) { SetType(std::move(value)); return *this;} /** *

The pagination token to use to retrieve the next page of results for this * operation. If this value is null, it retrieves the first page.

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

The pagination token to use to retrieve the next page of results for this * operation. If this value is null, it retrieves the first page.

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

The pagination token to use to retrieve the next page of results for this * operation. If this value is null, it retrieves the first page.

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

The pagination token to use to retrieve the next page of results for this * operation. If this value is null, it retrieves the first page.

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

The pagination token to use to retrieve the next page of results for this * operation. If this value is null, it retrieves the first page.

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

The pagination token to use to retrieve the next page of results for this * operation. If this value is null, it retrieves the first page.

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

The pagination token to use to retrieve the next page of results for this * operation. If this value is null, it retrieves the first page.

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

The pagination token to use to retrieve the next page of results for this * operation. If this value is null, it retrieves the first page.

*/ inline DescribeImagesRequest& 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 DescribeImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::Vector m_names; bool m_namesHasBeenSet = false; Aws::Vector m_arns; bool m_arnsHasBeenSet = false; VisibilityType m_type; bool m_typeHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws