AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainerGroupDefinitionProperty.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/ContainerSchedulingStrategy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GameLift
23{
24namespace Model
25{
26
37 {
38 public:
42 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const ContainerSchedulingStrategy& GetSchedulingStrategy() const{ return m_schedulingStrategy; }
51 inline bool SchedulingStrategyHasBeenSet() const { return m_schedulingStrategyHasBeenSet; }
52 inline void SetSchedulingStrategy(const ContainerSchedulingStrategy& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = value; }
53 inline void SetSchedulingStrategy(ContainerSchedulingStrategy&& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = std::move(value); }
57
59
62 inline const Aws::String& GetContainerGroupDefinitionName() const{ return m_containerGroupDefinitionName; }
63 inline bool ContainerGroupDefinitionNameHasBeenSet() const { return m_containerGroupDefinitionNameHasBeenSet; }
64 inline void SetContainerGroupDefinitionName(const Aws::String& value) { m_containerGroupDefinitionNameHasBeenSet = true; m_containerGroupDefinitionName = value; }
65 inline void SetContainerGroupDefinitionName(Aws::String&& value) { m_containerGroupDefinitionNameHasBeenSet = true; m_containerGroupDefinitionName = std::move(value); }
66 inline void SetContainerGroupDefinitionName(const char* value) { m_containerGroupDefinitionNameHasBeenSet = true; m_containerGroupDefinitionName.assign(value); }
71 private:
72
73 ContainerSchedulingStrategy m_schedulingStrategy;
74 bool m_schedulingStrategyHasBeenSet = false;
75
76 Aws::String m_containerGroupDefinitionName;
77 bool m_containerGroupDefinitionNameHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GameLift
82} // namespace Aws
ContainerGroupDefinitionProperty & WithSchedulingStrategy(const ContainerSchedulingStrategy &value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API ContainerGroupDefinitionProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerGroupDefinitionProperty & WithContainerGroupDefinitionName(const char *value)
ContainerGroupDefinitionProperty & WithSchedulingStrategy(ContainerSchedulingStrategy &&value)
const ContainerSchedulingStrategy & GetSchedulingStrategy() const
ContainerGroupDefinitionProperty & WithContainerGroupDefinitionName(const Aws::String &value)
ContainerGroupDefinitionProperty & WithContainerGroupDefinitionName(Aws::String &&value)
AWS_GAMELIFT_API ContainerGroupDefinitionProperty(Aws::Utils::Json::JsonView jsonValue)
void SetSchedulingStrategy(const ContainerSchedulingStrategy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue