AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
VisibilityConditions.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_SAGEMAKER_API VisibilityConditions() = default;
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetKey() const { return m_key; }
52 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
53 template<typename KeyT = Aws::String>
54 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
55 template<typename KeyT = Aws::String>
56 VisibilityConditions& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
58
60
63 inline const Aws::String& GetValue() const { return m_value; }
64 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
65 template<typename ValueT = Aws::String>
66 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
67 template<typename ValueT = Aws::String>
68 VisibilityConditions& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
70 private:
71
72 Aws::String m_key;
73 bool m_keyHasBeenSet = false;
74
75 Aws::String m_value;
76 bool m_valueHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
VisibilityConditions & WithValue(ValueT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
VisibilityConditions & WithKey(KeyT &&value)
AWS_SAGEMAKER_API VisibilityConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API VisibilityConditions()=default
AWS_SAGEMAKER_API VisibilityConditions(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue