AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataTableDeleteValueIdentifier.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/DataTableLockVersion.h>
9#include <aws/connect/model/PrimaryValue.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect {
23namespace Model {
24
31 public:
32 AWS_CONNECT_API DataTableDeleteValueIdentifier() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<PrimaryValue>& GetPrimaryValues() const { return m_primaryValues; }
42 inline bool PrimaryValuesHasBeenSet() const { return m_primaryValuesHasBeenSet; }
43 template <typename PrimaryValuesT = Aws::Vector<PrimaryValue>>
44 void SetPrimaryValues(PrimaryValuesT&& value) {
45 m_primaryValuesHasBeenSet = true;
46 m_primaryValues = std::forward<PrimaryValuesT>(value);
47 }
48 template <typename PrimaryValuesT = Aws::Vector<PrimaryValue>>
50 SetPrimaryValues(std::forward<PrimaryValuesT>(value));
51 return *this;
52 }
53 template <typename PrimaryValuesT = PrimaryValue>
55 m_primaryValuesHasBeenSet = true;
56 m_primaryValues.emplace_back(std::forward<PrimaryValuesT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
66 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
67 template <typename AttributeNameT = Aws::String>
68 void SetAttributeName(AttributeNameT&& value) {
69 m_attributeNameHasBeenSet = true;
70 m_attributeName = std::forward<AttributeNameT>(value);
71 }
72 template <typename AttributeNameT = Aws::String>
74 SetAttributeName(std::forward<AttributeNameT>(value));
75 return *this;
76 }
78
80
83 inline const DataTableLockVersion& GetLockVersion() const { return m_lockVersion; }
84 inline bool LockVersionHasBeenSet() const { return m_lockVersionHasBeenSet; }
85 template <typename LockVersionT = DataTableLockVersion>
86 void SetLockVersion(LockVersionT&& value) {
87 m_lockVersionHasBeenSet = true;
88 m_lockVersion = std::forward<LockVersionT>(value);
89 }
90 template <typename LockVersionT = DataTableLockVersion>
92 SetLockVersion(std::forward<LockVersionT>(value));
93 return *this;
94 }
96 private:
97 Aws::Vector<PrimaryValue> m_primaryValues;
98
99 Aws::String m_attributeName;
100
101 DataTableLockVersion m_lockVersion;
102 bool m_primaryValuesHasBeenSet = false;
103 bool m_attributeNameHasBeenSet = false;
104 bool m_lockVersionHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Connect
109} // namespace Aws
const Aws::Vector< PrimaryValue > & GetPrimaryValues() const
AWS_CONNECT_API DataTableDeleteValueIdentifier(Aws::Utils::Json::JsonView jsonValue)
DataTableDeleteValueIdentifier & WithAttributeName(AttributeNameT &&value)
AWS_CONNECT_API DataTableDeleteValueIdentifier()=default
DataTableDeleteValueIdentifier & WithLockVersion(LockVersionT &&value)
AWS_CONNECT_API DataTableDeleteValueIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
DataTableDeleteValueIdentifier & AddPrimaryValues(PrimaryValuesT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DataTableDeleteValueIdentifier & WithPrimaryValues(PrimaryValuesT &&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