7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename ArnT = Aws::String>
37 m_arnHasBeenSet =
true;
38 m_arn = std::forward<ArnT>(value);
40 template <
typename ArnT = Aws::String>
42 SetArn(std::forward<ArnT>(value));
52 template <
typename CreationTimestampT = Aws::String>
54 m_creationTimestampHasBeenSet =
true;
55 m_creationTimestamp = std::forward<CreationTimestampT>(value);
57 template <
typename CreationTimestampT = Aws::String>
69 template <
typename IdT = Aws::String>
71 m_idHasBeenSet =
true;
72 m_id = std::forward<IdT>(value);
74 template <
typename IdT = Aws::String>
76 SetId(std::forward<IdT>(value));
86 template <
typename LastUpdatedTimestampT = Aws::String>
88 m_lastUpdatedTimestampHasBeenSet =
true;
89 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
91 template <
typename LastUpdatedTimestampT = Aws::String>
103 template <
typename LatestVersionT = Aws::String>
105 m_latestVersionHasBeenSet =
true;
106 m_latestVersion = std::forward<LatestVersionT>(value);
108 template <
typename LatestVersionT = Aws::String>
120 template <
typename LatestVersionArnT = Aws::String>
122 m_latestVersionArnHasBeenSet =
true;
123 m_latestVersionArn = std::forward<LatestVersionArnT>(value);
125 template <
typename LatestVersionArnT = Aws::String>
137 template <
typename NameT = Aws::String>
139 m_nameHasBeenSet =
true;
140 m_name = std::forward<NameT>(value);
142 template <
typename NameT = Aws::String>
144 SetName(std::forward<NameT>(value));
152 template <
typename RequestIdT = Aws::String>
154 m_requestIdHasBeenSet =
true;
155 m_requestId = std::forward<RequestIdT>(value);
157 template <
typename RequestIdT = Aws::String>
182 bool m_arnHasBeenSet =
false;
183 bool m_creationTimestampHasBeenSet =
false;
184 bool m_idHasBeenSet =
false;
185 bool m_lastUpdatedTimestampHasBeenSet =
false;
186 bool m_latestVersionHasBeenSet =
false;
187 bool m_latestVersionArnHasBeenSet =
false;
188 bool m_nameHasBeenSet =
false;
189 bool m_requestIdHasBeenSet =
false;
AWS_GREENGRASS_API CreateFunctionDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFunctionDefinitionResult & WithName(NameT &&value)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
CreateFunctionDefinitionResult & WithLatestVersion(LatestVersionT &&value)
void SetLatestVersionArn(LatestVersionArnT &&value)
const Aws::String & GetLastUpdatedTimestamp() const
CreateFunctionDefinitionResult & WithArn(ArnT &&value)
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
const Aws::String & GetLatestVersion() const
CreateFunctionDefinitionResult & WithCreationTimestamp(CreationTimestampT &&value)
const Aws::String & GetName() const
const Aws::String & GetLatestVersionArn() const
CreateFunctionDefinitionResult & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
const Aws::String & GetRequestId() const
void SetLatestVersion(LatestVersionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
CreateFunctionDefinitionResult & WithLatestVersionArn(LatestVersionArnT &&value)
CreateFunctionDefinitionResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASS_API CreateFunctionDefinitionResult()=default
void SetCreationTimestamp(CreationTimestampT &&value)
CreateFunctionDefinitionResult & WithId(IdT &&value)
const Aws::String & GetId() const
void SetName(NameT &&value)
AWS_GREENGRASS_API CreateFunctionDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCreationTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue