AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ParameterObject.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datapipeline/model/ParameterAttribute.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 DataPipeline
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAPIPELINE_API ParameterObject() = default;
37 AWS_DATAPIPELINE_API ParameterObject(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAPIPELINE_API ParameterObject& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 ParameterObject& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::Vector<ParameterAttribute>& GetAttributes() const { return m_attributes; }
59 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
60 template<typename AttributesT = Aws::Vector<ParameterAttribute>>
61 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
62 template<typename AttributesT = Aws::Vector<ParameterAttribute>>
63 ParameterObject& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
64 template<typename AttributesT = ParameterAttribute>
65 ParameterObject& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
67 private:
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71
73 bool m_attributesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataPipeline
78} // namespace Aws
ParameterObject & WithAttributes(AttributesT &&value)
const Aws::Vector< ParameterAttribute > & GetAttributes() const
AWS_DATAPIPELINE_API ParameterObject & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterObject & AddAttributes(AttributesT &&value)
AWS_DATAPIPELINE_API ParameterObject()=default
ParameterObject & WithId(IdT &&value)
AWS_DATAPIPELINE_API ParameterObject(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