AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const TimeToLiveStatus& GetTimeToLiveStatus() const{ return m_timeToLiveStatus; }
47 inline bool TimeToLiveStatusHasBeenSet() const { return m_timeToLiveStatusHasBeenSet; }
48 inline void SetTimeToLiveStatus(const TimeToLiveStatus& value) { m_timeToLiveStatusHasBeenSet = true; m_timeToLiveStatus = value; }
49 inline void SetTimeToLiveStatus(TimeToLiveStatus&& value) { m_timeToLiveStatusHasBeenSet = true; m_timeToLiveStatus = std::move(value); }
51 inline TimeToLiveDescription& WithTimeToLiveStatus(TimeToLiveStatus&& value) { SetTimeToLiveStatus(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
59 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
60 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
61 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
62 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
63 inline TimeToLiveDescription& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
64 inline TimeToLiveDescription& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
65 inline TimeToLiveDescription& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
67 private:
68
69 TimeToLiveStatus m_timeToLiveStatus;
70 bool m_timeToLiveStatusHasBeenSet = false;
71
72 Aws::String m_attributeName;
73 bool m_attributeNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DynamoDB
78} // namespace Aws
AWS_DYNAMODB_API TimeToLiveDescription(Aws::Utils::Json::JsonView jsonValue)
void SetTimeToLiveStatus(TimeToLiveStatus &&value)
TimeToLiveDescription & WithTimeToLiveStatus(TimeToLiveStatus &&value)
AWS_DYNAMODB_API TimeToLiveDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
TimeToLiveDescription & WithAttributeName(const char *value)
const TimeToLiveStatus & GetTimeToLiveStatus() const
TimeToLiveDescription & WithAttributeName(const Aws::String &value)
void SetAttributeName(const Aws::String &value)
void SetTimeToLiveStatus(const TimeToLiveStatus &value)
TimeToLiveDescription & WithAttributeName(Aws::String &&value)
TimeToLiveDescription & WithTimeToLiveStatus(const TimeToLiveStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue