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/AssetFileBody.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 AssetIdT = Aws::String>
63 m_assetIdHasBeenSet =
true;
64 m_assetId = std::forward<AssetIdT>(value);
66 template <
typename AssetIdT = Aws::String>
79 template <
typename PathT = Aws::String>
81 m_pathHasBeenSet =
true;
82 m_path = std::forward<PathT>(value);
84 template <
typename PathT = Aws::String>
86 SetPath(std::forward<PathT>(value));
97 template <
typename ContentT = AssetFileBody>
99 m_contentHasBeenSet =
true;
100 m_content = std::forward<ContentT>(value);
102 template <
typename ContentT = AssetFileBody>
116 template <
typename MetadataT = Aws::Utils::Document>
118 m_metadataHasBeenSet =
true;
119 m_metadata = std::forward<MetadataT>(value);
121 template <
typename MetadataT = Aws::Utils::Document>
134 template <
typename ClientTokenT = Aws::String>
136 m_clientTokenHasBeenSet =
true;
137 m_clientToken = std::forward<ClientTokenT>(value);
139 template <
typename ClientTokenT = Aws::String>
157 bool m_agentSpaceIdHasBeenSet =
false;
158 bool m_assetIdHasBeenSet =
false;
159 bool m_pathHasBeenSet =
false;
160 bool m_contentHasBeenSet =
false;
161 bool m_metadataHasBeenSet =
false;
162 bool m_clientTokenHasBeenSet =
true;
UpdateAssetFileRequest & WithContent(ContentT &&value)
void SetAssetId(AssetIdT &&value)
Aws::Utils::DocumentView GetMetadata() const
void SetMetadata(MetadataT &&value)
UpdateAssetFileRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
UpdateAssetFileRequest & WithPath(PathT &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetAgentSpaceId() const
bool AgentSpaceIdHasBeenSet() const
UpdateAssetFileRequest & WithMetadata(MetadataT &&value)
bool MetadataHasBeenSet() const
const Aws::String & GetAssetId() const
bool PathHasBeenSet() const
AWS_DEVOPSAGENT_API UpdateAssetFileRequest()=default
bool ContentHasBeenSet() const
UpdateAssetFileRequest & WithClientToken(ClientTokenT &&value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
const AssetFileBody & GetContent() const
virtual const char * GetServiceRequestName() const override
void SetContent(ContentT &&value)
bool ClientTokenHasBeenSet() const
UpdateAssetFileRequest & WithAssetId(AssetIdT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
const Aws::String & GetPath() const
void SetClientToken(ClientTokenT &&value)
void SetPath(PathT &&value)
bool AssetIdHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String