AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProxyConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ProxyConfigurationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecs/model/KeyValuePair.h>
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:
45 AWS_ECS_API ProxyConfiguration();
49
50
52
55 inline const ProxyConfigurationType& GetType() const{ return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(const ProxyConfigurationType& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(ProxyConfigurationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 inline ProxyConfiguration& WithType(const ProxyConfigurationType& value) { SetType(value); return *this;}
60 inline ProxyConfiguration& WithType(ProxyConfigurationType&& value) { SetType(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetContainerName() const{ return m_containerName; }
68 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
69 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
70 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
71 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
72 inline ProxyConfiguration& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
73 inline ProxyConfiguration& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
74 inline ProxyConfiguration& WithContainerName(const char* value) { SetContainerName(value); return *this;}
76
78
102 inline const Aws::Vector<KeyValuePair>& GetProperties() const{ return m_properties; }
103 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
104 inline void SetProperties(const Aws::Vector<KeyValuePair>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
105 inline void SetProperties(Aws::Vector<KeyValuePair>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
106 inline ProxyConfiguration& WithProperties(const Aws::Vector<KeyValuePair>& value) { SetProperties(value); return *this;}
107 inline ProxyConfiguration& WithProperties(Aws::Vector<KeyValuePair>&& value) { SetProperties(std::move(value)); return *this;}
108 inline ProxyConfiguration& AddProperties(const KeyValuePair& value) { m_propertiesHasBeenSet = true; m_properties.push_back(value); return *this; }
109 inline ProxyConfiguration& AddProperties(KeyValuePair&& value) { m_propertiesHasBeenSet = true; m_properties.push_back(std::move(value)); return *this; }
111 private:
112
114 bool m_typeHasBeenSet = false;
115
116 Aws::String m_containerName;
117 bool m_containerNameHasBeenSet = false;
118
119 Aws::Vector<KeyValuePair> m_properties;
120 bool m_propertiesHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace ECS
125} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue