AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
31 public:
32 AWS_IMAGEBUILDER_API ContainerDistributionConfiguration() = default;
35 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDescription() const { return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 template <typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) {
45 m_descriptionHasBeenSet = true;
46 m_description = std::forward<DescriptionT>(value);
47 }
48 template <typename DescriptionT = Aws::String>
50 SetDescription(std::forward<DescriptionT>(value));
51 return *this;
52 }
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) {
63 m_containerTagsHasBeenSet = true;
64 m_containerTags = std::forward<ContainerTagsT>(value);
65 }
66 template <typename ContainerTagsT = Aws::Vector<Aws::String>>
68 SetContainerTags(std::forward<ContainerTagsT>(value));
69 return *this;
70 }
71 template <typename ContainerTagsT = Aws::String>
73 m_containerTagsHasBeenSet = true;
74 m_containerTags.emplace_back(std::forward<ContainerTagsT>(value));
75 return *this;
76 }
78
80
83 inline const TargetContainerRepository& GetTargetRepository() const { return m_targetRepository; }
84 inline bool TargetRepositoryHasBeenSet() const { return m_targetRepositoryHasBeenSet; }
85 template <typename TargetRepositoryT = TargetContainerRepository>
86 void SetTargetRepository(TargetRepositoryT&& value) {
87 m_targetRepositoryHasBeenSet = true;
88 m_targetRepository = std::forward<TargetRepositoryT>(value);
89 }
90 template <typename TargetRepositoryT = TargetContainerRepository>
92 SetTargetRepository(std::forward<TargetRepositoryT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_description;
98
99 Aws::Vector<Aws::String> m_containerTags;
100
101 TargetContainerRepository m_targetRepository;
102 bool m_descriptionHasBeenSet = false;
103 bool m_containerTagsHasBeenSet = false;
104 bool m_targetRepositoryHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace imagebuilder
109} // 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