AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StateTemplateAssociation.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/StateTemplateUpdateStrategy.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTFleetWise
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_IOTFLEETWISE_API StateTemplateAssociation() = default;
45 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetIdentifier() const { return m_identifier; }
53 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
54 template<typename IdentifierT = Aws::String>
55 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
56 template<typename IdentifierT = Aws::String>
57 StateTemplateAssociation& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
59
61
62 inline const StateTemplateUpdateStrategy& GetStateTemplateUpdateStrategy() const { return m_stateTemplateUpdateStrategy; }
63 inline bool StateTemplateUpdateStrategyHasBeenSet() const { return m_stateTemplateUpdateStrategyHasBeenSet; }
64 template<typename StateTemplateUpdateStrategyT = StateTemplateUpdateStrategy>
65 void SetStateTemplateUpdateStrategy(StateTemplateUpdateStrategyT&& value) { m_stateTemplateUpdateStrategyHasBeenSet = true; m_stateTemplateUpdateStrategy = std::forward<StateTemplateUpdateStrategyT>(value); }
66 template<typename StateTemplateUpdateStrategyT = StateTemplateUpdateStrategy>
67 StateTemplateAssociation& WithStateTemplateUpdateStrategy(StateTemplateUpdateStrategyT&& value) { SetStateTemplateUpdateStrategy(std::forward<StateTemplateUpdateStrategyT>(value)); return *this;}
69 private:
70
71 Aws::String m_identifier;
72 bool m_identifierHasBeenSet = false;
73
74 StateTemplateUpdateStrategy m_stateTemplateUpdateStrategy;
75 bool m_stateTemplateUpdateStrategyHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace IoTFleetWise
80} // namespace Aws
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
StateTemplateAssociation & WithIdentifier(IdentifierT &&value)
StateTemplateAssociation & WithStateTemplateUpdateStrategy(StateTemplateUpdateStrategyT &&value)
void SetStateTemplateUpdateStrategy(StateTemplateUpdateStrategyT &&value)
AWS_IOTFLEETWISE_API StateTemplateAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API StateTemplateAssociation()=default
const StateTemplateUpdateStrategy & GetStateTemplateUpdateStrategy() const
AWS_IOTFLEETWISE_API StateTemplateAssociation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue