AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComponentConfigurationUpdate.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 GreengrassV2
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_GREENGRASSV2_API ComponentConfigurationUpdate() = default;
42 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
57 inline const Aws::String& GetMerge() const { return m_merge; }
58 inline bool MergeHasBeenSet() const { return m_mergeHasBeenSet; }
59 template<typename MergeT = Aws::String>
60 void SetMerge(MergeT&& value) { m_mergeHasBeenSet = true; m_merge = std::forward<MergeT>(value); }
61 template<typename MergeT = Aws::String>
62 ComponentConfigurationUpdate& WithMerge(MergeT&& value) { SetMerge(std::forward<MergeT>(value)); return *this;}
64
66
75 inline const Aws::Vector<Aws::String>& GetReset() const { return m_reset; }
76 inline bool ResetHasBeenSet() const { return m_resetHasBeenSet; }
77 template<typename ResetT = Aws::Vector<Aws::String>>
78 void SetReset(ResetT&& value) { m_resetHasBeenSet = true; m_reset = std::forward<ResetT>(value); }
79 template<typename ResetT = Aws::Vector<Aws::String>>
80 ComponentConfigurationUpdate& WithReset(ResetT&& value) { SetReset(std::forward<ResetT>(value)); return *this;}
81 template<typename ResetT = Aws::String>
82 ComponentConfigurationUpdate& AddReset(ResetT&& value) { m_resetHasBeenSet = true; m_reset.emplace_back(std::forward<ResetT>(value)); return *this; }
84 private:
85
86 Aws::String m_merge;
87 bool m_mergeHasBeenSet = false;
88
90 bool m_resetHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GreengrassV2
95} // namespace Aws
ComponentConfigurationUpdate & WithMerge(MergeT &&value)
AWS_GREENGRASSV2_API ComponentConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API ComponentConfigurationUpdate()=default
ComponentConfigurationUpdate & AddReset(ResetT &&value)
AWS_GREENGRASSV2_API ComponentConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentConfigurationUpdate & WithReset(ResetT &&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