AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContainerIdentifier.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
38 {
39 public:
40 AWS_GAMELIFT_API ContainerIdentifier() = default;
43 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetContainerName() const { return m_containerName; }
51 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
52 template<typename ContainerNameT = Aws::String>
53 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet = true; m_containerName = std::forward<ContainerNameT>(value); }
54 template<typename ContainerNameT = Aws::String>
55 ContainerIdentifier& WithContainerName(ContainerNameT&& value) { SetContainerName(std::forward<ContainerNameT>(value)); return *this;}
57
59
64 inline const Aws::String& GetContainerRuntimeId() const { return m_containerRuntimeId; }
65 inline bool ContainerRuntimeIdHasBeenSet() const { return m_containerRuntimeIdHasBeenSet; }
66 template<typename ContainerRuntimeIdT = Aws::String>
67 void SetContainerRuntimeId(ContainerRuntimeIdT&& value) { m_containerRuntimeIdHasBeenSet = true; m_containerRuntimeId = std::forward<ContainerRuntimeIdT>(value); }
68 template<typename ContainerRuntimeIdT = Aws::String>
69 ContainerIdentifier& WithContainerRuntimeId(ContainerRuntimeIdT&& value) { SetContainerRuntimeId(std::forward<ContainerRuntimeIdT>(value)); return *this;}
71 private:
72
73 Aws::String m_containerName;
74 bool m_containerNameHasBeenSet = false;
75
76 Aws::String m_containerRuntimeId;
77 bool m_containerRuntimeIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GameLift
82} // namespace Aws
AWS_GAMELIFT_API ContainerIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API ContainerIdentifier(Aws::Utils::Json::JsonView jsonValue)
ContainerIdentifier & WithContainerRuntimeId(ContainerRuntimeIdT &&value)
ContainerIdentifier & WithContainerName(ContainerNameT &&value)
AWS_GAMELIFT_API ContainerIdentifier()=default
void SetContainerName(ContainerNameT &&value)
void SetContainerRuntimeId(ContainerRuntimeIdT &&value)
const Aws::String & GetContainerRuntimeId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue