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/mgn/Mgn_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 mgn
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p>Operating System.</p><p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/OS">AWS API
29    * Reference</a></p>
30    */
31   class AWS_MGN_API OS
32   {
33   public:
34     OS();
35     OS(Aws::Utils::Json::JsonView jsonValue);
36     OS& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * <p>OS full string.</p>
42      */
GetFullString()43     inline const Aws::String& GetFullString() const{ return m_fullString; }
44 
45     /**
46      * <p>OS full string.</p>
47      */
FullStringHasBeenSet()48     inline bool FullStringHasBeenSet() const { return m_fullStringHasBeenSet; }
49 
50     /**
51      * <p>OS full string.</p>
52      */
SetFullString(const Aws::String & value)53     inline void SetFullString(const Aws::String& value) { m_fullStringHasBeenSet = true; m_fullString = value; }
54 
55     /**
56      * <p>OS full string.</p>
57      */
SetFullString(Aws::String && value)58     inline void SetFullString(Aws::String&& value) { m_fullStringHasBeenSet = true; m_fullString = std::move(value); }
59 
60     /**
61      * <p>OS full string.</p>
62      */
SetFullString(const char * value)63     inline void SetFullString(const char* value) { m_fullStringHasBeenSet = true; m_fullString.assign(value); }
64 
65     /**
66      * <p>OS full string.</p>
67      */
WithFullString(const Aws::String & value)68     inline OS& WithFullString(const Aws::String& value) { SetFullString(value); return *this;}
69 
70     /**
71      * <p>OS full string.</p>
72      */
WithFullString(Aws::String && value)73     inline OS& WithFullString(Aws::String&& value) { SetFullString(std::move(value)); return *this;}
74 
75     /**
76      * <p>OS full string.</p>
77      */
WithFullString(const char * value)78     inline OS& WithFullString(const char* value) { SetFullString(value); return *this;}
79 
80   private:
81 
82     Aws::String m_fullString;
83     bool m_fullStringHasBeenSet;
84   };
85 
86 } // namespace Model
87 } // namespace mgn
88 } // namespace Aws
89