AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateTimeParameter.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.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
34 {
35 public:
36 AWS_QUICKSIGHT_API DateTimeParameter();
37 AWS_QUICKSIGHT_API DateTimeParameter(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline DateTimeParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline DateTimeParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline DateTimeParameter& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::Utils::DateTime>& GetValues() const{ return m_values; }
61 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
62 inline void SetValues(const Aws::Vector<Aws::Utils::DateTime>& value) { m_valuesHasBeenSet = true; m_values = value; }
63 inline void SetValues(Aws::Vector<Aws::Utils::DateTime>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
64 inline DateTimeParameter& WithValues(const Aws::Vector<Aws::Utils::DateTime>& value) { SetValues(value); return *this;}
65 inline DateTimeParameter& WithValues(Aws::Vector<Aws::Utils::DateTime>&& value) { SetValues(std::move(value)); return *this;}
66 inline DateTimeParameter& AddValues(const Aws::Utils::DateTime& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
67 inline DateTimeParameter& AddValues(Aws::Utils::DateTime&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
75 bool m_valuesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
AWS_QUICKSIGHT_API DateTimeParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
DateTimeParameter & AddValues(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::Utils::DateTime > & GetValues() const
void SetValues(const Aws::Vector< Aws::Utils::DateTime > &value)
AWS_QUICKSIGHT_API DateTimeParameter(Aws::Utils::Json::JsonView jsonValue)
DateTimeParameter & WithValues(Aws::Vector< Aws::Utils::DateTime > &&value)
DateTimeParameter & AddValues(Aws::Utils::DateTime &&value)
void SetValues(Aws::Vector< Aws::Utils::DateTime > &&value)
void SetName(const Aws::String &value)
DateTimeParameter & WithName(const char *value)
DateTimeParameter & WithName(Aws::String &&value)
DateTimeParameter & WithName(const Aws::String &value)
DateTimeParameter & WithValues(const Aws::Vector< Aws::Utils::DateTime > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue