/** * 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 WellArchitected { namespace Model { /** */ class ExportLensRequest : public WellArchitectedRequest { public: AWS_WELLARCHITECTED_API ExportLensRequest(); // 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 "ExportLens"; } AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override; AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; inline const Aws::String& GetLensAlias() const{ return m_lensAlias; } inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; } inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; } inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); } inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); } inline ExportLensRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;} inline ExportLensRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;} inline ExportLensRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;} /** *

The lens version to be exported.

*/ inline const Aws::String& GetLensVersion() const{ return m_lensVersion; } /** *

The lens version to be exported.

*/ inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; } /** *

The lens version to be exported.

*/ inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; } /** *

The lens version to be exported.

*/ inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); } /** *

The lens version to be exported.

*/ inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); } /** *

The lens version to be exported.

*/ inline ExportLensRequest& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;} /** *

The lens version to be exported.

*/ inline ExportLensRequest& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;} /** *

The lens version to be exported.

*/ inline ExportLensRequest& WithLensVersion(const char* value) { SetLensVersion(value); return *this;} private: Aws::String m_lensAlias; bool m_lensAliasHasBeenSet = false; Aws::String m_lensVersion; bool m_lensVersionHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws