AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MessageSystemAttributeValue.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 SQS
24{
25namespace Model
26{
27
38 {
39 public:
44
45
47
53 inline const Aws::String& GetStringValue() const{ return m_stringValue; }
54 inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; }
55 inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; }
56 inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); }
57 inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); }
58 inline MessageSystemAttributeValue& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;}
59 inline MessageSystemAttributeValue& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;}
60 inline MessageSystemAttributeValue& WithStringValue(const char* value) { SetStringValue(value); return *this;}
62
64
68 inline const Aws::Utils::ByteBuffer& GetBinaryValue() const{ return m_binaryValue; }
69 inline bool BinaryValueHasBeenSet() const { return m_binaryValueHasBeenSet; }
70 inline void SetBinaryValue(const Aws::Utils::ByteBuffer& value) { m_binaryValueHasBeenSet = true; m_binaryValue = value; }
71 inline void SetBinaryValue(Aws::Utils::ByteBuffer&& value) { m_binaryValueHasBeenSet = true; m_binaryValue = std::move(value); }
73 inline MessageSystemAttributeValue& WithBinaryValue(Aws::Utils::ByteBuffer&& value) { SetBinaryValue(std::move(value)); return *this;}
75
77
80 inline const Aws::Vector<Aws::String>& GetStringListValues() const{ return m_stringListValues; }
81 inline bool StringListValuesHasBeenSet() const { return m_stringListValuesHasBeenSet; }
82 inline void SetStringListValues(const Aws::Vector<Aws::String>& value) { m_stringListValuesHasBeenSet = true; m_stringListValues = value; }
83 inline void SetStringListValues(Aws::Vector<Aws::String>&& value) { m_stringListValuesHasBeenSet = true; m_stringListValues = std::move(value); }
86 inline MessageSystemAttributeValue& AddStringListValues(const Aws::String& value) { m_stringListValuesHasBeenSet = true; m_stringListValues.push_back(value); return *this; }
87 inline MessageSystemAttributeValue& AddStringListValues(Aws::String&& value) { m_stringListValuesHasBeenSet = true; m_stringListValues.push_back(std::move(value)); return *this; }
88 inline MessageSystemAttributeValue& AddStringListValues(const char* value) { m_stringListValuesHasBeenSet = true; m_stringListValues.push_back(value); return *this; }
90
92
95 inline const Aws::Vector<Aws::Utils::ByteBuffer>& GetBinaryListValues() const{ return m_binaryListValues; }
96 inline bool BinaryListValuesHasBeenSet() const { return m_binaryListValuesHasBeenSet; }
97 inline void SetBinaryListValues(const Aws::Vector<Aws::Utils::ByteBuffer>& value) { m_binaryListValuesHasBeenSet = true; m_binaryListValues = value; }
98 inline void SetBinaryListValues(Aws::Vector<Aws::Utils::ByteBuffer>&& value) { m_binaryListValuesHasBeenSet = true; m_binaryListValues = std::move(value); }
101 inline MessageSystemAttributeValue& AddBinaryListValues(const Aws::Utils::ByteBuffer& value) { m_binaryListValuesHasBeenSet = true; m_binaryListValues.push_back(value); return *this; }
102 inline MessageSystemAttributeValue& AddBinaryListValues(Aws::Utils::ByteBuffer&& value) { m_binaryListValuesHasBeenSet = true; m_binaryListValues.push_back(std::move(value)); return *this; }
104
106
114 inline const Aws::String& GetDataType() const{ return m_dataType; }
115 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
116 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
117 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
118 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
119 inline MessageSystemAttributeValue& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
120 inline MessageSystemAttributeValue& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
121 inline MessageSystemAttributeValue& WithDataType(const char* value) { SetDataType(value); return *this;}
123 private:
124
125 Aws::String m_stringValue;
126 bool m_stringValueHasBeenSet = false;
127
128 Aws::Utils::ByteBuffer m_binaryValue;
129 bool m_binaryValueHasBeenSet = false;
130
131 Aws::Vector<Aws::String> m_stringListValues;
132 bool m_stringListValuesHasBeenSet = false;
133
134 Aws::Vector<Aws::Utils::ByteBuffer> m_binaryListValues;
135 bool m_binaryListValuesHasBeenSet = false;
136
137 Aws::String m_dataType;
138 bool m_dataTypeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace SQS
143} // namespace Aws
MessageSystemAttributeValue & AddBinaryListValues(const Aws::Utils::ByteBuffer &value)
MessageSystemAttributeValue & WithStringListValues(Aws::Vector< Aws::String > &&value)
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
MessageSystemAttributeValue & AddBinaryListValues(Aws::Utils::ByteBuffer &&value)
const Aws::Vector< Aws::String > & GetStringListValues() const
MessageSystemAttributeValue & WithDataType(const Aws::String &value)
MessageSystemAttributeValue & WithDataType(Aws::String &&value)
MessageSystemAttributeValue & WithStringListValues(const Aws::Vector< Aws::String > &value)
MessageSystemAttributeValue & AddStringListValues(Aws::String &&value)
void SetBinaryListValues(Aws::Vector< Aws::Utils::ByteBuffer > &&value)
MessageSystemAttributeValue & AddStringListValues(const Aws::String &value)
void SetBinaryListValues(const Aws::Vector< Aws::Utils::ByteBuffer > &value)
AWS_SQS_API MessageSystemAttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
MessageSystemAttributeValue & WithBinaryValue(Aws::Utils::ByteBuffer &&value)
MessageSystemAttributeValue & WithBinaryListValues(const Aws::Vector< Aws::Utils::ByteBuffer > &value)
void SetStringListValues(Aws::Vector< Aws::String > &&value)
AWS_SQS_API MessageSystemAttributeValue(Aws::Utils::Json::JsonView jsonValue)
void SetStringListValues(const Aws::Vector< Aws::String > &value)
MessageSystemAttributeValue & WithBinaryListValues(Aws::Vector< Aws::Utils::ByteBuffer > &&value)
MessageSystemAttributeValue & WithStringValue(Aws::String &&value)
MessageSystemAttributeValue & WithBinaryValue(const Aws::Utils::ByteBuffer &value)
MessageSystemAttributeValue & WithStringValue(const Aws::String &value)
MessageSystemAttributeValue & AddStringListValues(const char *value)
MessageSystemAttributeValue & WithStringValue(const char *value)
const Aws::Utils::ByteBuffer & GetBinaryValue() const
void SetBinaryValue(Aws::Utils::ByteBuffer &&value)
const Aws::Vector< Aws::Utils::ByteBuffer > & GetBinaryListValues() const
void SetBinaryValue(const Aws::Utils::ByteBuffer &value)
MessageSystemAttributeValue & WithDataType(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