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/core/utils/memory/stl/AWSString.h> 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 26 /** 27 * <p>The object that contains the Docker image URI for either your robot or 28 * simulation applications.</p><p><h3>See Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/Environment">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_ROBOMAKER_API Environment 33 { 34 public: 35 Environment(); 36 Environment(Aws::Utils::Json::JsonView jsonValue); 37 Environment& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * <p>The Docker image URI for either your robot or simulation applications.</p> 43 */ GetUri()44 inline const Aws::String& GetUri() const{ return m_uri; } 45 46 /** 47 * <p>The Docker image URI for either your robot or simulation applications.</p> 48 */ UriHasBeenSet()49 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } 50 51 /** 52 * <p>The Docker image URI for either your robot or simulation applications.</p> 53 */ SetUri(const Aws::String & value)54 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } 55 56 /** 57 * <p>The Docker image URI for either your robot or simulation applications.</p> 58 */ SetUri(Aws::String && value)59 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } 60 61 /** 62 * <p>The Docker image URI for either your robot or simulation applications.</p> 63 */ SetUri(const char * value)64 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } 65 66 /** 67 * <p>The Docker image URI for either your robot or simulation applications.</p> 68 */ WithUri(const Aws::String & value)69 inline Environment& WithUri(const Aws::String& value) { SetUri(value); return *this;} 70 71 /** 72 * <p>The Docker image URI for either your robot or simulation applications.</p> 73 */ WithUri(Aws::String && value)74 inline Environment& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} 75 76 /** 77 * <p>The Docker image URI for either your robot or simulation applications.</p> 78 */ WithUri(const char * value)79 inline Environment& WithUri(const char* value) { SetUri(value); return *this;} 80 81 private: 82 83 Aws::String m_uri; 84 bool m_uriHasBeenSet; 85 }; 86 87 } // namespace Model 88 } // namespace RoboMaker 89 } // namespace Aws 90