AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
53 inline ContainerDistributionConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline ContainerDistributionConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetContainerTags() const{ return m_containerTags; }
62 inline bool ContainerTagsHasBeenSet() const { return m_containerTagsHasBeenSet; }
63 inline void SetContainerTags(const Aws::Vector<Aws::String>& value) { m_containerTagsHasBeenSet = true; m_containerTags = value; }
64 inline void SetContainerTags(Aws::Vector<Aws::String>&& value) { m_containerTagsHasBeenSet = true; m_containerTags = std::move(value); }
67 inline ContainerDistributionConfiguration& AddContainerTags(const Aws::String& value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(value); return *this; }
68 inline ContainerDistributionConfiguration& AddContainerTags(Aws::String&& value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(std::move(value)); return *this; }
69 inline ContainerDistributionConfiguration& AddContainerTags(const char* value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(value); return *this; }
71
73
76 inline const TargetContainerRepository& GetTargetRepository() const{ return m_targetRepository; }
77 inline bool TargetRepositoryHasBeenSet() const { return m_targetRepositoryHasBeenSet; }
78 inline void SetTargetRepository(const TargetContainerRepository& value) { m_targetRepositoryHasBeenSet = true; m_targetRepository = value; }
79 inline void SetTargetRepository(TargetContainerRepository&& value) { m_targetRepositoryHasBeenSet = true; m_targetRepository = std::move(value); }
83 private:
84
85 Aws::String m_description;
86 bool m_descriptionHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_containerTags;
89 bool m_containerTagsHasBeenSet = false;
90
91 TargetContainerRepository m_targetRepository;
92 bool m_targetRepositoryHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace imagebuilder
97} // namespace Aws
ContainerDistributionConfiguration & WithDescription(Aws::String &&value)
ContainerDistributionConfiguration & AddContainerTags(const Aws::String &value)
ContainerDistributionConfiguration & WithTargetRepository(TargetContainerRepository &&value)
ContainerDistributionConfiguration & WithDescription(const Aws::String &value)
ContainerDistributionConfiguration & WithContainerTags(Aws::Vector< Aws::String > &&value)
ContainerDistributionConfiguration & WithTargetRepository(const TargetContainerRepository &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerDistributionConfiguration & WithContainerTags(const Aws::Vector< Aws::String > &value)
ContainerDistributionConfiguration & WithDescription(const char *value)
AWS_IMAGEBUILDER_API ContainerDistributionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API ContainerDistributionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ContainerDistributionConfiguration & AddContainerTags(Aws::String &&value)
ContainerDistributionConfiguration & AddContainerTags(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue