AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ContainerIdentifier.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
34 public:
35 AWS_GAMELIFT_API ContainerIdentifier() = default;
38 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetContainerName() const { return m_containerName; }
45 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
46 template <typename ContainerNameT = Aws::String>
47 void SetContainerName(ContainerNameT&& value) {
48 m_containerNameHasBeenSet = true;
49 m_containerName = std::forward<ContainerNameT>(value);
50 }
51 template <typename ContainerNameT = Aws::String>
52 ContainerIdentifier& WithContainerName(ContainerNameT&& value) {
53 SetContainerName(std::forward<ContainerNameT>(value));
54 return *this;
55 }
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) {
68 m_containerRuntimeIdHasBeenSet = true;
69 m_containerRuntimeId = std::forward<ContainerRuntimeIdT>(value);
70 }
71 template <typename ContainerRuntimeIdT = Aws::String>
72 ContainerIdentifier& WithContainerRuntimeId(ContainerRuntimeIdT&& value) {
73 SetContainerRuntimeId(std::forward<ContainerRuntimeIdT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_containerName;
79
80 Aws::String m_containerRuntimeId;
81 bool m_containerNameHasBeenSet = false;
82 bool m_containerRuntimeIdHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace GameLift
87} // 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