AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename CompilerOptionsT = Aws::String>
61 void SetCompilerOptions(CompilerOptionsT&& value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions = std::forward<CompilerOptionsT>(value); }
62 template<typename CompilerOptionsT = Aws::String>
63 GreengrassConfiguration& WithCompilerOptions(CompilerOptionsT&& value) { SetCompilerOptions(std::forward<CompilerOptionsT>(value)); return *this;}
65
67
72 inline TargetDevice GetTargetDevice() const { return m_targetDevice; }
73 inline bool TargetDeviceHasBeenSet() const { return m_targetDeviceHasBeenSet; }
74 inline void SetTargetDevice(TargetDevice value) { m_targetDeviceHasBeenSet = true; m_targetDevice = value; }
77
79
83 inline const TargetPlatform& GetTargetPlatform() const { return m_targetPlatform; }
84 inline bool TargetPlatformHasBeenSet() const { return m_targetPlatformHasBeenSet; }
85 template<typename TargetPlatformT = TargetPlatform>
86 void SetTargetPlatform(TargetPlatformT&& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = std::forward<TargetPlatformT>(value); }
87 template<typename TargetPlatformT = TargetPlatform>
88 GreengrassConfiguration& WithTargetPlatform(TargetPlatformT&& value) { SetTargetPlatform(std::forward<TargetPlatformT>(value)); return *this;}
90
92
96 inline const S3Location& GetS3OutputLocation() const { return m_s3OutputLocation; }
97 inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
98 template<typename S3OutputLocationT = S3Location>
99 void SetS3OutputLocation(S3OutputLocationT&& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = std::forward<S3OutputLocationT>(value); }
100 template<typename S3OutputLocationT = S3Location>
101 GreengrassConfiguration& WithS3OutputLocation(S3OutputLocationT&& value) { SetS3OutputLocation(std::forward<S3OutputLocationT>(value)); return *this;}
103
105
108 inline const Aws::String& GetComponentName() const { return m_componentName; }
109 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
110 template<typename ComponentNameT = Aws::String>
111 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
112 template<typename ComponentNameT = Aws::String>
113 GreengrassConfiguration& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
115
117
121 inline const Aws::String& GetComponentVersion() const { return m_componentVersion; }
122 inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
123 template<typename ComponentVersionT = Aws::String>
124 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::forward<ComponentVersionT>(value); }
125 template<typename ComponentVersionT = Aws::String>
126 GreengrassConfiguration& WithComponentVersion(ComponentVersionT&& value) { SetComponentVersion(std::forward<ComponentVersionT>(value)); return *this;}
128
130
133 inline const Aws::String& GetComponentDescription() const { return m_componentDescription; }
134 inline bool ComponentDescriptionHasBeenSet() const { return m_componentDescriptionHasBeenSet; }
135 template<typename ComponentDescriptionT = Aws::String>
136 void SetComponentDescription(ComponentDescriptionT&& value) { m_componentDescriptionHasBeenSet = true; m_componentDescription = std::forward<ComponentDescriptionT>(value); }
137 template<typename ComponentDescriptionT = Aws::String>
138 GreengrassConfiguration& WithComponentDescription(ComponentDescriptionT&& value) { SetComponentDescription(std::forward<ComponentDescriptionT>(value)); return *this;}
140
142
146 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
147 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
148 template<typename TagsT = Aws::Vector<Tag>>
149 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
150 template<typename TagsT = Aws::Vector<Tag>>
151 GreengrassConfiguration& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
152 template<typename TagsT = Tag>
153 GreengrassConfiguration& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
155 private:
156
157 Aws::String m_compilerOptions;
158 bool m_compilerOptionsHasBeenSet = false;
159
160 TargetDevice m_targetDevice{TargetDevice::NOT_SET};
161 bool m_targetDeviceHasBeenSet = false;
162
163 TargetPlatform m_targetPlatform;
164 bool m_targetPlatformHasBeenSet = false;
165
166 S3Location m_s3OutputLocation;
167 bool m_s3OutputLocationHasBeenSet = false;
168
169 Aws::String m_componentName;
170 bool m_componentNameHasBeenSet = false;
171
172 Aws::String m_componentVersion;
173 bool m_componentVersionHasBeenSet = false;
174
175 Aws::String m_componentDescription;
176 bool m_componentDescriptionHasBeenSet = false;
177
178 Aws::Vector<Tag> m_tags;
179 bool m_tagsHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace LookoutforVision
184} // namespace Aws
GreengrassConfiguration & WithComponentVersion(ComponentVersionT &&value)
GreengrassConfiguration & WithS3OutputLocation(S3OutputLocationT &&value)
GreengrassConfiguration & WithComponentName(ComponentNameT &&value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
GreengrassConfiguration & WithCompilerOptions(CompilerOptionsT &&value)
AWS_LOOKOUTFORVISION_API GreengrassConfiguration()=default
GreengrassConfiguration & WithTargetDevice(TargetDevice value)
AWS_LOOKOUTFORVISION_API GreengrassConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API GreengrassConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GreengrassConfiguration & WithTargetPlatform(TargetPlatformT &&value)
GreengrassConfiguration & WithComponentDescription(ComponentDescriptionT &&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