AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnywhereConfiguration.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
33 {
34 public:
35 AWS_GAMELIFT_API AnywhereConfiguration();
38 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::String& GetCost() const{ return m_cost; }
50 inline bool CostHasBeenSet() const { return m_costHasBeenSet; }
51 inline void SetCost(const Aws::String& value) { m_costHasBeenSet = true; m_cost = value; }
52 inline void SetCost(Aws::String&& value) { m_costHasBeenSet = true; m_cost = std::move(value); }
53 inline void SetCost(const char* value) { m_costHasBeenSet = true; m_cost.assign(value); }
54 inline AnywhereConfiguration& WithCost(const Aws::String& value) { SetCost(value); return *this;}
55 inline AnywhereConfiguration& WithCost(Aws::String&& value) { SetCost(std::move(value)); return *this;}
56 inline AnywhereConfiguration& WithCost(const char* value) { SetCost(value); return *this;}
58 private:
59
60 Aws::String m_cost;
61 bool m_costHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace GameLift
66} // namespace Aws
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AnywhereConfiguration & WithCost(const char *value)
AnywhereConfiguration & WithCost(Aws::String &&value)
AWS_GAMELIFT_API AnywhereConfiguration(Aws::Utils::Json::JsonView jsonValue)
AnywhereConfiguration & WithCost(const Aws::String &value)
AWS_GAMELIFT_API AnywhereConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue