AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AddObjectInput.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 LakeFormation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LAKEFORMATION_API AddObjectInput() = default;
36 AWS_LAKEFORMATION_API AddObjectInput(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LAKEFORMATION_API AddObjectInput& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUri() const { return m_uri; }
46 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
47 template<typename UriT = Aws::String>
48 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
49 template<typename UriT = Aws::String>
50 AddObjectInput& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
52
54
58 inline const Aws::String& GetETag() const { return m_eTag; }
59 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
60 template<typename ETagT = Aws::String>
61 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
62 template<typename ETagT = Aws::String>
63 AddObjectInput& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
65
67
70 inline long long GetSize() const { return m_size; }
71 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
72 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
73 inline AddObjectInput& WithSize(long long value) { SetSize(value); return *this;}
75
77
83 inline const Aws::Vector<Aws::String>& GetPartitionValues() const { return m_partitionValues; }
84 inline bool PartitionValuesHasBeenSet() const { return m_partitionValuesHasBeenSet; }
85 template<typename PartitionValuesT = Aws::Vector<Aws::String>>
86 void SetPartitionValues(PartitionValuesT&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = std::forward<PartitionValuesT>(value); }
87 template<typename PartitionValuesT = Aws::Vector<Aws::String>>
88 AddObjectInput& WithPartitionValues(PartitionValuesT&& value) { SetPartitionValues(std::forward<PartitionValuesT>(value)); return *this;}
89 template<typename PartitionValuesT = Aws::String>
90 AddObjectInput& AddPartitionValues(PartitionValuesT&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.emplace_back(std::forward<PartitionValuesT>(value)); return *this; }
92 private:
93
94 Aws::String m_uri;
95 bool m_uriHasBeenSet = false;
96
97 Aws::String m_eTag;
98 bool m_eTagHasBeenSet = false;
99
100 long long m_size{0};
101 bool m_sizeHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_partitionValues;
104 bool m_partitionValuesHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace LakeFormation
109} // namespace Aws
AddObjectInput & WithUri(UriT &&value)
AddObjectInput & AddPartitionValues(PartitionValuesT &&value)
AddObjectInput & WithSize(long long value)
void SetPartitionValues(PartitionValuesT &&value)
AWS_LAKEFORMATION_API AddObjectInput()=default
const Aws::Vector< Aws::String > & GetPartitionValues() const
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAKEFORMATION_API AddObjectInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AddObjectInput & WithPartitionValues(PartitionValuesT &&value)
AWS_LAKEFORMATION_API AddObjectInput(Aws::Utils::Json::JsonView jsonValue)
AddObjectInput & WithETag(ETagT &&value)
const Aws::String & GetETag() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue