AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
ImageConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EMRServerless {
20namespace Model {
21
28 public:
29 AWS_EMRSERVERLESS_API ImageConfiguration() = default;
30 AWS_EMRSERVERLESS_API ImageConfiguration(Aws::Utils::Json::JsonView jsonValue);
31 AWS_EMRSERVERLESS_API ImageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetImageUri() const { return m_imageUri; }
39 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
40 template <typename ImageUriT = Aws::String>
41 void SetImageUri(ImageUriT&& value) {
42 m_imageUriHasBeenSet = true;
43 m_imageUri = std::forward<ImageUriT>(value);
44 }
45 template <typename ImageUriT = Aws::String>
46 ImageConfiguration& WithImageUri(ImageUriT&& value) {
47 SetImageUri(std::forward<ImageUriT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetResolvedImageDigest() const { return m_resolvedImageDigest; }
59 inline bool ResolvedImageDigestHasBeenSet() const { return m_resolvedImageDigestHasBeenSet; }
60 template <typename ResolvedImageDigestT = Aws::String>
61 void SetResolvedImageDigest(ResolvedImageDigestT&& value) {
62 m_resolvedImageDigestHasBeenSet = true;
63 m_resolvedImageDigest = std::forward<ResolvedImageDigestT>(value);
64 }
65 template <typename ResolvedImageDigestT = Aws::String>
66 ImageConfiguration& WithResolvedImageDigest(ResolvedImageDigestT&& value) {
67 SetResolvedImageDigest(std::forward<ResolvedImageDigestT>(value));
68 return *this;
69 }
71
73
79 inline bool GetApplicationLevelDigestResolution() const { return m_applicationLevelDigestResolution; }
80 inline bool ApplicationLevelDigestResolutionHasBeenSet() const { return m_applicationLevelDigestResolutionHasBeenSet; }
81 inline void SetApplicationLevelDigestResolution(bool value) {
82 m_applicationLevelDigestResolutionHasBeenSet = true;
83 m_applicationLevelDigestResolution = value;
84 }
90 private:
91 Aws::String m_imageUri;
92
93 Aws::String m_resolvedImageDigest;
94
95 bool m_applicationLevelDigestResolution{false};
96 bool m_imageUriHasBeenSet = false;
97 bool m_resolvedImageDigestHasBeenSet = false;
98 bool m_applicationLevelDigestResolutionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace EMRServerless
103} // namespace Aws
ImageConfiguration & WithImageUri(ImageUriT &&value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMRSERVERLESS_API ImageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResolvedImageDigest(ResolvedImageDigestT &&value)
AWS_EMRSERVERLESS_API ImageConfiguration()=default
ImageConfiguration & WithApplicationLevelDigestResolution(bool value)
ImageConfiguration & WithResolvedImageDigest(ResolvedImageDigestT &&value)
AWS_EMRSERVERLESS_API ImageConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue