AWS SDK for C++  1.9.2
AWS SDK for C++
LabelingJobOutputConfig.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
45 
49  inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
50 
54  inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
55 
59  inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
60 
64  inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
65 
69  inline LabelingJobOutputConfig& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
70 
74  inline LabelingJobOutputConfig& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
75 
79  inline LabelingJobOutputConfig& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
80 
81 
98  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
99 
116  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
117 
134  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
135 
152  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
153 
170  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
171 
188  inline LabelingJobOutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
189 
206  inline LabelingJobOutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
207 
224  inline LabelingJobOutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
225 
226 
235  inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
236 
245  inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; }
246 
255  inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
256 
265  inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); }
266 
275  inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
276 
285  inline LabelingJobOutputConfig& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
286 
295  inline LabelingJobOutputConfig& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
296 
305  inline LabelingJobOutputConfig& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
306 
307  private:
308 
309  Aws::String m_s3OutputPath;
310  bool m_s3OutputPathHasBeenSet;
311 
312  Aws::String m_kmsKeyId;
313  bool m_kmsKeyIdHasBeenSet;
314 
315  Aws::String m_snsTopicArn;
316  bool m_snsTopicArnHasBeenSet;
317  };
318 
319 } // namespace Model
320 } // namespace SageMaker
321 } // namespace Aws
Aws::SageMaker::Model::LabelingJobOutputConfig::GetS3OutputPath
const Aws::String & GetS3OutputPath() const
Definition: LabelingJobOutputConfig.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::LabelingJobOutputConfig::WithS3OutputPath
LabelingJobOutputConfig & WithS3OutputPath(const char *value)
Definition: LabelingJobOutputConfig.h:79
Aws::SageMaker::Model::LabelingJobOutputConfig::GetSnsTopicArn
const Aws::String & GetSnsTopicArn() const
Definition: LabelingJobOutputConfig.h:235
SageMaker_EXPORTS.h
Aws::SageMaker::Model::LabelingJobOutputConfig::SetSnsTopicArn
void SetSnsTopicArn(Aws::String &&value)
Definition: LabelingJobOutputConfig.h:265
Aws::SageMaker::Model::LabelingJobOutputConfig::SetS3OutputPath
void SetS3OutputPath(const Aws::String &value)
Definition: LabelingJobOutputConfig.h:54
Aws::SageMaker::Model::LabelingJobOutputConfig::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: LabelingJobOutputConfig.h:170
Aws::SageMaker::Model::LabelingJobOutputConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::LabelingJobOutputConfig::WithSnsTopicArn
LabelingJobOutputConfig & WithSnsTopicArn(const char *value)
Definition: LabelingJobOutputConfig.h:305
Aws::SageMaker::Model::LabelingJobOutputConfig::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: LabelingJobOutputConfig.h:152
Aws::SageMaker::Model::LabelingJobOutputConfig::S3OutputPathHasBeenSet
bool S3OutputPathHasBeenSet() const
Definition: LabelingJobOutputConfig.h:49
Aws::SageMaker::Model::LabelingJobOutputConfig::SetS3OutputPath
void SetS3OutputPath(Aws::String &&value)
Definition: LabelingJobOutputConfig.h:59
Aws::SageMaker::Model::LabelingJobOutputConfig::SetSnsTopicArn
void SetSnsTopicArn(const char *value)
Definition: LabelingJobOutputConfig.h:275
Aws::SageMaker::Model::LabelingJobOutputConfig::WithKmsKeyId
LabelingJobOutputConfig & WithKmsKeyId(Aws::String &&value)
Definition: LabelingJobOutputConfig.h:206
Aws::SageMaker::Model::LabelingJobOutputConfig::operator=
LabelingJobOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::LabelingJobOutputConfig::WithSnsTopicArn
LabelingJobOutputConfig & WithSnsTopicArn(const Aws::String &value)
Definition: LabelingJobOutputConfig.h:285
Aws::SageMaker::Model::LabelingJobOutputConfig::LabelingJobOutputConfig
LabelingJobOutputConfig()
Aws::SageMaker::Model::LabelingJobOutputConfig::WithS3OutputPath
LabelingJobOutputConfig & WithS3OutputPath(const Aws::String &value)
Definition: LabelingJobOutputConfig.h:69
Aws::SageMaker::Model::LabelingJobOutputConfig::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: LabelingJobOutputConfig.h:98
Aws::SageMaker::Model::LabelingJobOutputConfig::SnsTopicArnHasBeenSet
bool SnsTopicArnHasBeenSet() const
Definition: LabelingJobOutputConfig.h:245
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::SageMaker::Model::LabelingJobOutputConfig
Definition: LabelingJobOutputConfig.h:33
Aws::SageMaker::Model::LabelingJobOutputConfig::WithKmsKeyId
LabelingJobOutputConfig & WithKmsKeyId(const Aws::String &value)
Definition: LabelingJobOutputConfig.h:188
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::LabelingJobOutputConfig::WithS3OutputPath
LabelingJobOutputConfig & WithS3OutputPath(Aws::String &&value)
Definition: LabelingJobOutputConfig.h:74
Aws::SageMaker::Model::LabelingJobOutputConfig::SetSnsTopicArn
void SetSnsTopicArn(const Aws::String &value)
Definition: LabelingJobOutputConfig.h:255
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::LabelingJobOutputConfig::LabelingJobOutputConfig
LabelingJobOutputConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::LabelingJobOutputConfig::WithSnsTopicArn
LabelingJobOutputConfig & WithSnsTopicArn(Aws::String &&value)
Definition: LabelingJobOutputConfig.h:295
Aws::SageMaker::Model::LabelingJobOutputConfig::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: LabelingJobOutputConfig.h:116
Aws::SageMaker::Model::LabelingJobOutputConfig::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: LabelingJobOutputConfig.h:134
Aws::SageMaker::Model::LabelingJobOutputConfig::WithKmsKeyId
LabelingJobOutputConfig & WithKmsKeyId(const char *value)
Definition: LabelingJobOutputConfig.h:224
Aws::SageMaker::Model::LabelingJobOutputConfig::SetS3OutputPath
void SetS3OutputPath(const char *value)
Definition: LabelingJobOutputConfig.h:64