AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetadataInfo.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/OtherMetadataValueListItem.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API MetadataInfo();
41
42
44
47 inline const Aws::String& GetMetadataValue() const{ return m_metadataValue; }
48 inline bool MetadataValueHasBeenSet() const { return m_metadataValueHasBeenSet; }
49 inline void SetMetadataValue(const Aws::String& value) { m_metadataValueHasBeenSet = true; m_metadataValue = value; }
50 inline void SetMetadataValue(Aws::String&& value) { m_metadataValueHasBeenSet = true; m_metadataValue = std::move(value); }
51 inline void SetMetadataValue(const char* value) { m_metadataValueHasBeenSet = true; m_metadataValue.assign(value); }
52 inline MetadataInfo& WithMetadataValue(const Aws::String& value) { SetMetadataValue(value); return *this;}
53 inline MetadataInfo& WithMetadataValue(Aws::String&& value) { SetMetadataValue(std::move(value)); return *this;}
54 inline MetadataInfo& WithMetadataValue(const char* value) { SetMetadataValue(value); return *this;}
56
58
61 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
62 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
63 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
64 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
65 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
66 inline MetadataInfo& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
67 inline MetadataInfo& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
68 inline MetadataInfo& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
70
72
75 inline const Aws::Vector<OtherMetadataValueListItem>& GetOtherMetadataValueList() const{ return m_otherMetadataValueList; }
76 inline bool OtherMetadataValueListHasBeenSet() const { return m_otherMetadataValueListHasBeenSet; }
77 inline void SetOtherMetadataValueList(const Aws::Vector<OtherMetadataValueListItem>& value) { m_otherMetadataValueListHasBeenSet = true; m_otherMetadataValueList = value; }
78 inline void SetOtherMetadataValueList(Aws::Vector<OtherMetadataValueListItem>&& value) { m_otherMetadataValueListHasBeenSet = true; m_otherMetadataValueList = std::move(value); }
81 inline MetadataInfo& AddOtherMetadataValueList(const OtherMetadataValueListItem& value) { m_otherMetadataValueListHasBeenSet = true; m_otherMetadataValueList.push_back(value); return *this; }
82 inline MetadataInfo& AddOtherMetadataValueList(OtherMetadataValueListItem&& value) { m_otherMetadataValueListHasBeenSet = true; m_otherMetadataValueList.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_metadataValue;
87 bool m_metadataValueHasBeenSet = false;
88
89 Aws::String m_createdTime;
90 bool m_createdTimeHasBeenSet = false;
91
92 Aws::Vector<OtherMetadataValueListItem> m_otherMetadataValueList;
93 bool m_otherMetadataValueListHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Glue
98} // namespace Aws
MetadataInfo & WithOtherMetadataValueList(Aws::Vector< OtherMetadataValueListItem > &&value)
MetadataInfo & WithMetadataValue(Aws::String &&value)
MetadataInfo & WithMetadataValue(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOtherMetadataValueList(const Aws::Vector< OtherMetadataValueListItem > &value)
void SetCreatedTime(const Aws::String &value)
const Aws::String & GetCreatedTime() const
MetadataInfo & WithMetadataValue(const Aws::String &value)
MetadataInfo & WithCreatedTime(Aws::String &&value)
bool OtherMetadataValueListHasBeenSet() const
void SetMetadataValue(const Aws::String &value)
MetadataInfo & AddOtherMetadataValueList(const OtherMetadataValueListItem &value)
const Aws::Vector< OtherMetadataValueListItem > & GetOtherMetadataValueList() const
void SetMetadataValue(const char *value)
AWS_GLUE_API MetadataInfo(Aws::Utils::Json::JsonView jsonValue)
void SetOtherMetadataValueList(Aws::Vector< OtherMetadataValueListItem > &&value)
const Aws::String & GetMetadataValue() const
AWS_GLUE_API MetadataInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
MetadataInfo & WithCreatedTime(const Aws::String &value)
void SetCreatedTime(Aws::String &&value)
MetadataInfo & WithOtherMetadataValueList(const Aws::Vector< OtherMetadataValueListItem > &value)
MetadataInfo & WithCreatedTime(const char *value)
MetadataInfo & AddOtherMetadataValueList(OtherMetadataValueListItem &&value)
void SetMetadataValue(Aws::String &&value)
void SetCreatedTime(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue