AWS SDK for C++  1.9.132
AWS SDK for C++
PutItemInput.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 
44  inline const Aws::String& GetTableName() const{ return m_tableName; }
45 
49  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
50 
54  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
55 
59  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
60 
64  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
65 
69  inline PutItemInput& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
70 
74  inline PutItemInput& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
75 
79  inline PutItemInput& WithTableName(const char* value) { SetTableName(value); return *this;}
80 
81  private:
82 
83  Aws::String m_tableName;
84  bool m_tableNameHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace IoT
89 } // namespace Aws
Aws::IoT::Model::PutItemInput::GetTableName
const Aws::String & GetTableName() const
Definition: PutItemInput.h:44
Aws::IoT::Model::PutItemInput::SetTableName
void SetTableName(const char *value)
Definition: PutItemInput.h:64
Aws::IoT::Model::PutItemInput::PutItemInput
PutItemInput()
Aws::IoT::Model::PutItemInput::operator=
PutItemInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::PutItemInput::WithTableName
PutItemInput & WithTableName(const char *value)
Definition: PutItemInput.h:79
Aws::IoT::Model::PutItemInput::WithTableName
PutItemInput & WithTableName(const Aws::String &value)
Definition: PutItemInput.h:69
Aws::IoT::Model::PutItemInput::WithTableName
PutItemInput & WithTableName(Aws::String &&value)
Definition: PutItemInput.h:74
Aws::IoT::Model::PutItemInput::SetTableName
void SetTableName(const Aws::String &value)
Definition: PutItemInput.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::PutItemInput::SetTableName
void SetTableName(Aws::String &&value)
Definition: PutItemInput.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::PutItemInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::PutItemInput::TableNameHasBeenSet
bool TableNameHasBeenSet() const
Definition: PutItemInput.h:49
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::PutItemInput
Definition: PutItemInput.h:33
Aws::IoT::Model::PutItemInput::PutItemInput
PutItemInput(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h