AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AttributeValue.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 LookoutMetrics
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LOOKOUTMETRICS_API AttributeValue() = default;
36 AWS_LOOKOUTMETRICS_API AttributeValue(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTMETRICS_API AttributeValue& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetS() const { return m_s; }
46 inline bool SHasBeenSet() const { return m_sHasBeenSet; }
47 template<typename ST = Aws::String>
48 void SetS(ST&& value) { m_sHasBeenSet = true; m_s = std::forward<ST>(value); }
49 template<typename ST = Aws::String>
50 AttributeValue& WithS(ST&& value) { SetS(std::forward<ST>(value)); return *this;}
52
54
57 inline const Aws::String& GetN() const { return m_n; }
58 inline bool NHasBeenSet() const { return m_nHasBeenSet; }
59 template<typename NT = Aws::String>
60 void SetN(NT&& value) { m_nHasBeenSet = true; m_n = std::forward<NT>(value); }
61 template<typename NT = Aws::String>
62 AttributeValue& WithN(NT&& value) { SetN(std::forward<NT>(value)); return *this;}
64
66
69 inline const Aws::String& GetB() const { return m_b; }
70 inline bool BHasBeenSet() const { return m_bHasBeenSet; }
71 template<typename BT = Aws::String>
72 void SetB(BT&& value) { m_bHasBeenSet = true; m_b = std::forward<BT>(value); }
73 template<typename BT = Aws::String>
74 AttributeValue& WithB(BT&& value) { SetB(std::forward<BT>(value)); return *this;}
76
78
81 inline const Aws::Vector<Aws::String>& GetSS() const { return m_sS; }
82 inline bool SSHasBeenSet() const { return m_sSHasBeenSet; }
83 template<typename SST = Aws::Vector<Aws::String>>
84 void SetSS(SST&& value) { m_sSHasBeenSet = true; m_sS = std::forward<SST>(value); }
85 template<typename SST = Aws::Vector<Aws::String>>
86 AttributeValue& WithSS(SST&& value) { SetSS(std::forward<SST>(value)); return *this;}
87 template<typename SST = Aws::String>
88 AttributeValue& AddSS(SST&& value) { m_sSHasBeenSet = true; m_sS.emplace_back(std::forward<SST>(value)); return *this; }
90
92
95 inline const Aws::Vector<Aws::String>& GetNS() const { return m_nS; }
96 inline bool NSHasBeenSet() const { return m_nSHasBeenSet; }
97 template<typename NST = Aws::Vector<Aws::String>>
98 void SetNS(NST&& value) { m_nSHasBeenSet = true; m_nS = std::forward<NST>(value); }
99 template<typename NST = Aws::Vector<Aws::String>>
100 AttributeValue& WithNS(NST&& value) { SetNS(std::forward<NST>(value)); return *this;}
101 template<typename NST = Aws::String>
102 AttributeValue& AddNS(NST&& value) { m_nSHasBeenSet = true; m_nS.emplace_back(std::forward<NST>(value)); return *this; }
104
106
109 inline const Aws::Vector<Aws::String>& GetBS() const { return m_bS; }
110 inline bool BSHasBeenSet() const { return m_bSHasBeenSet; }
111 template<typename BST = Aws::Vector<Aws::String>>
112 void SetBS(BST&& value) { m_bSHasBeenSet = true; m_bS = std::forward<BST>(value); }
113 template<typename BST = Aws::Vector<Aws::String>>
114 AttributeValue& WithBS(BST&& value) { SetBS(std::forward<BST>(value)); return *this;}
115 template<typename BST = Aws::String>
116 AttributeValue& AddBS(BST&& value) { m_bSHasBeenSet = true; m_bS.emplace_back(std::forward<BST>(value)); return *this; }
118 private:
119
120 Aws::String m_s;
121 bool m_sHasBeenSet = false;
122
123 Aws::String m_n;
124 bool m_nHasBeenSet = false;
125
126 Aws::String m_b;
127 bool m_bHasBeenSet = false;
128
130 bool m_sSHasBeenSet = false;
131
133 bool m_nSHasBeenSet = false;
134
136 bool m_bSHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace LookoutMetrics
141} // namespace Aws
const Aws::Vector< Aws::String > & GetBS() const
AttributeValue & AddBS(BST &&value)
AWS_LOOKOUTMETRICS_API AttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeValue & WithSS(SST &&value)
const Aws::Vector< Aws::String > & GetNS() const
AWS_LOOKOUTMETRICS_API AttributeValue()=default
AttributeValue & WithBS(BST &&value)
AttributeValue & WithNS(NST &&value)
AttributeValue & AddSS(SST &&value)
AWS_LOOKOUTMETRICS_API AttributeValue(Aws::Utils::Json::JsonView jsonValue)
AttributeValue & AddNS(NST &&value)
const Aws::Vector< Aws::String > & GetSS() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue