AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeploymentApplicationConfig.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/DeploymentLaunchConfig.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 RoboMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROBOMAKER_API DeploymentApplicationConfig() = default;
39 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetApplication() const { return m_application; }
47 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
48 template<typename ApplicationT = Aws::String>
49 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet = true; m_application = std::forward<ApplicationT>(value); }
50 template<typename ApplicationT = Aws::String>
51 DeploymentApplicationConfig& WithApplication(ApplicationT&& value) { SetApplication(std::forward<ApplicationT>(value)); return *this;}
53
55
58 inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; }
59 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
60 template<typename ApplicationVersionT = Aws::String>
61 void SetApplicationVersion(ApplicationVersionT&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::forward<ApplicationVersionT>(value); }
62 template<typename ApplicationVersionT = Aws::String>
63 DeploymentApplicationConfig& WithApplicationVersion(ApplicationVersionT&& value) { SetApplicationVersion(std::forward<ApplicationVersionT>(value)); return *this;}
65
67
70 inline const DeploymentLaunchConfig& GetLaunchConfig() const { return m_launchConfig; }
71 inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
72 template<typename LaunchConfigT = DeploymentLaunchConfig>
73 void SetLaunchConfig(LaunchConfigT&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::forward<LaunchConfigT>(value); }
74 template<typename LaunchConfigT = DeploymentLaunchConfig>
75 DeploymentApplicationConfig& WithLaunchConfig(LaunchConfigT&& value) { SetLaunchConfig(std::forward<LaunchConfigT>(value)); return *this;}
77 private:
78
79 Aws::String m_application;
80 bool m_applicationHasBeenSet = false;
81
82 Aws::String m_applicationVersion;
83 bool m_applicationVersionHasBeenSet = false;
84
85 DeploymentLaunchConfig m_launchConfig;
86 bool m_launchConfigHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace RoboMaker
91} // namespace Aws
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROBOMAKER_API DeploymentApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API DeploymentApplicationConfig()=default
DeploymentApplicationConfig & WithApplicationVersion(ApplicationVersionT &&value)
AWS_ROBOMAKER_API DeploymentApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentApplicationConfig & WithApplication(ApplicationT &&value)
DeploymentApplicationConfig & WithLaunchConfig(LaunchConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue