AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetImageIdentifier(const Aws::String& value) { m_imageIdentifierHasBeenSet = true; m_imageIdentifier = value; }
52 inline void SetImageIdentifier(Aws::String&& value) { m_imageIdentifierHasBeenSet = true; m_imageIdentifier = std::move(value); }
53 inline void SetImageIdentifier(const char* value) { m_imageIdentifierHasBeenSet = true; m_imageIdentifier.assign(value); }
54 inline ImageRepository& WithImageIdentifier(const Aws::String& value) { SetImageIdentifier(value); return *this;}
55 inline ImageRepository& WithImageIdentifier(Aws::String&& value) { SetImageIdentifier(std::move(value)); return *this;}
56 inline ImageRepository& WithImageIdentifier(const char* value) { SetImageIdentifier(value); return *this;}
58
60
63 inline const ImageConfiguration& GetImageConfiguration() const{ return m_imageConfiguration; }
64 inline bool ImageConfigurationHasBeenSet() const { return m_imageConfigurationHasBeenSet; }
65 inline void SetImageConfiguration(const ImageConfiguration& value) { m_imageConfigurationHasBeenSet = true; m_imageConfiguration = value; }
66 inline void SetImageConfiguration(ImageConfiguration&& value) { m_imageConfigurationHasBeenSet = true; m_imageConfiguration = std::move(value); }
68 inline ImageRepository& WithImageConfiguration(ImageConfiguration&& value) { SetImageConfiguration(std::move(value)); return *this;}
70
72
76 inline const ImageRepositoryType& GetImageRepositoryType() const{ return m_imageRepositoryType; }
77 inline bool ImageRepositoryTypeHasBeenSet() const { return m_imageRepositoryTypeHasBeenSet; }
78 inline void SetImageRepositoryType(const ImageRepositoryType& value) { m_imageRepositoryTypeHasBeenSet = true; m_imageRepositoryType = value; }
79 inline void SetImageRepositoryType(ImageRepositoryType&& value) { m_imageRepositoryTypeHasBeenSet = true; m_imageRepositoryType = std::move(value); }
81 inline ImageRepository& WithImageRepositoryType(ImageRepositoryType&& value) { SetImageRepositoryType(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_imageIdentifier;
86 bool m_imageIdentifierHasBeenSet = false;
87
88 ImageConfiguration m_imageConfiguration;
89 bool m_imageConfigurationHasBeenSet = false;
90
91 ImageRepositoryType m_imageRepositoryType;
92 bool m_imageRepositoryTypeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace AppRunner
97} // namespace Aws
void SetImageConfiguration(ImageConfiguration &&value)
void SetImageIdentifier(const char *value)
ImageRepository & WithImageConfiguration(const ImageConfiguration &value)
ImageRepository & WithImageIdentifier(const Aws::String &value)
void SetImageRepositoryType(const ImageRepositoryType &value)
void SetImageConfiguration(const ImageConfiguration &value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
ImageRepository & WithImageRepositoryType(ImageRepositoryType &&value)
const ImageRepositoryType & GetImageRepositoryType() const
AWS_APPRUNNER_API ImageRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageRepository & WithImageIdentifier(Aws::String &&value)
void SetImageIdentifier(const Aws::String &value)
ImageRepository & WithImageIdentifier(const char *value)
void SetImageIdentifier(Aws::String &&value)
const ImageConfiguration & GetImageConfiguration() const
AWS_APPRUNNER_API ImageRepository(Aws::Utils::Json::JsonView jsonValue)
void SetImageRepositoryType(ImageRepositoryType &&value)
ImageRepository & WithImageRepositoryType(const ImageRepositoryType &value)
ImageRepository & WithImageConfiguration(ImageConfiguration &&value)
const Aws::String & GetImageIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue