AWS SDK for C++  1.9.160
AWS SDK for C++
GatewayPlatform.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 
33  {
34  public:
39 
40 
44  inline const Greengrass& GetGreengrass() const{ return m_greengrass; }
45 
49  inline bool GreengrassHasBeenSet() const { return m_greengrassHasBeenSet; }
50 
54  inline void SetGreengrass(const Greengrass& value) { m_greengrassHasBeenSet = true; m_greengrass = value; }
55 
59  inline void SetGreengrass(Greengrass&& value) { m_greengrassHasBeenSet = true; m_greengrass = std::move(value); }
60 
64  inline GatewayPlatform& WithGreengrass(const Greengrass& value) { SetGreengrass(value); return *this;}
65 
69  inline GatewayPlatform& WithGreengrass(Greengrass&& value) { SetGreengrass(std::move(value)); return *this;}
70 
71 
75  inline const GreengrassV2& GetGreengrassV2() const{ return m_greengrassV2; }
76 
80  inline bool GreengrassV2HasBeenSet() const { return m_greengrassV2HasBeenSet; }
81 
85  inline void SetGreengrassV2(const GreengrassV2& value) { m_greengrassV2HasBeenSet = true; m_greengrassV2 = value; }
86 
90  inline void SetGreengrassV2(GreengrassV2&& value) { m_greengrassV2HasBeenSet = true; m_greengrassV2 = std::move(value); }
91 
95  inline GatewayPlatform& WithGreengrassV2(const GreengrassV2& value) { SetGreengrassV2(value); return *this;}
96 
100  inline GatewayPlatform& WithGreengrassV2(GreengrassV2&& value) { SetGreengrassV2(std::move(value)); return *this;}
101 
102  private:
103 
104  Greengrass m_greengrass;
105  bool m_greengrassHasBeenSet;
106 
107  GreengrassV2 m_greengrassV2;
108  bool m_greengrassV2HasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace IoTSiteWise
113 } // namespace Aws
Aws::IoTSiteWise::Model::GatewayPlatform::GatewayPlatform
GatewayPlatform()
Aws::IoTSiteWise::Model::GatewayPlatform::GetGreengrass
const Greengrass & GetGreengrass() const
Definition: GatewayPlatform.h:44
Aws::IoTSiteWise::Model::Greengrass
Definition: Greengrass.h:38
Aws::IoTSiteWise::Model::GatewayPlatform::SetGreengrassV2
void SetGreengrassV2(const GreengrassV2 &value)
Definition: GatewayPlatform.h:85
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::GatewayPlatform::GreengrassV2HasBeenSet
bool GreengrassV2HasBeenSet() const
Definition: GatewayPlatform.h:80
Aws::IoTSiteWise::Model::GatewayPlatform::GetGreengrassV2
const GreengrassV2 & GetGreengrassV2() const
Definition: GatewayPlatform.h:75
GreengrassV2.h
Aws::IoTSiteWise::Model::GatewayPlatform::WithGreengrass
GatewayPlatform & WithGreengrass(Greengrass &&value)
Definition: GatewayPlatform.h:69
Aws::IoTSiteWise::Model::GatewayPlatform::GreengrassHasBeenSet
bool GreengrassHasBeenSet() const
Definition: GatewayPlatform.h:49
Aws::IoTSiteWise::Model::GatewayPlatform::SetGreengrassV2
void SetGreengrassV2(GreengrassV2 &&value)
Definition: GatewayPlatform.h:90
Aws::IoTSiteWise::Model::GatewayPlatform::GatewayPlatform
GatewayPlatform(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoTSiteWise::Model::GatewayPlatform::WithGreengrass
GatewayPlatform & WithGreengrass(const Greengrass &value)
Definition: GatewayPlatform.h:64
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::GatewayPlatform::operator=
GatewayPlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::GatewayPlatform::WithGreengrassV2
GatewayPlatform & WithGreengrassV2(GreengrassV2 &&value)
Definition: GatewayPlatform.h:100
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::GatewayPlatform::SetGreengrass
void SetGreengrass(const Greengrass &value)
Definition: GatewayPlatform.h:54
Aws::IoTSiteWise::Model::GatewayPlatform
Definition: GatewayPlatform.h:33
Aws::IoTSiteWise::Model::GatewayPlatform::SetGreengrass
void SetGreengrass(Greengrass &&value)
Definition: GatewayPlatform.h:59
Aws::IoTSiteWise::Model::GatewayPlatform::WithGreengrassV2
GatewayPlatform & WithGreengrassV2(const GreengrassV2 &value)
Definition: GatewayPlatform.h:95
Aws::IoTSiteWise::Model::GreengrassV2
Definition: GreengrassV2.h:40
Greengrass.h
Aws::IoTSiteWise::Model::GatewayPlatform::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const