7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/ResourceDefinitionVersion.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
43 template<
typename ArnT = Aws::String>
53 template<
typename CreationTimestampT = Aws::String>
54 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet =
true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
55 template<
typename CreationTimestampT = Aws::String>
64 template<
typename DefinitionT = ResourceDefinitionVersion>
65 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
66 template<
typename DefinitionT = ResourceDefinitionVersion>
75 template<
typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
77 template<
typename IdT = Aws::String>
86 template<
typename VersionT = Aws::String>
87 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
88 template<
typename VersionT = Aws::String>
95 template<
typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
97 template<
typename RequestIdT = Aws::String>
103 bool m_arnHasBeenSet =
false;
106 bool m_creationTimestampHasBeenSet =
false;
109 bool m_definitionHasBeenSet =
false;
112 bool m_idHasBeenSet =
false;
115 bool m_versionHasBeenSet =
false;
118 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetCreationTimestamp() const
void SetRequestId(RequestIdT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
GetResourceDefinitionVersionResult & WithCreationTimestamp(CreationTimestampT &&value)
GetResourceDefinitionVersionResult & WithArn(ArnT &&value)
void SetDefinition(DefinitionT &&value)
const ResourceDefinitionVersion & GetDefinition() const
GetResourceDefinitionVersionResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASS_API GetResourceDefinitionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GREENGRASS_API GetResourceDefinitionVersionResult()=default
GetResourceDefinitionVersionResult & WithVersion(VersionT &&value)
const Aws::String & GetId() const
void SetCreationTimestamp(CreationTimestampT &&value)
GetResourceDefinitionVersionResult & WithDefinition(DefinitionT &&value)
GetResourceDefinitionVersionResult & WithId(IdT &&value)
AWS_GREENGRASS_API GetResourceDefinitionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetVersion(VersionT &&value)
const Aws::String & GetVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue