AWS SDK for C++  1.9.44
AWS SDK for C++
DeploymentApplicationConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace RoboMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetApplication() const{ return m_application; }
46 
50  inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
51 
55  inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
56 
60  inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
61 
65  inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
66 
70  inline DeploymentApplicationConfig& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
71 
75  inline DeploymentApplicationConfig& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
76 
80  inline DeploymentApplicationConfig& WithApplication(const char* value) { SetApplication(value); return *this;}
81 
82 
86  inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
87 
91  inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
92 
96  inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
97 
101  inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
102 
106  inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
107 
111  inline DeploymentApplicationConfig& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
112 
116  inline DeploymentApplicationConfig& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
117 
121  inline DeploymentApplicationConfig& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
122 
123 
127  inline const DeploymentLaunchConfig& GetLaunchConfig() const{ return m_launchConfig; }
128 
132  inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; }
133 
137  inline void SetLaunchConfig(const DeploymentLaunchConfig& value) { m_launchConfigHasBeenSet = true; m_launchConfig = value; }
138 
142  inline void SetLaunchConfig(DeploymentLaunchConfig&& value) { m_launchConfigHasBeenSet = true; m_launchConfig = std::move(value); }
143 
147  inline DeploymentApplicationConfig& WithLaunchConfig(const DeploymentLaunchConfig& value) { SetLaunchConfig(value); return *this;}
148 
152  inline DeploymentApplicationConfig& WithLaunchConfig(DeploymentLaunchConfig&& value) { SetLaunchConfig(std::move(value)); return *this;}
153 
154  private:
155 
156  Aws::String m_application;
157  bool m_applicationHasBeenSet;
158 
159  Aws::String m_applicationVersion;
160  bool m_applicationVersionHasBeenSet;
161 
162  DeploymentLaunchConfig m_launchConfig;
163  bool m_launchConfigHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace RoboMaker
168 } // namespace Aws
Aws::RoboMaker::Model::DeploymentApplicationConfig::SetApplicationVersion
void SetApplicationVersion(Aws::String &&value)
Definition: DeploymentApplicationConfig.h:101
Aws::RoboMaker::Model::DeploymentApplicationConfig::GetLaunchConfig
const DeploymentLaunchConfig & GetLaunchConfig() const
Definition: DeploymentApplicationConfig.h:127
Aws::RoboMaker::Model::DeploymentApplicationConfig::SetLaunchConfig
void SetLaunchConfig(DeploymentLaunchConfig &&value)
Definition: DeploymentApplicationConfig.h:142
Aws::RoboMaker::Model::DeploymentApplicationConfig::WithApplicationVersion
DeploymentApplicationConfig & WithApplicationVersion(Aws::String &&value)
Definition: DeploymentApplicationConfig.h:116
Aws::RoboMaker::Model::DeploymentApplicationConfig::GetApplicationVersion
const Aws::String & GetApplicationVersion() const
Definition: DeploymentApplicationConfig.h:86
Aws::RoboMaker::Model::DeploymentApplicationConfig::SetApplicationVersion
void SetApplicationVersion(const Aws::String &value)
Definition: DeploymentApplicationConfig.h:96
Aws::RoboMaker::Model::DeploymentApplicationConfig::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: DeploymentApplicationConfig.h:50
Aws::RoboMaker::Model::DeploymentApplicationConfig::DeploymentApplicationConfig
DeploymentApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
DeploymentLaunchConfig.h
Aws::RoboMaker::Model::DeploymentApplicationConfig::SetApplicationVersion
void SetApplicationVersion(const char *value)
Definition: DeploymentApplicationConfig.h:106
Aws::RoboMaker::Model::DeploymentApplicationConfig::WithApplication
DeploymentApplicationConfig & WithApplication(Aws::String &&value)
Definition: DeploymentApplicationConfig.h:75
Aws::RoboMaker::Model::DeploymentApplicationConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::DeploymentApplicationConfig::SetApplication
void SetApplication(Aws::String &&value)
Definition: DeploymentApplicationConfig.h:60
Aws::RoboMaker::Model::DeploymentApplicationConfig::SetApplication
void SetApplication(const Aws::String &value)
Definition: DeploymentApplicationConfig.h:55
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::DeploymentApplicationConfig::WithApplicationVersion
DeploymentApplicationConfig & WithApplicationVersion(const Aws::String &value)
Definition: DeploymentApplicationConfig.h:111
Aws::RoboMaker::Model::DeploymentApplicationConfig::WithApplicationVersion
DeploymentApplicationConfig & WithApplicationVersion(const char *value)
Definition: DeploymentApplicationConfig.h:121
Aws::RoboMaker::Model::DeploymentApplicationConfig::operator=
DeploymentApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::DeploymentApplicationConfig::SetLaunchConfig
void SetLaunchConfig(const DeploymentLaunchConfig &value)
Definition: DeploymentApplicationConfig.h:137
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::DeploymentApplicationConfig::LaunchConfigHasBeenSet
bool LaunchConfigHasBeenSet() const
Definition: DeploymentApplicationConfig.h:132
Aws::RoboMaker::Model::DeploymentApplicationConfig::DeploymentApplicationConfig
DeploymentApplicationConfig()
Aws::RoboMaker::Model::DeploymentApplicationConfig::WithApplication
DeploymentApplicationConfig & WithApplication(const Aws::String &value)
Definition: DeploymentApplicationConfig.h:70
Aws::RoboMaker::Model::DeploymentApplicationConfig::ApplicationVersionHasBeenSet
bool ApplicationVersionHasBeenSet() const
Definition: DeploymentApplicationConfig.h:91
Aws::RoboMaker::Model::DeploymentApplicationConfig::WithLaunchConfig
DeploymentApplicationConfig & WithLaunchConfig(DeploymentLaunchConfig &&value)
Definition: DeploymentApplicationConfig.h:152
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::DeploymentApplicationConfig::SetApplication
void SetApplication(const char *value)
Definition: DeploymentApplicationConfig.h:65
Aws::RoboMaker::Model::DeploymentApplicationConfig::GetApplication
const Aws::String & GetApplication() const
Definition: DeploymentApplicationConfig.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::DeploymentApplicationConfig::WithApplication
DeploymentApplicationConfig & WithApplication(const char *value)
Definition: DeploymentApplicationConfig.h:80
Aws::RoboMaker::Model::DeploymentApplicationConfig::WithLaunchConfig
DeploymentApplicationConfig & WithLaunchConfig(const DeploymentLaunchConfig &value)
Definition: DeploymentApplicationConfig.h:147
Aws::RoboMaker::Model::DeploymentLaunchConfig
Definition: DeploymentLaunchConfig.h:34
Aws::RoboMaker::Model::DeploymentApplicationConfig
Definition: DeploymentApplicationConfig.h:34