AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ComponentConfigurationUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GreengrassV2 {
21namespace Model {
22
33 public:
34 AWS_GREENGRASSV2_API ComponentConfigurationUpdate() = default;
37 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
51 inline const Aws::String& GetMerge() const { return m_merge; }
52 inline bool MergeHasBeenSet() const { return m_mergeHasBeenSet; }
53 template <typename MergeT = Aws::String>
54 void SetMerge(MergeT&& value) {
55 m_mergeHasBeenSet = true;
56 m_merge = std::forward<MergeT>(value);
57 }
58 template <typename MergeT = Aws::String>
60 SetMerge(std::forward<MergeT>(value));
61 return *this;
62 }
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) {
79 m_resetHasBeenSet = true;
80 m_reset = std::forward<ResetT>(value);
81 }
82 template <typename ResetT = Aws::Vector<Aws::String>>
84 SetReset(std::forward<ResetT>(value));
85 return *this;
86 }
87 template <typename ResetT = Aws::String>
89 m_resetHasBeenSet = true;
90 m_reset.emplace_back(std::forward<ResetT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_merge;
96
98 bool m_mergeHasBeenSet = false;
99 bool m_resetHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace GreengrassV2
104} // 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