AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContainerDistributionConfiguration.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/model/TargetContainerRepository.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 imagebuilder
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IMAGEBUILDER_API ContainerDistributionConfiguration() = default;
40 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDescription() const { return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 template<typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
51 template<typename DescriptionT = Aws::String>
52 ContainerDistributionConfiguration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetContainerTags() const { return m_containerTags; }
60 inline bool ContainerTagsHasBeenSet() const { return m_containerTagsHasBeenSet; }
61 template<typename ContainerTagsT = Aws::Vector<Aws::String>>
62 void SetContainerTags(ContainerTagsT&& value) { m_containerTagsHasBeenSet = true; m_containerTags = std::forward<ContainerTagsT>(value); }
63 template<typename ContainerTagsT = Aws::Vector<Aws::String>>
64 ContainerDistributionConfiguration& WithContainerTags(ContainerTagsT&& value) { SetContainerTags(std::forward<ContainerTagsT>(value)); return *this;}
65 template<typename ContainerTagsT = Aws::String>
66 ContainerDistributionConfiguration& AddContainerTags(ContainerTagsT&& value) { m_containerTagsHasBeenSet = true; m_containerTags.emplace_back(std::forward<ContainerTagsT>(value)); return *this; }
68
70
73 inline const TargetContainerRepository& GetTargetRepository() const { return m_targetRepository; }
74 inline bool TargetRepositoryHasBeenSet() const { return m_targetRepositoryHasBeenSet; }
75 template<typename TargetRepositoryT = TargetContainerRepository>
76 void SetTargetRepository(TargetRepositoryT&& value) { m_targetRepositoryHasBeenSet = true; m_targetRepository = std::forward<TargetRepositoryT>(value); }
77 template<typename TargetRepositoryT = TargetContainerRepository>
78 ContainerDistributionConfiguration& WithTargetRepository(TargetRepositoryT&& value) { SetTargetRepository(std::forward<TargetRepositoryT>(value)); return *this;}
80 private:
81
82 Aws::String m_description;
83 bool m_descriptionHasBeenSet = false;
84
85 Aws::Vector<Aws::String> m_containerTags;
86 bool m_containerTagsHasBeenSet = false;
87
88 TargetContainerRepository m_targetRepository;
89 bool m_targetRepositoryHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace imagebuilder
94} // namespace Aws
ContainerDistributionConfiguration & WithTargetRepository(TargetRepositoryT &&value)
ContainerDistributionConfiguration & WithContainerTags(ContainerTagsT &&value)
ContainerDistributionConfiguration & WithDescription(DescriptionT &&value)
ContainerDistributionConfiguration & AddContainerTags(ContainerTagsT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API ContainerDistributionConfiguration()=default
AWS_IMAGEBUILDER_API ContainerDistributionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API ContainerDistributionConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue