AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StringDefaultValues.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DynamicDefaultValue.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API StringDefaultValues();
38 AWS_QUICKSIGHT_API StringDefaultValues(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const DynamicDefaultValue& GetDynamicValue() const{ return m_dynamicValue; }
49 inline bool DynamicValueHasBeenSet() const { return m_dynamicValueHasBeenSet; }
50 inline void SetDynamicValue(const DynamicDefaultValue& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = value; }
51 inline void SetDynamicValue(DynamicDefaultValue&& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = std::move(value); }
52 inline StringDefaultValues& WithDynamicValue(const DynamicDefaultValue& value) { SetDynamicValue(value); return *this;}
53 inline StringDefaultValues& WithDynamicValue(DynamicDefaultValue&& value) { SetDynamicValue(std::move(value)); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetStaticValues() const{ return m_staticValues; }
61 inline bool StaticValuesHasBeenSet() const { return m_staticValuesHasBeenSet; }
62 inline void SetStaticValues(const Aws::Vector<Aws::String>& value) { m_staticValuesHasBeenSet = true; m_staticValues = value; }
63 inline void SetStaticValues(Aws::Vector<Aws::String>&& value) { m_staticValuesHasBeenSet = true; m_staticValues = std::move(value); }
65 inline StringDefaultValues& WithStaticValues(Aws::Vector<Aws::String>&& value) { SetStaticValues(std::move(value)); return *this;}
66 inline StringDefaultValues& AddStaticValues(const Aws::String& value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(value); return *this; }
67 inline StringDefaultValues& AddStaticValues(Aws::String&& value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(std::move(value)); return *this; }
68 inline StringDefaultValues& AddStaticValues(const char* value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(value); return *this; }
70 private:
71
72 DynamicDefaultValue m_dynamicValue;
73 bool m_dynamicValueHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_staticValues;
76 bool m_staticValuesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
const Aws::Vector< Aws::String > & GetStaticValues() const
StringDefaultValues & WithDynamicValue(DynamicDefaultValue &&value)
AWS_QUICKSIGHT_API StringDefaultValues & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDynamicValue(DynamicDefaultValue &&value)
StringDefaultValues & WithStaticValues(const Aws::Vector< Aws::String > &value)
void SetStaticValues(const Aws::Vector< Aws::String > &value)
AWS_QUICKSIGHT_API StringDefaultValues(Aws::Utils::Json::JsonView jsonValue)
StringDefaultValues & WithStaticValues(Aws::Vector< Aws::String > &&value)
void SetDynamicValue(const DynamicDefaultValue &value)
void SetStaticValues(Aws::Vector< Aws::String > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
StringDefaultValues & WithDynamicValue(const DynamicDefaultValue &value)
StringDefaultValues & AddStaticValues(Aws::String &&value)
const DynamicDefaultValue & GetDynamicValue() const
StringDefaultValues & AddStaticValues(const Aws::String &value)
StringDefaultValues & AddStaticValues(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue