AWS SDK for C++  1.9.159
AWS SDK for C++
ForwardingConfig.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 
33  {
34  public:
39 
40 
44  inline const ForwardingConfigState& GetState() const{ return m_state; }
45 
49  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
50 
54  inline void SetState(const ForwardingConfigState& value) { m_stateHasBeenSet = true; m_state = value; }
55 
59  inline void SetState(ForwardingConfigState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
60 
64  inline ForwardingConfig& WithState(const ForwardingConfigState& value) { SetState(value); return *this;}
65 
69  inline ForwardingConfig& WithState(ForwardingConfigState&& value) { SetState(std::move(value)); return *this;}
70 
71  private:
72 
73  ForwardingConfigState m_state;
74  bool m_stateHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace IoTSiteWise
79 } // namespace Aws
Aws::IoTSiteWise::Model::ForwardingConfig::WithState
ForwardingConfig & WithState(const ForwardingConfigState &value)
Definition: ForwardingConfig.h:64
Aws::IoTSiteWise::Model::ForwardingConfig
Definition: ForwardingConfig.h:33
Aws::IoTSiteWise::Model::ForwardingConfig::WithState
ForwardingConfig & WithState(ForwardingConfigState &&value)
Definition: ForwardingConfig.h:69
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
ForwardingConfigState.h
Aws::IoTSiteWise::Model::ForwardingConfig::StateHasBeenSet
bool StateHasBeenSet() const
Definition: ForwardingConfig.h:49
Aws::IoTSiteWise::Model::ForwardingConfig::SetState
void SetState(const ForwardingConfigState &value)
Definition: ForwardingConfig.h:54
Aws::IoTSiteWise::Model::ForwardingConfig::ForwardingConfig
ForwardingConfig()
Aws::IoTSiteWise::Model::ForwardingConfig::ForwardingConfig
ForwardingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::ForwardingConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::ForwardingConfigState
ForwardingConfigState
Definition: ForwardingConfigState.h:17
Aws::IoTSiteWise::Model::ForwardingConfig::SetState
void SetState(ForwardingConfigState &&value)
Definition: ForwardingConfig.h:59
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::ForwardingConfig::GetState
const ForwardingConfigState & GetState() const
Definition: ForwardingConfig.h:44
Aws::IoTSiteWise::Model::ForwardingConfig::operator=
ForwardingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)