AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLaunchRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/evidently/model/ScheduledSplitsLaunchConfig.h>
12#include <aws/evidently/model/LaunchGroupConfig.h>
13#include <aws/evidently/model/MetricMonitorConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CloudWatchEvidently
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CLOUDWATCHEVIDENTLY_API UpdateLaunchRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateLaunch"; }
35
36 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetDescription() const{ return m_description; }
44 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
46 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
47 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
48 inline UpdateLaunchRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
49 inline UpdateLaunchRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
50 inline UpdateLaunchRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
52
54
58 inline const Aws::Vector<LaunchGroupConfig>& GetGroups() const{ return m_groups; }
59 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
60 inline void SetGroups(const Aws::Vector<LaunchGroupConfig>& value) { m_groupsHasBeenSet = true; m_groups = value; }
61 inline void SetGroups(Aws::Vector<LaunchGroupConfig>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
62 inline UpdateLaunchRequest& WithGroups(const Aws::Vector<LaunchGroupConfig>& value) { SetGroups(value); return *this;}
63 inline UpdateLaunchRequest& WithGroups(Aws::Vector<LaunchGroupConfig>&& value) { SetGroups(std::move(value)); return *this;}
64 inline UpdateLaunchRequest& AddGroups(const LaunchGroupConfig& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
65 inline UpdateLaunchRequest& AddGroups(LaunchGroupConfig&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
67
69
72 inline const Aws::String& GetLaunch() const{ return m_launch; }
73 inline bool LaunchHasBeenSet() const { return m_launchHasBeenSet; }
74 inline void SetLaunch(const Aws::String& value) { m_launchHasBeenSet = true; m_launch = value; }
75 inline void SetLaunch(Aws::String&& value) { m_launchHasBeenSet = true; m_launch = std::move(value); }
76 inline void SetLaunch(const char* value) { m_launchHasBeenSet = true; m_launch.assign(value); }
77 inline UpdateLaunchRequest& WithLaunch(const Aws::String& value) { SetLaunch(value); return *this;}
78 inline UpdateLaunchRequest& WithLaunch(Aws::String&& value) { SetLaunch(std::move(value)); return *this;}
79 inline UpdateLaunchRequest& WithLaunch(const char* value) { SetLaunch(value); return *this;}
81
83
87 inline const Aws::Vector<MetricMonitorConfig>& GetMetricMonitors() const{ return m_metricMonitors; }
88 inline bool MetricMonitorsHasBeenSet() const { return m_metricMonitorsHasBeenSet; }
89 inline void SetMetricMonitors(const Aws::Vector<MetricMonitorConfig>& value) { m_metricMonitorsHasBeenSet = true; m_metricMonitors = value; }
90 inline void SetMetricMonitors(Aws::Vector<MetricMonitorConfig>&& value) { m_metricMonitorsHasBeenSet = true; m_metricMonitors = std::move(value); }
93 inline UpdateLaunchRequest& AddMetricMonitors(const MetricMonitorConfig& value) { m_metricMonitorsHasBeenSet = true; m_metricMonitors.push_back(value); return *this; }
94 inline UpdateLaunchRequest& AddMetricMonitors(MetricMonitorConfig&& value) { m_metricMonitorsHasBeenSet = true; m_metricMonitors.push_back(std::move(value)); return *this; }
96
98
102 inline const Aws::String& GetProject() const{ return m_project; }
103 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
104 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
105 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
106 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
107 inline UpdateLaunchRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;}
108 inline UpdateLaunchRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
109 inline UpdateLaunchRequest& WithProject(const char* value) { SetProject(value); return *this;}
111
113
120 inline const Aws::String& GetRandomizationSalt() const{ return m_randomizationSalt; }
121 inline bool RandomizationSaltHasBeenSet() const { return m_randomizationSaltHasBeenSet; }
122 inline void SetRandomizationSalt(const Aws::String& value) { m_randomizationSaltHasBeenSet = true; m_randomizationSalt = value; }
123 inline void SetRandomizationSalt(Aws::String&& value) { m_randomizationSaltHasBeenSet = true; m_randomizationSalt = std::move(value); }
124 inline void SetRandomizationSalt(const char* value) { m_randomizationSaltHasBeenSet = true; m_randomizationSalt.assign(value); }
125 inline UpdateLaunchRequest& WithRandomizationSalt(const Aws::String& value) { SetRandomizationSalt(value); return *this;}
126 inline UpdateLaunchRequest& WithRandomizationSalt(Aws::String&& value) { SetRandomizationSalt(std::move(value)); return *this;}
127 inline UpdateLaunchRequest& WithRandomizationSalt(const char* value) { SetRandomizationSalt(value); return *this;}
129
131
135 inline const ScheduledSplitsLaunchConfig& GetScheduledSplitsConfig() const{ return m_scheduledSplitsConfig; }
136 inline bool ScheduledSplitsConfigHasBeenSet() const { return m_scheduledSplitsConfigHasBeenSet; }
137 inline void SetScheduledSplitsConfig(const ScheduledSplitsLaunchConfig& value) { m_scheduledSplitsConfigHasBeenSet = true; m_scheduledSplitsConfig = value; }
138 inline void SetScheduledSplitsConfig(ScheduledSplitsLaunchConfig&& value) { m_scheduledSplitsConfigHasBeenSet = true; m_scheduledSplitsConfig = std::move(value); }
142 private:
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
148 bool m_groupsHasBeenSet = false;
149
150 Aws::String m_launch;
151 bool m_launchHasBeenSet = false;
152
153 Aws::Vector<MetricMonitorConfig> m_metricMonitors;
154 bool m_metricMonitorsHasBeenSet = false;
155
156 Aws::String m_project;
157 bool m_projectHasBeenSet = false;
158
159 Aws::String m_randomizationSalt;
160 bool m_randomizationSaltHasBeenSet = false;
161
162 ScheduledSplitsLaunchConfig m_scheduledSplitsConfig;
163 bool m_scheduledSplitsConfigHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace CloudWatchEvidently
168} // namespace Aws
UpdateLaunchRequest & WithLaunch(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
void SetGroups(const Aws::Vector< LaunchGroupConfig > &value)
const Aws::Vector< MetricMonitorConfig > & GetMetricMonitors() const
const Aws::Vector< LaunchGroupConfig > & GetGroups() const
UpdateLaunchRequest & WithScheduledSplitsConfig(ScheduledSplitsLaunchConfig &&value)
UpdateLaunchRequest & WithLaunch(Aws::String &&value)
UpdateLaunchRequest & WithRandomizationSalt(const char *value)
const ScheduledSplitsLaunchConfig & GetScheduledSplitsConfig() const
UpdateLaunchRequest & WithRandomizationSalt(const Aws::String &value)
UpdateLaunchRequest & WithProject(const Aws::String &value)
UpdateLaunchRequest & WithDescription(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API UpdateLaunchRequest()
UpdateLaunchRequest & WithDescription(const Aws::String &value)
UpdateLaunchRequest & WithLaunch(const char *value)
void SetMetricMonitors(const Aws::Vector< MetricMonitorConfig > &value)
void SetScheduledSplitsConfig(const ScheduledSplitsLaunchConfig &value)
UpdateLaunchRequest & WithMetricMonitors(const Aws::Vector< MetricMonitorConfig > &value)
UpdateLaunchRequest & AddGroups(LaunchGroupConfig &&value)
void SetScheduledSplitsConfig(ScheduledSplitsLaunchConfig &&value)
UpdateLaunchRequest & AddMetricMonitors(MetricMonitorConfig &&value)
UpdateLaunchRequest & WithProject(const char *value)
void SetMetricMonitors(Aws::Vector< MetricMonitorConfig > &&value)
UpdateLaunchRequest & AddMetricMonitors(const MetricMonitorConfig &value)
UpdateLaunchRequest & WithMetricMonitors(Aws::Vector< MetricMonitorConfig > &&value)
virtual const char * GetServiceRequestName() const override
UpdateLaunchRequest & WithScheduledSplitsConfig(const ScheduledSplitsLaunchConfig &value)
UpdateLaunchRequest & WithGroups(const Aws::Vector< LaunchGroupConfig > &value)
UpdateLaunchRequest & WithDescription(const char *value)
UpdateLaunchRequest & WithGroups(Aws::Vector< LaunchGroupConfig > &&value)
UpdateLaunchRequest & WithRandomizationSalt(Aws::String &&value)
UpdateLaunchRequest & WithProject(Aws::String &&value)
void SetGroups(Aws::Vector< LaunchGroupConfig > &&value)
UpdateLaunchRequest & AddGroups(const LaunchGroupConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector