AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DistributionConfigurationSummary.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 DistributionConfigurationSummary();
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 DistributionConfigurationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline DistributionConfigurationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline DistributionConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline DistributionConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline DistributionConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline DistributionConfigurationSummary& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline DistributionConfigurationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline DistributionConfigurationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline DistributionConfigurationSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
90 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
91 inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
92 inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
93 inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
94 inline DistributionConfigurationSummary& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;}
95 inline DistributionConfigurationSummary& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
96 inline DistributionConfigurationSummary& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
98
100
103 inline const Aws::String& GetDateUpdated() const{ return m_dateUpdated; }
104 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
105 inline void SetDateUpdated(const Aws::String& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; }
106 inline void SetDateUpdated(Aws::String&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); }
107 inline void SetDateUpdated(const char* value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated.assign(value); }
108 inline DistributionConfigurationSummary& WithDateUpdated(const Aws::String& value) { SetDateUpdated(value); return *this;}
109 inline DistributionConfigurationSummary& WithDateUpdated(Aws::String&& value) { SetDateUpdated(std::move(value)); return *this;}
110 inline DistributionConfigurationSummary& WithDateUpdated(const char* value) { SetDateUpdated(value); return *this;}
112
114
117 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
118 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
119 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
120 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
122 inline DistributionConfigurationSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
123 inline DistributionConfigurationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
124 inline DistributionConfigurationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
125 inline DistributionConfigurationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
126 inline DistributionConfigurationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
127 inline DistributionConfigurationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
128 inline DistributionConfigurationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
129 inline DistributionConfigurationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
131
133
136 inline const Aws::Vector<Aws::String>& GetRegions() const{ return m_regions; }
137 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
138 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regionsHasBeenSet = true; m_regions = value; }
139 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
141 inline DistributionConfigurationSummary& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
142 inline DistributionConfigurationSummary& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
143 inline DistributionConfigurationSummary& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
144 inline DistributionConfigurationSummary& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
146 private:
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 Aws::String m_dateCreated;
158 bool m_dateCreatedHasBeenSet = false;
159
160 Aws::String m_dateUpdated;
161 bool m_dateUpdatedHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165
166 Aws::Vector<Aws::String> m_regions;
167 bool m_regionsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace imagebuilder
172} // namespace Aws
DistributionConfigurationSummary & AddTags(const char *key, Aws::String &&value)
DistributionConfigurationSummary & AddTags(Aws::String &&key, Aws::String &&value)
DistributionConfigurationSummary & AddRegions(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DistributionConfigurationSummary & WithDescription(const char *value)
DistributionConfigurationSummary & AddRegions(const char *value)
DistributionConfigurationSummary & AddTags(const char *key, const char *value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
DistributionConfigurationSummary & WithName(const Aws::String &value)
DistributionConfigurationSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DistributionConfigurationSummary & WithArn(Aws::String &&value)
DistributionConfigurationSummary & WithRegions(const Aws::Vector< Aws::String > &value)
DistributionConfigurationSummary & AddTags(Aws::String &&key, const char *value)
DistributionConfigurationSummary & WithRegions(Aws::Vector< Aws::String > &&value)
DistributionConfigurationSummary & WithDateUpdated(const Aws::String &value)
DistributionConfigurationSummary & WithName(Aws::String &&value)
DistributionConfigurationSummary & WithDescription(Aws::String &&value)
DistributionConfigurationSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DistributionConfigurationSummary & AddTags(const Aws::String &key, const Aws::String &value)
AWS_IMAGEBUILDER_API DistributionConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
DistributionConfigurationSummary & AddTags(const Aws::String &key, Aws::String &&value)
DistributionConfigurationSummary & WithDateCreated(const char *value)
DistributionConfigurationSummary & WithArn(const char *value)
DistributionConfigurationSummary & WithDescription(const Aws::String &value)
AWS_IMAGEBUILDER_API DistributionConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DistributionConfigurationSummary & WithName(const char *value)
DistributionConfigurationSummary & WithArn(const Aws::String &value)
DistributionConfigurationSummary & WithDateUpdated(const char *value)
DistributionConfigurationSummary & WithDateCreated(const Aws::String &value)
DistributionConfigurationSummary & WithDateUpdated(Aws::String &&value)
DistributionConfigurationSummary & WithDateCreated(Aws::String &&value)
DistributionConfigurationSummary & AddTags(Aws::String &&key, const Aws::String &value)
DistributionConfigurationSummary & AddRegions(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue