AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionCodeLocation.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lambda
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LAMBDA_API FunctionCodeLocation();
37 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRepositoryType() const{ return m_repositoryType; }
45 inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; }
46 inline void SetRepositoryType(const Aws::String& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = value; }
47 inline void SetRepositoryType(Aws::String&& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = std::move(value); }
48 inline void SetRepositoryType(const char* value) { m_repositoryTypeHasBeenSet = true; m_repositoryType.assign(value); }
49 inline FunctionCodeLocation& WithRepositoryType(const Aws::String& value) { SetRepositoryType(value); return *this;}
50 inline FunctionCodeLocation& WithRepositoryType(Aws::String&& value) { SetRepositoryType(std::move(value)); return *this;}
51 inline FunctionCodeLocation& WithRepositoryType(const char* value) { SetRepositoryType(value); return *this;}
53
55
58 inline const Aws::String& GetLocation() const{ return m_location; }
59 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
60 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
61 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
62 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
63 inline FunctionCodeLocation& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
64 inline FunctionCodeLocation& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
65 inline FunctionCodeLocation& WithLocation(const char* value) { SetLocation(value); return *this;}
67
69
72 inline const Aws::String& GetImageUri() const{ return m_imageUri; }
73 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
74 inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
75 inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
76 inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
77 inline FunctionCodeLocation& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
78 inline FunctionCodeLocation& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
79 inline FunctionCodeLocation& WithImageUri(const char* value) { SetImageUri(value); return *this;}
81
83
86 inline const Aws::String& GetResolvedImageUri() const{ return m_resolvedImageUri; }
87 inline bool ResolvedImageUriHasBeenSet() const { return m_resolvedImageUriHasBeenSet; }
88 inline void SetResolvedImageUri(const Aws::String& value) { m_resolvedImageUriHasBeenSet = true; m_resolvedImageUri = value; }
89 inline void SetResolvedImageUri(Aws::String&& value) { m_resolvedImageUriHasBeenSet = true; m_resolvedImageUri = std::move(value); }
90 inline void SetResolvedImageUri(const char* value) { m_resolvedImageUriHasBeenSet = true; m_resolvedImageUri.assign(value); }
91 inline FunctionCodeLocation& WithResolvedImageUri(const Aws::String& value) { SetResolvedImageUri(value); return *this;}
92 inline FunctionCodeLocation& WithResolvedImageUri(Aws::String&& value) { SetResolvedImageUri(std::move(value)); return *this;}
93 inline FunctionCodeLocation& WithResolvedImageUri(const char* value) { SetResolvedImageUri(value); return *this;}
95 private:
96
97 Aws::String m_repositoryType;
98 bool m_repositoryTypeHasBeenSet = false;
99
100 Aws::String m_location;
101 bool m_locationHasBeenSet = false;
102
103 Aws::String m_imageUri;
104 bool m_imageUriHasBeenSet = false;
105
106 Aws::String m_resolvedImageUri;
107 bool m_resolvedImageUriHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Lambda
112} // namespace Aws
AWS_LAMBDA_API FunctionCodeLocation(Aws::Utils::Json::JsonView jsonValue)
FunctionCodeLocation & WithRepositoryType(const Aws::String &value)
FunctionCodeLocation & WithResolvedImageUri(Aws::String &&value)
FunctionCodeLocation & WithImageUri(const char *value)
void SetLocation(const Aws::String &value)
AWS_LAMBDA_API FunctionCodeLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionCodeLocation & WithResolvedImageUri(const Aws::String &value)
FunctionCodeLocation & WithImageUri(const Aws::String &value)
FunctionCodeLocation & WithLocation(Aws::String &&value)
FunctionCodeLocation & WithRepositoryType(const char *value)
void SetRepositoryType(const Aws::String &value)
FunctionCodeLocation & WithResolvedImageUri(const char *value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResolvedImageUri() const
void SetResolvedImageUri(const Aws::String &value)
FunctionCodeLocation & WithLocation(const char *value)
FunctionCodeLocation & WithLocation(const Aws::String &value)
FunctionCodeLocation & WithImageUri(Aws::String &&value)
FunctionCodeLocation & WithRepositoryType(Aws::String &&value)
void SetImageUri(const Aws::String &value)
const Aws::String & GetRepositoryType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue