AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcrConfiguration.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 <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
35 {
36 public:
37 AWS_IMAGEBUILDER_API EcrConfiguration();
38 AWS_IMAGEBUILDER_API EcrConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API EcrConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
53 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
54 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
55 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
56 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
57 inline EcrConfiguration& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
58 inline EcrConfiguration& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
59 inline EcrConfiguration& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
61
63
67 inline const Aws::Vector<Aws::String>& GetContainerTags() const{ return m_containerTags; }
68 inline bool ContainerTagsHasBeenSet() const { return m_containerTagsHasBeenSet; }
69 inline void SetContainerTags(const Aws::Vector<Aws::String>& value) { m_containerTagsHasBeenSet = true; m_containerTags = value; }
70 inline void SetContainerTags(Aws::Vector<Aws::String>&& value) { m_containerTagsHasBeenSet = true; m_containerTags = std::move(value); }
71 inline EcrConfiguration& WithContainerTags(const Aws::Vector<Aws::String>& value) { SetContainerTags(value); return *this;}
72 inline EcrConfiguration& WithContainerTags(Aws::Vector<Aws::String>&& value) { SetContainerTags(std::move(value)); return *this;}
73 inline EcrConfiguration& AddContainerTags(const Aws::String& value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(value); return *this; }
74 inline EcrConfiguration& AddContainerTags(Aws::String&& value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(std::move(value)); return *this; }
75 inline EcrConfiguration& AddContainerTags(const char* value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(value); return *this; }
77 private:
78
79 Aws::String m_repositoryName;
80 bool m_repositoryNameHasBeenSet = false;
81
82 Aws::Vector<Aws::String> m_containerTags;
83 bool m_containerTagsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace imagebuilder
88} // namespace Aws
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API EcrConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetContainerTags() const
EcrConfiguration & AddContainerTags(const Aws::String &value)
EcrConfiguration & WithContainerTags(Aws::Vector< Aws::String > &&value)
EcrConfiguration & WithContainerTags(const Aws::Vector< Aws::String > &value)
AWS_IMAGEBUILDER_API EcrConfiguration(Aws::Utils::Json::JsonView jsonValue)
EcrConfiguration & AddContainerTags(Aws::String &&value)
EcrConfiguration & WithRepositoryName(const Aws::String &value)
const Aws::String & GetRepositoryName() const
void SetContainerTags(Aws::Vector< Aws::String > &&value)
void SetContainerTags(const Aws::Vector< Aws::String > &value)
void SetRepositoryName(const Aws::String &value)
EcrConfiguration & WithRepositoryName(Aws::String &&value)
EcrConfiguration & WithRepositoryName(const char *value)
EcrConfiguration & 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