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/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8 #include <aws/iotthingsgraph/IoTThingsGraphRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoTThingsGraph
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_IOTTHINGSGRAPH_API GetSystemTemplateRequest : public IoTThingsGraphRequest
22   {
23   public:
24     GetSystemTemplateRequest();
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 "GetSystemTemplate"; }
31 
32     Aws::String SerializePayload() const override;
33 
34     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35 
36 
37     /**
38      * <p>The ID of the system to get. This ID must be in the user's namespace.</p>
39      * <p>The ID should be in the following format.</p> <p>
40      * <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code> </p>
41      */
GetId()42     inline const Aws::String& GetId() const{ return m_id; }
43 
44     /**
45      * <p>The ID of the system to get. This ID must be in the user's namespace.</p>
46      * <p>The ID should be in the following format.</p> <p>
47      * <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code> </p>
48      */
IdHasBeenSet()49     inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
51     /**
52      * <p>The ID of the system to get. This ID must be in the user's namespace.</p>
53      * <p>The ID should be in the following format.</p> <p>
54      * <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code> </p>
55      */
SetId(const Aws::String & value)56     inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 
58     /**
59      * <p>The ID of the system to get. This ID must be in the user's namespace.</p>
60      * <p>The ID should be in the following format.</p> <p>
61      * <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code> </p>
62      */
SetId(Aws::String && value)63     inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 
65     /**
66      * <p>The ID of the system to get. This ID must be in the user's namespace.</p>
67      * <p>The ID should be in the following format.</p> <p>
68      * <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code> </p>
69      */
SetId(const char * value)70     inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
71 
72     /**
73      * <p>The ID of the system to get. This ID must be in the user's namespace.</p>
74      * <p>The ID should be in the following format.</p> <p>
75      * <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code> </p>
76      */
WithId(const Aws::String & value)77     inline GetSystemTemplateRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
78 
79     /**
80      * <p>The ID of the system to get. This ID must be in the user's namespace.</p>
81      * <p>The ID should be in the following format.</p> <p>
82      * <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code> </p>
83      */
WithId(Aws::String && value)84     inline GetSystemTemplateRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
85 
86     /**
87      * <p>The ID of the system to get. This ID must be in the user's namespace.</p>
88      * <p>The ID should be in the following format.</p> <p>
89      * <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code> </p>
90      */
WithId(const char * value)91     inline GetSystemTemplateRequest& WithId(const char* value) { SetId(value); return *this;}
92 
93 
94     /**
95      * <p>The number that specifies the revision of the system to get.</p>
96      */
GetRevisionNumber()97     inline long long GetRevisionNumber() const{ return m_revisionNumber; }
98 
99     /**
100      * <p>The number that specifies the revision of the system to get.</p>
101      */
RevisionNumberHasBeenSet()102     inline bool RevisionNumberHasBeenSet() const { return m_revisionNumberHasBeenSet; }
103 
104     /**
105      * <p>The number that specifies the revision of the system to get.</p>
106      */
SetRevisionNumber(long long value)107     inline void SetRevisionNumber(long long value) { m_revisionNumberHasBeenSet = true; m_revisionNumber = value; }
108 
109     /**
110      * <p>The number that specifies the revision of the system to get.</p>
111      */
WithRevisionNumber(long long value)112     inline GetSystemTemplateRequest& WithRevisionNumber(long long value) { SetRevisionNumber(value); return *this;}
113 
114   private:
115 
116     Aws::String m_id;
117     bool m_idHasBeenSet;
118 
119     long long m_revisionNumber;
120     bool m_revisionNumberHasBeenSet;
121   };
122 
123 } // namespace Model
124 } // namespace IoTThingsGraph
125 } // namespace Aws
126