AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainerRecipeSummary.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ContainerType.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace imagebuilder
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IMAGEBUILDER_API ContainerRecipeSummary();
38 AWS_IMAGEBUILDER_API ContainerRecipeSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ContainerRecipeSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ContainerRecipeSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ContainerRecipeSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const ContainerType& GetContainerType() const{ return m_containerType; }
62 inline bool ContainerTypeHasBeenSet() const { return m_containerTypeHasBeenSet; }
63 inline void SetContainerType(const ContainerType& value) { m_containerTypeHasBeenSet = true; m_containerType = value; }
64 inline void SetContainerType(ContainerType&& value) { m_containerTypeHasBeenSet = true; m_containerType = std::move(value); }
65 inline ContainerRecipeSummary& WithContainerType(const ContainerType& value) { SetContainerType(value); return *this;}
66 inline ContainerRecipeSummary& WithContainerType(ContainerType&& value) { SetContainerType(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline ContainerRecipeSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline ContainerRecipeSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline ContainerRecipeSummary& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const Platform& GetPlatform() const{ return m_platform; }
88 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
89 inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
90 inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
91 inline ContainerRecipeSummary& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
92 inline ContainerRecipeSummary& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetOwner() const{ return m_owner; }
100 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
101 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
102 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
103 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
104 inline ContainerRecipeSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
105 inline ContainerRecipeSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
106 inline ContainerRecipeSummary& WithOwner(const char* value) { SetOwner(value); return *this;}
108
110
113 inline const Aws::String& GetParentImage() const{ return m_parentImage; }
114 inline bool ParentImageHasBeenSet() const { return m_parentImageHasBeenSet; }
115 inline void SetParentImage(const Aws::String& value) { m_parentImageHasBeenSet = true; m_parentImage = value; }
116 inline void SetParentImage(Aws::String&& value) { m_parentImageHasBeenSet = true; m_parentImage = std::move(value); }
117 inline void SetParentImage(const char* value) { m_parentImageHasBeenSet = true; m_parentImage.assign(value); }
118 inline ContainerRecipeSummary& WithParentImage(const Aws::String& value) { SetParentImage(value); return *this;}
119 inline ContainerRecipeSummary& WithParentImage(Aws::String&& value) { SetParentImage(std::move(value)); return *this;}
120 inline ContainerRecipeSummary& WithParentImage(const char* value) { SetParentImage(value); return *this;}
122
124
127 inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
128 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
129 inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
130 inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
131 inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
132 inline ContainerRecipeSummary& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;}
133 inline ContainerRecipeSummary& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
134 inline ContainerRecipeSummary& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
136
138
141 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
142 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
143 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
144 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
145 inline ContainerRecipeSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
146 inline ContainerRecipeSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
147 inline ContainerRecipeSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
148 inline ContainerRecipeSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
149 inline ContainerRecipeSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline ContainerRecipeSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
151 inline ContainerRecipeSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
152 inline ContainerRecipeSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
153 inline ContainerRecipeSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
155 private:
156
157 Aws::String m_arn;
158 bool m_arnHasBeenSet = false;
159
160 ContainerType m_containerType;
161 bool m_containerTypeHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
166 Platform m_platform;
167 bool m_platformHasBeenSet = false;
168
169 Aws::String m_owner;
170 bool m_ownerHasBeenSet = false;
171
172 Aws::String m_parentImage;
173 bool m_parentImageHasBeenSet = false;
174
175 Aws::String m_dateCreated;
176 bool m_dateCreatedHasBeenSet = false;
177
179 bool m_tagsHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace imagebuilder
184} // namespace Aws
ContainerRecipeSummary & WithOwner(const Aws::String &value)
ContainerRecipeSummary & AddTags(const Aws::String &key, Aws::String &&value)
AWS_IMAGEBUILDER_API ContainerRecipeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerRecipeSummary & WithParentImage(const char *value)
AWS_IMAGEBUILDER_API ContainerRecipeSummary(Aws::Utils::Json::JsonView jsonValue)
ContainerRecipeSummary & AddTags(const char *key, const char *value)
ContainerRecipeSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ContainerRecipeSummary & WithName(Aws::String &&value)
ContainerRecipeSummary & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerRecipeSummary & WithPlatform(Platform &&value)
ContainerRecipeSummary & WithParentImage(Aws::String &&value)
ContainerRecipeSummary & WithName(const char *value)
ContainerRecipeSummary & AddTags(Aws::String &&key, const char *value)
ContainerRecipeSummary & AddTags(Aws::String &&key, const Aws::String &value)
ContainerRecipeSummary & WithArn(const Aws::String &value)
ContainerRecipeSummary & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ContainerRecipeSummary & AddTags(const Aws::String &key, const Aws::String &value)
ContainerRecipeSummary & WithOwner(Aws::String &&value)
ContainerRecipeSummary & WithArn(const char *value)
ContainerRecipeSummary & WithParentImage(const Aws::String &value)
ContainerRecipeSummary & WithName(const Aws::String &value)
ContainerRecipeSummary & WithContainerType(const ContainerType &value)
ContainerRecipeSummary & WithDateCreated(const char *value)
ContainerRecipeSummary & WithOwner(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ContainerRecipeSummary & WithDateCreated(const Aws::String &value)
ContainerRecipeSummary & WithDateCreated(Aws::String &&value)
ContainerRecipeSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ContainerRecipeSummary & WithPlatform(const Platform &value)
ContainerRecipeSummary & WithArn(Aws::String &&value)
ContainerRecipeSummary & WithContainerType(ContainerType &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue