AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LaunchOverrides.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SimSpaceWeaver
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SIMSPACEWEAVER_API LaunchOverrides() = default;
37 AWS_SIMSPACEWEAVER_API LaunchOverrides(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SIMSPACEWEAVER_API LaunchOverrides& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetLaunchCommands() const { return m_launchCommands; }
48 inline bool LaunchCommandsHasBeenSet() const { return m_launchCommandsHasBeenSet; }
49 template<typename LaunchCommandsT = Aws::Vector<Aws::String>>
50 void SetLaunchCommands(LaunchCommandsT&& value) { m_launchCommandsHasBeenSet = true; m_launchCommands = std::forward<LaunchCommandsT>(value); }
51 template<typename LaunchCommandsT = Aws::Vector<Aws::String>>
52 LaunchOverrides& WithLaunchCommands(LaunchCommandsT&& value) { SetLaunchCommands(std::forward<LaunchCommandsT>(value)); return *this;}
53 template<typename LaunchCommandsT = Aws::String>
54 LaunchOverrides& AddLaunchCommands(LaunchCommandsT&& value) { m_launchCommandsHasBeenSet = true; m_launchCommands.emplace_back(std::forward<LaunchCommandsT>(value)); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_launchCommands;
59 bool m_launchCommandsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SimSpaceWeaver
64} // 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