AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataCaptureConfigSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/CaptureStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API DataCaptureConfigSummary();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetEnableCapture() const{ return m_enableCapture; }
47 inline bool EnableCaptureHasBeenSet() const { return m_enableCaptureHasBeenSet; }
48 inline void SetEnableCapture(bool value) { m_enableCaptureHasBeenSet = true; m_enableCapture = value; }
49 inline DataCaptureConfigSummary& WithEnableCapture(bool value) { SetEnableCapture(value); return *this;}
51
53
56 inline const CaptureStatus& GetCaptureStatus() const{ return m_captureStatus; }
57 inline bool CaptureStatusHasBeenSet() const { return m_captureStatusHasBeenSet; }
58 inline void SetCaptureStatus(const CaptureStatus& value) { m_captureStatusHasBeenSet = true; m_captureStatus = value; }
59 inline void SetCaptureStatus(CaptureStatus&& value) { m_captureStatusHasBeenSet = true; m_captureStatus = std::move(value); }
60 inline DataCaptureConfigSummary& WithCaptureStatus(const CaptureStatus& value) { SetCaptureStatus(value); return *this;}
61 inline DataCaptureConfigSummary& WithCaptureStatus(CaptureStatus&& value) { SetCaptureStatus(std::move(value)); return *this;}
63
65
68 inline int GetCurrentSamplingPercentage() const{ return m_currentSamplingPercentage; }
69 inline bool CurrentSamplingPercentageHasBeenSet() const { return m_currentSamplingPercentageHasBeenSet; }
70 inline void SetCurrentSamplingPercentage(int value) { m_currentSamplingPercentageHasBeenSet = true; m_currentSamplingPercentage = value; }
73
75
78 inline const Aws::String& GetDestinationS3Uri() const{ return m_destinationS3Uri; }
79 inline bool DestinationS3UriHasBeenSet() const { return m_destinationS3UriHasBeenSet; }
80 inline void SetDestinationS3Uri(const Aws::String& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = value; }
81 inline void SetDestinationS3Uri(Aws::String&& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = std::move(value); }
82 inline void SetDestinationS3Uri(const char* value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri.assign(value); }
84 inline DataCaptureConfigSummary& WithDestinationS3Uri(Aws::String&& value) { SetDestinationS3Uri(std::move(value)); return *this;}
85 inline DataCaptureConfigSummary& WithDestinationS3Uri(const char* value) { SetDestinationS3Uri(value); return *this;}
87
89
92 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
93 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
94 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
95 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
96 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
97 inline DataCaptureConfigSummary& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
98 inline DataCaptureConfigSummary& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
99 inline DataCaptureConfigSummary& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
101 private:
102
103 bool m_enableCapture;
104 bool m_enableCaptureHasBeenSet = false;
105
106 CaptureStatus m_captureStatus;
107 bool m_captureStatusHasBeenSet = false;
108
109 int m_currentSamplingPercentage;
110 bool m_currentSamplingPercentageHasBeenSet = false;
111
112 Aws::String m_destinationS3Uri;
113 bool m_destinationS3UriHasBeenSet = false;
114
115 Aws::String m_kmsKeyId;
116 bool m_kmsKeyIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SageMaker
121} // namespace Aws
DataCaptureConfigSummary & WithEnableCapture(bool value)
AWS_SAGEMAKER_API DataCaptureConfigSummary(Aws::Utils::Json::JsonView jsonValue)
DataCaptureConfigSummary & WithKmsKeyId(const Aws::String &value)
DataCaptureConfigSummary & WithCurrentSamplingPercentage(int value)
DataCaptureConfigSummary & WithDestinationS3Uri(const char *value)
DataCaptureConfigSummary & WithKmsKeyId(Aws::String &&value)
AWS_SAGEMAKER_API DataCaptureConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DataCaptureConfigSummary & WithCaptureStatus(CaptureStatus &&value)
DataCaptureConfigSummary & WithDestinationS3Uri(const Aws::String &value)
DataCaptureConfigSummary & WithKmsKeyId(const char *value)
DataCaptureConfigSummary & WithDestinationS3Uri(Aws::String &&value)
DataCaptureConfigSummary & WithCaptureStatus(const CaptureStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue