AWS SDK for C++

AWS SDK for C++ Version 1.11.902

Loading...
Searching...
No Matches
ContainerDistributionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10#include <aws/imagebuilder/model/TargetContainerRepository.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace imagebuilder {
22namespace Model {
23
32 public:
33 AWS_IMAGEBUILDER_API ContainerDistributionConfiguration() = default;
36 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetDescription() const { return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 template <typename DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) {
46 m_descriptionHasBeenSet = true;
47 m_description = std::forward<DescriptionT>(value);
48 }
49 template <typename DescriptionT = Aws::String>
51 SetDescription(std::forward<DescriptionT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Vector<Aws::String>& GetContainerTags() const { return m_containerTags; }
62 inline bool ContainerTagsHasBeenSet() const { return m_containerTagsHasBeenSet; }
63 template <typename ContainerTagsT = Aws::Vector<Aws::String>>
64 void SetContainerTags(ContainerTagsT&& value) {
65 m_containerTagsHasBeenSet = true;
66 m_containerTags = std::forward<ContainerTagsT>(value);
67 }
68 template <typename ContainerTagsT = Aws::Vector<Aws::String>>
70 SetContainerTags(std::forward<ContainerTagsT>(value));
71 return *this;
72 }
73 template <typename ContainerTagsT = Aws::String>
75 m_containerTagsHasBeenSet = true;
76 m_containerTags.emplace_back(std::forward<ContainerTagsT>(value));
77 return *this;
78 }
80
82
85 inline const TargetContainerRepository& GetTargetRepository() const { return m_targetRepository; }
86 inline bool TargetRepositoryHasBeenSet() const { return m_targetRepositoryHasBeenSet; }
87 template <typename TargetRepositoryT = TargetContainerRepository>
88 void SetTargetRepository(TargetRepositoryT&& value) {
89 m_targetRepositoryHasBeenSet = true;
90 m_targetRepository = std::forward<TargetRepositoryT>(value);
91 }
92 template <typename TargetRepositoryT = TargetContainerRepository>
94 SetTargetRepository(std::forward<TargetRepositoryT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_description;
100
101 Aws::Vector<Aws::String> m_containerTags;
102
103 TargetContainerRepository m_targetRepository;
104 bool m_descriptionHasBeenSet = false;
105 bool m_containerTagsHasBeenSet = false;
106 bool m_targetRepositoryHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace imagebuilder
111} // 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