AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ImageRepository.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apprunner/model/ImageConfiguration.h>
10#include <aws/apprunner/model/ImageRepositoryType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppRunner
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_APPRUNNER_API ImageRepository() = default;
37 AWS_APPRUNNER_API ImageRepository(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetImageIdentifier() const { return m_imageIdentifier; }
50 inline bool ImageIdentifierHasBeenSet() const { return m_imageIdentifierHasBeenSet; }
51 template<typename ImageIdentifierT = Aws::String>
52 void SetImageIdentifier(ImageIdentifierT&& value) { m_imageIdentifierHasBeenSet = true; m_imageIdentifier = std::forward<ImageIdentifierT>(value); }
53 template<typename ImageIdentifierT = Aws::String>
54 ImageRepository& WithImageIdentifier(ImageIdentifierT&& value) { SetImageIdentifier(std::forward<ImageIdentifierT>(value)); return *this;}
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) { m_imageConfigurationHasBeenSet = true; m_imageConfiguration = std::forward<ImageConfigurationT>(value); }
65 template<typename ImageConfigurationT = ImageConfiguration>
66 ImageRepository& WithImageConfiguration(ImageConfigurationT&& value) { SetImageConfiguration(std::forward<ImageConfigurationT>(value)); return *this;}
68
70
74 inline ImageRepositoryType GetImageRepositoryType() const { return m_imageRepositoryType; }
75 inline bool ImageRepositoryTypeHasBeenSet() const { return m_imageRepositoryTypeHasBeenSet; }
76 inline void SetImageRepositoryType(ImageRepositoryType value) { m_imageRepositoryTypeHasBeenSet = true; m_imageRepositoryType = value; }
79 private:
80
81 Aws::String m_imageIdentifier;
82 bool m_imageIdentifierHasBeenSet = false;
83
84 ImageConfiguration m_imageConfiguration;
85 bool m_imageConfigurationHasBeenSet = false;
86
88 bool m_imageRepositoryTypeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace AppRunner
93} // 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