AWS SDK for C++  1.9.160
AWS SDK for C++
DecimalParameter.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace QuickSight
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline DecimalParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline DecimalParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline DecimalParameter& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::Vector<double>& GetValues() const{ return m_values; }
86 
90  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
91 
95  inline void SetValues(const Aws::Vector<double>& value) { m_valuesHasBeenSet = true; m_values = value; }
96 
100  inline void SetValues(Aws::Vector<double>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
101 
105  inline DecimalParameter& WithValues(const Aws::Vector<double>& value) { SetValues(value); return *this;}
106 
110  inline DecimalParameter& WithValues(Aws::Vector<double>&& value) { SetValues(std::move(value)); return *this;}
111 
115  inline DecimalParameter& AddValues(double value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
116 
117  private:
118 
119  Aws::String m_name;
120  bool m_nameHasBeenSet;
121 
122  Aws::Vector<double> m_values;
123  bool m_valuesHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace QuickSight
128 } // namespace Aws
Aws::QuickSight::Model::DecimalParameter::AddValues
DecimalParameter & AddValues(double value)
Definition: DecimalParameter.h:115
Aws::QuickSight::Model::DecimalParameter::SetName
void SetName(const Aws::String &value)
Definition: DecimalParameter.h:54
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DecimalParameter::WithName
DecimalParameter & WithName(const char *value)
Definition: DecimalParameter.h:79
Aws::QuickSight::Model::DecimalParameter::WithName
DecimalParameter & WithName(Aws::String &&value)
Definition: DecimalParameter.h:74
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::DecimalParameter::SetValues
void SetValues(const Aws::Vector< double > &value)
Definition: DecimalParameter.h:95
AWSVector.h
Aws::QuickSight::Model::DecimalParameter::SetName
void SetName(const char *value)
Definition: DecimalParameter.h:64
Aws::QuickSight::Model::DecimalParameter::WithValues
DecimalParameter & WithValues(const Aws::Vector< double > &value)
Definition: DecimalParameter.h:105
Aws::QuickSight::Model::DecimalParameter::SetName
void SetName(Aws::String &&value)
Definition: DecimalParameter.h:59
Aws::QuickSight::Model::DecimalParameter::DecimalParameter
DecimalParameter()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::QuickSight::Model::DecimalParameter::DecimalParameter
DecimalParameter(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::QuickSight::Model::DecimalParameter::WithValues
DecimalParameter & WithValues(Aws::Vector< double > &&value)
Definition: DecimalParameter.h:110
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::DecimalParameter::GetValues
const Aws::Vector< double > & GetValues() const
Definition: DecimalParameter.h:85
Aws::QuickSight::Model::DecimalParameter::operator=
DecimalParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DecimalParameter
Definition: DecimalParameter.h:33
Aws::QuickSight::Model::DecimalParameter::WithName
DecimalParameter & WithName(const Aws::String &value)
Definition: DecimalParameter.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DecimalParameter::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: DecimalParameter.h:90
Aws::QuickSight::Model::DecimalParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::DecimalParameter::SetValues
void SetValues(Aws::Vector< double > &&value)
Definition: DecimalParameter.h:100
Aws::QuickSight::Model::DecimalParameter::GetName
const Aws::String & GetName() const
Definition: DecimalParameter.h:44
Aws::QuickSight::Model::DecimalParameter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DecimalParameter.h:49