AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StringValueWhenUnsetConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ValueWhenUnsetOption.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API StringValueWhenUnsetConfiguration() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline ValueWhenUnsetOption GetValueWhenUnsetOption() const { return m_valueWhenUnsetOption; }
50 inline bool ValueWhenUnsetOptionHasBeenSet() const { return m_valueWhenUnsetOptionHasBeenSet; }
51 inline void SetValueWhenUnsetOption(ValueWhenUnsetOption value) { m_valueWhenUnsetOptionHasBeenSet = true; m_valueWhenUnsetOption = value; }
54
56
59 inline const Aws::String& GetCustomValue() const { return m_customValue; }
60 inline bool CustomValueHasBeenSet() const { return m_customValueHasBeenSet; }
61 template<typename CustomValueT = Aws::String>
62 void SetCustomValue(CustomValueT&& value) { m_customValueHasBeenSet = true; m_customValue = std::forward<CustomValueT>(value); }
63 template<typename CustomValueT = Aws::String>
64 StringValueWhenUnsetConfiguration& WithCustomValue(CustomValueT&& value) { SetCustomValue(std::forward<CustomValueT>(value)); return *this;}
66 private:
67
69 bool m_valueWhenUnsetOptionHasBeenSet = false;
70
71 Aws::String m_customValue;
72 bool m_customValueHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
AWS_QUICKSIGHT_API StringValueWhenUnsetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
StringValueWhenUnsetConfiguration & WithCustomValue(CustomValueT &&value)
StringValueWhenUnsetConfiguration & WithValueWhenUnsetOption(ValueWhenUnsetOption value)
AWS_QUICKSIGHT_API StringValueWhenUnsetConfiguration()=default
AWS_QUICKSIGHT_API StringValueWhenUnsetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue