AWS SDK for C++  1.9.104
AWS SDK for C++
Datum.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Athena
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  Datum();
38 
39 
43  inline const Aws::String& GetVarCharValue() const{ return m_varCharValue; }
44 
48  inline bool VarCharValueHasBeenSet() const { return m_varCharValueHasBeenSet; }
49 
53  inline void SetVarCharValue(const Aws::String& value) { m_varCharValueHasBeenSet = true; m_varCharValue = value; }
54 
58  inline void SetVarCharValue(Aws::String&& value) { m_varCharValueHasBeenSet = true; m_varCharValue = std::move(value); }
59 
63  inline void SetVarCharValue(const char* value) { m_varCharValueHasBeenSet = true; m_varCharValue.assign(value); }
64 
68  inline Datum& WithVarCharValue(const Aws::String& value) { SetVarCharValue(value); return *this;}
69 
73  inline Datum& WithVarCharValue(Aws::String&& value) { SetVarCharValue(std::move(value)); return *this;}
74 
78  inline Datum& WithVarCharValue(const char* value) { SetVarCharValue(value); return *this;}
79 
80  private:
81 
82  Aws::String m_varCharValue;
83  bool m_varCharValueHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace Athena
88 } // namespace Aws
Aws::Athena::Model::Datum::WithVarCharValue
Datum & WithVarCharValue(Aws::String &&value)
Definition: Datum.h:73
Aws::Athena::Model::Datum
Definition: Datum.h:32
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::Datum::VarCharValueHasBeenSet
bool VarCharValueHasBeenSet() const
Definition: Datum.h:48
Aws::Athena::Model::Datum::SetVarCharValue
void SetVarCharValue(const Aws::String &value)
Definition: Datum.h:53
Aws::Athena::Model::Datum::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::Datum::SetVarCharValue
void SetVarCharValue(const char *value)
Definition: Datum.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Athena::Model::Datum::Datum
Datum()
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::Datum::SetVarCharValue
void SetVarCharValue(Aws::String &&value)
Definition: Datum.h:58
Aws::Athena::Model::Datum::GetVarCharValue
const Aws::String & GetVarCharValue() const
Definition: Datum.h:43
Aws::Athena::Model::Datum::Datum
Datum(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::Datum::WithVarCharValue
Datum & WithVarCharValue(const Aws::String &value)
Definition: Datum.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::Datum::operator=
Datum & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::Datum::WithVarCharValue
Datum & WithVarCharValue(const char *value)
Definition: Datum.h:78