AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArtifactArn(const Aws::String& value) { m_artifactArnHasBeenSet = true; m_artifactArn = value; }
45 inline void SetArtifactArn(Aws::String&& value) { m_artifactArnHasBeenSet = true; m_artifactArn = std::move(value); }
46 inline void SetArtifactArn(const char* value) { m_artifactArnHasBeenSet = true; m_artifactArn.assign(value); }
47 inline DeleteArtifactRequest& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;}
48 inline DeleteArtifactRequest& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;}
49 inline DeleteArtifactRequest& WithArtifactArn(const char* value) { SetArtifactArn(value); return *this;}
51
53
56 inline const ArtifactSource& GetSource() const{ return m_source; }
57 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
58 inline void SetSource(const ArtifactSource& value) { m_sourceHasBeenSet = true; m_source = value; }
59 inline void SetSource(ArtifactSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
60 inline DeleteArtifactRequest& WithSource(const ArtifactSource& value) { SetSource(value); return *this;}
61 inline DeleteArtifactRequest& WithSource(ArtifactSource&& value) { SetSource(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_artifactArn;
66 bool m_artifactArnHasBeenSet = false;
67
68 ArtifactSource m_source;
69 bool m_sourceHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // namespace Aws
void SetSource(const ArtifactSource &value)
DeleteArtifactRequest & WithSource(ArtifactSource &&value)
DeleteArtifactRequest & WithSource(const ArtifactSource &value)
virtual const char * GetServiceRequestName() const override
DeleteArtifactRequest & WithArtifactArn(Aws::String &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DeleteArtifactRequest & WithArtifactArn(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteArtifactRequest & WithArtifactArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String