AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GroupVersion.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Greengrass
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GREENGRASS_API GroupVersion();
35 AWS_GREENGRASS_API GroupVersion(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GREENGRASS_API GroupVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetConnectorDefinitionVersionArn() const{ return m_connectorDefinitionVersionArn; }
45 inline bool ConnectorDefinitionVersionArnHasBeenSet() const { return m_connectorDefinitionVersionArnHasBeenSet; }
46 inline void SetConnectorDefinitionVersionArn(const Aws::String& value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn = value; }
47 inline void SetConnectorDefinitionVersionArn(Aws::String&& value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn = std::move(value); }
48 inline void SetConnectorDefinitionVersionArn(const char* value) { m_connectorDefinitionVersionArnHasBeenSet = true; m_connectorDefinitionVersionArn.assign(value); }
51 inline GroupVersion& WithConnectorDefinitionVersionArn(const char* value) { SetConnectorDefinitionVersionArn(value); return *this;}
53
55
58 inline const Aws::String& GetCoreDefinitionVersionArn() const{ return m_coreDefinitionVersionArn; }
59 inline bool CoreDefinitionVersionArnHasBeenSet() const { return m_coreDefinitionVersionArnHasBeenSet; }
60 inline void SetCoreDefinitionVersionArn(const Aws::String& value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn = value; }
61 inline void SetCoreDefinitionVersionArn(Aws::String&& value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn = std::move(value); }
62 inline void SetCoreDefinitionVersionArn(const char* value) { m_coreDefinitionVersionArnHasBeenSet = true; m_coreDefinitionVersionArn.assign(value); }
64 inline GroupVersion& WithCoreDefinitionVersionArn(Aws::String&& value) { SetCoreDefinitionVersionArn(std::move(value)); return *this;}
65 inline GroupVersion& WithCoreDefinitionVersionArn(const char* value) { SetCoreDefinitionVersionArn(value); return *this;}
67
69
72 inline const Aws::String& GetDeviceDefinitionVersionArn() const{ return m_deviceDefinitionVersionArn; }
73 inline bool DeviceDefinitionVersionArnHasBeenSet() const { return m_deviceDefinitionVersionArnHasBeenSet; }
74 inline void SetDeviceDefinitionVersionArn(const Aws::String& value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn = value; }
75 inline void SetDeviceDefinitionVersionArn(Aws::String&& value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn = std::move(value); }
76 inline void SetDeviceDefinitionVersionArn(const char* value) { m_deviceDefinitionVersionArnHasBeenSet = true; m_deviceDefinitionVersionArn.assign(value); }
78 inline GroupVersion& WithDeviceDefinitionVersionArn(Aws::String&& value) { SetDeviceDefinitionVersionArn(std::move(value)); return *this;}
79 inline GroupVersion& WithDeviceDefinitionVersionArn(const char* value) { SetDeviceDefinitionVersionArn(value); return *this;}
81
83
86 inline const Aws::String& GetFunctionDefinitionVersionArn() const{ return m_functionDefinitionVersionArn; }
87 inline bool FunctionDefinitionVersionArnHasBeenSet() const { return m_functionDefinitionVersionArnHasBeenSet; }
88 inline void SetFunctionDefinitionVersionArn(const Aws::String& value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn = value; }
89 inline void SetFunctionDefinitionVersionArn(Aws::String&& value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn = std::move(value); }
90 inline void SetFunctionDefinitionVersionArn(const char* value) { m_functionDefinitionVersionArnHasBeenSet = true; m_functionDefinitionVersionArn.assign(value); }
93 inline GroupVersion& WithFunctionDefinitionVersionArn(const char* value) { SetFunctionDefinitionVersionArn(value); return *this;}
95
97
100 inline const Aws::String& GetLoggerDefinitionVersionArn() const{ return m_loggerDefinitionVersionArn; }
101 inline bool LoggerDefinitionVersionArnHasBeenSet() const { return m_loggerDefinitionVersionArnHasBeenSet; }
102 inline void SetLoggerDefinitionVersionArn(const Aws::String& value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn = value; }
103 inline void SetLoggerDefinitionVersionArn(Aws::String&& value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn = std::move(value); }
104 inline void SetLoggerDefinitionVersionArn(const char* value) { m_loggerDefinitionVersionArnHasBeenSet = true; m_loggerDefinitionVersionArn.assign(value); }
107 inline GroupVersion& WithLoggerDefinitionVersionArn(const char* value) { SetLoggerDefinitionVersionArn(value); return *this;}
109
111
114 inline const Aws::String& GetResourceDefinitionVersionArn() const{ return m_resourceDefinitionVersionArn; }
115 inline bool ResourceDefinitionVersionArnHasBeenSet() const { return m_resourceDefinitionVersionArnHasBeenSet; }
116 inline void SetResourceDefinitionVersionArn(const Aws::String& value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn = value; }
117 inline void SetResourceDefinitionVersionArn(Aws::String&& value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn = std::move(value); }
118 inline void SetResourceDefinitionVersionArn(const char* value) { m_resourceDefinitionVersionArnHasBeenSet = true; m_resourceDefinitionVersionArn.assign(value); }
121 inline GroupVersion& WithResourceDefinitionVersionArn(const char* value) { SetResourceDefinitionVersionArn(value); return *this;}
123
125
128 inline const Aws::String& GetSubscriptionDefinitionVersionArn() const{ return m_subscriptionDefinitionVersionArn; }
129 inline bool SubscriptionDefinitionVersionArnHasBeenSet() const { return m_subscriptionDefinitionVersionArnHasBeenSet; }
130 inline void SetSubscriptionDefinitionVersionArn(const Aws::String& value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn = value; }
131 inline void SetSubscriptionDefinitionVersionArn(Aws::String&& value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn = std::move(value); }
132 inline void SetSubscriptionDefinitionVersionArn(const char* value) { m_subscriptionDefinitionVersionArnHasBeenSet = true; m_subscriptionDefinitionVersionArn.assign(value); }
137 private:
138
139 Aws::String m_connectorDefinitionVersionArn;
140 bool m_connectorDefinitionVersionArnHasBeenSet = false;
141
142 Aws::String m_coreDefinitionVersionArn;
143 bool m_coreDefinitionVersionArnHasBeenSet = false;
144
145 Aws::String m_deviceDefinitionVersionArn;
146 bool m_deviceDefinitionVersionArnHasBeenSet = false;
147
148 Aws::String m_functionDefinitionVersionArn;
149 bool m_functionDefinitionVersionArnHasBeenSet = false;
150
151 Aws::String m_loggerDefinitionVersionArn;
152 bool m_loggerDefinitionVersionArnHasBeenSet = false;
153
154 Aws::String m_resourceDefinitionVersionArn;
155 bool m_resourceDefinitionVersionArnHasBeenSet = false;
156
157 Aws::String m_subscriptionDefinitionVersionArn;
158 bool m_subscriptionDefinitionVersionArnHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Greengrass
163} // namespace Aws
bool SubscriptionDefinitionVersionArnHasBeenSet() const
void SetCoreDefinitionVersionArn(const char *value)
GroupVersion & WithConnectorDefinitionVersionArn(const Aws::String &value)
void SetFunctionDefinitionVersionArn(Aws::String &&value)
bool FunctionDefinitionVersionArnHasBeenSet() const
AWS_GREENGRASS_API GroupVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubscriptionDefinitionVersionArn(const char *value)
const Aws::String & GetConnectorDefinitionVersionArn() const
GroupVersion & WithConnectorDefinitionVersionArn(const char *value)
void SetDeviceDefinitionVersionArn(const Aws::String &value)
void SetLoggerDefinitionVersionArn(const Aws::String &value)
void SetFunctionDefinitionVersionArn(const char *value)
GroupVersion & WithCoreDefinitionVersionArn(const Aws::String &value)
void SetResourceDefinitionVersionArn(const Aws::String &value)
void SetResourceDefinitionVersionArn(const char *value)
GroupVersion & WithResourceDefinitionVersionArn(const Aws::String &value)
const Aws::String & GetCoreDefinitionVersionArn() const
GroupVersion & WithDeviceDefinitionVersionArn(Aws::String &&value)
void SetConnectorDefinitionVersionArn(const Aws::String &value)
GroupVersion & WithConnectorDefinitionVersionArn(Aws::String &&value)
void SetConnectorDefinitionVersionArn(Aws::String &&value)
GroupVersion & WithSubscriptionDefinitionVersionArn(Aws::String &&value)
bool ConnectorDefinitionVersionArnHasBeenSet() const
GroupVersion & WithLoggerDefinitionVersionArn(Aws::String &&value)
const Aws::String & GetResourceDefinitionVersionArn() const
void SetDeviceDefinitionVersionArn(Aws::String &&value)
GroupVersion & WithDeviceDefinitionVersionArn(const Aws::String &value)
void SetResourceDefinitionVersionArn(Aws::String &&value)
void SetLoggerDefinitionVersionArn(const char *value)
const Aws::String & GetSubscriptionDefinitionVersionArn() const
GroupVersion & WithFunctionDefinitionVersionArn(const char *value)
void SetLoggerDefinitionVersionArn(Aws::String &&value)
GroupVersion & WithFunctionDefinitionVersionArn(const Aws::String &value)
AWS_GREENGRASS_API GroupVersion(Aws::Utils::Json::JsonView jsonValue)
void SetCoreDefinitionVersionArn(Aws::String &&value)
void SetConnectorDefinitionVersionArn(const char *value)
GroupVersion & WithResourceDefinitionVersionArn(const char *value)
GroupVersion & WithLoggerDefinitionVersionArn(const char *value)
const Aws::String & GetLoggerDefinitionVersionArn() const
GroupVersion & WithSubscriptionDefinitionVersionArn(const char *value)
GroupVersion & WithCoreDefinitionVersionArn(Aws::String &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
GroupVersion & WithDeviceDefinitionVersionArn(const char *value)
GroupVersion & WithResourceDefinitionVersionArn(Aws::String &&value)
void SetSubscriptionDefinitionVersionArn(const Aws::String &value)
GroupVersion & WithLoggerDefinitionVersionArn(const Aws::String &value)
GroupVersion & WithFunctionDefinitionVersionArn(Aws::String &&value)
const Aws::String & GetFunctionDefinitionVersionArn() const
void SetFunctionDefinitionVersionArn(const Aws::String &value)
void SetSubscriptionDefinitionVersionArn(Aws::String &&value)
void SetCoreDefinitionVersionArn(const Aws::String &value)
const Aws::String & GetDeviceDefinitionVersionArn() const
GroupVersion & WithSubscriptionDefinitionVersionArn(const Aws::String &value)
GroupVersion & WithCoreDefinitionVersionArn(const char *value)
void SetDeviceDefinitionVersionArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue