1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/robomaker/RoboMaker_EXPORTS.h>
8 #include <aws/robomaker/RoboMakerRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RoboMaker
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_ROBOMAKER_API DescribeWorldRequest : public RoboMakerRequest
22   {
23   public:
24     DescribeWorldRequest();
25 
26     // Service request name is the Operation name which will send this request out,
27     // each operation should has unique request name, so that we can get operation's name from this request.
28     // Note: this is not true for response, multiple operations may have the same response name,
29     // so we can not get operation's name from response.
GetServiceRequestName()30     inline virtual const char* GetServiceRequestName() const override { return "DescribeWorld"; }
31 
32     Aws::String SerializePayload() const override;
33 
34 
35     /**
36      * <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
37      */
GetWorld()38     inline const Aws::String& GetWorld() const{ return m_world; }
39 
40     /**
41      * <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
42      */
WorldHasBeenSet()43     inline bool WorldHasBeenSet() const { return m_worldHasBeenSet; }
44 
45     /**
46      * <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
47      */
SetWorld(const Aws::String & value)48     inline void SetWorld(const Aws::String& value) { m_worldHasBeenSet = true; m_world = value; }
49 
50     /**
51      * <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
52      */
SetWorld(Aws::String && value)53     inline void SetWorld(Aws::String&& value) { m_worldHasBeenSet = true; m_world = std::move(value); }
54 
55     /**
56      * <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
57      */
SetWorld(const char * value)58     inline void SetWorld(const char* value) { m_worldHasBeenSet = true; m_world.assign(value); }
59 
60     /**
61      * <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
62      */
WithWorld(const Aws::String & value)63     inline DescribeWorldRequest& WithWorld(const Aws::String& value) { SetWorld(value); return *this;}
64 
65     /**
66      * <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
67      */
WithWorld(Aws::String && value)68     inline DescribeWorldRequest& WithWorld(Aws::String&& value) { SetWorld(std::move(value)); return *this;}
69 
70     /**
71      * <p>The Amazon Resource Name (arn) of the world you want to describe.</p>
72      */
WithWorld(const char * value)73     inline DescribeWorldRequest& WithWorld(const char* value) { SetWorld(value); return *this;}
74 
75   private:
76 
77     Aws::String m_world;
78     bool m_worldHasBeenSet;
79   };
80 
81 } // namespace Model
82 } // namespace RoboMaker
83 } // namespace Aws
84