AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationIdT = Aws::String>
48 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
49 template<typename ApplicationIdT = Aws::String>
50 ApplicationSummary& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
52
54
58 inline const Aws::String& GetAuthor() const { return m_author; }
59 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
60 template<typename AuthorT = Aws::String>
61 void SetAuthor(AuthorT&& value) { m_authorHasBeenSet = true; m_author = std::forward<AuthorT>(value); }
62 template<typename AuthorT = Aws::String>
63 ApplicationSummary& WithAuthor(AuthorT&& value) { SetAuthor(std::forward<AuthorT>(value)); return *this;}
65
67
70 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
71 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
72 template<typename CreationTimeT = Aws::String>
73 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
74 template<typename CreationTimeT = Aws::String>
75 ApplicationSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
77
79
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 ApplicationSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
96 inline const Aws::String& GetHomePageUrl() const { return m_homePageUrl; }
97 inline bool HomePageUrlHasBeenSet() const { return m_homePageUrlHasBeenSet; }
98 template<typename HomePageUrlT = Aws::String>
99 void SetHomePageUrl(HomePageUrlT&& value) { m_homePageUrlHasBeenSet = true; m_homePageUrl = std::forward<HomePageUrlT>(value); }
100 template<typename HomePageUrlT = Aws::String>
101 ApplicationSummary& WithHomePageUrl(HomePageUrlT&& value) { SetHomePageUrl(std::forward<HomePageUrlT>(value)); return *this;}
103
105
110 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
111 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
112 template<typename LabelsT = Aws::Vector<Aws::String>>
113 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels = std::forward<LabelsT>(value); }
114 template<typename LabelsT = Aws::Vector<Aws::String>>
115 ApplicationSummary& WithLabels(LabelsT&& value) { SetLabels(std::forward<LabelsT>(value)); return *this;}
116 template<typename LabelsT = Aws::String>
117 ApplicationSummary& AddLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels.emplace_back(std::forward<LabelsT>(value)); return *this; }
119
121
125 inline const Aws::String& GetName() const { return m_name; }
126 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
127 template<typename NameT = Aws::String>
128 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
129 template<typename NameT = Aws::String>
130 ApplicationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
132
134
138 inline const Aws::String& GetSpdxLicenseId() const { return m_spdxLicenseId; }
139 inline bool SpdxLicenseIdHasBeenSet() const { return m_spdxLicenseIdHasBeenSet; }
140 template<typename SpdxLicenseIdT = Aws::String>
141 void SetSpdxLicenseId(SpdxLicenseIdT&& value) { m_spdxLicenseIdHasBeenSet = true; m_spdxLicenseId = std::forward<SpdxLicenseIdT>(value); }
142 template<typename SpdxLicenseIdT = Aws::String>
143 ApplicationSummary& WithSpdxLicenseId(SpdxLicenseIdT&& value) { SetSpdxLicenseId(std::forward<SpdxLicenseIdT>(value)); return *this;}
145 private:
146
147 Aws::String m_applicationId;
148 bool m_applicationIdHasBeenSet = false;
149
150 Aws::String m_author;
151 bool m_authorHasBeenSet = false;
152
153 Aws::String m_creationTime;
154 bool m_creationTimeHasBeenSet = false;
155
156 Aws::String m_description;
157 bool m_descriptionHasBeenSet = false;
158
159 Aws::String m_homePageUrl;
160 bool m_homePageUrlHasBeenSet = false;
161
163 bool m_labelsHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_spdxLicenseId;
169 bool m_spdxLicenseIdHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace ServerlessApplicationRepository
174} // namespace Aws
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary()=default
ApplicationSummary & WithSpdxLicenseId(SpdxLicenseIdT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithCreationTime(CreationTimeT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithApplicationId(ApplicationIdT &&value)
ApplicationSummary & WithDescription(DescriptionT &&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