7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
11#include <aws/greengrassv2/model/InstalledComponentLifecycleState.h>
22namespace GreengrassV2 {
44 template <
typename ComponentNameT = Aws::String>
46 m_componentNameHasBeenSet =
true;
47 m_componentName = std::forward<ComponentNameT>(value);
49 template <
typename ComponentNameT = Aws::String>
62 template <
typename ComponentVersionT = Aws::String>
64 m_componentVersionHasBeenSet =
true;
65 m_componentVersion = std::forward<ComponentVersionT>(value);
67 template <
typename ComponentVersionT = Aws::String>
81 m_lifecycleStateHasBeenSet =
true;
82 m_lifecycleState = value;
97 template <
typename LifecycleStateDetailsT = Aws::String>
99 m_lifecycleStateDetailsHasBeenSet =
true;
100 m_lifecycleStateDetails = std::forward<LifecycleStateDetailsT>(value);
102 template <
typename LifecycleStateDetailsT = Aws::String>
116 m_isRootHasBeenSet =
true;
135 template <
typename LastStatusChangeTimestampT = Aws::Utils::DateTime>
137 m_lastStatusChangeTimestampHasBeenSet =
true;
138 m_lastStatusChangeTimestamp = std::forward<LastStatusChangeTimestampT>(value);
140 template <
typename LastStatusChangeTimestampT = Aws::Utils::DateTime>
155 template <
typename LastReportedTimestampT = Aws::Utils::DateTime>
157 m_lastReportedTimestampHasBeenSet =
true;
158 m_lastReportedTimestamp = std::forward<LastReportedTimestampT>(value);
160 template <
typename LastReportedTimestampT = Aws::Utils::DateTime>
178 template <
typename LastInstallationSourceT = Aws::String>
180 m_lastInstallationSourceHasBeenSet =
true;
181 m_lastInstallationSource = std::forward<LastInstallationSourceT>(value);
183 template <
typename LastInstallationSourceT = Aws::String>
200 template <
typename LifecycleStatusCodesT = Aws::Vector<Aws::String>>
202 m_lifecycleStatusCodesHasBeenSet =
true;
203 m_lifecycleStatusCodes = std::forward<LifecycleStatusCodesT>(value);
205 template <
typename LifecycleStatusCodesT = Aws::Vector<Aws::String>>
210 template <
typename LifecycleStatusCodesT = Aws::String>
212 m_lifecycleStatusCodesHasBeenSet =
true;
213 m_lifecycleStatusCodes.emplace_back(std::forward<LifecycleStatusCodesT>(value));
226 bool m_isRoot{
false};
235 bool m_componentNameHasBeenSet =
false;
236 bool m_componentVersionHasBeenSet =
false;
237 bool m_lifecycleStateHasBeenSet =
false;
238 bool m_lifecycleStateDetailsHasBeenSet =
false;
239 bool m_isRootHasBeenSet =
false;
240 bool m_lastStatusChangeTimestampHasBeenSet =
false;
241 bool m_lastReportedTimestampHasBeenSet =
false;
242 bool m_lastInstallationSourceHasBeenSet =
false;
243 bool m_lifecycleStatusCodesHasBeenSet =
false;
const Aws::String & GetLifecycleStateDetails() const
void SetLastInstallationSource(LastInstallationSourceT &&value)
AWS_GREENGRASSV2_API InstalledComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
InstalledComponent & AddLifecycleStatusCodes(LifecycleStatusCodesT &&value)
bool LastStatusChangeTimestampHasBeenSet() const
void SetComponentVersion(ComponentVersionT &&value)
void SetComponentName(ComponentNameT &&value)
void SetIsRoot(bool value)
InstalledComponent & WithLifecycleStatusCodes(LifecycleStatusCodesT &&value)
bool LifecycleStatusCodesHasBeenSet() const
bool LastReportedTimestampHasBeenSet() const
bool LifecycleStateDetailsHasBeenSet() const
const Aws::String & GetComponentVersion() const
bool ComponentNameHasBeenSet() const
InstalledComponent & WithLifecycleStateDetails(LifecycleStateDetailsT &&value)
InstalledComponent & WithLifecycleState(InstalledComponentLifecycleState value)
InstalledComponent & WithLastStatusChangeTimestamp(LastStatusChangeTimestampT &&value)
const Aws::String & GetLastInstallationSource() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool LifecycleStateHasBeenSet() const
InstalledComponent & WithLastReportedTimestamp(LastReportedTimestampT &&value)
void SetLifecycleStateDetails(LifecycleStateDetailsT &&value)
InstalledComponentLifecycleState GetLifecycleState() const
void SetLastStatusChangeTimestamp(LastStatusChangeTimestampT &&value)
InstalledComponent & WithComponentVersion(ComponentVersionT &&value)
const Aws::String & GetComponentName() const
InstalledComponent & WithComponentName(ComponentNameT &&value)
const Aws::Utils::DateTime & GetLastStatusChangeTimestamp() const
const Aws::Vector< Aws::String > & GetLifecycleStatusCodes() const
InstalledComponent & WithIsRoot(bool value)
InstalledComponent & WithLastInstallationSource(LastInstallationSourceT &&value)
void SetLifecycleStatusCodes(LifecycleStatusCodesT &&value)
void SetLastReportedTimestamp(LastReportedTimestampT &&value)
AWS_GREENGRASSV2_API InstalledComponent(Aws::Utils::Json::JsonView jsonValue)
bool IsRootHasBeenSet() const
const Aws::Utils::DateTime & GetLastReportedTimestamp() const
void SetLifecycleState(InstalledComponentLifecycleState value)
bool LastInstallationSourceHasBeenSet() const
AWS_GREENGRASSV2_API InstalledComponent()=default
bool ComponentVersionHasBeenSet() const
InstalledComponentLifecycleState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue