AWS SDK for C++  1.9.104
AWS SDK for C++
LocationConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GameLift
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetLocation() const{ return m_location; }
46 
50  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
51 
55  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
56 
60  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
61 
65  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
66 
70  inline LocationConfiguration& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
71 
75  inline LocationConfiguration& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
76 
80  inline LocationConfiguration& WithLocation(const char* value) { SetLocation(value); return *this;}
81 
82  private:
83 
84  Aws::String m_location;
85  bool m_locationHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace GameLift
90 } // namespace Aws
Aws::GameLift::Model::LocationConfiguration::SetLocation
void SetLocation(Aws::String &&value)
Definition: LocationConfiguration.h:60
Aws::GameLift::Model::LocationConfiguration::LocationConfiguration
LocationConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::LocationConfiguration::SetLocation
void SetLocation(const char *value)
Definition: LocationConfiguration.h:65
Aws::GameLift::Model::LocationConfiguration::WithLocation
LocationConfiguration & WithLocation(const Aws::String &value)
Definition: LocationConfiguration.h:70
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::LocationConfiguration::WithLocation
LocationConfiguration & WithLocation(Aws::String &&value)
Definition: LocationConfiguration.h:75
GameLift_EXPORTS.h
Aws::GameLift::Model::LocationConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::LocationConfiguration::WithLocation
LocationConfiguration & WithLocation(const char *value)
Definition: LocationConfiguration.h:80
Aws::GameLift::Model::LocationConfiguration::SetLocation
void SetLocation(const Aws::String &value)
Definition: LocationConfiguration.h:55
Aws::GameLift::Model::LocationConfiguration
Definition: LocationConfiguration.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GameLift::Model::LocationConfiguration::LocationConfiguration
LocationConfiguration()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::LocationConfiguration::operator=
LocationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::LocationConfiguration::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: LocationConfiguration.h:50
Aws::GameLift::Model::LocationConfiguration::GetLocation
const Aws::String & GetLocation() const
Definition: LocationConfiguration.h:45