AWS SDK for C++  1.9.160
AWS SDK for C++
ComponentConfigurationUpdate.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GreengrassV2
23 {
24 namespace Model
25 {
26 
37  {
38  public:
43 
44 
56  inline const Aws::String& GetMerge() const{ return m_merge; }
57 
69  inline bool MergeHasBeenSet() const { return m_mergeHasBeenSet; }
70 
82  inline void SetMerge(const Aws::String& value) { m_mergeHasBeenSet = true; m_merge = value; }
83 
95  inline void SetMerge(Aws::String&& value) { m_mergeHasBeenSet = true; m_merge = std::move(value); }
96 
108  inline void SetMerge(const char* value) { m_mergeHasBeenSet = true; m_merge.assign(value); }
109 
121  inline ComponentConfigurationUpdate& WithMerge(const Aws::String& value) { SetMerge(value); return *this;}
122 
134  inline ComponentConfigurationUpdate& WithMerge(Aws::String&& value) { SetMerge(std::move(value)); return *this;}
135 
147  inline ComponentConfigurationUpdate& WithMerge(const char* value) { SetMerge(value); return *this;}
148 
149 
159  inline const Aws::Vector<Aws::String>& GetReset() const{ return m_reset; }
160 
170  inline bool ResetHasBeenSet() const { return m_resetHasBeenSet; }
171 
181  inline void SetReset(const Aws::Vector<Aws::String>& value) { m_resetHasBeenSet = true; m_reset = value; }
182 
192  inline void SetReset(Aws::Vector<Aws::String>&& value) { m_resetHasBeenSet = true; m_reset = std::move(value); }
193 
203  inline ComponentConfigurationUpdate& WithReset(const Aws::Vector<Aws::String>& value) { SetReset(value); return *this;}
204 
214  inline ComponentConfigurationUpdate& WithReset(Aws::Vector<Aws::String>&& value) { SetReset(std::move(value)); return *this;}
215 
225  inline ComponentConfigurationUpdate& AddReset(const Aws::String& value) { m_resetHasBeenSet = true; m_reset.push_back(value); return *this; }
226 
236  inline ComponentConfigurationUpdate& AddReset(Aws::String&& value) { m_resetHasBeenSet = true; m_reset.push_back(std::move(value)); return *this; }
237 
247  inline ComponentConfigurationUpdate& AddReset(const char* value) { m_resetHasBeenSet = true; m_reset.push_back(value); return *this; }
248 
249  private:
250 
251  Aws::String m_merge;
252  bool m_mergeHasBeenSet;
253 
254  Aws::Vector<Aws::String> m_reset;
255  bool m_resetHasBeenSet;
256  };
257 
258 } // namespace Model
259 } // namespace GreengrassV2
260 } // namespace Aws
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::SetMerge
void SetMerge(const Aws::String &value)
Definition: ComponentConfigurationUpdate.h:82
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::ResetHasBeenSet
bool ResetHasBeenSet() const
Definition: ComponentConfigurationUpdate.h:170
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::AddReset
ComponentConfigurationUpdate & AddReset(Aws::String &&value)
Definition: ComponentConfigurationUpdate.h:236
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::GetReset
const Aws::Vector< Aws::String > & GetReset() const
Definition: ComponentConfigurationUpdate.h:159
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::WithMerge
ComponentConfigurationUpdate & WithMerge(Aws::String &&value)
Definition: ComponentConfigurationUpdate.h:134
Aws::GreengrassV2::Model::ComponentConfigurationUpdate
Definition: ComponentConfigurationUpdate.h:37
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::operator=
ComponentConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::AddReset
ComponentConfigurationUpdate & AddReset(const char *value)
Definition: ComponentConfigurationUpdate.h:247
AWSVector.h
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::GetMerge
const Aws::String & GetMerge() const
Definition: ComponentConfigurationUpdate.h:56
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::WithMerge
ComponentConfigurationUpdate & WithMerge(const Aws::String &value)
Definition: ComponentConfigurationUpdate.h:121
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::SetReset
void SetReset(Aws::Vector< Aws::String > &&value)
Definition: ComponentConfigurationUpdate.h:192
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::ComponentConfigurationUpdate
ComponentConfigurationUpdate()
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::SetMerge
void SetMerge(Aws::String &&value)
Definition: ComponentConfigurationUpdate.h:95
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::MergeHasBeenSet
bool MergeHasBeenSet() const
Definition: ComponentConfigurationUpdate.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::AddReset
ComponentConfigurationUpdate & AddReset(const Aws::String &value)
Definition: ComponentConfigurationUpdate.h:225
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::SetMerge
void SetMerge(const char *value)
Definition: ComponentConfigurationUpdate.h:108
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::SetReset
void SetReset(const Aws::Vector< Aws::String > &value)
Definition: ComponentConfigurationUpdate.h:181
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::ComponentConfigurationUpdate
ComponentConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::WithReset
ComponentConfigurationUpdate & WithReset(const Aws::Vector< Aws::String > &value)
Definition: ComponentConfigurationUpdate.h:203
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::WithReset
ComponentConfigurationUpdate & WithReset(Aws::Vector< Aws::String > &&value)
Definition: ComponentConfigurationUpdate.h:214
Aws::GreengrassV2::Model::ComponentConfigurationUpdate::WithMerge
ComponentConfigurationUpdate & WithMerge(const char *value)
Definition: ComponentConfigurationUpdate.h:147