AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisParameter.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cleanrooms/model/ParameterType.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 CleanRooms
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLEANROOMS_API AnalysisParameter();
37 AWS_CLEANROOMS_API AnalysisParameter(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline AnalysisParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline AnalysisParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline AnalysisParameter& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const ParameterType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const ParameterType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(ParameterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline AnalysisParameter& WithType(const ParameterType& value) { SetType(value); return *this;}
66 inline AnalysisParameter& WithType(ParameterType&& value) { SetType(std::move(value)); return *this;}
68
70
74 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
75 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
76 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
77 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
78 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
79 inline AnalysisParameter& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
80 inline AnalysisParameter& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
81 inline AnalysisParameter& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
83 private:
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 ParameterType m_type;
89 bool m_typeHasBeenSet = false;
90
91 Aws::String m_defaultValue;
92 bool m_defaultValueHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CleanRooms
97} // namespace Aws
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AnalysisParameter & WithName(const Aws::String &value)
const ParameterType & GetType() const
AnalysisParameter & WithType(const ParameterType &value)
AnalysisParameter & WithDefaultValue(const Aws::String &value)
void SetType(const ParameterType &value)
AWS_CLEANROOMS_API AnalysisParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDefaultValue() const
void SetDefaultValue(const Aws::String &value)
AnalysisParameter & WithName(const char *value)
AnalysisParameter & WithName(Aws::String &&value)
AnalysisParameter & WithDefaultValue(Aws::String &&value)
AnalysisParameter & WithDefaultValue(const char *value)
void SetName(const Aws::String &value)
AnalysisParameter & WithType(ParameterType &&value)
AWS_CLEANROOMS_API AnalysisParameter(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue