AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CollectiveConstantEntry.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ConstantType.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:
36 AWS_QUICKSIGHT_API CollectiveConstantEntry();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ConstantType& GetConstantType() const{ return m_constantType; }
47 inline bool ConstantTypeHasBeenSet() const { return m_constantTypeHasBeenSet; }
48 inline void SetConstantType(const ConstantType& value) { m_constantTypeHasBeenSet = true; m_constantType = value; }
49 inline void SetConstantType(ConstantType&& value) { m_constantTypeHasBeenSet = true; m_constantType = std::move(value); }
50 inline CollectiveConstantEntry& WithConstantType(const ConstantType& value) { SetConstantType(value); return *this;}
51 inline CollectiveConstantEntry& WithConstantType(ConstantType&& value) { SetConstantType(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetValue() const{ return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
61 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
62 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
63 inline CollectiveConstantEntry& WithValue(const Aws::String& value) { SetValue(value); return *this;}
64 inline CollectiveConstantEntry& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
65 inline CollectiveConstantEntry& WithValue(const char* value) { SetValue(value); return *this;}
67 private:
68
69 ConstantType m_constantType;
70 bool m_constantTypeHasBeenSet = false;
71
72 Aws::String m_value;
73 bool m_valueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
const Aws::String & GetValue() const
AWS_QUICKSIGHT_API CollectiveConstantEntry(Aws::Utils::Json::JsonView jsonValue)
const ConstantType & GetConstantType() const
void SetValue(const Aws::String &value)
bool ConstantTypeHasBeenSet() const
void SetValue(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConstantType(const ConstantType &value)
bool ValueHasBeenSet() const
CollectiveConstantEntry & WithConstantType(ConstantType &&value)
CollectiveConstantEntry & WithValue(const Aws::String &value)
CollectiveConstantEntry & WithValue(const char *value)
AWS_QUICKSIGHT_API CollectiveConstantEntry()
void SetValue(Aws::String &&value)
CollectiveConstantEntry & WithConstantType(const ConstantType &value)
CollectiveConstantEntry & WithValue(Aws::String &&value)
AWS_QUICKSIGHT_API CollectiveConstantEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConstantType(ConstantType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue