AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTimeToLiveRequest.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodb/model/TimeToLiveSpecification.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DynamoDB
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_DYNAMODB_API UpdateTimeToLiveRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateTimeToLive"; }
36
37 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetTableName() const{ return m_tableName; }
48 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
49 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
50 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
51 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
52 inline UpdateTimeToLiveRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
53 inline UpdateTimeToLiveRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
54 inline UpdateTimeToLiveRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
56
58
62 inline const TimeToLiveSpecification& GetTimeToLiveSpecification() const{ return m_timeToLiveSpecification; }
63 inline bool TimeToLiveSpecificationHasBeenSet() const { return m_timeToLiveSpecificationHasBeenSet; }
64 inline void SetTimeToLiveSpecification(const TimeToLiveSpecification& value) { m_timeToLiveSpecificationHasBeenSet = true; m_timeToLiveSpecification = value; }
65 inline void SetTimeToLiveSpecification(TimeToLiveSpecification&& value) { m_timeToLiveSpecificationHasBeenSet = true; m_timeToLiveSpecification = std::move(value); }
69 private:
70
71 Aws::String m_tableName;
72 bool m_tableNameHasBeenSet = false;
73
74 TimeToLiveSpecification m_timeToLiveSpecification;
75 bool m_timeToLiveSpecificationHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DynamoDB
80} // namespace Aws
UpdateTimeToLiveRequest & WithTimeToLiveSpecification(TimeToLiveSpecification &&value)
void SetTimeToLiveSpecification(const TimeToLiveSpecification &value)
UpdateTimeToLiveRequest & WithTableName(const char *value)
void SetTimeToLiveSpecification(TimeToLiveSpecification &&value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateTimeToLiveRequest & WithTimeToLiveSpecification(const TimeToLiveSpecification &value)
UpdateTimeToLiveRequest & WithTableName(const Aws::String &value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const TimeToLiveSpecification & GetTimeToLiveSpecification() const
UpdateTimeToLiveRequest & WithTableName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String