AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ImageRepository.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/ImageConfiguration.h>
9#include <aws/apprunner/model/ImageRepositoryType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppRunner {
22namespace Model {
23
30 public:
31 AWS_APPRUNNER_API ImageRepository() = default;
32 AWS_APPRUNNER_API ImageRepository(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const Aws::String& GetImageIdentifier() const { return m_imageIdentifier; }
44 inline bool ImageIdentifierHasBeenSet() const { return m_imageIdentifierHasBeenSet; }
45 template <typename ImageIdentifierT = Aws::String>
46 void SetImageIdentifier(ImageIdentifierT&& value) {
47 m_imageIdentifierHasBeenSet = true;
48 m_imageIdentifier = std::forward<ImageIdentifierT>(value);
49 }
50 template <typename ImageIdentifierT = Aws::String>
51 ImageRepository& WithImageIdentifier(ImageIdentifierT&& value) {
52 SetImageIdentifier(std::forward<ImageIdentifierT>(value));
53 return *this;
54 }
56
58
61 inline const ImageConfiguration& GetImageConfiguration() const { return m_imageConfiguration; }
62 inline bool ImageConfigurationHasBeenSet() const { return m_imageConfigurationHasBeenSet; }
63 template <typename ImageConfigurationT = ImageConfiguration>
64 void SetImageConfiguration(ImageConfigurationT&& value) {
65 m_imageConfigurationHasBeenSet = true;
66 m_imageConfiguration = std::forward<ImageConfigurationT>(value);
67 }
68 template <typename ImageConfigurationT = ImageConfiguration>
69 ImageRepository& WithImageConfiguration(ImageConfigurationT&& value) {
70 SetImageConfiguration(std::forward<ImageConfigurationT>(value));
71 return *this;
72 }
74
76
80 inline ImageRepositoryType GetImageRepositoryType() const { return m_imageRepositoryType; }
81 inline bool ImageRepositoryTypeHasBeenSet() const { return m_imageRepositoryTypeHasBeenSet; }
83 m_imageRepositoryTypeHasBeenSet = true;
84 m_imageRepositoryType = value;
85 }
88 return *this;
89 }
91 private:
92 Aws::String m_imageIdentifier;
93
94 ImageConfiguration m_imageConfiguration;
95
97 bool m_imageIdentifierHasBeenSet = false;
98 bool m_imageConfigurationHasBeenSet = false;
99 bool m_imageRepositoryTypeHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace AppRunner
104} // namespace Aws
void SetImageRepositoryType(ImageRepositoryType value)
AWS_APPRUNNER_API ImageRepository()=default
void SetImageConfiguration(ImageConfigurationT &&value)
ImageRepositoryType GetImageRepositoryType() const
ImageRepository & WithImageRepositoryType(ImageRepositoryType value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPRUNNER_API ImageRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImageIdentifier(ImageIdentifierT &&value)
ImageRepository & WithImageIdentifier(ImageIdentifierT &&value)
const ImageConfiguration & GetImageConfiguration() const
ImageRepository & WithImageConfiguration(ImageConfigurationT &&value)
AWS_APPRUNNER_API ImageRepository(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetImageIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue