AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArtifactArn(const Aws::String& value) { m_artifactArnHasBeenSet = true; m_artifactArn = value; }
51 inline void SetArtifactArn(Aws::String&& value) { m_artifactArnHasBeenSet = true; m_artifactArn = std::move(value); }
52 inline void SetArtifactArn(const char* value) { m_artifactArnHasBeenSet = true; m_artifactArn.assign(value); }
53 inline ArtifactSummary& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;}
54 inline ArtifactSummary& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;}
55 inline ArtifactSummary& WithArtifactArn(const char* value) { SetArtifactArn(value); return *this;}
57
59
62 inline const Aws::String& GetArtifactName() const{ return m_artifactName; }
63 inline bool ArtifactNameHasBeenSet() const { return m_artifactNameHasBeenSet; }
64 inline void SetArtifactName(const Aws::String& value) { m_artifactNameHasBeenSet = true; m_artifactName = value; }
65 inline void SetArtifactName(Aws::String&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::move(value); }
66 inline void SetArtifactName(const char* value) { m_artifactNameHasBeenSet = true; m_artifactName.assign(value); }
67 inline ArtifactSummary& WithArtifactName(const Aws::String& value) { SetArtifactName(value); return *this;}
68 inline ArtifactSummary& WithArtifactName(Aws::String&& value) { SetArtifactName(std::move(value)); return *this;}
69 inline ArtifactSummary& WithArtifactName(const char* value) { SetArtifactName(value); return *this;}
71
73
76 inline const ArtifactSource& GetSource() const{ return m_source; }
77 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
78 inline void SetSource(const ArtifactSource& value) { m_sourceHasBeenSet = true; m_source = value; }
79 inline void SetSource(ArtifactSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
80 inline ArtifactSummary& WithSource(const ArtifactSource& value) { SetSource(value); return *this;}
81 inline ArtifactSummary& WithSource(ArtifactSource&& value) { SetSource(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetArtifactType() const{ return m_artifactType; }
89 inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; }
90 inline void SetArtifactType(const Aws::String& value) { m_artifactTypeHasBeenSet = true; m_artifactType = value; }
91 inline void SetArtifactType(Aws::String&& value) { m_artifactTypeHasBeenSet = true; m_artifactType = std::move(value); }
92 inline void SetArtifactType(const char* value) { m_artifactTypeHasBeenSet = true; m_artifactType.assign(value); }
93 inline ArtifactSummary& WithArtifactType(const Aws::String& value) { SetArtifactType(value); return *this;}
94 inline ArtifactSummary& WithArtifactType(Aws::String&& value) { SetArtifactType(std::move(value)); return *this;}
95 inline ArtifactSummary& WithArtifactType(const char* value) { SetArtifactType(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
103 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
104 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
105 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
106 inline ArtifactSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
107 inline ArtifactSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
115 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
116 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
117 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
119 inline ArtifactSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_artifactArn;
124 bool m_artifactArnHasBeenSet = false;
125
126 Aws::String m_artifactName;
127 bool m_artifactNameHasBeenSet = false;
128
129 ArtifactSource m_source;
130 bool m_sourceHasBeenSet = false;
131
132 Aws::String m_artifactType;
133 bool m_artifactTypeHasBeenSet = false;
134
135 Aws::Utils::DateTime m_creationTime;
136 bool m_creationTimeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_lastModifiedTime;
139 bool m_lastModifiedTimeHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace SageMaker
144} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ArtifactSummary & WithArtifactType(Aws::String &&value)
void SetSource(ArtifactSource &&value)
ArtifactSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetArtifactName(const Aws::String &value)
ArtifactSummary & WithArtifactArn(const Aws::String &value)
void SetSource(const ArtifactSource &value)
void SetArtifactType(const Aws::String &value)
ArtifactSummary & WithSource(const ArtifactSource &value)
ArtifactSummary & WithArtifactName(const Aws::String &value)
const Aws::String & GetArtifactName() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetArtifactType() const
const ArtifactSource & GetSource() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
ArtifactSummary & WithArtifactArn(Aws::String &&value)
void SetArtifactType(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ArtifactSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ArtifactSummary & WithArtifactType(const char *value)
ArtifactSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetArtifactName(Aws::String &&value)
ArtifactSummary & WithArtifactName(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ArtifactSummary & WithArtifactArn(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
ArtifactSummary & WithSource(ArtifactSource &&value)
AWS_SAGEMAKER_API ArtifactSummary(Aws::Utils::Json::JsonView jsonValue)
void SetArtifactType(const char *value)
void SetArtifactName(const char *value)
const Aws::String & GetArtifactArn() const
AWS_SAGEMAKER_API ArtifactSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ArtifactSummary & WithArtifactName(const char *value)
ArtifactSummary & WithArtifactType(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ArtifactSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetArtifactArn(Aws::String &&value)
void SetArtifactArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue