AWS SDK for C++  1.9.161
AWS SDK for C++
ProxyConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace ECS
25 {
26 namespace Model
27 {
28 
43  {
44  public:
49 
50 
54  inline const ProxyConfigurationType& GetType() const{ return m_type; }
55 
59  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 
64  inline void SetType(const ProxyConfigurationType& value) { m_typeHasBeenSet = true; m_type = value; }
65 
69  inline void SetType(ProxyConfigurationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
70 
74  inline ProxyConfiguration& WithType(const ProxyConfigurationType& value) { SetType(value); return *this;}
75 
79  inline ProxyConfiguration& WithType(ProxyConfigurationType&& value) { SetType(std::move(value)); return *this;}
80 
81 
85  inline const Aws::String& GetContainerName() const{ return m_containerName; }
86 
90  inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
91 
95  inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
96 
100  inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
101 
105  inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
106 
110  inline ProxyConfiguration& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
111 
115  inline ProxyConfiguration& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
116 
120  inline ProxyConfiguration& WithContainerName(const char* value) { SetContainerName(value); return *this;}
121 
122 
147  inline const Aws::Vector<KeyValuePair>& GetProperties() const{ return m_properties; }
148 
173  inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
174 
199  inline void SetProperties(const Aws::Vector<KeyValuePair>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
200 
225  inline void SetProperties(Aws::Vector<KeyValuePair>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
226 
251  inline ProxyConfiguration& WithProperties(const Aws::Vector<KeyValuePair>& value) { SetProperties(value); return *this;}
252 
277  inline ProxyConfiguration& WithProperties(Aws::Vector<KeyValuePair>&& value) { SetProperties(std::move(value)); return *this;}
278 
303  inline ProxyConfiguration& AddProperties(const KeyValuePair& value) { m_propertiesHasBeenSet = true; m_properties.push_back(value); return *this; }
304 
329  inline ProxyConfiguration& AddProperties(KeyValuePair&& value) { m_propertiesHasBeenSet = true; m_properties.push_back(std::move(value)); return *this; }
330 
331  private:
332 
333  ProxyConfigurationType m_type;
334  bool m_typeHasBeenSet;
335 
336  Aws::String m_containerName;
337  bool m_containerNameHasBeenSet;
338 
339  Aws::Vector<KeyValuePair> m_properties;
340  bool m_propertiesHasBeenSet;
341  };
342 
343 } // namespace Model
344 } // namespace ECS
345 } // namespace Aws
Aws::ECS::Model::ProxyConfiguration::ContainerNameHasBeenSet
bool ContainerNameHasBeenSet() const
Definition: ProxyConfiguration.h:90
Aws::ECS::Model::ProxyConfiguration::SetContainerName
void SetContainerName(const Aws::String &value)
Definition: ProxyConfiguration.h:95
Aws::ECS::Model::ProxyConfiguration::WithContainerName
ProxyConfiguration & WithContainerName(const Aws::String &value)
Definition: ProxyConfiguration.h:110
Aws::ECS::Model::ProxyConfiguration::WithContainerName
ProxyConfiguration & WithContainerName(const char *value)
Definition: ProxyConfiguration.h:120
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ProxyConfiguration::WithType
ProxyConfiguration & WithType(ProxyConfigurationType &&value)
Definition: ProxyConfiguration.h:79
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::ProxyConfiguration::SetProperties
void SetProperties(const Aws::Vector< KeyValuePair > &value)
Definition: ProxyConfiguration.h:199
Aws::ECS::Model::ProxyConfiguration::SetProperties
void SetProperties(Aws::Vector< KeyValuePair > &&value)
Definition: ProxyConfiguration.h:225
KeyValuePair.h
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ProxyConfiguration
Definition: ProxyConfiguration.h:43
ProxyConfigurationType.h
Aws::ECS::Model::ProxyConfiguration::AddProperties
ProxyConfiguration & AddProperties(const KeyValuePair &value)
Definition: ProxyConfiguration.h:303
Aws::ECS::Model::ProxyConfiguration::SetContainerName
void SetContainerName(const char *value)
Definition: ProxyConfiguration.h:105
Aws::ECS::Model::ProxyConfiguration::GetType
const ProxyConfigurationType & GetType() const
Definition: ProxyConfiguration.h:54
Aws::ECS::Model::ProxyConfiguration::SetType
void SetType(ProxyConfigurationType &&value)
Definition: ProxyConfiguration.h:69
Aws::ECS::Model::ProxyConfigurationType
ProxyConfigurationType
Definition: ProxyConfigurationType.h:17
Aws::ECS::Model::ProxyConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::ProxyConfiguration::WithProperties
ProxyConfiguration & WithProperties(Aws::Vector< KeyValuePair > &&value)
Definition: ProxyConfiguration.h:277
Aws::ECS::Model::ProxyConfiguration::ProxyConfiguration
ProxyConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::ProxyConfiguration::ProxyConfiguration
ProxyConfiguration()
Aws::ECS::Model::ProxyConfiguration::GetProperties
const Aws::Vector< KeyValuePair > & GetProperties() const
Definition: ProxyConfiguration.h:147
Aws::ECS::Model::ProxyConfiguration::WithContainerName
ProxyConfiguration & WithContainerName(Aws::String &&value)
Definition: ProxyConfiguration.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ECS::Model::ProxyConfiguration::WithProperties
ProxyConfiguration & WithProperties(const Aws::Vector< KeyValuePair > &value)
Definition: ProxyConfiguration.h:251
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::ProxyConfiguration::PropertiesHasBeenSet
bool PropertiesHasBeenSet() const
Definition: ProxyConfiguration.h:173
Aws::ECS::Model::ProxyConfiguration::GetContainerName
const Aws::String & GetContainerName() const
Definition: ProxyConfiguration.h:85
Aws::ECS::Model::ProxyConfiguration::SetContainerName
void SetContainerName(Aws::String &&value)
Definition: ProxyConfiguration.h:100
Aws::ECS::Model::ProxyConfiguration::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ProxyConfiguration.h:59
Aws::ECS::Model::KeyValuePair
Definition: KeyValuePair.h:32
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ProxyConfiguration::AddProperties
ProxyConfiguration & AddProperties(KeyValuePair &&value)
Definition: ProxyConfiguration.h:329
Aws::ECS::Model::ProxyConfiguration::WithType
ProxyConfiguration & WithType(const ProxyConfigurationType &value)
Definition: ProxyConfiguration.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ProxyConfiguration::SetType
void SetType(const ProxyConfigurationType &value)
Definition: ProxyConfiguration.h:64
ECS_EXPORTS.h
Aws::ECS::Model::ProxyConfiguration::operator=
ProxyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)