AWS SDK for C++  1.9.21
AWS SDK for C++
FunctionCodeLocation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lambda
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetRepositoryType() const{ return m_repositoryType; }
44 
48  inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; }
49 
53  inline void SetRepositoryType(const Aws::String& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = value; }
54 
58  inline void SetRepositoryType(Aws::String&& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = std::move(value); }
59 
63  inline void SetRepositoryType(const char* value) { m_repositoryTypeHasBeenSet = true; m_repositoryType.assign(value); }
64 
68  inline FunctionCodeLocation& WithRepositoryType(const Aws::String& value) { SetRepositoryType(value); return *this;}
69 
73  inline FunctionCodeLocation& WithRepositoryType(Aws::String&& value) { SetRepositoryType(std::move(value)); return *this;}
74 
78  inline FunctionCodeLocation& WithRepositoryType(const char* value) { SetRepositoryType(value); return *this;}
79 
80 
84  inline const Aws::String& GetLocation() const{ return m_location; }
85 
89  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
90 
94  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
95 
99  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
100 
104  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
105 
109  inline FunctionCodeLocation& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
110 
114  inline FunctionCodeLocation& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
115 
119  inline FunctionCodeLocation& WithLocation(const char* value) { SetLocation(value); return *this;}
120 
121 
125  inline const Aws::String& GetImageUri() const{ return m_imageUri; }
126 
130  inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
131 
135  inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
136 
140  inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
141 
145  inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
146 
150  inline FunctionCodeLocation& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
151 
155  inline FunctionCodeLocation& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
156 
160  inline FunctionCodeLocation& WithImageUri(const char* value) { SetImageUri(value); return *this;}
161 
162 
166  inline const Aws::String& GetResolvedImageUri() const{ return m_resolvedImageUri; }
167 
171  inline bool ResolvedImageUriHasBeenSet() const { return m_resolvedImageUriHasBeenSet; }
172 
176  inline void SetResolvedImageUri(const Aws::String& value) { m_resolvedImageUriHasBeenSet = true; m_resolvedImageUri = value; }
177 
181  inline void SetResolvedImageUri(Aws::String&& value) { m_resolvedImageUriHasBeenSet = true; m_resolvedImageUri = std::move(value); }
182 
186  inline void SetResolvedImageUri(const char* value) { m_resolvedImageUriHasBeenSet = true; m_resolvedImageUri.assign(value); }
187 
191  inline FunctionCodeLocation& WithResolvedImageUri(const Aws::String& value) { SetResolvedImageUri(value); return *this;}
192 
196  inline FunctionCodeLocation& WithResolvedImageUri(Aws::String&& value) { SetResolvedImageUri(std::move(value)); return *this;}
197 
201  inline FunctionCodeLocation& WithResolvedImageUri(const char* value) { SetResolvedImageUri(value); return *this;}
202 
203  private:
204 
205  Aws::String m_repositoryType;
206  bool m_repositoryTypeHasBeenSet;
207 
208  Aws::String m_location;
209  bool m_locationHasBeenSet;
210 
211  Aws::String m_imageUri;
212  bool m_imageUriHasBeenSet;
213 
214  Aws::String m_resolvedImageUri;
215  bool m_resolvedImageUriHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace Lambda
220 } // namespace Aws
Aws::Lambda::Model::FunctionCodeLocation::operator=
FunctionCodeLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::FunctionCodeLocation::ResolvedImageUriHasBeenSet
bool ResolvedImageUriHasBeenSet() const
Definition: FunctionCodeLocation.h:171
Aws::Lambda::Model::FunctionCodeLocation::SetImageUri
void SetImageUri(Aws::String &&value)
Definition: FunctionCodeLocation.h:140
Aws::Lambda::Model::FunctionCodeLocation::SetLocation
void SetLocation(const char *value)
Definition: FunctionCodeLocation.h:104
Aws::Lambda::Model::FunctionCodeLocation::WithImageUri
FunctionCodeLocation & WithImageUri(const char *value)
Definition: FunctionCodeLocation.h:160
Aws::Lambda::Model::FunctionCodeLocation::SetRepositoryType
void SetRepositoryType(const Aws::String &value)
Definition: FunctionCodeLocation.h:53
Aws::Lambda::Model::FunctionCodeLocation::FunctionCodeLocation
FunctionCodeLocation()
Aws::Lambda::Model::FunctionCodeLocation::ImageUriHasBeenSet
bool ImageUriHasBeenSet() const
Definition: FunctionCodeLocation.h:130
Aws::Lambda::Model::FunctionCodeLocation::WithImageUri
FunctionCodeLocation & WithImageUri(const Aws::String &value)
Definition: FunctionCodeLocation.h:150
Aws::Lambda::Model::FunctionCodeLocation::SetResolvedImageUri
void SetResolvedImageUri(Aws::String &&value)
Definition: FunctionCodeLocation.h:181
Aws::Lambda::Model::FunctionCodeLocation::SetRepositoryType
void SetRepositoryType(Aws::String &&value)
Definition: FunctionCodeLocation.h:58
Aws::Lambda::Model::FunctionCodeLocation::RepositoryTypeHasBeenSet
bool RepositoryTypeHasBeenSet() const
Definition: FunctionCodeLocation.h:48
Aws::Lambda::Model::FunctionCodeLocation::WithLocation
FunctionCodeLocation & WithLocation(Aws::String &&value)
Definition: FunctionCodeLocation.h:114
Aws::Lambda::Model::FunctionCodeLocation::SetLocation
void SetLocation(const Aws::String &value)
Definition: FunctionCodeLocation.h:94
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::FunctionCodeLocation::SetLocation
void SetLocation(Aws::String &&value)
Definition: FunctionCodeLocation.h:99
Aws::Lambda::Model::FunctionCodeLocation
Definition: FunctionCodeLocation.h:32
Aws::Lambda::Model::FunctionCodeLocation::SetResolvedImageUri
void SetResolvedImageUri(const char *value)
Definition: FunctionCodeLocation.h:186
Aws::Lambda::Model::FunctionCodeLocation::SetRepositoryType
void SetRepositoryType(const char *value)
Definition: FunctionCodeLocation.h:63
Aws::Lambda::Model::FunctionCodeLocation::WithRepositoryType
FunctionCodeLocation & WithRepositoryType(const Aws::String &value)
Definition: FunctionCodeLocation.h:68
Aws::Lambda::Model::FunctionCodeLocation::WithLocation
FunctionCodeLocation & WithLocation(const Aws::String &value)
Definition: FunctionCodeLocation.h:109
Aws::Lambda::Model::FunctionCodeLocation::WithImageUri
FunctionCodeLocation & WithImageUri(Aws::String &&value)
Definition: FunctionCodeLocation.h:155
Aws::Lambda::Model::FunctionCodeLocation::SetImageUri
void SetImageUri(const Aws::String &value)
Definition: FunctionCodeLocation.h:135
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::FunctionCodeLocation::SetImageUri
void SetImageUri(const char *value)
Definition: FunctionCodeLocation.h:145
Aws::Lambda::Model::FunctionCodeLocation::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: FunctionCodeLocation.h:89
Aws::Lambda::Model::FunctionCodeLocation::SetResolvedImageUri
void SetResolvedImageUri(const Aws::String &value)
Definition: FunctionCodeLocation.h:176
Aws::Lambda::Model::FunctionCodeLocation::WithLocation
FunctionCodeLocation & WithLocation(const char *value)
Definition: FunctionCodeLocation.h:119
Aws::Lambda::Model::FunctionCodeLocation::WithRepositoryType
FunctionCodeLocation & WithRepositoryType(Aws::String &&value)
Definition: FunctionCodeLocation.h:73
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::FunctionCodeLocation::WithResolvedImageUri
FunctionCodeLocation & WithResolvedImageUri(Aws::String &&value)
Definition: FunctionCodeLocation.h:196
Aws::Lambda::Model::FunctionCodeLocation::GetImageUri
const Aws::String & GetImageUri() const
Definition: FunctionCodeLocation.h:125
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::FunctionCodeLocation::WithRepositoryType
FunctionCodeLocation & WithRepositoryType(const char *value)
Definition: FunctionCodeLocation.h:78
Aws::Lambda::Model::FunctionCodeLocation::FunctionCodeLocation
FunctionCodeLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::FunctionCodeLocation::WithResolvedImageUri
FunctionCodeLocation & WithResolvedImageUri(const Aws::String &value)
Definition: FunctionCodeLocation.h:191
Aws::Lambda::Model::FunctionCodeLocation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::FunctionCodeLocation::GetLocation
const Aws::String & GetLocation() const
Definition: FunctionCodeLocation.h:84
Aws::Lambda::Model::FunctionCodeLocation::GetResolvedImageUri
const Aws::String & GetResolvedImageUri() const
Definition: FunctionCodeLocation.h:166
Aws::Lambda::Model::FunctionCodeLocation::GetRepositoryType
const Aws::String & GetRepositoryType() const
Definition: FunctionCodeLocation.h:43
Aws::Lambda::Model::FunctionCodeLocation::WithResolvedImageUri
FunctionCodeLocation & WithResolvedImageUri(const char *value)
Definition: FunctionCodeLocation.h:201
Lambda_EXPORTS.h