AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SystemInstanceDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
10#include <aws/iotthingsgraph/model/DefinitionDocument.h>
11#include <aws/iotthingsgraph/model/DependencyRevision.h>
12#include <aws/iotthingsgraph/model/MetricsConfiguration.h>
13#include <aws/iotthingsgraph/model/SystemInstanceSummary.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTThingsGraph {
25namespace Model {
26
34 public:
35 AWS_IOTTHINGSGRAPH_API SystemInstanceDescription() = default;
36 AWS_IOTTHINGSGRAPH_API SystemInstanceDescription(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const SystemInstanceSummary& GetSummary() const { return m_summary; }
45 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
46 template <typename SummaryT = SystemInstanceSummary>
47 void SetSummary(SummaryT&& value) {
48 m_summaryHasBeenSet = true;
49 m_summary = std::forward<SummaryT>(value);
50 }
51 template <typename SummaryT = SystemInstanceSummary>
53 SetSummary(std::forward<SummaryT>(value));
54 return *this;
55 }
57
59
60 inline const DefinitionDocument& GetDefinition() const { return m_definition; }
61 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
62 template <typename DefinitionT = DefinitionDocument>
63 void SetDefinition(DefinitionT&& value) {
64 m_definitionHasBeenSet = true;
65 m_definition = std::forward<DefinitionT>(value);
66 }
67 template <typename DefinitionT = DefinitionDocument>
69 SetDefinition(std::forward<DefinitionT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
80 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
81 template <typename S3BucketNameT = Aws::String>
82 void SetS3BucketName(S3BucketNameT&& value) {
83 m_s3BucketNameHasBeenSet = true;
84 m_s3BucketName = std::forward<S3BucketNameT>(value);
85 }
86 template <typename S3BucketNameT = Aws::String>
88 SetS3BucketName(std::forward<S3BucketNameT>(value));
89 return *this;
90 }
92
94
95 inline const MetricsConfiguration& GetMetricsConfiguration() const { return m_metricsConfiguration; }
96 inline bool MetricsConfigurationHasBeenSet() const { return m_metricsConfigurationHasBeenSet; }
97 template <typename MetricsConfigurationT = MetricsConfiguration>
98 void SetMetricsConfiguration(MetricsConfigurationT&& value) {
99 m_metricsConfigurationHasBeenSet = true;
100 m_metricsConfiguration = std::forward<MetricsConfigurationT>(value);
101 }
102 template <typename MetricsConfigurationT = MetricsConfiguration>
103 SystemInstanceDescription& WithMetricsConfiguration(MetricsConfigurationT&& value) {
104 SetMetricsConfiguration(std::forward<MetricsConfigurationT>(value));
105 return *this;
106 }
108
110
114 inline long long GetValidatedNamespaceVersion() const { return m_validatedNamespaceVersion; }
115 inline bool ValidatedNamespaceVersionHasBeenSet() const { return m_validatedNamespaceVersionHasBeenSet; }
116 inline void SetValidatedNamespaceVersion(long long value) {
117 m_validatedNamespaceVersionHasBeenSet = true;
118 m_validatedNamespaceVersion = value;
119 }
122 return *this;
123 }
125
127
131 inline const Aws::Vector<DependencyRevision>& GetValidatedDependencyRevisions() const { return m_validatedDependencyRevisions; }
132 inline bool ValidatedDependencyRevisionsHasBeenSet() const { return m_validatedDependencyRevisionsHasBeenSet; }
133 template <typename ValidatedDependencyRevisionsT = Aws::Vector<DependencyRevision>>
134 void SetValidatedDependencyRevisions(ValidatedDependencyRevisionsT&& value) {
135 m_validatedDependencyRevisionsHasBeenSet = true;
136 m_validatedDependencyRevisions = std::forward<ValidatedDependencyRevisionsT>(value);
137 }
138 template <typename ValidatedDependencyRevisionsT = Aws::Vector<DependencyRevision>>
139 SystemInstanceDescription& WithValidatedDependencyRevisions(ValidatedDependencyRevisionsT&& value) {
140 SetValidatedDependencyRevisions(std::forward<ValidatedDependencyRevisionsT>(value));
141 return *this;
142 }
143 template <typename ValidatedDependencyRevisionsT = DependencyRevision>
144 SystemInstanceDescription& AddValidatedDependencyRevisions(ValidatedDependencyRevisionsT&& value) {
145 m_validatedDependencyRevisionsHasBeenSet = true;
146 m_validatedDependencyRevisions.emplace_back(std::forward<ValidatedDependencyRevisionsT>(value));
147 return *this;
148 }
150
152
158 inline const Aws::String& GetFlowActionsRoleArn() const { return m_flowActionsRoleArn; }
159 inline bool FlowActionsRoleArnHasBeenSet() const { return m_flowActionsRoleArnHasBeenSet; }
160 template <typename FlowActionsRoleArnT = Aws::String>
161 void SetFlowActionsRoleArn(FlowActionsRoleArnT&& value) {
162 m_flowActionsRoleArnHasBeenSet = true;
163 m_flowActionsRoleArn = std::forward<FlowActionsRoleArnT>(value);
164 }
165 template <typename FlowActionsRoleArnT = Aws::String>
166 SystemInstanceDescription& WithFlowActionsRoleArn(FlowActionsRoleArnT&& value) {
167 SetFlowActionsRoleArn(std::forward<FlowActionsRoleArnT>(value));
168 return *this;
169 }
171 private:
172 SystemInstanceSummary m_summary;
173
174 DefinitionDocument m_definition;
175
176 Aws::String m_s3BucketName;
177
178 MetricsConfiguration m_metricsConfiguration;
179
180 long long m_validatedNamespaceVersion{0};
181
182 Aws::Vector<DependencyRevision> m_validatedDependencyRevisions;
183
184 Aws::String m_flowActionsRoleArn;
185 bool m_summaryHasBeenSet = false;
186 bool m_definitionHasBeenSet = false;
187 bool m_s3BucketNameHasBeenSet = false;
188 bool m_metricsConfigurationHasBeenSet = false;
189 bool m_validatedNamespaceVersionHasBeenSet = false;
190 bool m_validatedDependencyRevisionsHasBeenSet = false;
191 bool m_flowActionsRoleArnHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace IoTThingsGraph
196} // namespace Aws
void SetValidatedDependencyRevisions(ValidatedDependencyRevisionsT &&value)
SystemInstanceDescription & WithSummary(SummaryT &&value)
SystemInstanceDescription & WithS3BucketName(S3BucketNameT &&value)
SystemInstanceDescription & WithDefinition(DefinitionT &&value)
SystemInstanceDescription & WithValidatedDependencyRevisions(ValidatedDependencyRevisionsT &&value)
AWS_IOTTHINGSGRAPH_API SystemInstanceDescription()=default
SystemInstanceDescription & WithFlowActionsRoleArn(FlowActionsRoleArnT &&value)
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
SystemInstanceDescription & WithValidatedNamespaceVersion(long long value)
AWS_IOTTHINGSGRAPH_API SystemInstanceDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTHINGSGRAPH_API SystemInstanceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemInstanceDescription & WithMetricsConfiguration(MetricsConfigurationT &&value)
SystemInstanceDescription & AddValidatedDependencyRevisions(ValidatedDependencyRevisionsT &&value)
const Aws::Vector< DependencyRevision > & GetValidatedDependencyRevisions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue