/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KinesisAnalyticsV2 { namespace Model { /** *

The information required to specify a Maven reference. You can use Maven * references to specify dependency JAR files.

See Also:

AWS * API Reference

*/ class MavenReference { public: AWS_KINESISANALYTICSV2_API MavenReference(); AWS_KINESISANALYTICSV2_API MavenReference(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICSV2_API MavenReference& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The group ID of the Maven reference.

*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *

The group ID of the Maven reference.

*/ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *

The group ID of the Maven reference.

*/ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** *

The group ID of the Maven reference.

*/ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** *

The group ID of the Maven reference.

*/ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** *

The group ID of the Maven reference.

*/ inline MavenReference& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *

The group ID of the Maven reference.

*/ inline MavenReference& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *

The group ID of the Maven reference.

*/ inline MavenReference& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** *

The artifact ID of the Maven reference.

*/ inline const Aws::String& GetArtifactId() const{ return m_artifactId; } /** *

The artifact ID of the Maven reference.

*/ inline bool ArtifactIdHasBeenSet() const { return m_artifactIdHasBeenSet; } /** *

The artifact ID of the Maven reference.

*/ inline void SetArtifactId(const Aws::String& value) { m_artifactIdHasBeenSet = true; m_artifactId = value; } /** *

The artifact ID of the Maven reference.

*/ inline void SetArtifactId(Aws::String&& value) { m_artifactIdHasBeenSet = true; m_artifactId = std::move(value); } /** *

The artifact ID of the Maven reference.

*/ inline void SetArtifactId(const char* value) { m_artifactIdHasBeenSet = true; m_artifactId.assign(value); } /** *

The artifact ID of the Maven reference.

*/ inline MavenReference& WithArtifactId(const Aws::String& value) { SetArtifactId(value); return *this;} /** *

The artifact ID of the Maven reference.

*/ inline MavenReference& WithArtifactId(Aws::String&& value) { SetArtifactId(std::move(value)); return *this;} /** *

The artifact ID of the Maven reference.

*/ inline MavenReference& WithArtifactId(const char* value) { SetArtifactId(value); return *this;} /** *

The version of the Maven reference.

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

The version of the Maven reference.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

The version of the Maven reference.

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

The version of the Maven reference.

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

The version of the Maven reference.

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

The version of the Maven reference.

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

The version of the Maven reference.

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

The version of the Maven reference.

*/ inline MavenReference& WithVersion(const char* value) { SetVersion(value); return *this;} private: Aws::String m_groupId; bool m_groupIdHasBeenSet = false; Aws::String m_artifactId; bool m_artifactIdHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws