AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ContainerRepositoryService& GetService() const{ return m_service; }
47 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
48 inline void SetService(const ContainerRepositoryService& value) { m_serviceHasBeenSet = true; m_service = value; }
49 inline void SetService(ContainerRepositoryService&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
50 inline TargetContainerRepository& WithService(const ContainerRepositoryService& value) { SetService(value); return *this;}
51 inline TargetContainerRepository& WithService(ContainerRepositoryService&& value) { SetService(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
60 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
61 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
62 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
63 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
64 inline TargetContainerRepository& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
65 inline TargetContainerRepository& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
66 inline TargetContainerRepository& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
68 private:
69
71 bool m_serviceHasBeenSet = false;
72
73 Aws::String m_repositoryName;
74 bool m_repositoryNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace imagebuilder
79} // namespace Aws
void SetService(ContainerRepositoryService &&value)
TargetContainerRepository & WithService(const ContainerRepositoryService &value)
void SetService(const ContainerRepositoryService &value)
const ContainerRepositoryService & GetService() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
TargetContainerRepository & WithRepositoryName(const Aws::String &value)
AWS_IMAGEBUILDER_API TargetContainerRepository(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API TargetContainerRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetContainerRepository & WithRepositoryName(const char *value)
TargetContainerRepository & WithService(ContainerRepositoryService &&value)
TargetContainerRepository & WithRepositoryName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue