AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
NegativeFormat.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28 public:
29 AWS_QUICKSIGHT_API NegativeFormat() = default;
30 AWS_QUICKSIGHT_API NegativeFormat(Aws::Utils::Json::JsonView jsonValue);
31 AWS_QUICKSIGHT_API NegativeFormat& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetPrefix() const { return m_prefix; }
39 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
40 template <typename PrefixT = Aws::String>
41 void SetPrefix(PrefixT&& value) {
42 m_prefixHasBeenSet = true;
43 m_prefix = std::forward<PrefixT>(value);
44 }
45 template <typename PrefixT = Aws::String>
46 NegativeFormat& WithPrefix(PrefixT&& value) {
47 SetPrefix(std::forward<PrefixT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSuffix() const { return m_suffix; }
57 inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; }
58 template <typename SuffixT = Aws::String>
59 void SetSuffix(SuffixT&& value) {
60 m_suffixHasBeenSet = true;
61 m_suffix = std::forward<SuffixT>(value);
62 }
63 template <typename SuffixT = Aws::String>
64 NegativeFormat& WithSuffix(SuffixT&& value) {
65 SetSuffix(std::forward<SuffixT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_prefix;
71
72 Aws::String m_suffix;
73 bool m_prefixHasBeenSet = false;
74 bool m_suffixHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
NegativeFormat & WithPrefix(PrefixT &&value)
const Aws::String & GetPrefix() const
const Aws::String & GetSuffix() const
AWS_QUICKSIGHT_API NegativeFormat(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API NegativeFormat()=default
NegativeFormat & WithSuffix(SuffixT &&value)
AWS_QUICKSIGHT_API NegativeFormat & operator=(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