AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Application.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 Application();
39 AWS_APPREGISTRY_API Application(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPREGISTRY_API Application& 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 Application& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline Application& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline Application& 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 Application& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline Application& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline Application& WithArn(const char* value) { SetArn(value); return *this;}
72
74
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline Application& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const Aws::String& GetDescription() const{ return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
97 inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
99 inline Application& WithDescription(const char* value) { SetDescription(value); return *this;}
101
103
107 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
108 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
109 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
110 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
111 inline Application& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
112 inline Application& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
114
116
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 Application& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
125 inline Application& 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 Application& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
137 inline Application& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
138 inline Application& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
139 inline Application& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline Application& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
141 inline Application& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
142 inline Application& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
143 inline Application& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
144 inline Application& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146
148
151 inline const Aws::Map<Aws::String, Aws::String>& GetApplicationTag() const{ return m_applicationTag; }
152 inline bool ApplicationTagHasBeenSet() const { return m_applicationTagHasBeenSet; }
153 inline void SetApplicationTag(const Aws::Map<Aws::String, Aws::String>& value) { m_applicationTagHasBeenSet = true; m_applicationTag = value; }
154 inline void SetApplicationTag(Aws::Map<Aws::String, Aws::String>&& value) { m_applicationTagHasBeenSet = true; m_applicationTag = std::move(value); }
156 inline Application& WithApplicationTag(Aws::Map<Aws::String, Aws::String>&& value) { SetApplicationTag(std::move(value)); return *this;}
157 inline Application& AddApplicationTag(const Aws::String& key, const Aws::String& value) { m_applicationTagHasBeenSet = true; m_applicationTag.emplace(key, value); return *this; }
158 inline Application& AddApplicationTag(Aws::String&& key, const Aws::String& value) { m_applicationTagHasBeenSet = true; m_applicationTag.emplace(std::move(key), value); return *this; }
159 inline Application& AddApplicationTag(const Aws::String& key, Aws::String&& value) { m_applicationTagHasBeenSet = true; m_applicationTag.emplace(key, std::move(value)); return *this; }
160 inline Application& AddApplicationTag(Aws::String&& key, Aws::String&& value) { m_applicationTagHasBeenSet = true; m_applicationTag.emplace(std::move(key), std::move(value)); return *this; }
161 inline Application& AddApplicationTag(const char* key, Aws::String&& value) { m_applicationTagHasBeenSet = true; m_applicationTag.emplace(key, std::move(value)); return *this; }
162 inline Application& AddApplicationTag(Aws::String&& key, const char* value) { m_applicationTagHasBeenSet = true; m_applicationTag.emplace(std::move(key), value); return *this; }
163 inline Application& AddApplicationTag(const char* key, const char* value) { m_applicationTagHasBeenSet = true; m_applicationTag.emplace(key, value); return *this; }
165 private:
166
167 Aws::String m_id;
168 bool m_idHasBeenSet = false;
169
170 Aws::String m_arn;
171 bool m_arnHasBeenSet = false;
172
173 Aws::String m_name;
174 bool m_nameHasBeenSet = false;
175
176 Aws::String m_description;
177 bool m_descriptionHasBeenSet = false;
178
179 Aws::Utils::DateTime m_creationTime;
180 bool m_creationTimeHasBeenSet = false;
181
182 Aws::Utils::DateTime m_lastUpdateTime;
183 bool m_lastUpdateTimeHasBeenSet = false;
184
186 bool m_tagsHasBeenSet = false;
187
188 Aws::Map<Aws::String, Aws::String> m_applicationTag;
189 bool m_applicationTagHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace AppRegistry
194} // namespace Aws
AWS_APPREGISTRY_API Application()
void SetArn(const Aws::String &value)
Definition Application.h:65
Application & AddApplicationTag(Aws::String &&key, Aws::String &&value)
Application & AddApplicationTag(Aws::String &&key, const Aws::String &value)
Application & AddApplicationTag(Aws::String &&key, const char *value)
Application & AddApplicationTag(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Application & WithArn(Aws::String &&value)
Definition Application.h:69
void SetName(Aws::String &&value)
Definition Application.h:81
void SetId(const Aws::String &value)
Definition Application.h:50
Application & AddTags(const Aws::String &key, const Aws::String &value)
void SetDescription(const char *value)
Definition Application.h:96
Application & WithDescription(const char *value)
Definition Application.h:99
void SetName(const char *value)
Definition Application.h:82
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetArn() const
Definition Application.h:63
Application & WithId(Aws::String &&value)
Definition Application.h:54
void SetId(Aws::String &&value)
Definition Application.h:51
Application & AddTags(Aws::String &&key, const Aws::String &value)
Application & AddTags(const char *key, Aws::String &&value)
Application & WithArn(const Aws::String &value)
Definition Application.h:68
const Aws::String & GetName() const
Definition Application.h:78
AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
Application & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Application & WithName(const Aws::String &value)
Definition Application.h:83
Application & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Application & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Application & AddTags(const Aws::String &key, Aws::String &&value)
Application & WithName(Aws::String &&value)
Definition Application.h:84
Application & WithId(const char *value)
Definition Application.h:55
AWS_APPREGISTRY_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
Application & AddTags(const char *key, const char *value)
const Aws::String & GetDescription() const
Definition Application.h:92
void SetArn(const char *value)
Definition Application.h:67
Application & WithArn(const char *value)
Definition Application.h:70
const Aws::Map< Aws::String, Aws::String > & GetApplicationTag() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
Application & WithDescription(const Aws::String &value)
Definition Application.h:97
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
Definition Application.h:80
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Application & WithApplicationTag(const Aws::Map< Aws::String, Aws::String > &value)
Application & AddApplicationTag(const Aws::String &key, Aws::String &&value)
void SetId(const char *value)
Definition Application.h:52
const Aws::String & GetId() const
Definition Application.h:48
void SetDescription(Aws::String &&value)
Definition Application.h:95
Application & WithName(const char *value)
Definition Application.h:85
Application & WithApplicationTag(Aws::Map< Aws::String, Aws::String > &&value)
Application & AddTags(Aws::String &&key, const char *value)
void SetArn(Aws::String &&value)
Definition Application.h:66
void SetApplicationTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const Aws::String &value)
Definition Application.h:94
Application & AddApplicationTag(const char *key, const char *value)
Application & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_APPREGISTRY_API Application(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
void SetApplicationTag(Aws::Map< Aws::String, Aws::String > &&value)
Application & WithId(const Aws::String &value)
Definition Application.h:53
void SetCreationTime(const Aws::Utils::DateTime &value)
Application & WithLastUpdateTime(Aws::Utils::DateTime &&value)
Application & AddTags(Aws::String &&key, Aws::String &&value)
Application & WithDescription(Aws::String &&value)
Definition Application.h:98
Application & AddApplicationTag(const char *key, Aws::String &&value)
Application & WithCreationTime(const 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