/** * 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 CloudWatchEvidently { namespace Model { /** */ class BatchEvaluateFeatureRequest : public CloudWatchEvidentlyRequest { public: AWS_CLOUDWATCHEVIDENTLY_API BatchEvaluateFeatureRequest(); // 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 "BatchEvaluateFeature"; } AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override; /** *

The name or ARN of the project that contains the feature being evaluated.

*/ inline const Aws::String& GetProject() const{ return m_project; } /** *

The name or ARN of the project that contains the feature being evaluated.

*/ inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } /** *

The name or ARN of the project that contains the feature being evaluated.

*/ inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; } /** *

The name or ARN of the project that contains the feature being evaluated.

*/ inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); } /** *

The name or ARN of the project that contains the feature being evaluated.

*/ inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); } /** *

The name or ARN of the project that contains the feature being evaluated.

*/ inline BatchEvaluateFeatureRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;} /** *

The name or ARN of the project that contains the feature being evaluated.

*/ inline BatchEvaluateFeatureRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;} /** *

The name or ARN of the project that contains the feature being evaluated.

*/ inline BatchEvaluateFeatureRequest& WithProject(const char* value) { SetProject(value); return *this;} /** *

An array of structures, where each structure assigns a feature variation to * one user session.

*/ inline const Aws::Vector& GetRequests() const{ return m_requests; } /** *

An array of structures, where each structure assigns a feature variation to * one user session.

*/ inline bool RequestsHasBeenSet() const { return m_requestsHasBeenSet; } /** *

An array of structures, where each structure assigns a feature variation to * one user session.

*/ inline void SetRequests(const Aws::Vector& value) { m_requestsHasBeenSet = true; m_requests = value; } /** *

An array of structures, where each structure assigns a feature variation to * one user session.

*/ inline void SetRequests(Aws::Vector&& value) { m_requestsHasBeenSet = true; m_requests = std::move(value); } /** *

An array of structures, where each structure assigns a feature variation to * one user session.

*/ inline BatchEvaluateFeatureRequest& WithRequests(const Aws::Vector& value) { SetRequests(value); return *this;} /** *

An array of structures, where each structure assigns a feature variation to * one user session.

*/ inline BatchEvaluateFeatureRequest& WithRequests(Aws::Vector&& value) { SetRequests(std::move(value)); return *this;} /** *

An array of structures, where each structure assigns a feature variation to * one user session.

*/ inline BatchEvaluateFeatureRequest& AddRequests(const EvaluationRequest& value) { m_requestsHasBeenSet = true; m_requests.push_back(value); return *this; } /** *

An array of structures, where each structure assigns a feature variation to * one user session.

*/ inline BatchEvaluateFeatureRequest& AddRequests(EvaluationRequest&& value) { m_requestsHasBeenSet = true; m_requests.push_back(std::move(value)); return *this; } private: Aws::String m_project; bool m_projectHasBeenSet = false; Aws::Vector m_requests; bool m_requestsHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws