/** * 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 EMRServerless { namespace Model { /** *

The applied image configuration.

See Also:

AWS * API Reference

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

The image URI.

*/ inline const Aws::String& GetImageUri() const{ return m_imageUri; } /** *

The image URI.

*/ inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; } /** *

The image URI.

*/ inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; } /** *

The image URI.

*/ inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); } /** *

The image URI.

*/ inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); } /** *

The image URI.

*/ inline ImageConfiguration& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;} /** *

The image URI.

*/ inline ImageConfiguration& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;} /** *

The image URI.

*/ inline ImageConfiguration& WithImageUri(const char* value) { SetImageUri(value); return *this;} /** *

The SHA256 digest of the image URI. This indicates which specific image the * application is configured for. The image digest doesn't exist until an * application has started.

*/ inline const Aws::String& GetResolvedImageDigest() const{ return m_resolvedImageDigest; } /** *

The SHA256 digest of the image URI. This indicates which specific image the * application is configured for. The image digest doesn't exist until an * application has started.

*/ inline bool ResolvedImageDigestHasBeenSet() const { return m_resolvedImageDigestHasBeenSet; } /** *

The SHA256 digest of the image URI. This indicates which specific image the * application is configured for. The image digest doesn't exist until an * application has started.

*/ inline void SetResolvedImageDigest(const Aws::String& value) { m_resolvedImageDigestHasBeenSet = true; m_resolvedImageDigest = value; } /** *

The SHA256 digest of the image URI. This indicates which specific image the * application is configured for. The image digest doesn't exist until an * application has started.

*/ inline void SetResolvedImageDigest(Aws::String&& value) { m_resolvedImageDigestHasBeenSet = true; m_resolvedImageDigest = std::move(value); } /** *

The SHA256 digest of the image URI. This indicates which specific image the * application is configured for. The image digest doesn't exist until an * application has started.

*/ inline void SetResolvedImageDigest(const char* value) { m_resolvedImageDigestHasBeenSet = true; m_resolvedImageDigest.assign(value); } /** *

The SHA256 digest of the image URI. This indicates which specific image the * application is configured for. The image digest doesn't exist until an * application has started.

*/ inline ImageConfiguration& WithResolvedImageDigest(const Aws::String& value) { SetResolvedImageDigest(value); return *this;} /** *

The SHA256 digest of the image URI. This indicates which specific image the * application is configured for. The image digest doesn't exist until an * application has started.

*/ inline ImageConfiguration& WithResolvedImageDigest(Aws::String&& value) { SetResolvedImageDigest(std::move(value)); return *this;} /** *

The SHA256 digest of the image URI. This indicates which specific image the * application is configured for. The image digest doesn't exist until an * application has started.

*/ inline ImageConfiguration& WithResolvedImageDigest(const char* value) { SetResolvedImageDigest(value); return *this;} private: Aws::String m_imageUri; bool m_imageUriHasBeenSet = false; Aws::String m_resolvedImageDigest; bool m_resolvedImageDigestHasBeenSet = false; }; } // namespace Model } // namespace EMRServerless } // namespace Aws