7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-agent/DevOpsAgentRequest.h>
11#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
12#include <aws/devops-agent/model/AssetContent.h>
17namespace DevOpsAgent {
43 template <
typename AgentSpaceIdT = Aws::String>
45 m_agentSpaceIdHasBeenSet =
true;
46 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
48 template <
typename AgentSpaceIdT = Aws::String>
61 template <
typename AssetTypeT = Aws::String>
63 m_assetTypeHasBeenSet =
true;
64 m_assetType = std::forward<AssetTypeT>(value);
66 template <
typename AssetTypeT = Aws::String>
79 template <
typename MetadataT = Aws::Utils::Document>
81 m_metadataHasBeenSet =
true;
82 m_metadata = std::forward<MetadataT>(value);
84 template <
typename MetadataT = Aws::Utils::Document>
98 template <
typename ContentT = AssetContent>
100 m_contentHasBeenSet =
true;
101 m_content = std::forward<ContentT>(value);
103 template <
typename ContentT = AssetContent>
116 template <
typename ClientTokenT = Aws::String>
118 m_clientTokenHasBeenSet =
true;
119 m_clientToken = std::forward<ClientTokenT>(value);
121 template <
typename ClientTokenT = Aws::String>
137 bool m_agentSpaceIdHasBeenSet =
false;
138 bool m_assetTypeHasBeenSet =
false;
139 bool m_metadataHasBeenSet =
false;
140 bool m_contentHasBeenSet =
false;
141 bool m_clientTokenHasBeenSet =
true;
bool MetadataHasBeenSet() const
void SetMetadata(MetadataT &&value)
void SetAssetType(AssetTypeT &&value)
const Aws::String & GetAssetType() const
void SetContent(ContentT &&value)
CreateAssetRequest & WithClientToken(ClientTokenT &&value)
CreateAssetRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DEVOPSAGENT_API CreateAssetRequest()=default
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
void SetClientToken(ClientTokenT &&value)
CreateAssetRequest & WithContent(ContentT &&value)
const Aws::String & GetClientToken() const
const AssetContent & GetContent() const
const Aws::String & GetAgentSpaceId() const
CreateAssetRequest & WithAssetType(AssetTypeT &&value)
bool AssetTypeHasBeenSet() const
bool ContentHasBeenSet() const
bool AgentSpaceIdHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
Aws::Utils::DocumentView GetMetadata() const
CreateAssetRequest & WithMetadata(MetadataT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String