AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LocationModel.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
34 {
35 public:
36 AWS_GAMELIFT_API LocationModel();
37 AWS_GAMELIFT_API LocationModel(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLocationName() const{ return m_locationName; }
47 inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; }
48 inline void SetLocationName(const Aws::String& value) { m_locationNameHasBeenSet = true; m_locationName = value; }
49 inline void SetLocationName(Aws::String&& value) { m_locationNameHasBeenSet = true; m_locationName = std::move(value); }
50 inline void SetLocationName(const char* value) { m_locationNameHasBeenSet = true; m_locationName.assign(value); }
51 inline LocationModel& WithLocationName(const Aws::String& value) { SetLocationName(value); return *this;}
52 inline LocationModel& WithLocationName(Aws::String&& value) { SetLocationName(std::move(value)); return *this;}
53 inline LocationModel& WithLocationName(const char* value) { SetLocationName(value); return *this;}
55
57
64 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
65 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
66 inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
67 inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
68 inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
69 inline LocationModel& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
70 inline LocationModel& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
71 inline LocationModel& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
73 private:
74
75 Aws::String m_locationName;
76 bool m_locationNameHasBeenSet = false;
77
78 Aws::String m_locationArn;
79 bool m_locationArnHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace GameLift
84} // namespace Aws
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
LocationModel & WithLocationName(Aws::String &&value)
AWS_GAMELIFT_API LocationModel & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLocationName(const Aws::String &value)
void SetLocationArn(Aws::String &&value)
const Aws::String & GetLocationName() const
LocationModel & WithLocationArn(Aws::String &&value)
void SetLocationName(Aws::String &&value)
LocationModel & WithLocationName(const char *value)
const Aws::String & GetLocationArn() const
LocationModel & WithLocationArn(const char *value)
LocationModel & WithLocationArn(const Aws::String &value)
LocationModel & WithLocationName(const Aws::String &value)
void SetLocationArn(const char *value)
void SetLocationName(const char *value)
void SetLocationArn(const Aws::String &value)
AWS_GAMELIFT_API LocationModel(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue