AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StringValueWhenUnsetConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/ValueWhenUnsetOption.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API StringValueWhenUnsetConfiguration() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline ValueWhenUnsetOption GetValueWhenUnsetOption() const { return m_valueWhenUnsetOption; }
44 inline bool ValueWhenUnsetOptionHasBeenSet() const { return m_valueWhenUnsetOptionHasBeenSet; }
46 m_valueWhenUnsetOptionHasBeenSet = true;
47 m_valueWhenUnsetOption = value;
48 }
51 return *this;
52 }
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) {
63 m_customValueHasBeenSet = true;
64 m_customValue = std::forward<CustomValueT>(value);
65 }
66 template <typename CustomValueT = Aws::String>
68 SetCustomValue(std::forward<CustomValueT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_customValue;
76 bool m_valueWhenUnsetOptionHasBeenSet = false;
77 bool m_customValueHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QuickSight
82} // 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