AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StaticValue.h
1
6#pragma once
7#include <aws/config/ConfigService_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 ConfigService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONFIGSERVICE_API StaticValue();
36 AWS_CONFIGSERVICE_API StaticValue(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API StaticValue& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
46 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
47 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
48 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
49 inline StaticValue& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
50 inline StaticValue& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
51 inline StaticValue& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
52 inline StaticValue& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
53 inline StaticValue& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
55 private:
56
58 bool m_valuesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace ConfigService
63} // namespace Aws
void SetValues(Aws::Vector< Aws::String > &&value)
Definition StaticValue.h:48
const Aws::Vector< Aws::String > & GetValues() const
Definition StaticValue.h:45
StaticValue & AddValues(const char *value)
Definition StaticValue.h:53
StaticValue & WithValues(Aws::Vector< Aws::String > &&value)
Definition StaticValue.h:50
StaticValue & AddValues(const Aws::String &value)
Definition StaticValue.h:51
void SetValues(const Aws::Vector< Aws::String > &value)
Definition StaticValue.h:47
StaticValue & WithValues(const Aws::Vector< Aws::String > &value)
Definition StaticValue.h:49
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API StaticValue()
StaticValue & AddValues(Aws::String &&value)
Definition StaticValue.h:52
AWS_CONFIGSERVICE_API StaticValue(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API StaticValue & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue