AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FunctionCodeLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lambda {
20namespace Model {
21
28 public:
29 AWS_LAMBDA_API FunctionCodeLocation() = default;
32 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetRepositoryType() const { return m_repositoryType; }
39 inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; }
40 template <typename RepositoryTypeT = Aws::String>
41 void SetRepositoryType(RepositoryTypeT&& value) {
42 m_repositoryTypeHasBeenSet = true;
43 m_repositoryType = std::forward<RepositoryTypeT>(value);
44 }
45 template <typename RepositoryTypeT = Aws::String>
46 FunctionCodeLocation& WithRepositoryType(RepositoryTypeT&& value) {
47 SetRepositoryType(std::forward<RepositoryTypeT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetLocation() const { return m_location; }
57 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
58 template <typename LocationT = Aws::String>
59 void SetLocation(LocationT&& value) {
60 m_locationHasBeenSet = true;
61 m_location = std::forward<LocationT>(value);
62 }
63 template <typename LocationT = Aws::String>
64 FunctionCodeLocation& WithLocation(LocationT&& value) {
65 SetLocation(std::forward<LocationT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetImageUri() const { return m_imageUri; }
75 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
76 template <typename ImageUriT = Aws::String>
77 void SetImageUri(ImageUriT&& value) {
78 m_imageUriHasBeenSet = true;
79 m_imageUri = std::forward<ImageUriT>(value);
80 }
81 template <typename ImageUriT = Aws::String>
82 FunctionCodeLocation& WithImageUri(ImageUriT&& value) {
83 SetImageUri(std::forward<ImageUriT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetResolvedImageUri() const { return m_resolvedImageUri; }
93 inline bool ResolvedImageUriHasBeenSet() const { return m_resolvedImageUriHasBeenSet; }
94 template <typename ResolvedImageUriT = Aws::String>
95 void SetResolvedImageUri(ResolvedImageUriT&& value) {
96 m_resolvedImageUriHasBeenSet = true;
97 m_resolvedImageUri = std::forward<ResolvedImageUriT>(value);
98 }
99 template <typename ResolvedImageUriT = Aws::String>
100 FunctionCodeLocation& WithResolvedImageUri(ResolvedImageUriT&& value) {
101 SetResolvedImageUri(std::forward<ResolvedImageUriT>(value));
102 return *this;
103 }
105
107
114 inline const Aws::String& GetSourceKMSKeyArn() const { return m_sourceKMSKeyArn; }
115 inline bool SourceKMSKeyArnHasBeenSet() const { return m_sourceKMSKeyArnHasBeenSet; }
116 template <typename SourceKMSKeyArnT = Aws::String>
117 void SetSourceKMSKeyArn(SourceKMSKeyArnT&& value) {
118 m_sourceKMSKeyArnHasBeenSet = true;
119 m_sourceKMSKeyArn = std::forward<SourceKMSKeyArnT>(value);
120 }
121 template <typename SourceKMSKeyArnT = Aws::String>
122 FunctionCodeLocation& WithSourceKMSKeyArn(SourceKMSKeyArnT&& value) {
123 SetSourceKMSKeyArn(std::forward<SourceKMSKeyArnT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_repositoryType;
129
130 Aws::String m_location;
131
132 Aws::String m_imageUri;
133
134 Aws::String m_resolvedImageUri;
135
136 Aws::String m_sourceKMSKeyArn;
137 bool m_repositoryTypeHasBeenSet = false;
138 bool m_locationHasBeenSet = false;
139 bool m_imageUriHasBeenSet = false;
140 bool m_resolvedImageUriHasBeenSet = false;
141 bool m_sourceKMSKeyArnHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace Lambda
146} // namespace Aws
AWS_LAMBDA_API FunctionCodeLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API FunctionCodeLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRepositoryType(RepositoryTypeT &&value)
void SetSourceKMSKeyArn(SourceKMSKeyArnT &&value)
FunctionCodeLocation & WithResolvedImageUri(ResolvedImageUriT &&value)
void SetResolvedImageUri(ResolvedImageUriT &&value)
FunctionCodeLocation & WithImageUri(ImageUriT &&value)
FunctionCodeLocation & WithRepositoryType(RepositoryTypeT &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResolvedImageUri() const
AWS_LAMBDA_API FunctionCodeLocation()=default
FunctionCodeLocation & WithSourceKMSKeyArn(SourceKMSKeyArnT &&value)
const Aws::String & GetRepositoryType() const
FunctionCodeLocation & WithLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue