/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace RoboMaker { namespace Model { class CreateRobotApplicationVersionResult { public: AWS_ROBOMAKER_API CreateRobotApplicationVersionResult(); AWS_ROBOMAKER_API CreateRobotApplicationVersionResult(const Aws::AmazonWebServiceResult& result); AWS_ROBOMAKER_API CreateRobotApplicationVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the robot application.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the robot application.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) of the robot application.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the robot application.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the robot application.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the robot application.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the robot application.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the robot application.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithName(const char* value) { SetName(value); return *this;} /** *

The version of the robot application.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

The version of the robot application.

*/ inline void SetVersion(const Aws::String& value) { m_version = value; } /** *

The version of the robot application.

*/ inline void SetVersion(Aws::String&& value) { m_version = std::move(value); } /** *

The version of the robot application.

*/ inline void SetVersion(const char* value) { m_version.assign(value); } /** *

The version of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

The version of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

The version of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

The sources of the robot application.

*/ inline const Aws::Vector& GetSources() const{ return m_sources; } /** *

The sources of the robot application.

*/ inline void SetSources(const Aws::Vector& value) { m_sources = value; } /** *

The sources of the robot application.

*/ inline void SetSources(Aws::Vector&& value) { m_sources = std::move(value); } /** *

The sources of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithSources(const Aws::Vector& value) { SetSources(value); return *this;} /** *

The sources of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithSources(Aws::Vector&& value) { SetSources(std::move(value)); return *this;} /** *

The sources of the robot application.

*/ inline CreateRobotApplicationVersionResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; } /** *

The sources of the robot application.

*/ inline CreateRobotApplicationVersionResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; } /** *

The robot software suite (ROS distribution) used by the robot * application.

*/ inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; } /** *

The robot software suite (ROS distribution) used by the robot * application.

*/ inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; } /** *

The robot software suite (ROS distribution) used by the robot * application.

*/ inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); } /** *

The robot software suite (ROS distribution) used by the robot * application.

*/ inline CreateRobotApplicationVersionResult& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;} /** *

The robot software suite (ROS distribution) used by the robot * application.

*/ inline CreateRobotApplicationVersionResult& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;} /** *

The time, in milliseconds since the epoch, when the robot application was * last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

The time, in milliseconds since the epoch, when the robot application was * last updated.

*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; } /** *

The time, in milliseconds since the epoch, when the robot application was * last updated.

*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); } /** *

The time, in milliseconds since the epoch, when the robot application was * last updated.

*/ inline CreateRobotApplicationVersionResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

The time, in milliseconds since the epoch, when the robot application was * last updated.

*/ inline CreateRobotApplicationVersionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

The revision id of the robot application.

*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *

The revision id of the robot application.

*/ inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; } /** *

The revision id of the robot application.

*/ inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); } /** *

The revision id of the robot application.

*/ inline void SetRevisionId(const char* value) { m_revisionId.assign(value); } /** *

The revision id of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *

The revision id of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *

The revision id of the robot application.

*/ inline CreateRobotApplicationVersionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} /** *

The object that contains the Docker image URI used to create your robot * application.

*/ inline const Environment& GetEnvironment() const{ return m_environment; } /** *

The object that contains the Docker image URI used to create your robot * application.

*/ inline void SetEnvironment(const Environment& value) { m_environment = value; } /** *

The object that contains the Docker image URI used to create your robot * application.

*/ inline void SetEnvironment(Environment&& value) { m_environment = std::move(value); } /** *

The object that contains the Docker image URI used to create your robot * application.

*/ inline CreateRobotApplicationVersionResult& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;} /** *

The object that contains the Docker image URI used to create your robot * application.

*/ inline CreateRobotApplicationVersionResult& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateRobotApplicationVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateRobotApplicationVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateRobotApplicationVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_name; Aws::String m_version; Aws::Vector m_sources; RobotSoftwareSuite m_robotSoftwareSuite; Aws::Utils::DateTime m_lastUpdatedAt; Aws::String m_revisionId; Environment m_environment; Aws::String m_requestId; }; } // namespace Model } // namespace RoboMaker } // namespace Aws