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/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-sap/model/ApplicationType.h>
10#include <aws/ssm-sap/model/ApplicationStatus.h>
11#include <aws/ssm-sap/model/ApplicationDiscoveryStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SsmSap
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_SSMSAP_API Application();
41 AWS_SSMSAP_API Application(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline Application& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline Application& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline Application& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const ApplicationType& GetType() const{ return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(const ApplicationType& value) { m_typeHasBeenSet = true; m_type = value; }
67 inline void SetType(ApplicationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
68 inline Application& WithType(const ApplicationType& value) { SetType(value); return *this;}
69 inline Application& WithType(ApplicationType&& value) { SetType(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetArn() const{ return m_arn; }
77 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
78 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
79 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
80 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
81 inline Application& WithArn(const Aws::String& value) { SetArn(value); return *this;}
82 inline Application& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
83 inline Application& WithArn(const char* value) { SetArn(value); return *this;}
85
87
90 inline const Aws::String& GetAppRegistryArn() const{ return m_appRegistryArn; }
91 inline bool AppRegistryArnHasBeenSet() const { return m_appRegistryArnHasBeenSet; }
92 inline void SetAppRegistryArn(const Aws::String& value) { m_appRegistryArnHasBeenSet = true; m_appRegistryArn = value; }
93 inline void SetAppRegistryArn(Aws::String&& value) { m_appRegistryArnHasBeenSet = true; m_appRegistryArn = std::move(value); }
94 inline void SetAppRegistryArn(const char* value) { m_appRegistryArnHasBeenSet = true; m_appRegistryArn.assign(value); }
95 inline Application& WithAppRegistryArn(const Aws::String& value) { SetAppRegistryArn(value); return *this;}
96 inline Application& WithAppRegistryArn(Aws::String&& value) { SetAppRegistryArn(std::move(value)); return *this;}
97 inline Application& WithAppRegistryArn(const char* value) { SetAppRegistryArn(value); return *this;}
99
101
104 inline const ApplicationStatus& GetStatus() const{ return m_status; }
105 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
106 inline void SetStatus(const ApplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
107 inline void SetStatus(ApplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
108 inline Application& WithStatus(const ApplicationStatus& value) { SetStatus(value); return *this;}
109 inline Application& WithStatus(ApplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
111
113
116 inline const ApplicationDiscoveryStatus& GetDiscoveryStatus() const{ return m_discoveryStatus; }
117 inline bool DiscoveryStatusHasBeenSet() const { return m_discoveryStatusHasBeenSet; }
118 inline void SetDiscoveryStatus(const ApplicationDiscoveryStatus& value) { m_discoveryStatusHasBeenSet = true; m_discoveryStatus = value; }
119 inline void SetDiscoveryStatus(ApplicationDiscoveryStatus&& value) { m_discoveryStatusHasBeenSet = true; m_discoveryStatus = std::move(value); }
121 inline Application& WithDiscoveryStatus(ApplicationDiscoveryStatus&& value) { SetDiscoveryStatus(std::move(value)); return *this;}
123
125
128 inline const Aws::Vector<Aws::String>& GetComponents() const{ return m_components; }
129 inline bool ComponentsHasBeenSet() const { return m_componentsHasBeenSet; }
130 inline void SetComponents(const Aws::Vector<Aws::String>& value) { m_componentsHasBeenSet = true; m_components = value; }
131 inline void SetComponents(Aws::Vector<Aws::String>&& value) { m_componentsHasBeenSet = true; m_components = std::move(value); }
132 inline Application& WithComponents(const Aws::Vector<Aws::String>& value) { SetComponents(value); return *this;}
133 inline Application& WithComponents(Aws::Vector<Aws::String>&& value) { SetComponents(std::move(value)); return *this;}
134 inline Application& AddComponents(const Aws::String& value) { m_componentsHasBeenSet = true; m_components.push_back(value); return *this; }
135 inline Application& AddComponents(Aws::String&& value) { m_componentsHasBeenSet = true; m_components.push_back(std::move(value)); return *this; }
136 inline Application& AddComponents(const char* value) { m_componentsHasBeenSet = true; m_components.push_back(value); return *this; }
138
140
143 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
144 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
145 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
146 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
147 inline Application& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
148 inline Application& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
150
152
155 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
156 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
157 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
158 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
159 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
160 inline Application& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
161 inline Application& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
162 inline Application& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
164
166
170 inline const Aws::Vector<Aws::String>& GetAssociatedApplicationArns() const{ return m_associatedApplicationArns; }
171 inline bool AssociatedApplicationArnsHasBeenSet() const { return m_associatedApplicationArnsHasBeenSet; }
172 inline void SetAssociatedApplicationArns(const Aws::Vector<Aws::String>& value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns = value; }
173 inline void SetAssociatedApplicationArns(Aws::Vector<Aws::String>&& value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns = std::move(value); }
176 inline Application& AddAssociatedApplicationArns(const Aws::String& value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns.push_back(value); return *this; }
177 inline Application& AddAssociatedApplicationArns(Aws::String&& value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns.push_back(std::move(value)); return *this; }
178 inline Application& AddAssociatedApplicationArns(const char* value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns.push_back(value); return *this; }
180 private:
181
182 Aws::String m_id;
183 bool m_idHasBeenSet = false;
184
185 ApplicationType m_type;
186 bool m_typeHasBeenSet = false;
187
188 Aws::String m_arn;
189 bool m_arnHasBeenSet = false;
190
191 Aws::String m_appRegistryArn;
192 bool m_appRegistryArnHasBeenSet = false;
193
194 ApplicationStatus m_status;
195 bool m_statusHasBeenSet = false;
196
197 ApplicationDiscoveryStatus m_discoveryStatus;
198 bool m_discoveryStatusHasBeenSet = false;
199
200 Aws::Vector<Aws::String> m_components;
201 bool m_componentsHasBeenSet = false;
202
203 Aws::Utils::DateTime m_lastUpdated;
204 bool m_lastUpdatedHasBeenSet = false;
205
206 Aws::String m_statusMessage;
207 bool m_statusMessageHasBeenSet = false;
208
209 Aws::Vector<Aws::String> m_associatedApplicationArns;
210 bool m_associatedApplicationArnsHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace SsmSap
215} // namespace Aws
const Aws::Vector< Aws::String > & GetAssociatedApplicationArns() const
Application & WithArn(const char *value)
Definition Application.h:83
Application & AddComponents(const Aws::String &value)
Application & WithStatusMessage(Aws::String &&value)
Application & WithId(const char *value)
Definition Application.h:57
Application & WithStatus(ApplicationStatus &&value)
void SetId(Aws::String &&value)
Definition Application.h:53
void SetLastUpdated(Aws::Utils::DateTime &&value)
Application & WithLastUpdated(Aws::Utils::DateTime &&value)
Application & AddAssociatedApplicationArns(Aws::String &&value)
void SetAssociatedApplicationArns(const Aws::Vector< Aws::String > &value)
Application & WithDiscoveryStatus(ApplicationDiscoveryStatus &&value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
bool AssociatedApplicationArnsHasBeenSet() const
void SetAppRegistryArn(const Aws::String &value)
Definition Application.h:92
Application & WithAssociatedApplicationArns(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetLastUpdated() const
void SetArn(const Aws::String &value)
Definition Application.h:78
void SetComponents(const Aws::Vector< Aws::String > &value)
void SetStatus(ApplicationStatus &&value)
const Aws::String & GetStatusMessage() const
Application & WithStatusMessage(const char *value)
const Aws::String & GetArn() const
Definition Application.h:76
void SetDiscoveryStatus(const ApplicationDiscoveryStatus &value)
Application & WithArn(const Aws::String &value)
Definition Application.h:81
Application & WithType(const ApplicationType &value)
Definition Application.h:68
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
Application & WithStatus(const ApplicationStatus &value)
void SetType(const ApplicationType &value)
Definition Application.h:66
Application & WithAppRegistryArn(Aws::String &&value)
Definition Application.h:96
const Aws::String & GetId() const
Definition Application.h:50
void SetAppRegistryArn(Aws::String &&value)
Definition Application.h:93
const Aws::String & GetAppRegistryArn() const
Definition Application.h:90
Application & WithArn(Aws::String &&value)
Definition Application.h:82
const ApplicationType & GetType() const
Definition Application.h:64
Application & WithId(Aws::String &&value)
Definition Application.h:56
Application & WithDiscoveryStatus(const ApplicationDiscoveryStatus &value)
void SetComponents(Aws::Vector< Aws::String > &&value)
const ApplicationStatus & GetStatus() const
AWS_SSMSAP_API Application(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
Definition Application.h:54
Application & WithType(ApplicationType &&value)
Definition Application.h:69
Application & AddComponents(Aws::String &&value)
const ApplicationDiscoveryStatus & GetDiscoveryStatus() const
void SetAppRegistryArn(const char *value)
Definition Application.h:94
void SetArn(Aws::String &&value)
Definition Application.h:79
Application & WithAppRegistryArn(const char *value)
Definition Application.h:97
void SetAssociatedApplicationArns(Aws::Vector< Aws::String > &&value)
void SetDiscoveryStatus(ApplicationDiscoveryStatus &&value)
void SetType(ApplicationType &&value)
Definition Application.h:67
void SetStatusMessage(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
Application & WithStatusMessage(const Aws::String &value)
void SetStatusMessage(const char *value)
Application & AddAssociatedApplicationArns(const Aws::String &value)
AWS_SSMSAP_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
Application & WithComponents(Aws::Vector< Aws::String > &&value)
Application & AddAssociatedApplicationArns(const char *value)
Application & WithId(const Aws::String &value)
Definition Application.h:55
Application & WithLastUpdated(const Aws::Utils::DateTime &value)
Application & WithAssociatedApplicationArns(Aws::Vector< Aws::String > &&value)
Application & WithComponents(const Aws::Vector< Aws::String > &value)
void SetStatus(const ApplicationStatus &value)
const Aws::Vector< Aws::String > & GetComponents() const
void SetArn(const char *value)
Definition Application.h:80
Application & AddComponents(const char *value)
Application & WithAppRegistryArn(const Aws::String &value)
Definition Application.h:95
void SetId(const Aws::String &value)
Definition Application.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue