AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataCaptureConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/CaptureContentTypeHeader.h>
11#include <aws/sagemaker/model/CaptureOption.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API DataCaptureConfig();
39 AWS_SAGEMAKER_API DataCaptureConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline bool GetEnableCapture() const{ return m_enableCapture; }
49 inline bool EnableCaptureHasBeenSet() const { return m_enableCaptureHasBeenSet; }
50 inline void SetEnableCapture(bool value) { m_enableCaptureHasBeenSet = true; m_enableCapture = value; }
51 inline DataCaptureConfig& WithEnableCapture(bool value) { SetEnableCapture(value); return *this;}
53
55
59 inline int GetInitialSamplingPercentage() const{ return m_initialSamplingPercentage; }
60 inline bool InitialSamplingPercentageHasBeenSet() const { return m_initialSamplingPercentageHasBeenSet; }
61 inline void SetInitialSamplingPercentage(int value) { m_initialSamplingPercentageHasBeenSet = true; m_initialSamplingPercentage = value; }
64
66
69 inline const Aws::String& GetDestinationS3Uri() const{ return m_destinationS3Uri; }
70 inline bool DestinationS3UriHasBeenSet() const { return m_destinationS3UriHasBeenSet; }
71 inline void SetDestinationS3Uri(const Aws::String& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = value; }
72 inline void SetDestinationS3Uri(Aws::String&& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = std::move(value); }
73 inline void SetDestinationS3Uri(const char* value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri.assign(value); }
74 inline DataCaptureConfig& WithDestinationS3Uri(const Aws::String& value) { SetDestinationS3Uri(value); return *this;}
75 inline DataCaptureConfig& WithDestinationS3Uri(Aws::String&& value) { SetDestinationS3Uri(std::move(value)); return *this;}
76 inline DataCaptureConfig& WithDestinationS3Uri(const char* value) { SetDestinationS3Uri(value); return *this;}
78
80
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 DataCaptureConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
98 inline DataCaptureConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
99 inline DataCaptureConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
101
103
107 inline const Aws::Vector<CaptureOption>& GetCaptureOptions() const{ return m_captureOptions; }
108 inline bool CaptureOptionsHasBeenSet() const { return m_captureOptionsHasBeenSet; }
109 inline void SetCaptureOptions(const Aws::Vector<CaptureOption>& value) { m_captureOptionsHasBeenSet = true; m_captureOptions = value; }
110 inline void SetCaptureOptions(Aws::Vector<CaptureOption>&& value) { m_captureOptionsHasBeenSet = true; m_captureOptions = std::move(value); }
112 inline DataCaptureConfig& WithCaptureOptions(Aws::Vector<CaptureOption>&& value) { SetCaptureOptions(std::move(value)); return *this;}
113 inline DataCaptureConfig& AddCaptureOptions(const CaptureOption& value) { m_captureOptionsHasBeenSet = true; m_captureOptions.push_back(value); return *this; }
114 inline DataCaptureConfig& AddCaptureOptions(CaptureOption&& value) { m_captureOptionsHasBeenSet = true; m_captureOptions.push_back(std::move(value)); return *this; }
116
118
122 inline const CaptureContentTypeHeader& GetCaptureContentTypeHeader() const{ return m_captureContentTypeHeader; }
123 inline bool CaptureContentTypeHeaderHasBeenSet() const { return m_captureContentTypeHeaderHasBeenSet; }
124 inline void SetCaptureContentTypeHeader(const CaptureContentTypeHeader& value) { m_captureContentTypeHeaderHasBeenSet = true; m_captureContentTypeHeader = value; }
125 inline void SetCaptureContentTypeHeader(CaptureContentTypeHeader&& value) { m_captureContentTypeHeaderHasBeenSet = true; m_captureContentTypeHeader = std::move(value); }
129 private:
130
131 bool m_enableCapture;
132 bool m_enableCaptureHasBeenSet = false;
133
134 int m_initialSamplingPercentage;
135 bool m_initialSamplingPercentageHasBeenSet = false;
136
137 Aws::String m_destinationS3Uri;
138 bool m_destinationS3UriHasBeenSet = false;
139
140 Aws::String m_kmsKeyId;
141 bool m_kmsKeyIdHasBeenSet = false;
142
143 Aws::Vector<CaptureOption> m_captureOptions;
144 bool m_captureOptionsHasBeenSet = false;
145
146 CaptureContentTypeHeader m_captureContentTypeHeader;
147 bool m_captureContentTypeHeaderHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SageMaker
152} // namespace Aws
DataCaptureConfig & WithDestinationS3Uri(const char *value)
DataCaptureConfig & WithDestinationS3Uri(const Aws::String &value)
void SetDestinationS3Uri(const Aws::String &value)
void SetCaptureOptions(Aws::Vector< CaptureOption > &&value)
const Aws::Vector< CaptureOption > & GetCaptureOptions() const
DataCaptureConfig & WithCaptureContentTypeHeader(const CaptureContentTypeHeader &value)
void SetKmsKeyId(const Aws::String &value)
DataCaptureConfig & WithInitialSamplingPercentage(int value)
AWS_SAGEMAKER_API DataCaptureConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API DataCaptureConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKmsKeyId() const
DataCaptureConfig & WithCaptureContentTypeHeader(CaptureContentTypeHeader &&value)
DataCaptureConfig & WithKmsKeyId(Aws::String &&value)
void SetDestinationS3Uri(Aws::String &&value)
DataCaptureConfig & AddCaptureOptions(CaptureOption &&value)
void SetCaptureContentTypeHeader(CaptureContentTypeHeader &&value)
DataCaptureConfig & WithCaptureOptions(Aws::Vector< CaptureOption > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCaptureContentTypeHeader(const CaptureContentTypeHeader &value)
DataCaptureConfig & AddCaptureOptions(const CaptureOption &value)
const Aws::String & GetDestinationS3Uri() const
DataCaptureConfig & WithDestinationS3Uri(Aws::String &&value)
DataCaptureConfig & WithKmsKeyId(const char *value)
DataCaptureConfig & WithEnableCapture(bool value)
DataCaptureConfig & WithCaptureOptions(const Aws::Vector< CaptureOption > &value)
DataCaptureConfig & WithKmsKeyId(const Aws::String &value)
const CaptureContentTypeHeader & GetCaptureContentTypeHeader() const
void SetCaptureOptions(const Aws::Vector< CaptureOption > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue