AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ContainerAttribute.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GameLift {
20namespace Model {
21
31 public:
32 AWS_GAMELIFT_API ContainerAttribute() = default;
35 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetContainerName() const { return m_containerName; }
42 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
43 template <typename ContainerNameT = Aws::String>
44 void SetContainerName(ContainerNameT&& value) {
45 m_containerNameHasBeenSet = true;
46 m_containerName = std::forward<ContainerNameT>(value);
47 }
48 template <typename ContainerNameT = Aws::String>
49 ContainerAttribute& WithContainerName(ContainerNameT&& value) {
50 SetContainerName(std::forward<ContainerNameT>(value));
51 return *this;
52 }
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) {
64 m_containerRuntimeIdHasBeenSet = true;
65 m_containerRuntimeId = std::forward<ContainerRuntimeIdT>(value);
66 }
67 template <typename ContainerRuntimeIdT = Aws::String>
68 ContainerAttribute& WithContainerRuntimeId(ContainerRuntimeIdT&& value) {
69 SetContainerRuntimeId(std::forward<ContainerRuntimeIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_containerName;
75
76 Aws::String m_containerRuntimeId;
77 bool m_containerNameHasBeenSet = false;
78 bool m_containerRuntimeIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace GameLift
83} // 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