AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageRecipeSummary.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/Platform.h>
10#include <aws/core/utils/memory/stl/AWSMap.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
34 {
35 public:
36 AWS_IMAGEBUILDER_API ImageRecipeSummary();
37 AWS_IMAGEBUILDER_API ImageRecipeSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline ImageRecipeSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline ImageRecipeSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline ImageRecipeSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline ImageRecipeSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline ImageRecipeSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline ImageRecipeSummary& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Platform& GetPlatform() const{ return m_platform; }
75 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
76 inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
77 inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
78 inline ImageRecipeSummary& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
79 inline ImageRecipeSummary& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetOwner() const{ return m_owner; }
87 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
88 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
89 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
90 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
91 inline ImageRecipeSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
92 inline ImageRecipeSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
93 inline ImageRecipeSummary& WithOwner(const char* value) { SetOwner(value); return *this;}
95
97
100 inline const Aws::String& GetParentImage() const{ return m_parentImage; }
101 inline bool ParentImageHasBeenSet() const { return m_parentImageHasBeenSet; }
102 inline void SetParentImage(const Aws::String& value) { m_parentImageHasBeenSet = true; m_parentImage = value; }
103 inline void SetParentImage(Aws::String&& value) { m_parentImageHasBeenSet = true; m_parentImage = std::move(value); }
104 inline void SetParentImage(const char* value) { m_parentImageHasBeenSet = true; m_parentImage.assign(value); }
105 inline ImageRecipeSummary& WithParentImage(const Aws::String& value) { SetParentImage(value); return *this;}
106 inline ImageRecipeSummary& WithParentImage(Aws::String&& value) { SetParentImage(std::move(value)); return *this;}
107 inline ImageRecipeSummary& WithParentImage(const char* value) { SetParentImage(value); return *this;}
109
111
114 inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
115 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
116 inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
117 inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
118 inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
119 inline ImageRecipeSummary& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;}
120 inline ImageRecipeSummary& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
121 inline ImageRecipeSummary& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
123
125
128 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
129 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
131 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
132 inline ImageRecipeSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
133 inline ImageRecipeSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
134 inline ImageRecipeSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
135 inline ImageRecipeSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
136 inline ImageRecipeSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
137 inline ImageRecipeSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
138 inline ImageRecipeSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
139 inline ImageRecipeSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline ImageRecipeSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
142 private:
143
144 Aws::String m_arn;
145 bool m_arnHasBeenSet = false;
146
147 Aws::String m_name;
148 bool m_nameHasBeenSet = false;
149
150 Platform m_platform;
151 bool m_platformHasBeenSet = false;
152
153 Aws::String m_owner;
154 bool m_ownerHasBeenSet = false;
155
156 Aws::String m_parentImage;
157 bool m_parentImageHasBeenSet = false;
158
159 Aws::String m_dateCreated;
160 bool m_dateCreatedHasBeenSet = false;
161
163 bool m_tagsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace imagebuilder
168} // namespace Aws
ImageRecipeSummary & AddTags(const char *key, Aws::String &&value)
AWS_IMAGEBUILDER_API ImageRecipeSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ImageRecipeSummary & WithArn(const Aws::String &value)
ImageRecipeSummary & AddTags(const Aws::String &key, const Aws::String &value)
ImageRecipeSummary & WithParentImage(const char *value)
ImageRecipeSummary & WithDateCreated(Aws::String &&value)
ImageRecipeSummary & WithName(const Aws::String &value)
ImageRecipeSummary & WithName(const char *value)
ImageRecipeSummary & WithArn(Aws::String &&value)
ImageRecipeSummary & WithParentImage(const Aws::String &value)
ImageRecipeSummary & AddTags(const char *key, const char *value)
ImageRecipeSummary & AddTags(Aws::String &&key, const char *value)
ImageRecipeSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API ImageRecipeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageRecipeSummary & WithOwner(Aws::String &&value)
ImageRecipeSummary & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ImageRecipeSummary & WithPlatform(Platform &&value)
ImageRecipeSummary & WithName(Aws::String &&value)
ImageRecipeSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ImageRecipeSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetDateCreated(const Aws::String &value)
ImageRecipeSummary & WithDateCreated(const char *value)
ImageRecipeSummary & WithArn(const char *value)
void SetParentImage(const Aws::String &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ImageRecipeSummary & WithDateCreated(const Aws::String &value)
ImageRecipeSummary & WithOwner(const Aws::String &value)
ImageRecipeSummary & WithPlatform(const Platform &value)
ImageRecipeSummary & WithParentImage(Aws::String &&value)
ImageRecipeSummary & WithOwner(const char *value)
ImageRecipeSummary & AddTags(Aws::String &&key, const Aws::String &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