AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ArtifactSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ArtifactSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_SAGEMAKER_API ArtifactSummary() = default;
39 AWS_SAGEMAKER_API ArtifactSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArtifactArn() const { return m_artifactArn; }
49 inline bool ArtifactArnHasBeenSet() const { return m_artifactArnHasBeenSet; }
50 template<typename ArtifactArnT = Aws::String>
51 void SetArtifactArn(ArtifactArnT&& value) { m_artifactArnHasBeenSet = true; m_artifactArn = std::forward<ArtifactArnT>(value); }
52 template<typename ArtifactArnT = Aws::String>
53 ArtifactSummary& WithArtifactArn(ArtifactArnT&& value) { SetArtifactArn(std::forward<ArtifactArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetArtifactName() const { return m_artifactName; }
61 inline bool ArtifactNameHasBeenSet() const { return m_artifactNameHasBeenSet; }
62 template<typename ArtifactNameT = Aws::String>
63 void SetArtifactName(ArtifactNameT&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::forward<ArtifactNameT>(value); }
64 template<typename ArtifactNameT = Aws::String>
65 ArtifactSummary& WithArtifactName(ArtifactNameT&& value) { SetArtifactName(std::forward<ArtifactNameT>(value)); return *this;}
67
69
72 inline const ArtifactSource& GetSource() const { return m_source; }
73 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
74 template<typename SourceT = ArtifactSource>
75 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
76 template<typename SourceT = ArtifactSource>
77 ArtifactSummary& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
79
81
84 inline const Aws::String& GetArtifactType() const { return m_artifactType; }
85 inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; }
86 template<typename ArtifactTypeT = Aws::String>
87 void SetArtifactType(ArtifactTypeT&& value) { m_artifactTypeHasBeenSet = true; m_artifactType = std::forward<ArtifactTypeT>(value); }
88 template<typename ArtifactTypeT = Aws::String>
89 ArtifactSummary& WithArtifactType(ArtifactTypeT&& value) { SetArtifactType(std::forward<ArtifactTypeT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 ArtifactSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
109 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
110 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
111 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
112 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
113 ArtifactSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
115 private:
116
117 Aws::String m_artifactArn;
118 bool m_artifactArnHasBeenSet = false;
119
120 Aws::String m_artifactName;
121 bool m_artifactNameHasBeenSet = false;
122
123 ArtifactSource m_source;
124 bool m_sourceHasBeenSet = false;
125
126 Aws::String m_artifactType;
127 bool m_artifactTypeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_creationTime{};
130 bool m_creationTimeHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastModifiedTime{};
133 bool m_lastModifiedTimeHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace SageMaker
138} // namespace Aws
void SetArtifactType(ArtifactTypeT &&value)
ArtifactSummary & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ArtifactSummary & WithArtifactType(ArtifactTypeT &&value)
const Aws::String & GetArtifactName() const
const Aws::String & GetArtifactType() const
const ArtifactSource & GetSource() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::Utils::DateTime & GetCreationTime() const
ArtifactSummary & WithSource(SourceT &&value)
void SetArtifactName(ArtifactNameT &&value)
void SetArtifactArn(ArtifactArnT &&value)
AWS_SAGEMAKER_API ArtifactSummary()=default
ArtifactSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ArtifactSummary & WithArtifactArn(ArtifactArnT &&value)
AWS_SAGEMAKER_API ArtifactSummary(Aws::Utils::Json::JsonView jsonValue)
ArtifactSummary & WithArtifactName(ArtifactNameT &&value)
const Aws::String & GetArtifactArn() const
AWS_SAGEMAKER_API ArtifactSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(CreationTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue