AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
AnywhereConfiguration.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
29 public:
30 AWS_GAMELIFT_API AnywhereConfiguration() = default;
33 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
43 inline const Aws::String& GetCost() const { return m_cost; }
44 inline bool CostHasBeenSet() const { return m_costHasBeenSet; }
45 template <typename CostT = Aws::String>
46 void SetCost(CostT&& value) {
47 m_costHasBeenSet = true;
48 m_cost = std::forward<CostT>(value);
49 }
50 template <typename CostT = Aws::String>
52 SetCost(std::forward<CostT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_cost;
58 bool m_costHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace GameLift
63} // namespace Aws
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AnywhereConfiguration & WithCost(CostT &&value)
AWS_GAMELIFT_API AnywhereConfiguration()=default
AWS_GAMELIFT_API AnywhereConfiguration(Aws::Utils::Json::JsonView jsonValue)
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