AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ParameterObject& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ParameterObject& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ParameterObject& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::Vector<ParameterAttribute>& GetAttributes() const{ return m_attributes; }
61 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
62 inline void SetAttributes(const Aws::Vector<ParameterAttribute>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
63 inline void SetAttributes(Aws::Vector<ParameterAttribute>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
64 inline ParameterObject& WithAttributes(const Aws::Vector<ParameterAttribute>& value) { SetAttributes(value); return *this;}
65 inline ParameterObject& WithAttributes(Aws::Vector<ParameterAttribute>&& value) { SetAttributes(std::move(value)); return *this;}
66 inline ParameterObject& AddAttributes(const ParameterAttribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
67 inline ParameterObject& AddAttributes(ParameterAttribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_id;
72 bool m_idHasBeenSet = false;
73
75 bool m_attributesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DataPipeline
80} // namespace Aws
ParameterObject & AddAttributes(ParameterAttribute &&value)
const Aws::Vector< ParameterAttribute > & GetAttributes() const
void SetId(const Aws::String &value)
AWS_DATAPIPELINE_API ParameterObject & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterObject & WithId(const Aws::String &value)
ParameterObject & WithId(const char *value)
ParameterObject & WithAttributes(Aws::Vector< ParameterAttribute > &&value)
void SetAttributes(Aws::Vector< ParameterAttribute > &&value)
ParameterObject & WithId(Aws::String &&value)
ParameterObject & WithAttributes(const Aws::Vector< ParameterAttribute > &value)
void SetAttributes(const Aws::Vector< ParameterAttribute > &value)
ParameterObject & AddAttributes(const ParameterAttribute &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