AWS SDK for C++  1.9.153
AWS SDK for C++
PortalResource.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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetId() const{ return m_id; }
44 
48  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 
53  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 
58  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
59 
63  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 
68  inline PortalResource& WithId(const Aws::String& value) { SetId(value); return *this;}
69 
73  inline PortalResource& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 
78  inline PortalResource& WithId(const char* value) { SetId(value); return *this;}
79 
80  private:
81 
82  Aws::String m_id;
83  bool m_idHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace IoTSiteWise
88 } // namespace Aws
Aws::IoTSiteWise::Model::PortalResource::SetId
void SetId(const char *value)
Definition: PortalResource.h:63
Aws::IoTSiteWise::Model::PortalResource
Definition: PortalResource.h:32
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::PortalResource::GetId
const Aws::String & GetId() const
Definition: PortalResource.h:43
Aws::IoTSiteWise::Model::PortalResource::WithId
PortalResource & WithId(const Aws::String &value)
Definition: PortalResource.h:68
Aws::IoTSiteWise::Model::PortalResource::SetId
void SetId(const Aws::String &value)
Definition: PortalResource.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::PortalResource::PortalResource
PortalResource()
Aws::IoTSiteWise::Model::PortalResource::WithId
PortalResource & WithId(const char *value)
Definition: PortalResource.h:78
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::PortalResource::WithId
PortalResource & WithId(Aws::String &&value)
Definition: PortalResource.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::PortalResource::PortalResource
PortalResource(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::PortalResource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::PortalResource::operator=
PortalResource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::PortalResource::SetId
void SetId(Aws::String &&value)
Definition: PortalResource.h:58
Aws::IoTSiteWise::Model::PortalResource::IdHasBeenSet
bool IdHasBeenSet() const
Definition: PortalResource.h:48