AWS SDK for C++  1.9.160
AWS SDK for C++
AssetModelHierarchyDefinition.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 IoTSiteWise
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
49  inline const Aws::String& GetName() const{ return m_name; }
50 
58  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 
67  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 
76  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 
85  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 
94  inline AssetModelHierarchyDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
95 
103  inline AssetModelHierarchyDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
104 
112  inline AssetModelHierarchyDefinition& WithName(const char* value) { SetName(value); return *this;}
113 
114 
118  inline const Aws::String& GetChildAssetModelId() const{ return m_childAssetModelId; }
119 
123  inline bool ChildAssetModelIdHasBeenSet() const { return m_childAssetModelIdHasBeenSet; }
124 
128  inline void SetChildAssetModelId(const Aws::String& value) { m_childAssetModelIdHasBeenSet = true; m_childAssetModelId = value; }
129 
133  inline void SetChildAssetModelId(Aws::String&& value) { m_childAssetModelIdHasBeenSet = true; m_childAssetModelId = std::move(value); }
134 
138  inline void SetChildAssetModelId(const char* value) { m_childAssetModelIdHasBeenSet = true; m_childAssetModelId.assign(value); }
139 
143  inline AssetModelHierarchyDefinition& WithChildAssetModelId(const Aws::String& value) { SetChildAssetModelId(value); return *this;}
144 
148  inline AssetModelHierarchyDefinition& WithChildAssetModelId(Aws::String&& value) { SetChildAssetModelId(std::move(value)); return *this;}
149 
153  inline AssetModelHierarchyDefinition& WithChildAssetModelId(const char* value) { SetChildAssetModelId(value); return *this;}
154 
155  private:
156 
157  Aws::String m_name;
158  bool m_nameHasBeenSet;
159 
160  Aws::String m_childAssetModelId;
161  bool m_childAssetModelIdHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace IoTSiteWise
166 } // namespace Aws
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::SetChildAssetModelId
void SetChildAssetModelId(const Aws::String &value)
Definition: AssetModelHierarchyDefinition.h:128
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::AssetModelHierarchyDefinition
AssetModelHierarchyDefinition()
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::GetChildAssetModelId
const Aws::String & GetChildAssetModelId() const
Definition: AssetModelHierarchyDefinition.h:118
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AssetModelHierarchyDefinition.h:58
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::operator=
AssetModelHierarchyDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::WithName
AssetModelHierarchyDefinition & WithName(const char *value)
Definition: AssetModelHierarchyDefinition.h:112
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::SetChildAssetModelId
void SetChildAssetModelId(Aws::String &&value)
Definition: AssetModelHierarchyDefinition.h:133
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::SetChildAssetModelId
void SetChildAssetModelId(const char *value)
Definition: AssetModelHierarchyDefinition.h:138
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::AssetModelHierarchyDefinition
AssetModelHierarchyDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::SetName
void SetName(const Aws::String &value)
Definition: AssetModelHierarchyDefinition.h:67
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::WithChildAssetModelId
AssetModelHierarchyDefinition & WithChildAssetModelId(const Aws::String &value)
Definition: AssetModelHierarchyDefinition.h:143
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::WithName
AssetModelHierarchyDefinition & WithName(Aws::String &&value)
Definition: AssetModelHierarchyDefinition.h:103
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::SetName
void SetName(Aws::String &&value)
Definition: AssetModelHierarchyDefinition.h:76
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::GetName
const Aws::String & GetName() const
Definition: AssetModelHierarchyDefinition.h:49
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::ChildAssetModelIdHasBeenSet
bool ChildAssetModelIdHasBeenSet() const
Definition: AssetModelHierarchyDefinition.h:123
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::SetName
void SetName(const char *value)
Definition: AssetModelHierarchyDefinition.h:85
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::WithChildAssetModelId
AssetModelHierarchyDefinition & WithChildAssetModelId(Aws::String &&value)
Definition: AssetModelHierarchyDefinition.h:148
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::WithChildAssetModelId
AssetModelHierarchyDefinition & WithChildAssetModelId(const char *value)
Definition: AssetModelHierarchyDefinition.h:153
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition
Definition: AssetModelHierarchyDefinition.h:34
Aws::IoTSiteWise::Model::AssetModelHierarchyDefinition::WithName
AssetModelHierarchyDefinition & WithName(const Aws::String &value)
Definition: AssetModelHierarchyDefinition.h:94