AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
ApplicationSummary.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/model/ApplicationType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppIntegrationsService {
22namespace Model {
23
30 public:
31 AWS_APPINTEGRATIONSSERVICE_API ApplicationSummary() = default;
32 AWS_APPINTEGRATIONSSERVICE_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPINTEGRATIONSSERVICE_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 ApplicationSummary& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
66 ApplicationSummary& WithId(IdT&& value) {
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
84 ApplicationSummary& WithName(NameT&& value) {
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetNamespace() const { return m_namespace; }
95 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
96 template <typename NamespaceT = Aws::String>
97 void SetNamespace(NamespaceT&& value) {
98 m_namespaceHasBeenSet = true;
99 m_namespace = std::forward<NamespaceT>(value);
100 }
101 template <typename NamespaceT = Aws::String>
102 ApplicationSummary& WithNamespace(NamespaceT&& value) {
103 SetNamespace(std::forward<NamespaceT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
113 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
114 template <typename CreatedTimeT = Aws::Utils::DateTime>
115 void SetCreatedTime(CreatedTimeT&& value) {
116 m_createdTimeHasBeenSet = true;
117 m_createdTime = std::forward<CreatedTimeT>(value);
118 }
119 template <typename CreatedTimeT = Aws::Utils::DateTime>
120 ApplicationSummary& WithCreatedTime(CreatedTimeT&& value) {
121 SetCreatedTime(std::forward<CreatedTimeT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
131 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
132 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
133 void SetLastModifiedTime(LastModifiedTimeT&& value) {
134 m_lastModifiedTimeHasBeenSet = true;
135 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
136 }
137 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
138 ApplicationSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
139 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
140 return *this;
141 }
143
145
148 inline ApplicationType GetApplicationType() const { return m_applicationType; }
149 inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; }
151 m_applicationTypeHasBeenSet = true;
152 m_applicationType = value;
153 }
155 SetApplicationType(value);
156 return *this;
157 }
159 private:
160 Aws::String m_arn;
161
162 Aws::String m_id;
163
164 Aws::String m_name;
165
166 Aws::String m_namespace;
167
168 Aws::Utils::DateTime m_createdTime{};
169
170 Aws::Utils::DateTime m_lastModifiedTime{};
171
172 ApplicationType m_applicationType{ApplicationType::NOT_SET};
173 bool m_arnHasBeenSet = false;
174 bool m_idHasBeenSet = false;
175 bool m_nameHasBeenSet = false;
176 bool m_namespaceHasBeenSet = false;
177 bool m_createdTimeHasBeenSet = false;
178 bool m_lastModifiedTimeHasBeenSet = false;
179 bool m_applicationTypeHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace AppIntegrationsService
184} // namespace Aws
ApplicationSummary & WithApplicationType(ApplicationType value)
ApplicationSummary & WithNamespace(NamespaceT &&value)
ApplicationSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_APPINTEGRATIONSSERVICE_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API ApplicationSummary()=default
const Aws::Utils::DateTime & GetLastModifiedTime() const
ApplicationSummary & WithCreatedTime(CreatedTimeT &&value)
AWS_APPINTEGRATIONSSERVICE_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue