AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
LocationConfiguration.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 LocationConfiguration() = default;
33 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetLocation() const { return m_location; }
43 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
44 template <typename LocationT = Aws::String>
45 void SetLocation(LocationT&& value) {
46 m_locationHasBeenSet = true;
47 m_location = std::forward<LocationT>(value);
48 }
49 template <typename LocationT = Aws::String>
50 LocationConfiguration& WithLocation(LocationT&& value) {
51 SetLocation(std::forward<LocationT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_location;
57 bool m_locationHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace GameLift
62} // namespace Aws
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
LocationConfiguration & WithLocation(LocationT &&value)
AWS_GAMELIFT_API LocationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API LocationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API LocationConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue