AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
CollectiveConstantEntry.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/ConstantType.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 CollectiveConstantEntry() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ConstantType GetConstantType() const { return m_constantType; }
41 inline bool ConstantTypeHasBeenSet() const { return m_constantTypeHasBeenSet; }
42 inline void SetConstantType(ConstantType value) {
43 m_constantTypeHasBeenSet = true;
44 m_constantType = value;
45 }
47 SetConstantType(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetValue() const { return m_value; }
57 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
58 template <typename ValueT = Aws::String>
59 void SetValue(ValueT&& value) {
60 m_valueHasBeenSet = true;
61 m_value = std::forward<ValueT>(value);
62 }
63 template <typename ValueT = Aws::String>
65 SetValue(std::forward<ValueT>(value));
66 return *this;
67 }
69 private:
70 ConstantType m_constantType{ConstantType::NOT_SET};
71
72 Aws::String m_value;
73 bool m_constantTypeHasBeenSet = false;
74 bool m_valueHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
const Aws::String & GetValue() const
AWS_QUICKSIGHT_API CollectiveConstantEntry(Aws::Utils::Json::JsonView jsonValue)
void SetConstantType(ConstantType value)
CollectiveConstantEntry & WithConstantType(ConstantType value)
bool ConstantTypeHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValueHasBeenSet() const
CollectiveConstantEntry & WithValue(ValueT &&value)
void SetValue(ValueT &&value)
ConstantType GetConstantType() const
AWS_QUICKSIGHT_API CollectiveConstantEntry()=default
AWS_QUICKSIGHT_API CollectiveConstantEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue