AWS SDK for C++  1.9.154
AWS SDK for C++
DataCaptureConfigSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline bool GetEnableCapture() const{ return m_enableCapture; }
45 
49  inline bool EnableCaptureHasBeenSet() const { return m_enableCaptureHasBeenSet; }
50 
54  inline void SetEnableCapture(bool value) { m_enableCaptureHasBeenSet = true; m_enableCapture = value; }
55 
59  inline DataCaptureConfigSummary& WithEnableCapture(bool value) { SetEnableCapture(value); return *this;}
60 
61 
65  inline const CaptureStatus& GetCaptureStatus() const{ return m_captureStatus; }
66 
70  inline bool CaptureStatusHasBeenSet() const { return m_captureStatusHasBeenSet; }
71 
75  inline void SetCaptureStatus(const CaptureStatus& value) { m_captureStatusHasBeenSet = true; m_captureStatus = value; }
76 
80  inline void SetCaptureStatus(CaptureStatus&& value) { m_captureStatusHasBeenSet = true; m_captureStatus = std::move(value); }
81 
85  inline DataCaptureConfigSummary& WithCaptureStatus(const CaptureStatus& value) { SetCaptureStatus(value); return *this;}
86 
90  inline DataCaptureConfigSummary& WithCaptureStatus(CaptureStatus&& value) { SetCaptureStatus(std::move(value)); return *this;}
91 
92 
96  inline int GetCurrentSamplingPercentage() const{ return m_currentSamplingPercentage; }
97 
101  inline bool CurrentSamplingPercentageHasBeenSet() const { return m_currentSamplingPercentageHasBeenSet; }
102 
106  inline void SetCurrentSamplingPercentage(int value) { m_currentSamplingPercentageHasBeenSet = true; m_currentSamplingPercentage = value; }
107 
111  inline DataCaptureConfigSummary& WithCurrentSamplingPercentage(int value) { SetCurrentSamplingPercentage(value); return *this;}
112 
113 
117  inline const Aws::String& GetDestinationS3Uri() const{ return m_destinationS3Uri; }
118 
122  inline bool DestinationS3UriHasBeenSet() const { return m_destinationS3UriHasBeenSet; }
123 
127  inline void SetDestinationS3Uri(const Aws::String& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = value; }
128 
132  inline void SetDestinationS3Uri(Aws::String&& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = std::move(value); }
133 
137  inline void SetDestinationS3Uri(const char* value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri.assign(value); }
138 
142  inline DataCaptureConfigSummary& WithDestinationS3Uri(const Aws::String& value) { SetDestinationS3Uri(value); return *this;}
143 
147  inline DataCaptureConfigSummary& WithDestinationS3Uri(Aws::String&& value) { SetDestinationS3Uri(std::move(value)); return *this;}
148 
152  inline DataCaptureConfigSummary& WithDestinationS3Uri(const char* value) { SetDestinationS3Uri(value); return *this;}
153 
154 
158  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
159 
163  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
164 
168  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
169 
173  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
174 
178  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
179 
183  inline DataCaptureConfigSummary& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
184 
188  inline DataCaptureConfigSummary& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
189 
193  inline DataCaptureConfigSummary& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
194 
195  private:
196 
197  bool m_enableCapture;
198  bool m_enableCaptureHasBeenSet;
199 
200  CaptureStatus m_captureStatus;
201  bool m_captureStatusHasBeenSet;
202 
203  int m_currentSamplingPercentage;
204  bool m_currentSamplingPercentageHasBeenSet;
205 
206  Aws::String m_destinationS3Uri;
207  bool m_destinationS3UriHasBeenSet;
208 
209  Aws::String m_kmsKeyId;
210  bool m_kmsKeyIdHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace SageMaker
215 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DataCaptureConfigSummary::SetEnableCapture
void SetEnableCapture(bool value)
Definition: DataCaptureConfigSummary.h:54
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DataCaptureConfigSummary::SetCurrentSamplingPercentage
void SetCurrentSamplingPercentage(int value)
Definition: DataCaptureConfigSummary.h:106
Aws::SageMaker::Model::DataCaptureConfigSummary::DestinationS3UriHasBeenSet
bool DestinationS3UriHasBeenSet() const
Definition: DataCaptureConfigSummary.h:122
Aws::SageMaker::Model::CaptureStatus
CaptureStatus
Definition: CaptureStatus.h:17
Aws::SageMaker::Model::DataCaptureConfigSummary::GetDestinationS3Uri
const Aws::String & GetDestinationS3Uri() const
Definition: DataCaptureConfigSummary.h:117
Aws::SageMaker::Model::DataCaptureConfigSummary::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: DataCaptureConfigSummary.h:173
Aws::SageMaker::Model::DataCaptureConfigSummary::GetEnableCapture
bool GetEnableCapture() const
Definition: DataCaptureConfigSummary.h:44
Aws::SageMaker::Model::DataCaptureConfigSummary::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: DataCaptureConfigSummary.h:158
Aws::SageMaker::Model::DataCaptureConfigSummary::WithDestinationS3Uri
DataCaptureConfigSummary & WithDestinationS3Uri(const char *value)
Definition: DataCaptureConfigSummary.h:152
Aws::SageMaker::Model::DataCaptureConfigSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DataCaptureConfigSummary
Definition: DataCaptureConfigSummary.h:33
Aws::SageMaker::Model::DataCaptureConfigSummary::WithCurrentSamplingPercentage
DataCaptureConfigSummary & WithCurrentSamplingPercentage(int value)
Definition: DataCaptureConfigSummary.h:111
Aws::SageMaker::Model::DataCaptureConfigSummary::DataCaptureConfigSummary
DataCaptureConfigSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DataCaptureConfigSummary::WithDestinationS3Uri
DataCaptureConfigSummary & WithDestinationS3Uri(const Aws::String &value)
Definition: DataCaptureConfigSummary.h:142
Aws::SageMaker::Model::DataCaptureConfigSummary::CurrentSamplingPercentageHasBeenSet
bool CurrentSamplingPercentageHasBeenSet() const
Definition: DataCaptureConfigSummary.h:101
Aws::SageMaker::Model::DataCaptureConfigSummary::SetDestinationS3Uri
void SetDestinationS3Uri(Aws::String &&value)
Definition: DataCaptureConfigSummary.h:132
Aws::SageMaker::Model::DataCaptureConfigSummary::WithKmsKeyId
DataCaptureConfigSummary & WithKmsKeyId(Aws::String &&value)
Definition: DataCaptureConfigSummary.h:188
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DataCaptureConfigSummary::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: DataCaptureConfigSummary.h:163
Aws::SageMaker::Model::DataCaptureConfigSummary::CaptureStatusHasBeenSet
bool CaptureStatusHasBeenSet() const
Definition: DataCaptureConfigSummary.h:70
Aws::SageMaker::Model::DataCaptureConfigSummary::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: DataCaptureConfigSummary.h:168
Aws::SageMaker::Model::DataCaptureConfigSummary::WithCaptureStatus
DataCaptureConfigSummary & WithCaptureStatus(CaptureStatus &&value)
Definition: DataCaptureConfigSummary.h:90
Aws::SageMaker::Model::DataCaptureConfigSummary::EnableCaptureHasBeenSet
bool EnableCaptureHasBeenSet() const
Definition: DataCaptureConfigSummary.h:49
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
CaptureStatus.h
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DataCaptureConfigSummary::SetDestinationS3Uri
void SetDestinationS3Uri(const Aws::String &value)
Definition: DataCaptureConfigSummary.h:127
Aws::SageMaker::Model::DataCaptureConfigSummary::operator=
DataCaptureConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DataCaptureConfigSummary::SetDestinationS3Uri
void SetDestinationS3Uri(const char *value)
Definition: DataCaptureConfigSummary.h:137
Aws::SageMaker::Model::DataCaptureConfigSummary::WithKmsKeyId
DataCaptureConfigSummary & WithKmsKeyId(const Aws::String &value)
Definition: DataCaptureConfigSummary.h:183
Aws::SageMaker::Model::DataCaptureConfigSummary::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: DataCaptureConfigSummary.h:178
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DataCaptureConfigSummary::WithDestinationS3Uri
DataCaptureConfigSummary & WithDestinationS3Uri(Aws::String &&value)
Definition: DataCaptureConfigSummary.h:147
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DataCaptureConfigSummary::GetCurrentSamplingPercentage
int GetCurrentSamplingPercentage() const
Definition: DataCaptureConfigSummary.h:96
Aws::SageMaker::Model::DataCaptureConfigSummary::WithCaptureStatus
DataCaptureConfigSummary & WithCaptureStatus(const CaptureStatus &value)
Definition: DataCaptureConfigSummary.h:85
Aws::SageMaker::Model::DataCaptureConfigSummary::SetCaptureStatus
void SetCaptureStatus(const CaptureStatus &value)
Definition: DataCaptureConfigSummary.h:75
Aws::SageMaker::Model::DataCaptureConfigSummary::SetCaptureStatus
void SetCaptureStatus(CaptureStatus &&value)
Definition: DataCaptureConfigSummary.h:80
Aws::SageMaker::Model::DataCaptureConfigSummary::DataCaptureConfigSummary
DataCaptureConfigSummary()
Aws::SageMaker::Model::DataCaptureConfigSummary::WithKmsKeyId
DataCaptureConfigSummary & WithKmsKeyId(const char *value)
Definition: DataCaptureConfigSummary.h:193
Aws::SageMaker::Model::DataCaptureConfigSummary::GetCaptureStatus
const CaptureStatus & GetCaptureStatus() const
Definition: DataCaptureConfigSummary.h:65
Aws::SageMaker::Model::DataCaptureConfigSummary::WithEnableCapture
DataCaptureConfigSummary & WithEnableCapture(bool value)
Definition: DataCaptureConfigSummary.h:59