AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
StateTemplateAssociation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9#include <aws/iotfleetwise/model/StateTemplateUpdateStrategy.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTFleetWise {
21namespace Model {
22
36 public:
37 AWS_IOTFLEETWISE_API StateTemplateAssociation() = default;
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetIdentifier() const { return m_identifier; }
47 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
48 template <typename IdentifierT = Aws::String>
49 void SetIdentifier(IdentifierT&& value) {
50 m_identifierHasBeenSet = true;
51 m_identifier = std::forward<IdentifierT>(value);
52 }
53 template <typename IdentifierT = Aws::String>
55 SetIdentifier(std::forward<IdentifierT>(value));
56 return *this;
57 }
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) {
66 m_stateTemplateUpdateStrategyHasBeenSet = true;
67 m_stateTemplateUpdateStrategy = std::forward<StateTemplateUpdateStrategyT>(value);
68 }
69 template <typename StateTemplateUpdateStrategyT = StateTemplateUpdateStrategy>
70 StateTemplateAssociation& WithStateTemplateUpdateStrategy(StateTemplateUpdateStrategyT&& value) {
71 SetStateTemplateUpdateStrategy(std::forward<StateTemplateUpdateStrategyT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_identifier;
77
78 StateTemplateUpdateStrategy m_stateTemplateUpdateStrategy;
79 bool m_identifierHasBeenSet = false;
80 bool m_stateTemplateUpdateStrategyHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace IoTFleetWise
85} // 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