AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LocationConfiguration.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
35 {
36 public:
37 AWS_GAMELIFT_API LocationConfiguration();
40 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetLocation() const{ return m_location; }
51 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
52 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
53 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
54 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
55 inline LocationConfiguration& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
56 inline LocationConfiguration& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
57 inline LocationConfiguration& WithLocation(const char* value) { SetLocation(value); return *this;}
59 private:
60
61 Aws::String m_location;
62 bool m_locationHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace GameLift
67} // namespace Aws
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
LocationConfiguration & WithLocation(Aws::String &&value)
LocationConfiguration & WithLocation(const Aws::String &value)
AWS_GAMELIFT_API LocationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API LocationConfiguration(Aws::Utils::Json::JsonView jsonValue)
LocationConfiguration & WithLocation(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue