AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GreengrassConfiguration.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutvision/model/TargetDevice.h>
10#include <aws/lookoutvision/model/TargetPlatform.h>
11#include <aws/lookoutvision/model/S3Location.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lookoutvision/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace LookoutforVision
27{
28namespace Model
29{
30
42 {
43 public:
44 AWS_LOOKOUTFORVISION_API GreengrassConfiguration();
45 AWS_LOOKOUTFORVISION_API GreengrassConfiguration(Aws::Utils::Json::JsonView jsonValue);
46 AWS_LOOKOUTFORVISION_API GreengrassConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
58 inline const Aws::String& GetCompilerOptions() const{ return m_compilerOptions; }
59 inline bool CompilerOptionsHasBeenSet() const { return m_compilerOptionsHasBeenSet; }
60 inline void SetCompilerOptions(const Aws::String& value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions = value; }
61 inline void SetCompilerOptions(Aws::String&& value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions = std::move(value); }
62 inline void SetCompilerOptions(const char* value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions.assign(value); }
63 inline GreengrassConfiguration& WithCompilerOptions(const Aws::String& value) { SetCompilerOptions(value); return *this;}
64 inline GreengrassConfiguration& WithCompilerOptions(Aws::String&& value) { SetCompilerOptions(std::move(value)); return *this;}
65 inline GreengrassConfiguration& WithCompilerOptions(const char* value) { SetCompilerOptions(value); return *this;}
67
69
74 inline const TargetDevice& GetTargetDevice() const{ return m_targetDevice; }
75 inline bool TargetDeviceHasBeenSet() const { return m_targetDeviceHasBeenSet; }
76 inline void SetTargetDevice(const TargetDevice& value) { m_targetDeviceHasBeenSet = true; m_targetDevice = value; }
77 inline void SetTargetDevice(TargetDevice&& value) { m_targetDeviceHasBeenSet = true; m_targetDevice = std::move(value); }
78 inline GreengrassConfiguration& WithTargetDevice(const TargetDevice& value) { SetTargetDevice(value); return *this;}
79 inline GreengrassConfiguration& WithTargetDevice(TargetDevice&& value) { SetTargetDevice(std::move(value)); return *this;}
81
83
87 inline const TargetPlatform& GetTargetPlatform() const{ return m_targetPlatform; }
88 inline bool TargetPlatformHasBeenSet() const { return m_targetPlatformHasBeenSet; }
89 inline void SetTargetPlatform(const TargetPlatform& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = value; }
90 inline void SetTargetPlatform(TargetPlatform&& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = std::move(value); }
91 inline GreengrassConfiguration& WithTargetPlatform(const TargetPlatform& value) { SetTargetPlatform(value); return *this;}
92 inline GreengrassConfiguration& WithTargetPlatform(TargetPlatform&& value) { SetTargetPlatform(std::move(value)); return *this;}
94
96
100 inline const S3Location& GetS3OutputLocation() const{ return m_s3OutputLocation; }
101 inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
102 inline void SetS3OutputLocation(const S3Location& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = value; }
103 inline void SetS3OutputLocation(S3Location&& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = std::move(value); }
104 inline GreengrassConfiguration& WithS3OutputLocation(const S3Location& value) { SetS3OutputLocation(value); return *this;}
105 inline GreengrassConfiguration& WithS3OutputLocation(S3Location&& value) { SetS3OutputLocation(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetComponentName() const{ return m_componentName; }
113 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
114 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
115 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
116 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
117 inline GreengrassConfiguration& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
118 inline GreengrassConfiguration& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
119 inline GreengrassConfiguration& WithComponentName(const char* value) { SetComponentName(value); return *this;}
121
123
127 inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
128 inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
129 inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
130 inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
131 inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
133 inline GreengrassConfiguration& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
134 inline GreengrassConfiguration& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
136
138
141 inline const Aws::String& GetComponentDescription() const{ return m_componentDescription; }
142 inline bool ComponentDescriptionHasBeenSet() const { return m_componentDescriptionHasBeenSet; }
143 inline void SetComponentDescription(const Aws::String& value) { m_componentDescriptionHasBeenSet = true; m_componentDescription = value; }
144 inline void SetComponentDescription(Aws::String&& value) { m_componentDescriptionHasBeenSet = true; m_componentDescription = std::move(value); }
145 inline void SetComponentDescription(const char* value) { m_componentDescriptionHasBeenSet = true; m_componentDescription.assign(value); }
147 inline GreengrassConfiguration& WithComponentDescription(Aws::String&& value) { SetComponentDescription(std::move(value)); return *this;}
148 inline GreengrassConfiguration& WithComponentDescription(const char* value) { SetComponentDescription(value); return *this;}
150
152
156 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
157 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
158 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
159 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
160 inline GreengrassConfiguration& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
161 inline GreengrassConfiguration& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
162 inline GreengrassConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
163 inline GreengrassConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
165 private:
166
167 Aws::String m_compilerOptions;
168 bool m_compilerOptionsHasBeenSet = false;
169
170 TargetDevice m_targetDevice;
171 bool m_targetDeviceHasBeenSet = false;
172
173 TargetPlatform m_targetPlatform;
174 bool m_targetPlatformHasBeenSet = false;
175
176 S3Location m_s3OutputLocation;
177 bool m_s3OutputLocationHasBeenSet = false;
178
179 Aws::String m_componentName;
180 bool m_componentNameHasBeenSet = false;
181
182 Aws::String m_componentVersion;
183 bool m_componentVersionHasBeenSet = false;
184
185 Aws::String m_componentDescription;
186 bool m_componentDescriptionHasBeenSet = false;
187
188 Aws::Vector<Tag> m_tags;
189 bool m_tagsHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace LookoutforVision
194} // namespace Aws
GreengrassConfiguration & WithCompilerOptions(const char *value)
GreengrassConfiguration & WithTargetDevice(TargetDevice &&value)
GreengrassConfiguration & WithCompilerOptions(const Aws::String &value)
GreengrassConfiguration & WithComponentVersion(const Aws::String &value)
GreengrassConfiguration & WithComponentVersion(const char *value)
GreengrassConfiguration & WithS3OutputLocation(const S3Location &value)
GreengrassConfiguration & WithComponentVersion(Aws::String &&value)
GreengrassConfiguration & WithComponentName(Aws::String &&value)
GreengrassConfiguration & WithTargetPlatform(const TargetPlatform &value)
GreengrassConfiguration & WithComponentName(const Aws::String &value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
GreengrassConfiguration & AddTags(const Tag &value)
GreengrassConfiguration & WithTags(Aws::Vector< Tag > &&value)
GreengrassConfiguration & WithComponentDescription(const Aws::String &value)
GreengrassConfiguration & WithCompilerOptions(Aws::String &&value)
AWS_LOOKOUTFORVISION_API GreengrassConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API GreengrassConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GreengrassConfiguration & WithTargetDevice(const TargetDevice &value)
GreengrassConfiguration & WithTags(const Aws::Vector< Tag > &value)
GreengrassConfiguration & WithS3OutputLocation(S3Location &&value)
GreengrassConfiguration & WithComponentDescription(const char *value)
GreengrassConfiguration & WithComponentDescription(Aws::String &&value)
GreengrassConfiguration & WithComponentName(const char *value)
GreengrassConfiguration & WithTargetPlatform(TargetPlatform &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue