/** * 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 AmplifyUIBuilder { namespace Model { /** */ class PutMetadataFlagRequest : public AmplifyUIBuilderRequest { public: AWS_AMPLIFYUIBUILDER_API PutMetadataFlagRequest(); // 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 "PutMetadataFlag"; } AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override; /** *

The unique ID for the Amplify app.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The unique ID for the Amplify app.

*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *

The unique ID for the Amplify app.

*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *

The unique ID for the Amplify app.

*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *

The unique ID for the Amplify app.

*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *

The unique ID for the Amplify app.

*/ inline PutMetadataFlagRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The unique ID for the Amplify app.

*/ inline PutMetadataFlagRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The unique ID for the Amplify app.

*/ inline PutMetadataFlagRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *

The name of the backend environment that is part of the Amplify app.

*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *

The name of the backend environment that is part of the Amplify app.

*/ inline PutMetadataFlagRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *

The name of the backend environment that is part of the Amplify app.

*/ inline PutMetadataFlagRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *

The name of the backend environment that is part of the Amplify app.

*/ inline PutMetadataFlagRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *

The name of the feature associated with the metadata.

*/ inline const Aws::String& GetFeatureName() const{ return m_featureName; } /** *

The name of the feature associated with the metadata.

*/ inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; } /** *

The name of the feature associated with the metadata.

*/ inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; } /** *

The name of the feature associated with the metadata.

*/ inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); } /** *

The name of the feature associated with the metadata.

*/ inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); } /** *

The name of the feature associated with the metadata.

*/ inline PutMetadataFlagRequest& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;} /** *

The name of the feature associated with the metadata.

*/ inline PutMetadataFlagRequest& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;} /** *

The name of the feature associated with the metadata.

*/ inline PutMetadataFlagRequest& WithFeatureName(const char* value) { SetFeatureName(value); return *this;} /** *

The metadata information to store.

*/ inline const PutMetadataFlagBody& GetMemberBody() const{ return m_body; } /** *

The metadata information to store.

*/ inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; } /** *

The metadata information to store.

*/ inline void SetBody(const PutMetadataFlagBody& value) { m_bodyHasBeenSet = true; m_body = value; } /** *

The metadata information to store.

*/ inline void SetBody(PutMetadataFlagBody&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); } /** *

The metadata information to store.

*/ inline PutMetadataFlagRequest& WithBody(const PutMetadataFlagBody& value) { SetBody(value); return *this;} /** *

The metadata information to store.

*/ inline PutMetadataFlagRequest& WithBody(PutMetadataFlagBody&& value) { SetBody(std::move(value)); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_featureName; bool m_featureNameHasBeenSet = false; PutMetadataFlagBody m_body; bool m_bodyHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws