AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainerGroupsAttributes.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/model/ConnectionPortRange.h>
10#include <aws/gamelift/model/ContainerGroupsPerInstance.h>
11#include <aws/gamelift/model/ContainerGroupDefinitionProperty.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 GameLift
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_GAMELIFT_API ContainerGroupsAttributes();
44 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const Aws::Vector<ContainerGroupDefinitionProperty>& GetContainerGroupDefinitionProperties() const{ return m_containerGroupDefinitionProperties; }
54 inline bool ContainerGroupDefinitionPropertiesHasBeenSet() const { return m_containerGroupDefinitionPropertiesHasBeenSet; }
55 inline void SetContainerGroupDefinitionProperties(const Aws::Vector<ContainerGroupDefinitionProperty>& value) { m_containerGroupDefinitionPropertiesHasBeenSet = true; m_containerGroupDefinitionProperties = value; }
56 inline void SetContainerGroupDefinitionProperties(Aws::Vector<ContainerGroupDefinitionProperty>&& value) { m_containerGroupDefinitionPropertiesHasBeenSet = true; m_containerGroupDefinitionProperties = std::move(value); }
59 inline ContainerGroupsAttributes& AddContainerGroupDefinitionProperties(const ContainerGroupDefinitionProperty& value) { m_containerGroupDefinitionPropertiesHasBeenSet = true; m_containerGroupDefinitionProperties.push_back(value); return *this; }
60 inline ContainerGroupsAttributes& AddContainerGroupDefinitionProperties(ContainerGroupDefinitionProperty&& value) { m_containerGroupDefinitionPropertiesHasBeenSet = true; m_containerGroupDefinitionProperties.push_back(std::move(value)); return *this; }
62
64
72 inline const ConnectionPortRange& GetConnectionPortRange() const{ return m_connectionPortRange; }
73 inline bool ConnectionPortRangeHasBeenSet() const { return m_connectionPortRangeHasBeenSet; }
74 inline void SetConnectionPortRange(const ConnectionPortRange& value) { m_connectionPortRangeHasBeenSet = true; m_connectionPortRange = value; }
75 inline void SetConnectionPortRange(ConnectionPortRange&& value) { m_connectionPortRangeHasBeenSet = true; m_connectionPortRange = std::move(value); }
79
81
85 inline const ContainerGroupsPerInstance& GetContainerGroupsPerInstance() const{ return m_containerGroupsPerInstance; }
86 inline bool ContainerGroupsPerInstanceHasBeenSet() const { return m_containerGroupsPerInstanceHasBeenSet; }
87 inline void SetContainerGroupsPerInstance(const ContainerGroupsPerInstance& value) { m_containerGroupsPerInstanceHasBeenSet = true; m_containerGroupsPerInstance = value; }
88 inline void SetContainerGroupsPerInstance(ContainerGroupsPerInstance&& value) { m_containerGroupsPerInstanceHasBeenSet = true; m_containerGroupsPerInstance = std::move(value); }
92 private:
93
94 Aws::Vector<ContainerGroupDefinitionProperty> m_containerGroupDefinitionProperties;
95 bool m_containerGroupDefinitionPropertiesHasBeenSet = false;
96
97 ConnectionPortRange m_connectionPortRange;
98 bool m_connectionPortRangeHasBeenSet = false;
99
100 ContainerGroupsPerInstance m_containerGroupsPerInstance;
101 bool m_containerGroupsPerInstanceHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace GameLift
106} // namespace Aws
void SetContainerGroupsPerInstance(const ContainerGroupsPerInstance &value)
ContainerGroupsAttributes & AddContainerGroupDefinitionProperties(ContainerGroupDefinitionProperty &&value)
void SetConnectionPortRange(const ConnectionPortRange &value)
AWS_GAMELIFT_API ContainerGroupsAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const ContainerGroupsPerInstance & GetContainerGroupsPerInstance() const
ContainerGroupsAttributes & AddContainerGroupDefinitionProperties(const ContainerGroupDefinitionProperty &value)
const ConnectionPortRange & GetConnectionPortRange() const
ContainerGroupsAttributes & WithConnectionPortRange(const ConnectionPortRange &value)
void SetContainerGroupDefinitionProperties(const Aws::Vector< ContainerGroupDefinitionProperty > &value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContainerGroupDefinitionProperties(Aws::Vector< ContainerGroupDefinitionProperty > &&value)
ContainerGroupsAttributes & WithContainerGroupsPerInstance(const ContainerGroupsPerInstance &value)
ContainerGroupsAttributes & WithContainerGroupDefinitionProperties(const Aws::Vector< ContainerGroupDefinitionProperty > &value)
void SetContainerGroupsPerInstance(ContainerGroupsPerInstance &&value)
ContainerGroupsAttributes & WithContainerGroupDefinitionProperties(Aws::Vector< ContainerGroupDefinitionProperty > &&value)
ContainerGroupsAttributes & WithConnectionPortRange(ConnectionPortRange &&value)
ContainerGroupsAttributes & WithContainerGroupsPerInstance(ContainerGroupsPerInstance &&value)
AWS_GAMELIFT_API ContainerGroupsAttributes(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ContainerGroupDefinitionProperty > & GetContainerGroupDefinitionProperties() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue