AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchGroup.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 CloudWatchEvidently
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CLOUDWATCHEVIDENTLY_API LaunchGroup();
38 AWS_CLOUDWATCHEVIDENTLY_API LaunchGroup(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVIDENTLY_API LaunchGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDescription() const{ return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline LaunchGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline LaunchGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline LaunchGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
61 inline const Aws::Map<Aws::String, Aws::String>& GetFeatureVariations() const{ return m_featureVariations; }
62 inline bool FeatureVariationsHasBeenSet() const { return m_featureVariationsHasBeenSet; }
63 inline void SetFeatureVariations(const Aws::Map<Aws::String, Aws::String>& value) { m_featureVariationsHasBeenSet = true; m_featureVariations = value; }
64 inline void SetFeatureVariations(Aws::Map<Aws::String, Aws::String>&& value) { m_featureVariationsHasBeenSet = true; m_featureVariations = std::move(value); }
67 inline LaunchGroup& AddFeatureVariations(const Aws::String& key, const Aws::String& value) { m_featureVariationsHasBeenSet = true; m_featureVariations.emplace(key, value); return *this; }
68 inline LaunchGroup& AddFeatureVariations(Aws::String&& key, const Aws::String& value) { m_featureVariationsHasBeenSet = true; m_featureVariations.emplace(std::move(key), value); return *this; }
69 inline LaunchGroup& AddFeatureVariations(const Aws::String& key, Aws::String&& value) { m_featureVariationsHasBeenSet = true; m_featureVariations.emplace(key, std::move(value)); return *this; }
70 inline LaunchGroup& AddFeatureVariations(Aws::String&& key, Aws::String&& value) { m_featureVariationsHasBeenSet = true; m_featureVariations.emplace(std::move(key), std::move(value)); return *this; }
71 inline LaunchGroup& AddFeatureVariations(const char* key, Aws::String&& value) { m_featureVariationsHasBeenSet = true; m_featureVariations.emplace(key, std::move(value)); return *this; }
72 inline LaunchGroup& AddFeatureVariations(Aws::String&& key, const char* value) { m_featureVariationsHasBeenSet = true; m_featureVariations.emplace(std::move(key), value); return *this; }
73 inline LaunchGroup& AddFeatureVariations(const char* key, const char* value) { m_featureVariationsHasBeenSet = true; m_featureVariations.emplace(key, value); return *this; }
75
77
80 inline const Aws::String& GetName() const{ return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
83 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
84 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
85 inline LaunchGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
86 inline LaunchGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
87 inline LaunchGroup& WithName(const char* value) { SetName(value); return *this;}
89 private:
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93
94 Aws::Map<Aws::String, Aws::String> m_featureVariations;
95 bool m_featureVariationsHasBeenSet = false;
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CloudWatchEvidently
103} // namespace Aws
const Aws::String & GetName() const
Definition LaunchGroup.h:80
void SetDescription(Aws::String &&value)
Definition LaunchGroup.h:50
LaunchGroup & AddFeatureVariations(const char *key, const char *value)
Definition LaunchGroup.h:73
void SetFeatureVariations(const Aws::Map< Aws::String, Aws::String > &value)
Definition LaunchGroup.h:63
LaunchGroup & AddFeatureVariations(Aws::String &&key, const Aws::String &value)
Definition LaunchGroup.h:68
LaunchGroup & WithDescription(const char *value)
Definition LaunchGroup.h:54
void SetDescription(const Aws::String &value)
Definition LaunchGroup.h:49
LaunchGroup & WithFeatureVariations(const Aws::Map< Aws::String, Aws::String > &value)
Definition LaunchGroup.h:65
LaunchGroup & WithDescription(const Aws::String &value)
Definition LaunchGroup.h:52
LaunchGroup & WithFeatureVariations(Aws::Map< Aws::String, Aws::String > &&value)
Definition LaunchGroup.h:66
LaunchGroup & WithName(Aws::String &&value)
Definition LaunchGroup.h:86
LaunchGroup & WithDescription(Aws::String &&value)
Definition LaunchGroup.h:53
const Aws::Map< Aws::String, Aws::String > & GetFeatureVariations() const
Definition LaunchGroup.h:61
LaunchGroup & AddFeatureVariations(const Aws::String &key, const Aws::String &value)
Definition LaunchGroup.h:67
void SetName(const Aws::String &value)
Definition LaunchGroup.h:82
LaunchGroup & AddFeatureVariations(const Aws::String &key, Aws::String &&value)
Definition LaunchGroup.h:69
AWS_CLOUDWATCHEVIDENTLY_API LaunchGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
LaunchGroup & WithName(const Aws::String &value)
Definition LaunchGroup.h:85
LaunchGroup & AddFeatureVariations(const char *key, Aws::String &&value)
Definition LaunchGroup.h:71
AWS_CLOUDWATCHEVIDENTLY_API LaunchGroup()
LaunchGroup & WithName(const char *value)
Definition LaunchGroup.h:87
const Aws::String & GetDescription() const
Definition LaunchGroup.h:47
LaunchGroup & AddFeatureVariations(Aws::String &&key, const char *value)
Definition LaunchGroup.h:72
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchGroup & AddFeatureVariations(Aws::String &&key, Aws::String &&value)
Definition LaunchGroup.h:70
AWS_CLOUDWATCHEVIDENTLY_API LaunchGroup(Aws::Utils::Json::JsonView jsonValue)
void SetFeatureVariations(Aws::Map< Aws::String, Aws::String > &&value)
Definition LaunchGroup.h:64
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue