AWS SDK for C++  1.9.158
AWS SDK for C++
StringParameter.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 StringParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline StringParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline StringParameter& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
86 
90  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
91 
95  inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
96 
100  inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
101 
105  inline StringParameter& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
106 
110  inline StringParameter& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
111 
115  inline StringParameter& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
116 
120  inline StringParameter& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
121 
125  inline StringParameter& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
126 
127  private:
128 
129  Aws::String m_name;
130  bool m_nameHasBeenSet;
131 
132  Aws::Vector<Aws::String> m_values;
133  bool m_valuesHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace QuickSight
138 } // namespace Aws
Aws::QuickSight::Model::StringParameter::StringParameter
StringParameter(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::StringParameter::WithName
StringParameter & WithName(const char *value)
Definition: StringParameter.h:79
QuickSight_EXPORTS.h
Aws::QuickSight::Model::StringParameter::WithName
StringParameter & WithName(const Aws::String &value)
Definition: StringParameter.h:69
Aws::QuickSight::Model::StringParameter::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: StringParameter.h:90
Aws::QuickSight::Model::StringParameter::SetValues
void SetValues(Aws::Vector< Aws::String > &&value)
Definition: StringParameter.h:100
Aws::QuickSight::Model::StringParameter::AddValues
StringParameter & AddValues(Aws::String &&value)
Definition: StringParameter.h:120
Aws::QuickSight::Model::StringParameter::GetName
const Aws::String & GetName() const
Definition: StringParameter.h:44
Aws::QuickSight::Model::StringParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::StringParameter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: StringParameter.h:49
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::StringParameter::WithValues
StringParameter & WithValues(const Aws::Vector< Aws::String > &value)
Definition: StringParameter.h:105
AWSVector.h
Aws::QuickSight::Model::StringParameter::WithValues
StringParameter & WithValues(Aws::Vector< Aws::String > &&value)
Definition: StringParameter.h:110
Aws::QuickSight::Model::StringParameter::AddValues
StringParameter & AddValues(const Aws::String &value)
Definition: StringParameter.h:115
Aws::QuickSight::Model::StringParameter::WithName
StringParameter & WithName(Aws::String &&value)
Definition: StringParameter.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::StringParameter::SetValues
void SetValues(const Aws::Vector< Aws::String > &value)
Definition: StringParameter.h:95
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::QuickSight::Model::StringParameter::SetName
void SetName(const char *value)
Definition: StringParameter.h:64
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::StringParameter::SetName
void SetName(Aws::String &&value)
Definition: StringParameter.h:59
Aws::QuickSight::Model::StringParameter::GetValues
const Aws::Vector< Aws::String > & GetValues() const
Definition: StringParameter.h:85
Aws::QuickSight::Model::StringParameter::SetName
void SetName(const Aws::String &value)
Definition: StringParameter.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::StringParameter::AddValues
StringParameter & AddValues(const char *value)
Definition: StringParameter.h:125
Aws::QuickSight::Model::StringParameter::operator=
StringParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::StringParameter
Definition: StringParameter.h:33
Aws::QuickSight::Model::StringParameter::StringParameter
StringParameter()