AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StructuredMessageListDefinition.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/StructuredMessageListType.h>
10#include <utility>
11#include <memory>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTFleetWise
24{
25namespace Model
26{
27 class StructuredMessage;
28
36 {
37 public:
38 AWS_IOTFLEETWISE_API StructuredMessageListDefinition();
41 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline StructuredMessageListDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline StructuredMessageListDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline StructuredMessageListDefinition& WithName(const char* value) { SetName(value); return *this;}
57
59
62 AWS_IOTFLEETWISE_API const StructuredMessage& GetMemberType() const;
63 AWS_IOTFLEETWISE_API bool MemberTypeHasBeenSet() const;
64 AWS_IOTFLEETWISE_API void SetMemberType(const StructuredMessage& value);
65 AWS_IOTFLEETWISE_API void SetMemberType(StructuredMessage&& value);
69
71
74 inline const StructuredMessageListType& GetListType() const{ return m_listType; }
75 inline bool ListTypeHasBeenSet() const { return m_listTypeHasBeenSet; }
76 inline void SetListType(const StructuredMessageListType& value) { m_listTypeHasBeenSet = true; m_listType = value; }
77 inline void SetListType(StructuredMessageListType&& value) { m_listTypeHasBeenSet = true; m_listType = std::move(value); }
79 inline StructuredMessageListDefinition& WithListType(StructuredMessageListType&& value) { SetListType(std::move(value)); return *this;}
81
83
87 inline int GetCapacity() const{ return m_capacity; }
88 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
89 inline void SetCapacity(int value) { m_capacityHasBeenSet = true; m_capacity = value; }
90 inline StructuredMessageListDefinition& WithCapacity(int value) { SetCapacity(value); return *this;}
92 private:
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 std::shared_ptr<StructuredMessage> m_memberType;
98 bool m_memberTypeHasBeenSet = false;
99
100 StructuredMessageListType m_listType;
101 bool m_listTypeHasBeenSet = false;
102
103 int m_capacity;
104 bool m_capacityHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace IoTFleetWise
109} // namespace Aws
StructuredMessageListDefinition & WithListType(const StructuredMessageListType &value)
AWS_IOTFLEETWISE_API void SetMemberType(const StructuredMessage &value)
StructuredMessageListDefinition & WithListType(StructuredMessageListType &&value)
AWS_IOTFLEETWISE_API void SetMemberType(StructuredMessage &&value)
StructuredMessageListDefinition & WithName(const Aws::String &value)
AWS_IOTFLEETWISE_API StructuredMessageListDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API StructuredMessageListDefinition & WithMemberType(StructuredMessage &&value)
StructuredMessageListDefinition & WithName(Aws::String &&value)
AWS_IOTFLEETWISE_API StructuredMessageListDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API bool MemberTypeHasBeenSet() const
AWS_IOTFLEETWISE_API StructuredMessageListDefinition & WithMemberType(const StructuredMessage &value)
StructuredMessageListDefinition & WithName(const char *value)
AWS_IOTFLEETWISE_API const StructuredMessage & GetMemberType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue