/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An attribute value.See Also:
AWS
* API Reference
A string.
*/ inline const Aws::String& GetS() const{ return m_s; } /** *A string.
*/ inline bool SHasBeenSet() const { return m_sHasBeenSet; } /** *A string.
*/ inline void SetS(const Aws::String& value) { m_sHasBeenSet = true; m_s = value; } /** *A string.
*/ inline void SetS(Aws::String&& value) { m_sHasBeenSet = true; m_s = std::move(value); } /** *A string.
*/ inline void SetS(const char* value) { m_sHasBeenSet = true; m_s.assign(value); } /** *A string.
*/ inline AttributeValue& WithS(const Aws::String& value) { SetS(value); return *this;} /** *A string.
*/ inline AttributeValue& WithS(Aws::String&& value) { SetS(std::move(value)); return *this;} /** *A string.
*/ inline AttributeValue& WithS(const char* value) { SetS(value); return *this;} /** *A number.
*/ inline const Aws::String& GetN() const{ return m_n; } /** *A number.
*/ inline bool NHasBeenSet() const { return m_nHasBeenSet; } /** *A number.
*/ inline void SetN(const Aws::String& value) { m_nHasBeenSet = true; m_n = value; } /** *A number.
*/ inline void SetN(Aws::String&& value) { m_nHasBeenSet = true; m_n = std::move(value); } /** *A number.
*/ inline void SetN(const char* value) { m_nHasBeenSet = true; m_n.assign(value); } /** *A number.
*/ inline AttributeValue& WithN(const Aws::String& value) { SetN(value); return *this;} /** *A number.
*/ inline AttributeValue& WithN(Aws::String&& value) { SetN(std::move(value)); return *this;} /** *A number.
*/ inline AttributeValue& WithN(const char* value) { SetN(value); return *this;} /** *A binary value.
*/ inline const Aws::String& GetB() const{ return m_b; } /** *A binary value.
*/ inline bool BHasBeenSet() const { return m_bHasBeenSet; } /** *A binary value.
*/ inline void SetB(const Aws::String& value) { m_bHasBeenSet = true; m_b = value; } /** *A binary value.
*/ inline void SetB(Aws::String&& value) { m_bHasBeenSet = true; m_b = std::move(value); } /** *A binary value.
*/ inline void SetB(const char* value) { m_bHasBeenSet = true; m_b.assign(value); } /** *A binary value.
*/ inline AttributeValue& WithB(const Aws::String& value) { SetB(value); return *this;} /** *A binary value.
*/ inline AttributeValue& WithB(Aws::String&& value) { SetB(std::move(value)); return *this;} /** *A binary value.
*/ inline AttributeValue& WithB(const char* value) { SetB(value); return *this;} /** *A list of strings.
*/ inline const Aws::VectorA list of strings.
*/ inline bool SSHasBeenSet() const { return m_sSHasBeenSet; } /** *A list of strings.
*/ inline void SetSS(const Aws::VectorA list of strings.
*/ inline void SetSS(Aws::VectorA list of strings.
*/ inline AttributeValue& WithSS(const Aws::VectorA list of strings.
*/ inline AttributeValue& WithSS(Aws::VectorA list of strings.
*/ inline AttributeValue& AddSS(const Aws::String& value) { m_sSHasBeenSet = true; m_sS.push_back(value); return *this; } /** *A list of strings.
*/ inline AttributeValue& AddSS(Aws::String&& value) { m_sSHasBeenSet = true; m_sS.push_back(std::move(value)); return *this; } /** *A list of strings.
*/ inline AttributeValue& AddSS(const char* value) { m_sSHasBeenSet = true; m_sS.push_back(value); return *this; } /** *A list of numbers.
*/ inline const Aws::VectorA list of numbers.
*/ inline bool NSHasBeenSet() const { return m_nSHasBeenSet; } /** *A list of numbers.
*/ inline void SetNS(const Aws::VectorA list of numbers.
*/ inline void SetNS(Aws::VectorA list of numbers.
*/ inline AttributeValue& WithNS(const Aws::VectorA list of numbers.
*/ inline AttributeValue& WithNS(Aws::VectorA list of numbers.
*/ inline AttributeValue& AddNS(const Aws::String& value) { m_nSHasBeenSet = true; m_nS.push_back(value); return *this; } /** *A list of numbers.
*/ inline AttributeValue& AddNS(Aws::String&& value) { m_nSHasBeenSet = true; m_nS.push_back(std::move(value)); return *this; } /** *A list of numbers.
*/ inline AttributeValue& AddNS(const char* value) { m_nSHasBeenSet = true; m_nS.push_back(value); return *this; } /** *A list of binary values.
*/ inline const Aws::VectorA list of binary values.
*/ inline bool BSHasBeenSet() const { return m_bSHasBeenSet; } /** *A list of binary values.
*/ inline void SetBS(const Aws::VectorA list of binary values.
*/ inline void SetBS(Aws::VectorA list of binary values.
*/ inline AttributeValue& WithBS(const Aws::VectorA list of binary values.
*/ inline AttributeValue& WithBS(Aws::VectorA list of binary values.
*/ inline AttributeValue& AddBS(const Aws::String& value) { m_bSHasBeenSet = true; m_bS.push_back(value); return *this; } /** *A list of binary values.
*/ inline AttributeValue& AddBS(Aws::String&& value) { m_bSHasBeenSet = true; m_bS.push_back(std::move(value)); return *this; } /** *A list of binary values.
*/ inline AttributeValue& AddBS(const char* value) { m_bSHasBeenSet = true; m_bS.push_back(value); return *this; } private: Aws::String m_s; bool m_sHasBeenSet = false; Aws::String m_n; bool m_nHasBeenSet = false; Aws::String m_b; bool m_bHasBeenSet = false; Aws::Vector