AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SystemInstanceDescription.h
1
6#pragma once
7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/iotthingsgraph/model/SystemInstanceSummary.h>
9#include <aws/iotthingsgraph/model/DefinitionDocument.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iotthingsgraph/model/MetricsConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/iotthingsgraph/model/DependencyRevision.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 IoTThingsGraph
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_IOTTHINGSGRAPH_API SystemInstanceDescription() = default;
41 AWS_IOTTHINGSGRAPH_API SystemInstanceDescription(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const SystemInstanceSummary& GetSummary() const { return m_summary; }
51 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
52 template<typename SummaryT = SystemInstanceSummary>
53 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet = true; m_summary = std::forward<SummaryT>(value); }
54 template<typename SummaryT = SystemInstanceSummary>
55 SystemInstanceDescription& WithSummary(SummaryT&& value) { SetSummary(std::forward<SummaryT>(value)); return *this;}
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) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
64 template<typename DefinitionT = DefinitionDocument>
65 SystemInstanceDescription& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
67
69
73 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
74 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
75 template<typename S3BucketNameT = Aws::String>
76 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
77 template<typename S3BucketNameT = Aws::String>
78 SystemInstanceDescription& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
80
82
83 inline const MetricsConfiguration& GetMetricsConfiguration() const { return m_metricsConfiguration; }
84 inline bool MetricsConfigurationHasBeenSet() const { return m_metricsConfigurationHasBeenSet; }
85 template<typename MetricsConfigurationT = MetricsConfiguration>
86 void SetMetricsConfiguration(MetricsConfigurationT&& value) { m_metricsConfigurationHasBeenSet = true; m_metricsConfiguration = std::forward<MetricsConfigurationT>(value); }
87 template<typename MetricsConfigurationT = MetricsConfiguration>
88 SystemInstanceDescription& WithMetricsConfiguration(MetricsConfigurationT&& value) { SetMetricsConfiguration(std::forward<MetricsConfigurationT>(value)); return *this;}
90
92
96 inline long long GetValidatedNamespaceVersion() const { return m_validatedNamespaceVersion; }
97 inline bool ValidatedNamespaceVersionHasBeenSet() const { return m_validatedNamespaceVersionHasBeenSet; }
98 inline void SetValidatedNamespaceVersion(long long value) { m_validatedNamespaceVersionHasBeenSet = true; m_validatedNamespaceVersion = value; }
101
103
107 inline const Aws::Vector<DependencyRevision>& GetValidatedDependencyRevisions() const { return m_validatedDependencyRevisions; }
108 inline bool ValidatedDependencyRevisionsHasBeenSet() const { return m_validatedDependencyRevisionsHasBeenSet; }
109 template<typename ValidatedDependencyRevisionsT = Aws::Vector<DependencyRevision>>
110 void SetValidatedDependencyRevisions(ValidatedDependencyRevisionsT&& value) { m_validatedDependencyRevisionsHasBeenSet = true; m_validatedDependencyRevisions = std::forward<ValidatedDependencyRevisionsT>(value); }
111 template<typename ValidatedDependencyRevisionsT = Aws::Vector<DependencyRevision>>
112 SystemInstanceDescription& WithValidatedDependencyRevisions(ValidatedDependencyRevisionsT&& value) { SetValidatedDependencyRevisions(std::forward<ValidatedDependencyRevisionsT>(value)); return *this;}
113 template<typename ValidatedDependencyRevisionsT = DependencyRevision>
114 SystemInstanceDescription& AddValidatedDependencyRevisions(ValidatedDependencyRevisionsT&& value) { m_validatedDependencyRevisionsHasBeenSet = true; m_validatedDependencyRevisions.emplace_back(std::forward<ValidatedDependencyRevisionsT>(value)); return *this; }
116
118
124 inline const Aws::String& GetFlowActionsRoleArn() const { return m_flowActionsRoleArn; }
125 inline bool FlowActionsRoleArnHasBeenSet() const { return m_flowActionsRoleArnHasBeenSet; }
126 template<typename FlowActionsRoleArnT = Aws::String>
127 void SetFlowActionsRoleArn(FlowActionsRoleArnT&& value) { m_flowActionsRoleArnHasBeenSet = true; m_flowActionsRoleArn = std::forward<FlowActionsRoleArnT>(value); }
128 template<typename FlowActionsRoleArnT = Aws::String>
129 SystemInstanceDescription& WithFlowActionsRoleArn(FlowActionsRoleArnT&& value) { SetFlowActionsRoleArn(std::forward<FlowActionsRoleArnT>(value)); return *this;}
131 private:
132
133 SystemInstanceSummary m_summary;
134 bool m_summaryHasBeenSet = false;
135
136 DefinitionDocument m_definition;
137 bool m_definitionHasBeenSet = false;
138
139 Aws::String m_s3BucketName;
140 bool m_s3BucketNameHasBeenSet = false;
141
142 MetricsConfiguration m_metricsConfiguration;
143 bool m_metricsConfigurationHasBeenSet = false;
144
145 long long m_validatedNamespaceVersion{0};
146 bool m_validatedNamespaceVersionHasBeenSet = false;
147
148 Aws::Vector<DependencyRevision> m_validatedDependencyRevisions;
149 bool m_validatedDependencyRevisionsHasBeenSet = false;
150
151 Aws::String m_flowActionsRoleArn;
152 bool m_flowActionsRoleArnHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace IoTThingsGraph
157} // 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