AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContainerAttribute.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GameLift
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_GAMELIFT_API ContainerAttribute() = default;
40 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetContainerName() const { return m_containerName; }
48 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
49 template<typename ContainerNameT = Aws::String>
50 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet = true; m_containerName = std::forward<ContainerNameT>(value); }
51 template<typename ContainerNameT = Aws::String>
52 ContainerAttribute& WithContainerName(ContainerNameT&& value) { SetContainerName(std::forward<ContainerNameT>(value)); return *this;}
54
56
60 inline const Aws::String& GetContainerRuntimeId() const { return m_containerRuntimeId; }
61 inline bool ContainerRuntimeIdHasBeenSet() const { return m_containerRuntimeIdHasBeenSet; }
62 template<typename ContainerRuntimeIdT = Aws::String>
63 void SetContainerRuntimeId(ContainerRuntimeIdT&& value) { m_containerRuntimeIdHasBeenSet = true; m_containerRuntimeId = std::forward<ContainerRuntimeIdT>(value); }
64 template<typename ContainerRuntimeIdT = Aws::String>
65 ContainerAttribute& WithContainerRuntimeId(ContainerRuntimeIdT&& value) { SetContainerRuntimeId(std::forward<ContainerRuntimeIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_containerName;
70 bool m_containerNameHasBeenSet = false;
71
72 Aws::String m_containerRuntimeId;
73 bool m_containerRuntimeIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GameLift
78} // namespace Aws
void SetContainerName(ContainerNameT &&value)
ContainerAttribute & WithContainerRuntimeId(ContainerRuntimeIdT &&value)
void SetContainerRuntimeId(ContainerRuntimeIdT &&value)
AWS_GAMELIFT_API ContainerAttribute()=default
AWS_GAMELIFT_API ContainerAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API ContainerAttribute(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContainerName() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContainerRuntimeId() const
ContainerAttribute & WithContainerName(ContainerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue