AWS SDK for C++  1.9.20
AWS SDK for C++
WorldConfig.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 RoboMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetWorld() const{ return m_world; }
44 
48  inline bool WorldHasBeenSet() const { return m_worldHasBeenSet; }
49 
53  inline void SetWorld(const Aws::String& value) { m_worldHasBeenSet = true; m_world = value; }
54 
58  inline void SetWorld(Aws::String&& value) { m_worldHasBeenSet = true; m_world = std::move(value); }
59 
63  inline void SetWorld(const char* value) { m_worldHasBeenSet = true; m_world.assign(value); }
64 
68  inline WorldConfig& WithWorld(const Aws::String& value) { SetWorld(value); return *this;}
69 
73  inline WorldConfig& WithWorld(Aws::String&& value) { SetWorld(std::move(value)); return *this;}
74 
78  inline WorldConfig& WithWorld(const char* value) { SetWorld(value); return *this;}
79 
80  private:
81 
82  Aws::String m_world;
83  bool m_worldHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace RoboMaker
88 } // namespace Aws
Aws::RoboMaker::Model::WorldConfig::WithWorld
WorldConfig & WithWorld(Aws::String &&value)
Definition: WorldConfig.h:73
Aws::RoboMaker::Model::WorldConfig::SetWorld
void SetWorld(Aws::String &&value)
Definition: WorldConfig.h:58
Aws::RoboMaker::Model::WorldConfig::WorldConfig
WorldConfig()
Aws::RoboMaker::Model::WorldConfig::WithWorld
WorldConfig & WithWorld(const char *value)
Definition: WorldConfig.h:78
Aws::RoboMaker::Model::WorldConfig::WorldHasBeenSet
bool WorldHasBeenSet() const
Definition: WorldConfig.h:48
Aws::RoboMaker::Model::WorldConfig::SetWorld
void SetWorld(const Aws::String &value)
Definition: WorldConfig.h:53
Aws::RoboMaker::Model::WorldConfig::GetWorld
const Aws::String & GetWorld() const
Definition: WorldConfig.h:43
Aws::RoboMaker::Model::WorldConfig
Definition: WorldConfig.h:32
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::WorldConfig::WorldConfig
WorldConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::WorldConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
RoboMaker_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::WorldConfig::SetWorld
void SetWorld(const char *value)
Definition: WorldConfig.h:63
Aws::RoboMaker::Model::WorldConfig::WithWorld
WorldConfig & WithWorld(const Aws::String &value)
Definition: WorldConfig.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::WorldConfig::operator=
WorldConfig & operator=(Aws::Utils::Json::JsonView jsonValue)