AWS SDK for C++  1.9.159
AWS SDK for C++
MetricsSource.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetContentType() const{ return m_contentType; }
44 
48  inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
49 
53  inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
54 
58  inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
59 
63  inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
64 
68  inline MetricsSource& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
69 
73  inline MetricsSource& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
74 
78  inline MetricsSource& WithContentType(const char* value) { SetContentType(value); return *this;}
79 
80 
84  inline const Aws::String& GetContentDigest() const{ return m_contentDigest; }
85 
89  inline bool ContentDigestHasBeenSet() const { return m_contentDigestHasBeenSet; }
90 
94  inline void SetContentDigest(const Aws::String& value) { m_contentDigestHasBeenSet = true; m_contentDigest = value; }
95 
99  inline void SetContentDigest(Aws::String&& value) { m_contentDigestHasBeenSet = true; m_contentDigest = std::move(value); }
100 
104  inline void SetContentDigest(const char* value) { m_contentDigestHasBeenSet = true; m_contentDigest.assign(value); }
105 
109  inline MetricsSource& WithContentDigest(const Aws::String& value) { SetContentDigest(value); return *this;}
110 
114  inline MetricsSource& WithContentDigest(Aws::String&& value) { SetContentDigest(std::move(value)); return *this;}
115 
119  inline MetricsSource& WithContentDigest(const char* value) { SetContentDigest(value); return *this;}
120 
121 
125  inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
126 
130  inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
131 
135  inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
136 
140  inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
141 
145  inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
146 
150  inline MetricsSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
151 
155  inline MetricsSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
156 
160  inline MetricsSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
161 
162  private:
163 
164  Aws::String m_contentType;
165  bool m_contentTypeHasBeenSet;
166 
167  Aws::String m_contentDigest;
168  bool m_contentDigestHasBeenSet;
169 
170  Aws::String m_s3Uri;
171  bool m_s3UriHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace SageMaker
176 } // namespace Aws
Aws::SageMaker::Model::MetricsSource::MetricsSource
MetricsSource()
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::MetricsSource::WithS3Uri
MetricsSource & WithS3Uri(const char *value)
Definition: MetricsSource.h:160
SageMaker_EXPORTS.h
Aws::SageMaker::Model::MetricsSource::ContentTypeHasBeenSet
bool ContentTypeHasBeenSet() const
Definition: MetricsSource.h:48
Aws::SageMaker::Model::MetricsSource::SetContentType
void SetContentType(Aws::String &&value)
Definition: MetricsSource.h:58
Aws::SageMaker::Model::MetricsSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::MetricsSource::SetContentDigest
void SetContentDigest(const Aws::String &value)
Definition: MetricsSource.h:94
Aws::SageMaker::Model::MetricsSource::SetS3Uri
void SetS3Uri(const Aws::String &value)
Definition: MetricsSource.h:135
Aws::SageMaker::Model::MetricsSource::ContentDigestHasBeenSet
bool ContentDigestHasBeenSet() const
Definition: MetricsSource.h:89
Aws::SageMaker::Model::MetricsSource
Definition: MetricsSource.h:32
Aws::SageMaker::Model::MetricsSource::WithContentType
MetricsSource & WithContentType(Aws::String &&value)
Definition: MetricsSource.h:73
Aws::SageMaker::Model::MetricsSource::S3UriHasBeenSet
bool S3UriHasBeenSet() const
Definition: MetricsSource.h:130
Aws::SageMaker::Model::MetricsSource::SetContentDigest
void SetContentDigest(const char *value)
Definition: MetricsSource.h:104
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::MetricsSource::WithContentType
MetricsSource & WithContentType(const char *value)
Definition: MetricsSource.h:78
Aws::SageMaker::Model::MetricsSource::GetContentType
const Aws::String & GetContentType() const
Definition: MetricsSource.h:43
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::MetricsSource::WithContentType
MetricsSource & WithContentType(const Aws::String &value)
Definition: MetricsSource.h:68
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::MetricsSource::SetContentType
void SetContentType(const char *value)
Definition: MetricsSource.h:63
Aws::SageMaker::Model::MetricsSource::WithContentDigest
MetricsSource & WithContentDigest(Aws::String &&value)
Definition: MetricsSource.h:114
Aws::SageMaker::Model::MetricsSource::GetS3Uri
const Aws::String & GetS3Uri() const
Definition: MetricsSource.h:125
Aws::SageMaker::Model::MetricsSource::operator=
MetricsSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MetricsSource::SetContentDigest
void SetContentDigest(Aws::String &&value)
Definition: MetricsSource.h:99
Aws::SageMaker::Model::MetricsSource::GetContentDigest
const Aws::String & GetContentDigest() const
Definition: MetricsSource.h:84
Aws::SageMaker::Model::MetricsSource::SetS3Uri
void SetS3Uri(Aws::String &&value)
Definition: MetricsSource.h:140
Aws::SageMaker::Model::MetricsSource::WithS3Uri
MetricsSource & WithS3Uri(Aws::String &&value)
Definition: MetricsSource.h:155
Aws::SageMaker::Model::MetricsSource::SetContentType
void SetContentType(const Aws::String &value)
Definition: MetricsSource.h:53
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::MetricsSource::WithS3Uri
MetricsSource & WithS3Uri(const Aws::String &value)
Definition: MetricsSource.h:150
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::MetricsSource::MetricsSource
MetricsSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MetricsSource::WithContentDigest
MetricsSource & WithContentDigest(const Aws::String &value)
Definition: MetricsSource.h:109
Aws::SageMaker::Model::MetricsSource::SetS3Uri
void SetS3Uri(const char *value)
Definition: MetricsSource.h:145
Aws::SageMaker::Model::MetricsSource::WithContentDigest
MetricsSource & WithContentDigest(const char *value)
Definition: MetricsSource.h:119