AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 Application& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template<typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
65 template<typename ArnT = Aws::String>
66 Application& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
68
70
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 Application& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 template<typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
90 template<typename DescriptionT = Aws::String>
91 Application& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
100 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
101 template<typename CreationTimeT = Aws::Utils::DateTime>
102 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
103 template<typename CreationTimeT = Aws::Utils::DateTime>
104 Application& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
106
108
112 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
113 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
114 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
115 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
116 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
117 Application& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
119
121
124 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
125 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
126 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
128 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 Application& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
130 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
131 Application& AddTags(TagsKeyT&& key, TagsValueT&& value) {
132 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
133 }
135
137
140 inline const Aws::Map<Aws::String, Aws::String>& GetApplicationTag() const { return m_applicationTag; }
141 inline bool ApplicationTagHasBeenSet() const { return m_applicationTagHasBeenSet; }
142 template<typename ApplicationTagT = Aws::Map<Aws::String, Aws::String>>
143 void SetApplicationTag(ApplicationTagT&& value) { m_applicationTagHasBeenSet = true; m_applicationTag = std::forward<ApplicationTagT>(value); }
144 template<typename ApplicationTagT = Aws::Map<Aws::String, Aws::String>>
145 Application& WithApplicationTag(ApplicationTagT&& value) { SetApplicationTag(std::forward<ApplicationTagT>(value)); return *this;}
146 template<typename ApplicationTagKeyT = Aws::String, typename ApplicationTagValueT = Aws::String>
147 Application& AddApplicationTag(ApplicationTagKeyT&& key, ApplicationTagValueT&& value) {
148 m_applicationTagHasBeenSet = true; m_applicationTag.emplace(std::forward<ApplicationTagKeyT>(key), std::forward<ApplicationTagValueT>(value)); return *this;
149 }
151 private:
152
153 Aws::String m_id;
154 bool m_idHasBeenSet = false;
155
156 Aws::String m_arn;
157 bool m_arnHasBeenSet = false;
158
159 Aws::String m_name;
160 bool m_nameHasBeenSet = false;
161
162 Aws::String m_description;
163 bool m_descriptionHasBeenSet = false;
164
165 Aws::Utils::DateTime m_creationTime{};
166 bool m_creationTimeHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastUpdateTime{};
169 bool m_lastUpdateTimeHasBeenSet = false;
170
172 bool m_tagsHasBeenSet = false;
173
174 Aws::Map<Aws::String, Aws::String> m_applicationTag;
175 bool m_applicationTagHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace AppRegistry
180} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetArn() const
Definition Application.h:61
Application & WithLastUpdateTime(LastUpdateTimeT &&value)
Application & WithDescription(DescriptionT &&value)
Definition Application.h:91
const Aws::String & GetName() const
Definition Application.h:74
AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
Application & WithId(IdT &&value)
Definition Application.h:53
Application & WithApplicationTag(ApplicationTagT &&value)
Application & WithTags(TagsT &&value)
AWS_APPREGISTRY_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
Definition Application.h:86
Application & WithName(NameT &&value)
Definition Application.h:79
const Aws::Map< Aws::String, Aws::String > & GetApplicationTag() const
Application & AddApplicationTag(ApplicationTagKeyT &&key, ApplicationTagValueT &&value)
void SetApplicationTag(ApplicationTagT &&value)
void SetCreationTime(CreationTimeT &&value)
Application & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetId() const
Definition Application.h:48
Application & WithArn(ArnT &&value)
Definition Application.h:66
void SetDescription(DescriptionT &&value)
Definition Application.h:89
AWS_APPREGISTRY_API Application(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
Definition Application.h:99
void SetLastUpdateTime(LastUpdateTimeT &&value)
Application & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APPREGISTRY_API Application()=default
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