AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyGroupRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/GroupType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTTwinMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTTWINMAKER_API PropertyGroupRequest();
37 AWS_IOTTWINMAKER_API PropertyGroupRequest(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const GroupType& GetGroupType() const{ return m_groupType; }
47 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
48 inline void SetGroupType(const GroupType& value) { m_groupTypeHasBeenSet = true; m_groupType = value; }
49 inline void SetGroupType(GroupType&& value) { m_groupTypeHasBeenSet = true; m_groupType = std::move(value); }
50 inline PropertyGroupRequest& WithGroupType(const GroupType& value) { SetGroupType(value); return *this;}
51 inline PropertyGroupRequest& WithGroupType(GroupType&& value) { SetGroupType(std::move(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetPropertyNames() const{ return m_propertyNames; }
59 inline bool PropertyNamesHasBeenSet() const { return m_propertyNamesHasBeenSet; }
60 inline void SetPropertyNames(const Aws::Vector<Aws::String>& value) { m_propertyNamesHasBeenSet = true; m_propertyNames = value; }
61 inline void SetPropertyNames(Aws::Vector<Aws::String>&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames = std::move(value); }
63 inline PropertyGroupRequest& WithPropertyNames(Aws::Vector<Aws::String>&& value) { SetPropertyNames(std::move(value)); return *this;}
64 inline PropertyGroupRequest& AddPropertyNames(const Aws::String& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; }
65 inline PropertyGroupRequest& AddPropertyNames(Aws::String&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(std::move(value)); return *this; }
66 inline PropertyGroupRequest& AddPropertyNames(const char* value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; }
68 private:
69
70 GroupType m_groupType;
71 bool m_groupTypeHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_propertyNames;
74 bool m_propertyNamesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTTwinMaker
79} // namespace Aws
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
PropertyGroupRequest & AddPropertyNames(const char *value)
void SetPropertyNames(const Aws::Vector< Aws::String > &value)
PropertyGroupRequest & AddPropertyNames(const Aws::String &value)
AWS_IOTTWINMAKER_API PropertyGroupRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetPropertyNames() const
PropertyGroupRequest & WithPropertyNames(Aws::Vector< Aws::String > &&value)
PropertyGroupRequest & WithPropertyNames(const Aws::Vector< Aws::String > &value)
PropertyGroupRequest & WithGroupType(const GroupType &value)
PropertyGroupRequest & AddPropertyNames(Aws::String &&value)
PropertyGroupRequest & WithGroupType(GroupType &&value)
void SetPropertyNames(Aws::Vector< Aws::String > &&value)
AWS_IOTTWINMAKER_API PropertyGroupRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue