AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const ValueWhenUnsetOption& GetValueWhenUnsetOption() const{ return m_valueWhenUnsetOption; }
50 inline bool ValueWhenUnsetOptionHasBeenSet() const { return m_valueWhenUnsetOptionHasBeenSet; }
51 inline void SetValueWhenUnsetOption(const ValueWhenUnsetOption& value) { m_valueWhenUnsetOptionHasBeenSet = true; m_valueWhenUnsetOption = value; }
52 inline void SetValueWhenUnsetOption(ValueWhenUnsetOption&& value) { m_valueWhenUnsetOptionHasBeenSet = true; m_valueWhenUnsetOption = std::move(value); }
56
58
61 inline const Aws::String& GetCustomValue() const{ return m_customValue; }
62 inline bool CustomValueHasBeenSet() const { return m_customValueHasBeenSet; }
63 inline void SetCustomValue(const Aws::String& value) { m_customValueHasBeenSet = true; m_customValue = value; }
64 inline void SetCustomValue(Aws::String&& value) { m_customValueHasBeenSet = true; m_customValue = std::move(value); }
65 inline void SetCustomValue(const char* value) { m_customValueHasBeenSet = true; m_customValue.assign(value); }
66 inline StringValueWhenUnsetConfiguration& WithCustomValue(const Aws::String& value) { SetCustomValue(value); return *this;}
67 inline StringValueWhenUnsetConfiguration& WithCustomValue(Aws::String&& value) { SetCustomValue(std::move(value)); return *this;}
68 inline StringValueWhenUnsetConfiguration& WithCustomValue(const char* value) { SetCustomValue(value); return *this;}
70 private:
71
72 ValueWhenUnsetOption m_valueWhenUnsetOption;
73 bool m_valueWhenUnsetOptionHasBeenSet = false;
74
75 Aws::String m_customValue;
76 bool m_customValueHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
StringValueWhenUnsetConfiguration & WithCustomValue(Aws::String &&value)
AWS_QUICKSIGHT_API StringValueWhenUnsetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
StringValueWhenUnsetConfiguration & WithCustomValue(const char *value)
StringValueWhenUnsetConfiguration & WithValueWhenUnsetOption(ValueWhenUnsetOption &&value)
StringValueWhenUnsetConfiguration & WithValueWhenUnsetOption(const ValueWhenUnsetOption &value)
AWS_QUICKSIGHT_API StringValueWhenUnsetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
StringValueWhenUnsetConfiguration & WithCustomValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue