AWS SDK for C++  1.9.153
AWS SDK for C++
LabelingJobSnsDataSource.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 
46  inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
47 
53  inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; }
54 
60  inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
61 
67  inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); }
68 
74  inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
75 
81  inline LabelingJobSnsDataSource& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
82 
88  inline LabelingJobSnsDataSource& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
89 
95  inline LabelingJobSnsDataSource& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
96 
97  private:
98 
99  Aws::String m_snsTopicArn;
100  bool m_snsTopicArnHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace SageMaker
105 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::LabelingJobSnsDataSource::LabelingJobSnsDataSource
LabelingJobSnsDataSource()
Aws::SageMaker::Model::LabelingJobSnsDataSource::WithSnsTopicArn
LabelingJobSnsDataSource & WithSnsTopicArn(const Aws::String &value)
Definition: LabelingJobSnsDataSource.h:81
Aws::SageMaker::Model::LabelingJobSnsDataSource::GetSnsTopicArn
const Aws::String & GetSnsTopicArn() const
Definition: LabelingJobSnsDataSource.h:46
Aws::SageMaker::Model::LabelingJobSnsDataSource::SetSnsTopicArn
void SetSnsTopicArn(Aws::String &&value)
Definition: LabelingJobSnsDataSource.h:67
Aws::SageMaker::Model::LabelingJobSnsDataSource::SetSnsTopicArn
void SetSnsTopicArn(const Aws::String &value)
Definition: LabelingJobSnsDataSource.h:60
Aws::SageMaker::Model::LabelingJobSnsDataSource::SetSnsTopicArn
void SetSnsTopicArn(const char *value)
Definition: LabelingJobSnsDataSource.h:74
Aws::SageMaker::Model::LabelingJobSnsDataSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::LabelingJobSnsDataSource::SnsTopicArnHasBeenSet
bool SnsTopicArnHasBeenSet() const
Definition: LabelingJobSnsDataSource.h:53
Aws::SageMaker::Model::LabelingJobSnsDataSource::WithSnsTopicArn
LabelingJobSnsDataSource & WithSnsTopicArn(const char *value)
Definition: LabelingJobSnsDataSource.h:95
Aws::SageMaker::Model::LabelingJobSnsDataSource::WithSnsTopicArn
LabelingJobSnsDataSource & WithSnsTopicArn(Aws::String &&value)
Definition: LabelingJobSnsDataSource.h:88
Aws::SageMaker::Model::LabelingJobSnsDataSource
Definition: LabelingJobSnsDataSource.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::LabelingJobSnsDataSource::operator=
LabelingJobSnsDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::LabelingJobSnsDataSource::LabelingJobSnsDataSource
LabelingJobSnsDataSource(Aws::Utils::Json::JsonView jsonValue)