/** * 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 RoboMaker { namespace Model { /** */ class CreateRobotApplicationVersionRequest : public RoboMakerRequest { public: AWS_ROBOMAKER_API CreateRobotApplicationVersionRequest(); // 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 "CreateRobotApplicationVersion"; } AWS_ROBOMAKER_API Aws::String SerializePayload() const override; /** *

The application information for the robot application.

*/ inline const Aws::String& GetApplication() const{ return m_application; } /** *

The application information for the robot application.

*/ inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } /** *

The application information for the robot application.

*/ inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; } /** *

The application information for the robot application.

*/ inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); } /** *

The application information for the robot application.

*/ inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); } /** *

The application information for the robot application.

*/ inline CreateRobotApplicationVersionRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;} /** *

The application information for the robot application.

*/ inline CreateRobotApplicationVersionRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;} /** *

The application information for the robot application.

*/ inline CreateRobotApplicationVersionRequest& WithApplication(const char* value) { SetApplication(value); return *this;} /** *

The current revision id for the robot application. If you provide a value and * it matches the latest revision ID, a new version will be created.

*/ inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; } /** *

The current revision id for the robot application. If you provide a value and * it matches the latest revision ID, a new version will be created.

*/ inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; } /** *

The current revision id for the robot application. If you provide a value and * it matches the latest revision ID, a new version will be created.

*/ inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; } /** *

The current revision id for the robot application. If you provide a value and * it matches the latest revision ID, a new version will be created.

*/ inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); } /** *

The current revision id for the robot application. If you provide a value and * it matches the latest revision ID, a new version will be created.

*/ inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); } /** *

The current revision id for the robot application. If you provide a value and * it matches the latest revision ID, a new version will be created.

*/ inline CreateRobotApplicationVersionRequest& WithCurrentRevisionId(const Aws::String& value) { SetCurrentRevisionId(value); return *this;} /** *

The current revision id for the robot application. If you provide a value and * it matches the latest revision ID, a new version will be created.

*/ inline CreateRobotApplicationVersionRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;} /** *

The current revision id for the robot application. If you provide a value and * it matches the latest revision ID, a new version will be created.

*/ inline CreateRobotApplicationVersionRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;} /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline const Aws::Vector& GetS3Etags() const{ return m_s3Etags; } /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline bool S3EtagsHasBeenSet() const { return m_s3EtagsHasBeenSet; } /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline void SetS3Etags(const Aws::Vector& value) { m_s3EtagsHasBeenSet = true; m_s3Etags = value; } /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline void SetS3Etags(Aws::Vector&& value) { m_s3EtagsHasBeenSet = true; m_s3Etags = std::move(value); } /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline CreateRobotApplicationVersionRequest& WithS3Etags(const Aws::Vector& value) { SetS3Etags(value); return *this;} /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline CreateRobotApplicationVersionRequest& WithS3Etags(Aws::Vector&& value) { SetS3Etags(std::move(value)); return *this;} /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline CreateRobotApplicationVersionRequest& AddS3Etags(const Aws::String& value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(value); return *this; } /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline CreateRobotApplicationVersionRequest& AddS3Etags(Aws::String&& value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(std::move(value)); return *this; } /** *

The Amazon S3 identifier for the zip file bundle that you use for your robot * application.

*/ inline CreateRobotApplicationVersionRequest& AddS3Etags(const char* value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(value); return *this; } /** *

A SHA256 identifier for the Docker image that you use for your robot * application.

*/ inline const Aws::String& GetImageDigest() const{ return m_imageDigest; } /** *

A SHA256 identifier for the Docker image that you use for your robot * application.

*/ inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; } /** *

A SHA256 identifier for the Docker image that you use for your robot * application.

*/ inline void SetImageDigest(const Aws::String& value) { m_imageDigestHasBeenSet = true; m_imageDigest = value; } /** *

A SHA256 identifier for the Docker image that you use for your robot * application.

*/ inline void SetImageDigest(Aws::String&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::move(value); } /** *

A SHA256 identifier for the Docker image that you use for your robot * application.

*/ inline void SetImageDigest(const char* value) { m_imageDigestHasBeenSet = true; m_imageDigest.assign(value); } /** *

A SHA256 identifier for the Docker image that you use for your robot * application.

*/ inline CreateRobotApplicationVersionRequest& WithImageDigest(const Aws::String& value) { SetImageDigest(value); return *this;} /** *

A SHA256 identifier for the Docker image that you use for your robot * application.

*/ inline CreateRobotApplicationVersionRequest& WithImageDigest(Aws::String&& value) { SetImageDigest(std::move(value)); return *this;} /** *

A SHA256 identifier for the Docker image that you use for your robot * application.

*/ inline CreateRobotApplicationVersionRequest& WithImageDigest(const char* value) { SetImageDigest(value); return *this;} private: Aws::String m_application; bool m_applicationHasBeenSet = false; Aws::String m_currentRevisionId; bool m_currentRevisionIdHasBeenSet = false; Aws::Vector m_s3Etags; bool m_s3EtagsHasBeenSet = false; Aws::String m_imageDigest; bool m_imageDigestHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws