AWS SDK for C++  1.9.160
AWS SDK for C++
DateTimeParameter.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline DateTimeParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline DateTimeParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline DateTimeParameter& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::Vector<Aws::Utils::DateTime>& GetValues() const{ return m_values; }
87 
91  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
92 
96  inline void SetValues(const Aws::Vector<Aws::Utils::DateTime>& value) { m_valuesHasBeenSet = true; m_values = value; }
97 
101  inline void SetValues(Aws::Vector<Aws::Utils::DateTime>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
102 
106  inline DateTimeParameter& WithValues(const Aws::Vector<Aws::Utils::DateTime>& value) { SetValues(value); return *this;}
107 
111  inline DateTimeParameter& WithValues(Aws::Vector<Aws::Utils::DateTime>&& value) { SetValues(std::move(value)); return *this;}
112 
116  inline DateTimeParameter& AddValues(const Aws::Utils::DateTime& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
117 
121  inline DateTimeParameter& AddValues(Aws::Utils::DateTime&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
122 
123  private:
124 
125  Aws::String m_name;
126  bool m_nameHasBeenSet;
127 
129  bool m_valuesHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace QuickSight
134 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::QuickSight::Model::DateTimeParameter::AddValues
DateTimeParameter & AddValues(Aws::Utils::DateTime &&value)
Definition: DateTimeParameter.h:121
Aws::QuickSight::Model::DateTimeParameter::WithName
DateTimeParameter & WithName(Aws::String &&value)
Definition: DateTimeParameter.h:75
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DateTimeParameter::WithValues
DateTimeParameter & WithValues(const Aws::Vector< Aws::Utils::DateTime > &value)
Definition: DateTimeParameter.h:106
Aws::QuickSight::Model::DateTimeParameter
Definition: DateTimeParameter.h:34
Aws::QuickSight::Model::DateTimeParameter::DateTimeParameter
DateTimeParameter(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::QuickSight::Model::DateTimeParameter::WithName
DateTimeParameter & WithName(const char *value)
Definition: DateTimeParameter.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::QuickSight::Model::DateTimeParameter::GetValues
const Aws::Vector< Aws::Utils::DateTime > & GetValues() const
Definition: DateTimeParameter.h:86
Aws::QuickSight::Model::DateTimeParameter::SetValues
void SetValues(const Aws::Vector< Aws::Utils::DateTime > &value)
Definition: DateTimeParameter.h:96
Aws::QuickSight::Model::DateTimeParameter::operator=
DateTimeParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DateTimeParameter::SetValues
void SetValues(Aws::Vector< Aws::Utils::DateTime > &&value)
Definition: DateTimeParameter.h:101
Aws::QuickSight::Model::DateTimeParameter::SetName
void SetName(const char *value)
Definition: DateTimeParameter.h:65
Aws::QuickSight::Model::DateTimeParameter::GetName
const Aws::String & GetName() const
Definition: DateTimeParameter.h:45
Aws::QuickSight::Model::DateTimeParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::DateTimeParameter::WithName
DateTimeParameter & WithName(const Aws::String &value)
Definition: DateTimeParameter.h:70
Aws::QuickSight::Model::DateTimeParameter::SetName
void SetName(const Aws::String &value)
Definition: DateTimeParameter.h:55
Aws::QuickSight::Model::DateTimeParameter::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: DateTimeParameter.h:91
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::DateTimeParameter::SetName
void SetName(Aws::String &&value)
Definition: DateTimeParameter.h:60
Aws::QuickSight::Model::DateTimeParameter::AddValues
DateTimeParameter & AddValues(const Aws::Utils::DateTime &value)
Definition: DateTimeParameter.h:116
Aws::QuickSight::Model::DateTimeParameter::WithValues
DateTimeParameter & WithValues(Aws::Vector< Aws::Utils::DateTime > &&value)
Definition: DateTimeParameter.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DateTimeParameter::DateTimeParameter
DateTimeParameter()
Aws::QuickSight::Model::DateTimeParameter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DateTimeParameter.h:50