AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttributeGroup.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 AppRegistry
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_APPREGISTRY_API AttributeGroup();
39 AWS_APPREGISTRY_API AttributeGroup(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPREGISTRY_API AttributeGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline AttributeGroup& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline AttributeGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline AttributeGroup& WithId(const char* value) { SetId(value); return *this;}
57
59
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 inline AttributeGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline AttributeGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline AttributeGroup& WithArn(const char* value) { SetArn(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline AttributeGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline AttributeGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline AttributeGroup& WithName(const char* value) { SetName(value); return *this;}
86
88
91 inline const Aws::String& GetDescription() const{ return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
94 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
95 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
96 inline AttributeGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
97 inline AttributeGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
98 inline AttributeGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
100
102
106 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
107 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
108 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
109 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
110 inline AttributeGroup& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
111 inline AttributeGroup& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
113
115
120 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
121 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
122 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
123 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
124 inline AttributeGroup& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
125 inline AttributeGroup& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
127
129
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
133 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
134 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
135 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
136 inline AttributeGroup& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
137 inline AttributeGroup& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
138 inline AttributeGroup& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
139 inline AttributeGroup& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline AttributeGroup& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
141 inline AttributeGroup& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
142 inline AttributeGroup& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
143 inline AttributeGroup& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
144 inline AttributeGroup& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 private:
147
148 Aws::String m_id;
149 bool m_idHasBeenSet = false;
150
151 Aws::String m_arn;
152 bool m_arnHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::Utils::DateTime m_creationTime;
161 bool m_creationTimeHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdateTime;
164 bool m_lastUpdateTimeHasBeenSet = false;
165
167 bool m_tagsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace AppRegistry
172} // namespace Aws
const Aws::String & GetDescription() const
AttributeGroup & AddTags(const char *key, const char *value)
AttributeGroup & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
AttributeGroup & WithId(const Aws::String &value)
AttributeGroup & AddTags(Aws::String &&key, const char *value)
void SetDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
AttributeGroup & WithDescription(const Aws::String &value)
AttributeGroup & WithDescription(Aws::String &&value)
AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
AttributeGroup & WithLastUpdateTime(const Aws::Utils::DateTime &value)
AttributeGroup & WithName(Aws::String &&value)
AttributeGroup & WithArn(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AttributeGroup & AddTags(Aws::String &&key, const Aws::String &value)
AWS_APPREGISTRY_API AttributeGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AttributeGroup & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetName() const
void SetArn(const Aws::String &value)
const Aws::String & GetArn() const
AttributeGroup & WithName(const Aws::String &value)
void SetDescription(const Aws::String &value)
AttributeGroup & WithDescription(const char *value)
AttributeGroup & AddTags(Aws::String &&key, Aws::String &&value)
AttributeGroup & AddTags(const Aws::String &key, Aws::String &&value)
AttributeGroup & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AttributeGroup & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
AttributeGroup & WithName(const char *value)
AttributeGroup & WithCreationTime(Aws::Utils::DateTime &&value)
AttributeGroup & WithArn(const char *value)
void SetName(const Aws::String &value)
AttributeGroup & AddTags(const char *key, Aws::String &&value)
AttributeGroup & WithId(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetId(const Aws::String &value)
AttributeGroup & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_APPREGISTRY_API AttributeGroup(Aws::Utils::Json::JsonView jsonValue)
AttributeGroup & WithId(Aws::String &&value)
AttributeGroup & WithLastUpdateTime(Aws::Utils::DateTime &&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