AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttributeValueList.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SSMIncidents
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSMINCIDENTS_API AttributeValueList();
37 AWS_SSMINCIDENTS_API AttributeValueList(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<int>& GetIntegerValues() const{ return m_integerValues; }
47 inline bool IntegerValuesHasBeenSet() const { return m_integerValuesHasBeenSet; }
48 inline void SetIntegerValues(const Aws::Vector<int>& value) { m_integerValuesHasBeenSet = true; m_integerValues = value; }
49 inline void SetIntegerValues(Aws::Vector<int>&& value) { m_integerValuesHasBeenSet = true; m_integerValues = std::move(value); }
50 inline AttributeValueList& WithIntegerValues(const Aws::Vector<int>& value) { SetIntegerValues(value); return *this;}
51 inline AttributeValueList& WithIntegerValues(Aws::Vector<int>&& value) { SetIntegerValues(std::move(value)); return *this;}
52 inline AttributeValueList& AddIntegerValues(int value) { m_integerValuesHasBeenSet = true; m_integerValues.push_back(value); return *this; }
54
56
59 inline const Aws::Vector<Aws::String>& GetStringValues() const{ return m_stringValues; }
60 inline bool StringValuesHasBeenSet() const { return m_stringValuesHasBeenSet; }
61 inline void SetStringValues(const Aws::Vector<Aws::String>& value) { m_stringValuesHasBeenSet = true; m_stringValues = value; }
62 inline void SetStringValues(Aws::Vector<Aws::String>&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::move(value); }
63 inline AttributeValueList& WithStringValues(const Aws::Vector<Aws::String>& value) { SetStringValues(value); return *this;}
64 inline AttributeValueList& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
65 inline AttributeValueList& AddStringValues(const Aws::String& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; }
66 inline AttributeValueList& AddStringValues(Aws::String&& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(std::move(value)); return *this; }
67 inline AttributeValueList& AddStringValues(const char* value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; }
69 private:
70
71 Aws::Vector<int> m_integerValues;
72 bool m_integerValuesHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_stringValues;
75 bool m_stringValuesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SSMIncidents
80} // namespace Aws
void SetIntegerValues(const Aws::Vector< int > &value)
AttributeValueList & AddIntegerValues(int value)
void SetStringValues(Aws::Vector< Aws::String > &&value)
AttributeValueList & AddStringValues(Aws::String &&value)
AttributeValueList & WithStringValues(const Aws::Vector< Aws::String > &value)
const Aws::Vector< int > & GetIntegerValues() const
AttributeValueList & AddStringValues(const Aws::String &value)
AWS_SSMINCIDENTS_API AttributeValueList & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeValueList & WithStringValues(Aws::Vector< Aws::String > &&value)
void SetStringValues(const Aws::Vector< Aws::String > &value)
AttributeValueList & WithIntegerValues(Aws::Vector< int > &&value)
const Aws::Vector< Aws::String > & GetStringValues() const
void SetIntegerValues(Aws::Vector< int > &&value)
AWS_SSMINCIDENTS_API AttributeValueList(Aws::Utils::Json::JsonView jsonValue)
AttributeValueList & AddStringValues(const char *value)
AttributeValueList & WithIntegerValues(const Aws::Vector< int > &value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() 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