AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
IdentityProviderOAuthSetting.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/DataSourceName.h>
10#include <aws/sagemaker/model/FeatureStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
32 public:
33 AWS_SAGEMAKER_API IdentityProviderOAuthSetting() = default;
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline DataSourceName GetDataSourceName() const { return m_dataSourceName; }
44 inline bool DataSourceNameHasBeenSet() const { return m_dataSourceNameHasBeenSet; }
45 inline void SetDataSourceName(DataSourceName value) {
46 m_dataSourceNameHasBeenSet = true;
47 m_dataSourceName = value;
48 }
50 SetDataSourceName(value);
51 return *this;
52 }
54
56
60 inline FeatureStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(FeatureStatus value) {
63 m_statusHasBeenSet = true;
64 m_status = value;
65 }
67 SetStatus(value);
68 return *this;
69 }
71
73
78 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
79 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
80 template <typename SecretArnT = Aws::String>
81 void SetSecretArn(SecretArnT&& value) {
82 m_secretArnHasBeenSet = true;
83 m_secretArn = std::forward<SecretArnT>(value);
84 }
85 template <typename SecretArnT = Aws::String>
87 SetSecretArn(std::forward<SecretArnT>(value));
88 return *this;
89 }
91 private:
93
95
96 Aws::String m_secretArn;
97 bool m_dataSourceNameHasBeenSet = false;
98 bool m_statusHasBeenSet = false;
99 bool m_secretArnHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace SageMaker
104} // 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