AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMerge(const Aws::String& value) { m_mergeHasBeenSet = true; m_merge = value; }
60 inline void SetMerge(Aws::String&& value) { m_mergeHasBeenSet = true; m_merge = std::move(value); }
61 inline void SetMerge(const char* value) { m_mergeHasBeenSet = true; m_merge.assign(value); }
62 inline ComponentConfigurationUpdate& WithMerge(const Aws::String& value) { SetMerge(value); return *this;}
63 inline ComponentConfigurationUpdate& WithMerge(Aws::String&& value) { SetMerge(std::move(value)); return *this;}
64 inline ComponentConfigurationUpdate& WithMerge(const char* value) { SetMerge(value); return *this;}
66
68
77 inline const Aws::Vector<Aws::String>& GetReset() const{ return m_reset; }
78 inline bool ResetHasBeenSet() const { return m_resetHasBeenSet; }
79 inline void SetReset(const Aws::Vector<Aws::String>& value) { m_resetHasBeenSet = true; m_reset = value; }
80 inline void SetReset(Aws::Vector<Aws::String>&& value) { m_resetHasBeenSet = true; m_reset = std::move(value); }
81 inline ComponentConfigurationUpdate& WithReset(const Aws::Vector<Aws::String>& value) { SetReset(value); return *this;}
82 inline ComponentConfigurationUpdate& WithReset(Aws::Vector<Aws::String>&& value) { SetReset(std::move(value)); return *this;}
83 inline ComponentConfigurationUpdate& AddReset(const Aws::String& value) { m_resetHasBeenSet = true; m_reset.push_back(value); return *this; }
84 inline ComponentConfigurationUpdate& AddReset(Aws::String&& value) { m_resetHasBeenSet = true; m_reset.push_back(std::move(value)); return *this; }
85 inline ComponentConfigurationUpdate& AddReset(const char* value) { m_resetHasBeenSet = true; m_reset.push_back(value); return *this; }
87 private:
88
89 Aws::String m_merge;
90 bool m_mergeHasBeenSet = false;
91
93 bool m_resetHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GreengrassV2
98} // namespace Aws
ComponentConfigurationUpdate & WithMerge(const char *value)
AWS_GREENGRASSV2_API ComponentConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
ComponentConfigurationUpdate & WithMerge(const Aws::String &value)
void SetReset(const Aws::Vector< Aws::String > &value)
ComponentConfigurationUpdate & AddReset(const Aws::String &value)
AWS_GREENGRASSV2_API ComponentConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentConfigurationUpdate & WithReset(const Aws::Vector< Aws::String > &value)
ComponentConfigurationUpdate & AddReset(const char *value)
ComponentConfigurationUpdate & WithMerge(Aws::String &&value)
ComponentConfigurationUpdate & WithReset(Aws::Vector< Aws::String > &&value)
ComponentConfigurationUpdate & AddReset(Aws::String &&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