AWS SDK for C++  1.9.19
AWS SDK for C++
TimestreamDimension.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
49  inline const Aws::String& GetName() const{ return m_name; }
50 
59  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 
69  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 
79  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 
89  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
90 
99  inline TimestreamDimension& WithName(const Aws::String& value) { SetName(value); return *this;}
100 
109  inline TimestreamDimension& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 
119  inline TimestreamDimension& WithName(const char* value) { SetName(value); return *this;}
120 
121 
125  inline const Aws::String& GetValue() const{ return m_value; }
126 
130  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
131 
135  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
136 
140  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
141 
145  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
146 
150  inline TimestreamDimension& WithValue(const Aws::String& value) { SetValue(value); return *this;}
151 
155  inline TimestreamDimension& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
156 
160  inline TimestreamDimension& WithValue(const char* value) { SetValue(value); return *this;}
161 
162  private:
163 
164  Aws::String m_name;
165  bool m_nameHasBeenSet;
166 
167  Aws::String m_value;
168  bool m_valueHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace IoT
173 } // namespace Aws
Aws::IoT::Model::TimestreamDimension::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: TimestreamDimension.h:130
Aws::IoT::Model::TimestreamDimension::WithValue
TimestreamDimension & WithValue(Aws::String &&value)
Definition: TimestreamDimension.h:155
Aws::IoT::Model::TimestreamDimension::GetValue
const Aws::String & GetValue() const
Definition: TimestreamDimension.h:125
Aws::IoT::Model::TimestreamDimension::SetName
void SetName(Aws::String &&value)
Definition: TimestreamDimension.h:79
Aws::IoT::Model::TimestreamDimension::WithValue
TimestreamDimension & WithValue(const char *value)
Definition: TimestreamDimension.h:160
Aws::IoT::Model::TimestreamDimension::operator=
TimestreamDimension & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TimestreamDimension::SetValue
void SetValue(Aws::String &&value)
Definition: TimestreamDimension.h:140
Aws::IoT::Model::TimestreamDimension::WithName
TimestreamDimension & WithName(const Aws::String &value)
Definition: TimestreamDimension.h:99
Aws::IoT::Model::TimestreamDimension::WithName
TimestreamDimension & WithName(Aws::String &&value)
Definition: TimestreamDimension.h:109
Aws::IoT::Model::TimestreamDimension::SetName
void SetName(const char *value)
Definition: TimestreamDimension.h:89
Aws::IoT::Model::TimestreamDimension::WithName
TimestreamDimension & WithName(const char *value)
Definition: TimestreamDimension.h:119
Aws::IoT::Model::TimestreamDimension
Definition: TimestreamDimension.h:33
Aws::IoT::Model::TimestreamDimension::SetName
void SetName(const Aws::String &value)
Definition: TimestreamDimension.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::IoT::Model::TimestreamDimension::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoT::Model::TimestreamDimension::NameHasBeenSet
bool NameHasBeenSet() const
Definition: TimestreamDimension.h:59
Aws::IoT::Model::TimestreamDimension::TimestreamDimension
TimestreamDimension(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::TimestreamDimension::SetValue
void SetValue(const Aws::String &value)
Definition: TimestreamDimension.h:135
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::TimestreamDimension::GetName
const Aws::String & GetName() const
Definition: TimestreamDimension.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::TimestreamDimension::SetValue
void SetValue(const char *value)
Definition: TimestreamDimension.h:145
Aws::IoT::Model::TimestreamDimension::TimestreamDimension
TimestreamDimension()
Aws::IoT::Model::TimestreamDimension::WithValue
TimestreamDimension & WithValue(const Aws::String &value)
Definition: TimestreamDimension.h:150
IoT_EXPORTS.h