AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
LaunchOverrides.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/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SimSpaceWeaver {
21namespace Model {
22
30 public:
31 AWS_SIMSPACEWEAVER_API LaunchOverrides() = default;
32 AWS_SIMSPACEWEAVER_API LaunchOverrides(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SIMSPACEWEAVER_API LaunchOverrides& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<Aws::String>& GetLaunchCommands() const { return m_launchCommands; }
42 inline bool LaunchCommandsHasBeenSet() const { return m_launchCommandsHasBeenSet; }
43 template <typename LaunchCommandsT = Aws::Vector<Aws::String>>
44 void SetLaunchCommands(LaunchCommandsT&& value) {
45 m_launchCommandsHasBeenSet = true;
46 m_launchCommands = std::forward<LaunchCommandsT>(value);
47 }
48 template <typename LaunchCommandsT = Aws::Vector<Aws::String>>
49 LaunchOverrides& WithLaunchCommands(LaunchCommandsT&& value) {
50 SetLaunchCommands(std::forward<LaunchCommandsT>(value));
51 return *this;
52 }
53 template <typename LaunchCommandsT = Aws::String>
54 LaunchOverrides& AddLaunchCommands(LaunchCommandsT&& value) {
55 m_launchCommandsHasBeenSet = true;
56 m_launchCommands.emplace_back(std::forward<LaunchCommandsT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<Aws::String> m_launchCommands;
62 bool m_launchCommandsHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace SimSpaceWeaver
67} // namespace Aws
AWS_SIMSPACEWEAVER_API LaunchOverrides & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchOverrides & WithLaunchCommands(LaunchCommandsT &&value)
LaunchOverrides & AddLaunchCommands(LaunchCommandsT &&value)
const Aws::Vector< Aws::String > & GetLaunchCommands() const
AWS_SIMSPACEWEAVER_API LaunchOverrides(Aws::Utils::Json::JsonView jsonValue)
void SetLaunchCommands(LaunchCommandsT &&value)
AWS_SIMSPACEWEAVER_API LaunchOverrides()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue