7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
11#include <aws/greengrassv2/model/CloudComponentStatus.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace GreengrassV2 {
39 template <
typename ArnT = Aws::String>
41 m_arnHasBeenSet =
true;
42 m_arn = std::forward<ArnT>(value);
44 template <
typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
56 template <
typename ComponentNameT = Aws::String>
58 m_componentNameHasBeenSet =
true;
59 m_componentName = std::forward<ComponentNameT>(value);
61 template <
typename ComponentNameT = Aws::String>
73 template <
typename ComponentVersionT = Aws::String>
75 m_componentVersionHasBeenSet =
true;
76 m_componentVersion = std::forward<ComponentVersionT>(value);
78 template <
typename ComponentVersionT = Aws::String>
91 template <
typename CreationTimestampT = Aws::Utils::DateTime>
93 m_creationTimestampHasBeenSet =
true;
94 m_creationTimestamp = std::forward<CreationTimestampT>(value);
96 template <
typename CreationTimestampT = Aws::Utils::DateTime>
109 template <
typename StatusT = CloudComponentStatus>
111 m_statusHasBeenSet =
true;
112 m_status = std::forward<StatusT>(value);
114 template <
typename StatusT = CloudComponentStatus>
124 template <
typename RequestIdT = Aws::String>
126 m_requestIdHasBeenSet =
true;
127 m_requestId = std::forward<RequestIdT>(value);
129 template <
typename RequestIdT = Aws::String>
146 CloudComponentStatus m_status;
150 bool m_arnHasBeenSet =
false;
151 bool m_componentNameHasBeenSet =
false;
152 bool m_componentVersionHasBeenSet =
false;
153 bool m_creationTimestampHasBeenSet =
false;
154 bool m_statusHasBeenSet =
false;
155 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetComponentVersion() const
Aws::Http::HttpResponseCode GetHttpResponseCode() 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