AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
VisibilityConditions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
34 public:
35 AWS_SAGEMAKER_API VisibilityConditions() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::String& GetKey() const { return m_key; }
46 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
47 template <typename KeyT = Aws::String>
48 void SetKey(KeyT&& value) {
49 m_keyHasBeenSet = true;
50 m_key = std::forward<KeyT>(value);
51 }
52 template <typename KeyT = Aws::String>
54 SetKey(std::forward<KeyT>(value));
55 return *this;
56 }
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) {
67 m_valueHasBeenSet = true;
68 m_value = std::forward<ValueT>(value);
69 }
70 template <typename ValueT = Aws::String>
72 SetValue(std::forward<ValueT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_key;
78
79 Aws::String m_value;
80 bool m_keyHasBeenSet = false;
81 bool m_valueHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SageMaker
86} // 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