AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ProxyConfiguration.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ECS
25{
26namespace 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
334 bool m_typeHasBeenSet = false;
335
336 Aws::String m_containerName;
337 bool m_containerNameHasBeenSet = false;
338
339 Aws::Vector<KeyValuePair> m_properties;
340 bool m_propertiesHasBeenSet = false;
341 };
342
343} // namespace Model
344} // namespace ECS
345} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
ProxyConfiguration & WithType(ProxyConfigurationType &&value)
ProxyConfiguration & WithContainerName(const char *value)
ProxyConfiguration & WithContainerName(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(ProxyConfigurationType &&value)
void SetContainerName(const Aws::String &value)
const ProxyConfigurationType & GetType() const
const Aws::Vector< KeyValuePair > & GetProperties() const
ProxyConfiguration & WithType(const ProxyConfigurationType &value)
ProxyConfiguration & AddProperties(KeyValuePair &&value)
ProxyConfiguration & WithProperties(const Aws::Vector< KeyValuePair > &value)
const Aws::String & GetContainerName() const
void SetType(const ProxyConfigurationType &value)
ProxyConfiguration & WithContainerName(const Aws::String &value)
void SetContainerName(const char *value)
void SetProperties(Aws::Vector< KeyValuePair > &&value)
void SetProperties(const Aws::Vector< KeyValuePair > &value)
AWS_ECS_API ProxyConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetContainerName(Aws::String &&value)
ProxyConfiguration & WithProperties(Aws::Vector< KeyValuePair > &&value)
AWS_ECS_API ProxyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ProxyConfiguration & AddProperties(const KeyValuePair &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector