AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ContainerEnvironment.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
37 public:
38 AWS_GAMELIFT_API ContainerEnvironment() = default;
41 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template <typename NameT = Aws::String>
50 void SetName(NameT&& value) {
51 m_nameHasBeenSet = true;
52 m_name = std::forward<NameT>(value);
53 }
54 template <typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetValue() const { return m_value; }
66 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
67 template <typename ValueT = Aws::String>
68 void SetValue(ValueT&& value) {
69 m_valueHasBeenSet = true;
70 m_value = std::forward<ValueT>(value);
71 }
72 template <typename ValueT = Aws::String>
74 SetValue(std::forward<ValueT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_name;
80
81 Aws::String m_value;
82 bool m_nameHasBeenSet = false;
83 bool m_valueHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace GameLift
88} // namespace Aws
AWS_GAMELIFT_API ContainerEnvironment(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API ContainerEnvironment()=default
AWS_GAMELIFT_API ContainerEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerEnvironment & WithName(NameT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerEnvironment & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue