/** * 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 mgn { namespace Model { /** */ class ListTemplateActionsRequest : public MgnRequest { public: AWS_MGN_API ListTemplateActionsRequest(); // 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 "ListTemplateActions"; } AWS_MGN_API Aws::String SerializePayload() const override; /** *

Filters to apply when listing template post migration custom actions.

*/ inline const TemplateActionsRequestFilters& GetFilters() const{ return m_filters; } /** *

Filters to apply when listing template post migration custom actions.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

Filters to apply when listing template post migration custom actions.

*/ inline void SetFilters(const TemplateActionsRequestFilters& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

Filters to apply when listing template post migration custom actions.

*/ inline void SetFilters(TemplateActionsRequestFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

Filters to apply when listing template post migration custom actions.

*/ inline ListTemplateActionsRequest& WithFilters(const TemplateActionsRequestFilters& value) { SetFilters(value); return *this;} /** *

Filters to apply when listing template post migration custom actions.

*/ inline ListTemplateActionsRequest& WithFilters(TemplateActionsRequestFilters&& value) { SetFilters(std::move(value)); return *this;} /** *

Launch configuration template ID.

*/ inline const Aws::String& GetLaunchConfigurationTemplateID() const{ return m_launchConfigurationTemplateID; } /** *

Launch configuration template ID.

*/ inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; } /** *

Launch configuration template ID.

*/ inline void SetLaunchConfigurationTemplateID(const Aws::String& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = value; } /** *

Launch configuration template ID.

*/ inline void SetLaunchConfigurationTemplateID(Aws::String&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::move(value); } /** *

Launch configuration template ID.

*/ inline void SetLaunchConfigurationTemplateID(const char* value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID.assign(value); } /** *

Launch configuration template ID.

*/ inline ListTemplateActionsRequest& WithLaunchConfigurationTemplateID(const Aws::String& value) { SetLaunchConfigurationTemplateID(value); return *this;} /** *

Launch configuration template ID.

*/ inline ListTemplateActionsRequest& WithLaunchConfigurationTemplateID(Aws::String&& value) { SetLaunchConfigurationTemplateID(std::move(value)); return *this;} /** *

Launch configuration template ID.

*/ inline ListTemplateActionsRequest& WithLaunchConfigurationTemplateID(const char* value) { SetLaunchConfigurationTemplateID(value); return *this;} /** *

Maximum amount of items to return when listing template post migration custom * actions.

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

Maximum amount of items to return when listing template post migration custom * actions.

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

Maximum amount of items to return when listing template post migration custom * actions.

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

Maximum amount of items to return when listing template post migration custom * actions.

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

Next token to use when listing template post migration custom actions.

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

Next token to use when listing template post migration custom actions.

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

Next token to use when listing template post migration custom actions.

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

Next token to use when listing template post migration custom actions.

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

Next token to use when listing template post migration custom actions.

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

Next token to use when listing template post migration custom actions.

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

Next token to use when listing template post migration custom actions.

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

Next token to use when listing template post migration custom actions.

*/ inline ListTemplateActionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: TemplateActionsRequestFilters m_filters; bool m_filtersHasBeenSet = false; Aws::String m_launchConfigurationTemplateID; bool m_launchConfigurationTemplateIDHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws