AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityProviderOAuthSetting.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/DataSourceName.h>
9#include <aws/sagemaker/model/FeatureStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_SAGEMAKER_API IdentityProviderOAuthSetting();
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const DataSourceName& GetDataSourceName() const{ return m_dataSourceName; }
50 inline bool DataSourceNameHasBeenSet() const { return m_dataSourceNameHasBeenSet; }
51 inline void SetDataSourceName(const DataSourceName& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = value; }
52 inline void SetDataSourceName(DataSourceName&& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = std::move(value); }
54 inline IdentityProviderOAuthSetting& WithDataSourceName(DataSourceName&& value) { SetDataSourceName(std::move(value)); return *this;}
56
58
62 inline const FeatureStatus& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 inline IdentityProviderOAuthSetting& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
67 inline IdentityProviderOAuthSetting& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
69
71
76 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
77 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
78 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
79 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
80 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
81 inline IdentityProviderOAuthSetting& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
82 inline IdentityProviderOAuthSetting& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
83 inline IdentityProviderOAuthSetting& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
85 private:
86
87 DataSourceName m_dataSourceName;
88 bool m_dataSourceNameHasBeenSet = false;
89
90 FeatureStatus m_status;
91 bool m_statusHasBeenSet = false;
92
93 Aws::String m_secretArn;
94 bool m_secretArnHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SageMaker
99} // namespace Aws
AWS_SAGEMAKER_API IdentityProviderOAuthSetting(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderOAuthSetting & WithSecretArn(const char *value)
IdentityProviderOAuthSetting & WithStatus(const FeatureStatus &value)
IdentityProviderOAuthSetting & WithDataSourceName(const DataSourceName &value)
AWS_SAGEMAKER_API IdentityProviderOAuthSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderOAuthSetting & WithStatus(FeatureStatus &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityProviderOAuthSetting & WithSecretArn(Aws::String &&value)
IdentityProviderOAuthSetting & WithSecretArn(const Aws::String &value)
IdentityProviderOAuthSetting & WithDataSourceName(DataSourceName &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue