AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TargetContainerRepository.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/ContainerRepositoryService.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace imagebuilder {
21namespace Model {
22
30 public:
31 AWS_IMAGEBUILDER_API TargetContainerRepository() = default;
34 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ContainerRepositoryService GetService() const { return m_service; }
41 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
43 m_serviceHasBeenSet = true;
44 m_service = value;
45 }
47 SetService(value);
48 return *this;
49 }
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) {
62 m_repositoryNameHasBeenSet = true;
63 m_repositoryName = std::forward<RepositoryNameT>(value);
64 }
65 template <typename RepositoryNameT = Aws::String>
67 SetRepositoryName(std::forward<RepositoryNameT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_repositoryName;
75 bool m_serviceHasBeenSet = false;
76 bool m_repositoryNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace imagebuilder
81} // 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