AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TimeToLiveDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/TimeToLiveStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DynamoDB
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DYNAMODB_API TimeToLiveDescription() = default;
39 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline TimeToLiveStatus GetTimeToLiveStatus() const { return m_timeToLiveStatus; }
47 inline bool TimeToLiveStatusHasBeenSet() const { return m_timeToLiveStatusHasBeenSet; }
48 inline void SetTimeToLiveStatus(TimeToLiveStatus value) { m_timeToLiveStatusHasBeenSet = true; m_timeToLiveStatus = value; }
51
53
56 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
57 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
58 template<typename AttributeNameT = Aws::String>
59 void SetAttributeName(AttributeNameT&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::forward<AttributeNameT>(value); }
60 template<typename AttributeNameT = Aws::String>
61 TimeToLiveDescription& WithAttributeName(AttributeNameT&& value) { SetAttributeName(std::forward<AttributeNameT>(value)); return *this;}
63 private:
64
66 bool m_timeToLiveStatusHasBeenSet = false;
67
68 Aws::String m_attributeName;
69 bool m_attributeNameHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DynamoDB
74} // namespace Aws
AWS_DYNAMODB_API TimeToLiveDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API TimeToLiveDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API TimeToLiveDescription()=default
TimeToLiveDescription & WithAttributeName(AttributeNameT &&value)
TimeToLiveDescription & WithTimeToLiveStatus(TimeToLiveStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue