AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSummary.h
1
6#pragma once
7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ServerlessApplicationRepository
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary();
36 AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
48 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
49 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
50 inline ApplicationSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
51 inline ApplicationSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
52 inline ApplicationSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
54
56
60 inline const Aws::String& GetAuthor() const{ return m_author; }
61 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
62 inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; }
63 inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); }
64 inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); }
65 inline ApplicationSummary& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;}
66 inline ApplicationSummary& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;}
67 inline ApplicationSummary& WithAuthor(const char* value) { SetAuthor(value); return *this;}
69
71
74 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
75 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
76 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
77 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
78 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
79 inline ApplicationSummary& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
80 inline ApplicationSummary& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
81 inline ApplicationSummary& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
83
85
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline ApplicationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline ApplicationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline ApplicationSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
104 inline const Aws::String& GetHomePageUrl() const{ return m_homePageUrl; }
105 inline bool HomePageUrlHasBeenSet() const { return m_homePageUrlHasBeenSet; }
106 inline void SetHomePageUrl(const Aws::String& value) { m_homePageUrlHasBeenSet = true; m_homePageUrl = value; }
107 inline void SetHomePageUrl(Aws::String&& value) { m_homePageUrlHasBeenSet = true; m_homePageUrl = std::move(value); }
108 inline void SetHomePageUrl(const char* value) { m_homePageUrlHasBeenSet = true; m_homePageUrl.assign(value); }
109 inline ApplicationSummary& WithHomePageUrl(const Aws::String& value) { SetHomePageUrl(value); return *this;}
110 inline ApplicationSummary& WithHomePageUrl(Aws::String&& value) { SetHomePageUrl(std::move(value)); return *this;}
111 inline ApplicationSummary& WithHomePageUrl(const char* value) { SetHomePageUrl(value); return *this;}
113
115
120 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
121 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
122 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
123 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
124 inline ApplicationSummary& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
125 inline ApplicationSummary& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
126 inline ApplicationSummary& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
127 inline ApplicationSummary& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
128 inline ApplicationSummary& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
130
132
136 inline const Aws::String& GetName() const{ return m_name; }
137 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
138 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
139 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
140 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
141 inline ApplicationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
142 inline ApplicationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
143 inline ApplicationSummary& WithName(const char* value) { SetName(value); return *this;}
145
147
151 inline const Aws::String& GetSpdxLicenseId() const{ return m_spdxLicenseId; }
152 inline bool SpdxLicenseIdHasBeenSet() const { return m_spdxLicenseIdHasBeenSet; }
153 inline void SetSpdxLicenseId(const Aws::String& value) { m_spdxLicenseIdHasBeenSet = true; m_spdxLicenseId = value; }
154 inline void SetSpdxLicenseId(Aws::String&& value) { m_spdxLicenseIdHasBeenSet = true; m_spdxLicenseId = std::move(value); }
155 inline void SetSpdxLicenseId(const char* value) { m_spdxLicenseIdHasBeenSet = true; m_spdxLicenseId.assign(value); }
156 inline ApplicationSummary& WithSpdxLicenseId(const Aws::String& value) { SetSpdxLicenseId(value); return *this;}
157 inline ApplicationSummary& WithSpdxLicenseId(Aws::String&& value) { SetSpdxLicenseId(std::move(value)); return *this;}
158 inline ApplicationSummary& WithSpdxLicenseId(const char* value) { SetSpdxLicenseId(value); return *this;}
160 private:
161
162 Aws::String m_applicationId;
163 bool m_applicationIdHasBeenSet = false;
164
165 Aws::String m_author;
166 bool m_authorHasBeenSet = false;
167
168 Aws::String m_creationTime;
169 bool m_creationTimeHasBeenSet = false;
170
171 Aws::String m_description;
172 bool m_descriptionHasBeenSet = false;
173
174 Aws::String m_homePageUrl;
175 bool m_homePageUrlHasBeenSet = false;
176
178 bool m_labelsHasBeenSet = false;
179
180 Aws::String m_name;
181 bool m_nameHasBeenSet = false;
182
183 Aws::String m_spdxLicenseId;
184 bool m_spdxLicenseIdHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace ServerlessApplicationRepository
189} // namespace Aws
ApplicationSummary & WithApplicationId(const Aws::String &value)
ApplicationSummary & WithSpdxLicenseId(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithLabels(const Aws::Vector< Aws::String > &value)
ApplicationSummary & WithName(const Aws::String &value)
ApplicationSummary & WithHomePageUrl(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLabels(const Aws::Vector< Aws::String > &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary()
ApplicationSummary & WithCreationTime(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithDescription(const Aws::String &value)
ApplicationSummary & WithApplicationId(Aws::String &&value)
ApplicationSummary & WithAuthor(const Aws::String &value)
ApplicationSummary & AddLabels(const Aws::String &value)
ApplicationSummary & WithLabels(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue