7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
10#include <aws/greengrassv2/model/CloudComponentStatus.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace GreengrassV2 {
38 template <
typename ArnT = Aws::String>
40 m_arnHasBeenSet =
true;
41 m_arn = std::forward<ArnT>(value);
43 template <
typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
55 template <
typename ComponentNameT = Aws::String>
57 m_componentNameHasBeenSet =
true;
58 m_componentName = std::forward<ComponentNameT>(value);
60 template <
typename ComponentNameT = Aws::String>
72 template <
typename ComponentVersionT = Aws::String>
74 m_componentVersionHasBeenSet =
true;
75 m_componentVersion = std::forward<ComponentVersionT>(value);
77 template <
typename ComponentVersionT = Aws::String>
90 template <
typename CreationTimestampT = Aws::Utils::DateTime>
92 m_creationTimestampHasBeenSet =
true;
93 m_creationTimestamp = std::forward<CreationTimestampT>(value);
95 template <
typename CreationTimestampT = Aws::Utils::DateTime>
108 template <
typename StatusT = CloudComponentStatus>
110 m_statusHasBeenSet =
true;
111 m_status = std::forward<StatusT>(value);
113 template <
typename StatusT = CloudComponentStatus>
123 template <
typename RequestIdT = Aws::String>
125 m_requestIdHasBeenSet =
true;
126 m_requestId = std::forward<RequestIdT>(value);
128 template <
typename RequestIdT = Aws::String>
143 CloudComponentStatus m_status;
146 bool m_arnHasBeenSet =
false;
147 bool m_componentNameHasBeenSet =
false;
148 bool m_componentVersionHasBeenSet =
false;
149 bool m_creationTimestampHasBeenSet =
false;
150 bool m_statusHasBeenSet =
false;
151 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetComponentVersion() const
const Aws::Utils::DateTime & GetCreationTimestamp() const
AWS_GREENGRASSV2_API CreateComponentVersionResult()=default
void SetCreationTimestamp(CreationTimestampT &&value)
AWS_GREENGRASSV2_API CreateComponentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateComponentVersionResult & WithStatus(StatusT &&value)
CreateComponentVersionResult & WithArn(ArnT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
CreateComponentVersionResult & WithComponentName(ComponentNameT &&value)
CreateComponentVersionResult & WithCreationTimestamp(CreationTimestampT &&value)
void SetComponentVersion(ComponentVersionT &&value)
CreateComponentVersionResult & WithComponentVersion(ComponentVersionT &&value)
void SetArn(ArnT &&value)
CreateComponentVersionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetArn() const
AWS_GREENGRASSV2_API CreateComponentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const CloudComponentStatus & GetStatus() const
const Aws::String & GetComponentName() const
void SetStatus(StatusT &&value)
void SetComponentName(ComponentNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue