AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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