AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredefinedAttributeValues.h
1
6#pragma once
7#include <aws/connect/Connect_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 Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API PredefinedAttributeValues();
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetStringList() const{ return m_stringList; }
47 inline bool StringListHasBeenSet() const { return m_stringListHasBeenSet; }
48 inline void SetStringList(const Aws::Vector<Aws::String>& value) { m_stringListHasBeenSet = true; m_stringList = value; }
49 inline void SetStringList(Aws::Vector<Aws::String>&& value) { m_stringListHasBeenSet = true; m_stringList = std::move(value); }
51 inline PredefinedAttributeValues& WithStringList(Aws::Vector<Aws::String>&& value) { SetStringList(std::move(value)); return *this;}
52 inline PredefinedAttributeValues& AddStringList(const Aws::String& value) { m_stringListHasBeenSet = true; m_stringList.push_back(value); return *this; }
53 inline PredefinedAttributeValues& AddStringList(Aws::String&& value) { m_stringListHasBeenSet = true; m_stringList.push_back(std::move(value)); return *this; }
54 inline PredefinedAttributeValues& AddStringList(const char* value) { m_stringListHasBeenSet = true; m_stringList.push_back(value); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_stringList;
59 bool m_stringListHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Connect
64} // namespace Aws
void SetStringList(Aws::Vector< Aws::String > &&value)
PredefinedAttributeValues & AddStringList(const char *value)
PredefinedAttributeValues & AddStringList(Aws::String &&value)
const Aws::Vector< Aws::String > & GetStringList() const
PredefinedAttributeValues & AddStringList(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
PredefinedAttributeValues & WithStringList(const Aws::Vector< Aws::String > &value)
AWS_CONNECT_API PredefinedAttributeValues & operator=(Aws::Utils::Json::JsonView jsonValue)
PredefinedAttributeValues & WithStringList(Aws::Vector< Aws::String > &&value)
AWS_CONNECT_API PredefinedAttributeValues(Aws::Utils::Json::JsonView jsonValue)
void SetStringList(const Aws::Vector< Aws::String > &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