AWS SDK for C++  1.9.159
AWS SDK for C++
DataCaptureConfig.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline bool GetEnableCapture() const{ return m_enableCapture; }
47 
51  inline bool EnableCaptureHasBeenSet() const { return m_enableCaptureHasBeenSet; }
52 
56  inline void SetEnableCapture(bool value) { m_enableCaptureHasBeenSet = true; m_enableCapture = value; }
57 
61  inline DataCaptureConfig& WithEnableCapture(bool value) { SetEnableCapture(value); return *this;}
62 
63 
67  inline int GetInitialSamplingPercentage() const{ return m_initialSamplingPercentage; }
68 
72  inline bool InitialSamplingPercentageHasBeenSet() const { return m_initialSamplingPercentageHasBeenSet; }
73 
77  inline void SetInitialSamplingPercentage(int value) { m_initialSamplingPercentageHasBeenSet = true; m_initialSamplingPercentage = value; }
78 
82  inline DataCaptureConfig& WithInitialSamplingPercentage(int value) { SetInitialSamplingPercentage(value); return *this;}
83 
84 
88  inline const Aws::String& GetDestinationS3Uri() const{ return m_destinationS3Uri; }
89 
93  inline bool DestinationS3UriHasBeenSet() const { return m_destinationS3UriHasBeenSet; }
94 
98  inline void SetDestinationS3Uri(const Aws::String& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = value; }
99 
103  inline void SetDestinationS3Uri(Aws::String&& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = std::move(value); }
104 
108  inline void SetDestinationS3Uri(const char* value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri.assign(value); }
109 
113  inline DataCaptureConfig& WithDestinationS3Uri(const Aws::String& value) { SetDestinationS3Uri(value); return *this;}
114 
118  inline DataCaptureConfig& WithDestinationS3Uri(Aws::String&& value) { SetDestinationS3Uri(std::move(value)); return *this;}
119 
123  inline DataCaptureConfig& WithDestinationS3Uri(const char* value) { SetDestinationS3Uri(value); return *this;}
124 
125 
129  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
130 
134  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
135 
139  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
140 
144  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
145 
149  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
150 
154  inline DataCaptureConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
155 
159  inline DataCaptureConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
160 
164  inline DataCaptureConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
165 
166 
170  inline const Aws::Vector<CaptureOption>& GetCaptureOptions() const{ return m_captureOptions; }
171 
175  inline bool CaptureOptionsHasBeenSet() const { return m_captureOptionsHasBeenSet; }
176 
180  inline void SetCaptureOptions(const Aws::Vector<CaptureOption>& value) { m_captureOptionsHasBeenSet = true; m_captureOptions = value; }
181 
185  inline void SetCaptureOptions(Aws::Vector<CaptureOption>&& value) { m_captureOptionsHasBeenSet = true; m_captureOptions = std::move(value); }
186 
190  inline DataCaptureConfig& WithCaptureOptions(const Aws::Vector<CaptureOption>& value) { SetCaptureOptions(value); return *this;}
191 
195  inline DataCaptureConfig& WithCaptureOptions(Aws::Vector<CaptureOption>&& value) { SetCaptureOptions(std::move(value)); return *this;}
196 
200  inline DataCaptureConfig& AddCaptureOptions(const CaptureOption& value) { m_captureOptionsHasBeenSet = true; m_captureOptions.push_back(value); return *this; }
201 
205  inline DataCaptureConfig& AddCaptureOptions(CaptureOption&& value) { m_captureOptionsHasBeenSet = true; m_captureOptions.push_back(std::move(value)); return *this; }
206 
207 
211  inline const CaptureContentTypeHeader& GetCaptureContentTypeHeader() const{ return m_captureContentTypeHeader; }
212 
216  inline bool CaptureContentTypeHeaderHasBeenSet() const { return m_captureContentTypeHeaderHasBeenSet; }
217 
221  inline void SetCaptureContentTypeHeader(const CaptureContentTypeHeader& value) { m_captureContentTypeHeaderHasBeenSet = true; m_captureContentTypeHeader = value; }
222 
226  inline void SetCaptureContentTypeHeader(CaptureContentTypeHeader&& value) { m_captureContentTypeHeaderHasBeenSet = true; m_captureContentTypeHeader = std::move(value); }
227 
231  inline DataCaptureConfig& WithCaptureContentTypeHeader(const CaptureContentTypeHeader& value) { SetCaptureContentTypeHeader(value); return *this;}
232 
236  inline DataCaptureConfig& WithCaptureContentTypeHeader(CaptureContentTypeHeader&& value) { SetCaptureContentTypeHeader(std::move(value)); return *this;}
237 
238  private:
239 
240  bool m_enableCapture;
241  bool m_enableCaptureHasBeenSet;
242 
243  int m_initialSamplingPercentage;
244  bool m_initialSamplingPercentageHasBeenSet;
245 
246  Aws::String m_destinationS3Uri;
247  bool m_destinationS3UriHasBeenSet;
248 
249  Aws::String m_kmsKeyId;
250  bool m_kmsKeyIdHasBeenSet;
251 
252  Aws::Vector<CaptureOption> m_captureOptions;
253  bool m_captureOptionsHasBeenSet;
254 
255  CaptureContentTypeHeader m_captureContentTypeHeader;
256  bool m_captureContentTypeHeaderHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace SageMaker
261 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DataCaptureConfig::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: DataCaptureConfig.h:149
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DataCaptureConfig::GetInitialSamplingPercentage
int GetInitialSamplingPercentage() const
Definition: DataCaptureConfig.h:67
Aws::SageMaker::Model::DataCaptureConfig::WithDestinationS3Uri
DataCaptureConfig & WithDestinationS3Uri(const char *value)
Definition: DataCaptureConfig.h:123
Aws::SageMaker::Model::DataCaptureConfig::CaptureContentTypeHeaderHasBeenSet
bool CaptureContentTypeHeaderHasBeenSet() const
Definition: DataCaptureConfig.h:216
Aws::SageMaker::Model::DataCaptureConfig::WithDestinationS3Uri
DataCaptureConfig & WithDestinationS3Uri(Aws::String &&value)
Definition: DataCaptureConfig.h:118
Aws::SageMaker::Model::DataCaptureConfig::EnableCaptureHasBeenSet
bool EnableCaptureHasBeenSet() const
Definition: DataCaptureConfig.h:51
CaptureOption.h
Aws::SageMaker::Model::DataCaptureConfig::DataCaptureConfig
DataCaptureConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DataCaptureConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DataCaptureConfig::GetEnableCapture
bool GetEnableCapture() const
Definition: DataCaptureConfig.h:46
Aws::SageMaker::Model::DataCaptureConfig::InitialSamplingPercentageHasBeenSet
bool InitialSamplingPercentageHasBeenSet() const
Definition: DataCaptureConfig.h:72
Aws::SageMaker::Model::DataCaptureConfig::WithDestinationS3Uri
DataCaptureConfig & WithDestinationS3Uri(const Aws::String &value)
Definition: DataCaptureConfig.h:113
Aws::SageMaker::Model::DataCaptureConfig::DataCaptureConfig
DataCaptureConfig()
Aws::SageMaker::Model::DataCaptureConfig::SetCaptureContentTypeHeader
void SetCaptureContentTypeHeader(CaptureContentTypeHeader &&value)
Definition: DataCaptureConfig.h:226
Aws::SageMaker::Model::DataCaptureConfig::SetCaptureContentTypeHeader
void SetCaptureContentTypeHeader(const CaptureContentTypeHeader &value)
Definition: DataCaptureConfig.h:221
Aws::SageMaker::Model::DataCaptureConfig::SetCaptureOptions
void SetCaptureOptions(Aws::Vector< CaptureOption > &&value)
Definition: DataCaptureConfig.h:185
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
CaptureContentTypeHeader.h
Aws::SageMaker::Model::DataCaptureConfig::WithEnableCapture
DataCaptureConfig & WithEnableCapture(bool value)
Definition: DataCaptureConfig.h:61
Aws::SageMaker::Model::DataCaptureConfig::WithCaptureOptions
DataCaptureConfig & WithCaptureOptions(Aws::Vector< CaptureOption > &&value)
Definition: DataCaptureConfig.h:195
AWSVector.h
Aws::SageMaker::Model::DataCaptureConfig::WithCaptureContentTypeHeader
DataCaptureConfig & WithCaptureContentTypeHeader(const CaptureContentTypeHeader &value)
Definition: DataCaptureConfig.h:231
Aws::SageMaker::Model::DataCaptureConfig::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: DataCaptureConfig.h:144
Aws::SageMaker::Model::DataCaptureConfig::DestinationS3UriHasBeenSet
bool DestinationS3UriHasBeenSet() const
Definition: DataCaptureConfig.h:93
Aws::SageMaker::Model::DataCaptureConfig::operator=
DataCaptureConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DataCaptureConfig
Definition: DataCaptureConfig.h:35
Aws::SageMaker::Model::DataCaptureConfig::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: DataCaptureConfig.h:129
Aws::SageMaker::Model::DataCaptureConfig::SetDestinationS3Uri
void SetDestinationS3Uri(const Aws::String &value)
Definition: DataCaptureConfig.h:98
Aws::SageMaker::Model::CaptureContentTypeHeader
Definition: CaptureContentTypeHeader.h:33
Aws::SageMaker::Model::CaptureOption
Definition: CaptureOption.h:32
Aws::SageMaker::Model::DataCaptureConfig::WithInitialSamplingPercentage
DataCaptureConfig & WithInitialSamplingPercentage(int value)
Definition: DataCaptureConfig.h:82
Aws::SageMaker::Model::DataCaptureConfig::WithKmsKeyId
DataCaptureConfig & WithKmsKeyId(const Aws::String &value)
Definition: DataCaptureConfig.h:154
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DataCaptureConfig::WithKmsKeyId
DataCaptureConfig & WithKmsKeyId(const char *value)
Definition: DataCaptureConfig.h:164
Aws::SageMaker::Model::DataCaptureConfig::SetEnableCapture
void SetEnableCapture(bool value)
Definition: DataCaptureConfig.h:56
Aws::SageMaker::Model::DataCaptureConfig::AddCaptureOptions
DataCaptureConfig & AddCaptureOptions(CaptureOption &&value)
Definition: DataCaptureConfig.h:205
Aws::SageMaker::Model::DataCaptureConfig::AddCaptureOptions
DataCaptureConfig & AddCaptureOptions(const CaptureOption &value)
Definition: DataCaptureConfig.h:200
Aws::SageMaker::Model::DataCaptureConfig::WithCaptureOptions
DataCaptureConfig & WithCaptureOptions(const Aws::Vector< CaptureOption > &value)
Definition: DataCaptureConfig.h:190
Aws::SageMaker::Model::DataCaptureConfig::SetDestinationS3Uri
void SetDestinationS3Uri(Aws::String &&value)
Definition: DataCaptureConfig.h:103
Aws::SageMaker::Model::DataCaptureConfig::GetDestinationS3Uri
const Aws::String & GetDestinationS3Uri() const
Definition: DataCaptureConfig.h:88
Aws::SageMaker::Model::DataCaptureConfig::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: DataCaptureConfig.h:139
Aws::SageMaker::Model::DataCaptureConfig::SetDestinationS3Uri
void SetDestinationS3Uri(const char *value)
Definition: DataCaptureConfig.h:108
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DataCaptureConfig::SetInitialSamplingPercentage
void SetInitialSamplingPercentage(int value)
Definition: DataCaptureConfig.h:77
Aws::SageMaker::Model::DataCaptureConfig::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: DataCaptureConfig.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DataCaptureConfig::WithCaptureContentTypeHeader
DataCaptureConfig & WithCaptureContentTypeHeader(CaptureContentTypeHeader &&value)
Definition: DataCaptureConfig.h:236
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DataCaptureConfig::CaptureOptionsHasBeenSet
bool CaptureOptionsHasBeenSet() const
Definition: DataCaptureConfig.h:175
Aws::SageMaker::Model::DataCaptureConfig::SetCaptureOptions
void SetCaptureOptions(const Aws::Vector< CaptureOption > &value)
Definition: DataCaptureConfig.h:180
Aws::SageMaker::Model::DataCaptureConfig::WithKmsKeyId
DataCaptureConfig & WithKmsKeyId(Aws::String &&value)
Definition: DataCaptureConfig.h:159
Aws::SageMaker::Model::DataCaptureConfig::GetCaptureOptions
const Aws::Vector< CaptureOption > & GetCaptureOptions() const
Definition: DataCaptureConfig.h:170
Aws::SageMaker::Model::DataCaptureConfig::GetCaptureContentTypeHeader
const CaptureContentTypeHeader & GetCaptureContentTypeHeader() const
Definition: DataCaptureConfig.h:211