AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline DataSourceName GetDataSourceName() const { return m_dataSourceName; }
50 inline bool DataSourceNameHasBeenSet() const { return m_dataSourceNameHasBeenSet; }
51 inline void SetDataSourceName(DataSourceName value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = value; }
54
56
60 inline FeatureStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(FeatureStatus value) { m_statusHasBeenSet = true; m_status = value; }
63 inline IdentityProviderOAuthSetting& WithStatus(FeatureStatus value) { SetStatus(value); return *this;}
65
67
72 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
73 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
74 template<typename SecretArnT = Aws::String>
75 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
76 template<typename SecretArnT = Aws::String>
77 IdentityProviderOAuthSetting& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
79 private:
80
82 bool m_dataSourceNameHasBeenSet = false;
83
85 bool m_statusHasBeenSet = false;
86
87 Aws::String m_secretArn;
88 bool m_secretArnHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SageMaker
93} // namespace Aws
AWS_SAGEMAKER_API IdentityProviderOAuthSetting(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderOAuthSetting & WithSecretArn(SecretArnT &&value)
AWS_SAGEMAKER_API IdentityProviderOAuthSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API IdentityProviderOAuthSetting()=default
IdentityProviderOAuthSetting & WithDataSourceName(DataSourceName value)
IdentityProviderOAuthSetting & WithStatus(FeatureStatus value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue