AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TargetContainerRepository.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/ContainerRepositoryService.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API TargetContainerRepository() = default;
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline ContainerRepositoryService GetService() const { return m_service; }
47 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
48 inline void SetService(ContainerRepositoryService value) { m_serviceHasBeenSet = true; m_service = value; }
51
53
58 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
59 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
60 template<typename RepositoryNameT = Aws::String>
61 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
62 template<typename RepositoryNameT = Aws::String>
63 TargetContainerRepository& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
65 private:
66
68 bool m_serviceHasBeenSet = false;
69
70 Aws::String m_repositoryName;
71 bool m_repositoryNameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace imagebuilder
76} // namespace Aws
AWS_IMAGEBUILDER_API TargetContainerRepository()=default
TargetContainerRepository & WithService(ContainerRepositoryService value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
TargetContainerRepository & WithRepositoryName(RepositoryNameT &&value)
AWS_IMAGEBUILDER_API TargetContainerRepository(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API TargetContainerRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue