AWS SDK for C++

AWS SDK for C++ Version 1.11.846

Loading...
Searching...
No Matches
DeleteAssetFileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgentRequest.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DevOpsAgent {
15namespace Model {
16
23 public:
24 AWS_DEVOPSAGENT_API DeleteAssetFileRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteAssetFile"; }
31
32 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
39 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
40 template <typename AgentSpaceIdT = Aws::String>
41 void SetAgentSpaceId(AgentSpaceIdT&& value) {
42 m_agentSpaceIdHasBeenSet = true;
43 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
44 }
45 template <typename AgentSpaceIdT = Aws::String>
46 DeleteAssetFileRequest& WithAgentSpaceId(AgentSpaceIdT&& value) {
47 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAssetId() const { return m_assetId; }
57 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
58 template <typename AssetIdT = Aws::String>
59 void SetAssetId(AssetIdT&& value) {
60 m_assetIdHasBeenSet = true;
61 m_assetId = std::forward<AssetIdT>(value);
62 }
63 template <typename AssetIdT = Aws::String>
65 SetAssetId(std::forward<AssetIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetPath() const { return m_path; }
75 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
76 template <typename PathT = Aws::String>
77 void SetPath(PathT&& value) {
78 m_pathHasBeenSet = true;
79 m_path = std::forward<PathT>(value);
80 }
81 template <typename PathT = Aws::String>
83 SetPath(std::forward<PathT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_agentSpaceId;
89
90 Aws::String m_assetId;
91
92 Aws::String m_path;
93 bool m_agentSpaceIdHasBeenSet = false;
94 bool m_assetIdHasBeenSet = false;
95 bool m_pathHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DevOpsAgent
100} // namespace Aws
DeleteAssetFileRequest & WithPath(PathT &&value)
AWS_DEVOPSAGENT_API DeleteAssetFileRequest()=default
DeleteAssetFileRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
DeleteAssetFileRequest & WithAssetId(AssetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String