7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/InstalledComponentLifecycleState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename ComponentNameT = Aws::String>
51 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet =
true; m_componentName = std::forward<ComponentNameT>(value); }
52 template<
typename ComponentNameT = Aws::String>
62 template<
typename ComponentVersionT = Aws::String>
63 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet =
true; m_componentVersion = std::forward<ComponentVersionT>(value); }
64 template<
typename ComponentVersionT = Aws::String>
85 template<
typename LifecycleStateDetailsT = Aws::String>
86 void SetLifecycleStateDetails(LifecycleStateDetailsT&& value) { m_lifecycleStateDetailsHasBeenSet =
true; m_lifecycleStateDetails = std::forward<LifecycleStateDetailsT>(value); }
87 template<
typename LifecycleStateDetailsT = Aws::String>
97 inline void SetIsRoot(
bool value) { m_isRootHasBeenSet =
true; m_isRoot = value; }
111 template<
typename LastStatusChangeTimestampT = Aws::Utils::DateTime>
112 void SetLastStatusChangeTimestamp(LastStatusChangeTimestampT&& value) { m_lastStatusChangeTimestampHasBeenSet =
true; m_lastStatusChangeTimestamp = std::forward<LastStatusChangeTimestampT>(value); }
113 template<
typename LastStatusChangeTimestampT = Aws::Utils::DateTime>
125 template<
typename LastReportedTimestampT = Aws::Utils::DateTime>
126 void SetLastReportedTimestamp(LastReportedTimestampT&& value) { m_lastReportedTimestampHasBeenSet =
true; m_lastReportedTimestamp = std::forward<LastReportedTimestampT>(value); }
127 template<
typename LastReportedTimestampT = Aws::Utils::DateTime>
142 template<
typename LastInstallationSourceT = Aws::String>
143 void SetLastInstallationSource(LastInstallationSourceT&& value) { m_lastInstallationSourceHasBeenSet =
true; m_lastInstallationSource = std::forward<LastInstallationSourceT>(value); }
144 template<
typename LastInstallationSourceT = Aws::String>
158 template<
typename LifecycleStatusCodesT = Aws::Vector<Aws::String>>
159 void SetLifecycleStatusCodes(LifecycleStatusCodesT&& value) { m_lifecycleStatusCodesHasBeenSet =
true; m_lifecycleStatusCodes = std::forward<LifecycleStatusCodesT>(value); }
160 template<
typename LifecycleStatusCodesT = Aws::Vector<Aws::String>>
162 template<
typename LifecycleStatusCodesT = Aws::String>
168 bool m_componentNameHasBeenSet =
false;
171 bool m_componentVersionHasBeenSet =
false;
174 bool m_lifecycleStateHasBeenSet =
false;
177 bool m_lifecycleStateDetailsHasBeenSet =
false;
179 bool m_isRoot{
false};
180 bool m_isRootHasBeenSet =
false;
183 bool m_lastStatusChangeTimestampHasBeenSet =
false;
186 bool m_lastReportedTimestampHasBeenSet =
false;
189 bool m_lastInstallationSourceHasBeenSet =
false;
192 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