AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteArtifactRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ArtifactSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API DeleteArtifactRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteArtifact"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetArtifactArn() const { return m_artifactArn; }
43 inline bool ArtifactArnHasBeenSet() const { return m_artifactArnHasBeenSet; }
44 template<typename ArtifactArnT = Aws::String>
45 void SetArtifactArn(ArtifactArnT&& value) { m_artifactArnHasBeenSet = true; m_artifactArn = std::forward<ArtifactArnT>(value); }
46 template<typename ArtifactArnT = Aws::String>
47 DeleteArtifactRequest& WithArtifactArn(ArtifactArnT&& value) { SetArtifactArn(std::forward<ArtifactArnT>(value)); return *this;}
49
51
54 inline const ArtifactSource& GetSource() const { return m_source; }
55 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
56 template<typename SourceT = ArtifactSource>
57 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
58 template<typename SourceT = ArtifactSource>
59 DeleteArtifactRequest& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
61 private:
62
63 Aws::String m_artifactArn;
64 bool m_artifactArnHasBeenSet = false;
65
66 ArtifactSource m_source;
67 bool m_sourceHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SageMaker
72} // namespace Aws
AWS_SAGEMAKER_API DeleteArtifactRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DeleteArtifactRequest & WithSource(SourceT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteArtifactRequest & WithArtifactArn(ArtifactArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String