AWS SDK for C++  1.9.153
AWS SDK for C++
CompositeModelProperty.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTSiteWise
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline CompositeModelProperty& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline CompositeModelProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline CompositeModelProperty& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetType() const{ return m_type; }
87 
91  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 
96  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
97 
101  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
102 
106  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
107 
111  inline CompositeModelProperty& WithType(const Aws::String& value) { SetType(value); return *this;}
112 
116  inline CompositeModelProperty& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
117 
121  inline CompositeModelProperty& WithType(const char* value) { SetType(value); return *this;}
122 
123 
124 
125  inline const Property& GetAssetProperty() const{ return m_assetProperty; }
126 
127 
128  inline bool AssetPropertyHasBeenSet() const { return m_assetPropertyHasBeenSet; }
129 
130 
131  inline void SetAssetProperty(const Property& value) { m_assetPropertyHasBeenSet = true; m_assetProperty = value; }
132 
133 
134  inline void SetAssetProperty(Property&& value) { m_assetPropertyHasBeenSet = true; m_assetProperty = std::move(value); }
135 
136 
137  inline CompositeModelProperty& WithAssetProperty(const Property& value) { SetAssetProperty(value); return *this;}
138 
139 
140  inline CompositeModelProperty& WithAssetProperty(Property&& value) { SetAssetProperty(std::move(value)); return *this;}
141 
142  private:
143 
144  Aws::String m_name;
145  bool m_nameHasBeenSet;
146 
147  Aws::String m_type;
148  bool m_typeHasBeenSet;
149 
150  Property m_assetProperty;
151  bool m_assetPropertyHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace IoTSiteWise
156 } // namespace Aws
Aws::IoTSiteWise::Model::CompositeModelProperty::CompositeModelProperty
CompositeModelProperty(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::CompositeModelProperty::CompositeModelProperty
CompositeModelProperty()
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::CompositeModelProperty::WithName
CompositeModelProperty & WithName(const char *value)
Definition: CompositeModelProperty.h:80
Aws::IoTSiteWise::Model::CompositeModelProperty::WithName
CompositeModelProperty & WithName(const Aws::String &value)
Definition: CompositeModelProperty.h:70
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::CompositeModelProperty::SetName
void SetName(const char *value)
Definition: CompositeModelProperty.h:65
Aws::IoTSiteWise::Model::CompositeModelProperty::WithType
CompositeModelProperty & WithType(const char *value)
Definition: CompositeModelProperty.h:121
Aws::IoTSiteWise::Model::Property
Definition: Property.h:35
Aws::IoTSiteWise::Model::CompositeModelProperty::SetType
void SetType(const char *value)
Definition: CompositeModelProperty.h:106
Aws::IoTSiteWise::Model::CompositeModelProperty::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CompositeModelProperty.h:50
Aws::IoTSiteWise::Model::CompositeModelProperty::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: CompositeModelProperty.h:91
Aws::IoTSiteWise::Model::CompositeModelProperty::SetAssetProperty
void SetAssetProperty(const Property &value)
Definition: CompositeModelProperty.h:131
Aws::IoTSiteWise::Model::CompositeModelProperty::WithAssetProperty
CompositeModelProperty & WithAssetProperty(Property &&value)
Definition: CompositeModelProperty.h:140
Aws::IoTSiteWise::Model::CompositeModelProperty::WithAssetProperty
CompositeModelProperty & WithAssetProperty(const Property &value)
Definition: CompositeModelProperty.h:137
Aws::IoTSiteWise::Model::CompositeModelProperty::WithName
CompositeModelProperty & WithName(Aws::String &&value)
Definition: CompositeModelProperty.h:75
Aws::IoTSiteWise::Model::CompositeModelProperty::SetType
void SetType(const Aws::String &value)
Definition: CompositeModelProperty.h:96
Aws::IoTSiteWise::Model::CompositeModelProperty::SetAssetProperty
void SetAssetProperty(Property &&value)
Definition: CompositeModelProperty.h:134
Aws::IoTSiteWise::Model::CompositeModelProperty::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::CompositeModelProperty::WithType
CompositeModelProperty & WithType(Aws::String &&value)
Definition: CompositeModelProperty.h:116
Aws::IoTSiteWise::Model::CompositeModelProperty::GetName
const Aws::String & GetName() const
Definition: CompositeModelProperty.h:45
Aws::IoTSiteWise::Model::CompositeModelProperty::SetName
void SetName(Aws::String &&value)
Definition: CompositeModelProperty.h:60
Aws::IoTSiteWise::Model::CompositeModelProperty::GetType
const Aws::String & GetType() const
Definition: CompositeModelProperty.h:86
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTSiteWise::Model::CompositeModelProperty::SetName
void SetName(const Aws::String &value)
Definition: CompositeModelProperty.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::CompositeModelProperty::SetType
void SetType(Aws::String &&value)
Definition: CompositeModelProperty.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::CompositeModelProperty::operator=
CompositeModelProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::CompositeModelProperty::AssetPropertyHasBeenSet
bool AssetPropertyHasBeenSet() const
Definition: CompositeModelProperty.h:128
Aws::IoTSiteWise::Model::CompositeModelProperty
Definition: CompositeModelProperty.h:34
Aws::IoTSiteWise::Model::CompositeModelProperty::GetAssetProperty
const Property & GetAssetProperty() const
Definition: CompositeModelProperty.h:125
Property.h
Aws::IoTSiteWise::Model::CompositeModelProperty::WithType
CompositeModelProperty & WithType(const Aws::String &value)
Definition: CompositeModelProperty.h:111