AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
ServiceView.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/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
10#include <aws/resource-explorer-2/model/IncludedProperty.h>
11#include <aws/resource-explorer-2/model/SearchFilter.h>
12#include <aws/resource-explorer-2/model/ServiceLinkedRecorderInfo.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ResourceExplorer2 {
24namespace Model {
25
33 public:
34 AWS_RESOURCEEXPLORER2_API ServiceView() = default;
35 AWS_RESOURCEEXPLORER2_API ServiceView(Aws::Utils::Json::JsonView jsonValue);
36 AWS_RESOURCEEXPLORER2_API ServiceView& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetServiceViewArn() const { return m_serviceViewArn; }
44 inline bool ServiceViewArnHasBeenSet() const { return m_serviceViewArnHasBeenSet; }
45 template <typename ServiceViewArnT = Aws::String>
46 void SetServiceViewArn(ServiceViewArnT&& value) {
47 m_serviceViewArnHasBeenSet = true;
48 m_serviceViewArn = std::forward<ServiceViewArnT>(value);
49 }
50 template <typename ServiceViewArnT = Aws::String>
51 ServiceView& WithServiceViewArn(ServiceViewArnT&& value) {
52 SetServiceViewArn(std::forward<ServiceViewArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetServiceViewName() const { return m_serviceViewName; }
62 inline bool ServiceViewNameHasBeenSet() const { return m_serviceViewNameHasBeenSet; }
63 template <typename ServiceViewNameT = Aws::String>
64 void SetServiceViewName(ServiceViewNameT&& value) {
65 m_serviceViewNameHasBeenSet = true;
66 m_serviceViewName = std::forward<ServiceViewNameT>(value);
67 }
68 template <typename ServiceViewNameT = Aws::String>
69 ServiceView& WithServiceViewName(ServiceViewNameT&& value) {
70 SetServiceViewName(std::forward<ServiceViewNameT>(value));
71 return *this;
72 }
74
76
77 inline const SearchFilter& GetFilters() const { return m_filters; }
78 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
79 template <typename FiltersT = SearchFilter>
80 void SetFilters(FiltersT&& value) {
81 m_filtersHasBeenSet = true;
82 m_filters = std::forward<FiltersT>(value);
83 }
84 template <typename FiltersT = SearchFilter>
85 ServiceView& WithFilters(FiltersT&& value) {
86 SetFilters(std::forward<FiltersT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::Vector<IncludedProperty>& GetIncludedProperties() const { return m_includedProperties; }
97 inline bool IncludedPropertiesHasBeenSet() const { return m_includedPropertiesHasBeenSet; }
98 template <typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
99 void SetIncludedProperties(IncludedPropertiesT&& value) {
100 m_includedPropertiesHasBeenSet = true;
101 m_includedProperties = std::forward<IncludedPropertiesT>(value);
102 }
103 template <typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
104 ServiceView& WithIncludedProperties(IncludedPropertiesT&& value) {
105 SetIncludedProperties(std::forward<IncludedPropertiesT>(value));
106 return *this;
107 }
108 template <typename IncludedPropertiesT = IncludedProperty>
109 ServiceView& AddIncludedProperties(IncludedPropertiesT&& value) {
110 m_includedPropertiesHasBeenSet = true;
111 m_includedProperties.emplace_back(std::forward<IncludedPropertiesT>(value));
112 return *this;
113 }
115
117
121 inline const Aws::String& GetStreamingAccessForService() const { return m_streamingAccessForService; }
122 inline bool StreamingAccessForServiceHasBeenSet() const { return m_streamingAccessForServiceHasBeenSet; }
123 template <typename StreamingAccessForServiceT = Aws::String>
124 void SetStreamingAccessForService(StreamingAccessForServiceT&& value) {
125 m_streamingAccessForServiceHasBeenSet = true;
126 m_streamingAccessForService = std::forward<StreamingAccessForServiceT>(value);
127 }
128 template <typename StreamingAccessForServiceT = Aws::String>
129 ServiceView& WithStreamingAccessForService(StreamingAccessForServiceT&& value) {
130 SetStreamingAccessForService(std::forward<StreamingAccessForServiceT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::String& GetScopeType() const { return m_scopeType; }
141 inline bool ScopeTypeHasBeenSet() const { return m_scopeTypeHasBeenSet; }
142 template <typename ScopeTypeT = Aws::String>
143 void SetScopeType(ScopeTypeT&& value) {
144 m_scopeTypeHasBeenSet = true;
145 m_scopeType = std::forward<ScopeTypeT>(value);
146 }
147 template <typename ScopeTypeT = Aws::String>
148 ServiceView& WithScopeType(ScopeTypeT&& value) {
149 SetScopeType(std::forward<ScopeTypeT>(value));
150 return *this;
151 }
153
155
161 inline const ServiceLinkedRecorderInfo& GetServiceLinkedRecorder() const { return m_serviceLinkedRecorder; }
162 inline bool ServiceLinkedRecorderHasBeenSet() const { return m_serviceLinkedRecorderHasBeenSet; }
163 template <typename ServiceLinkedRecorderT = ServiceLinkedRecorderInfo>
164 void SetServiceLinkedRecorder(ServiceLinkedRecorderT&& value) {
165 m_serviceLinkedRecorderHasBeenSet = true;
166 m_serviceLinkedRecorder = std::forward<ServiceLinkedRecorderT>(value);
167 }
168 template <typename ServiceLinkedRecorderT = ServiceLinkedRecorderInfo>
169 ServiceView& WithServiceLinkedRecorder(ServiceLinkedRecorderT&& value) {
170 SetServiceLinkedRecorder(std::forward<ServiceLinkedRecorderT>(value));
171 return *this;
172 }
174 private:
175 Aws::String m_serviceViewArn;
176
177 Aws::String m_serviceViewName;
178
179 SearchFilter m_filters;
180
181 Aws::Vector<IncludedProperty> m_includedProperties;
182
183 Aws::String m_streamingAccessForService;
184
185 Aws::String m_scopeType;
186
187 ServiceLinkedRecorderInfo m_serviceLinkedRecorder;
188 bool m_serviceViewArnHasBeenSet = false;
189 bool m_serviceViewNameHasBeenSet = false;
190 bool m_filtersHasBeenSet = false;
191 bool m_includedPropertiesHasBeenSet = false;
192 bool m_streamingAccessForServiceHasBeenSet = false;
193 bool m_scopeTypeHasBeenSet = false;
194 bool m_serviceLinkedRecorderHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace ResourceExplorer2
199} // namespace Aws
const ServiceLinkedRecorderInfo & GetServiceLinkedRecorder() const
ServiceView & WithScopeType(ScopeTypeT &&value)
const SearchFilter & GetFilters() const
Definition ServiceView.h:77
const Aws::String & GetStreamingAccessForService() const
void SetIncludedProperties(IncludedPropertiesT &&value)
Definition ServiceView.h:99
void SetServiceViewName(ServiceViewNameT &&value)
Definition ServiceView.h:64
const Aws::String & GetServiceViewArn() const
Definition ServiceView.h:43
const Aws::Vector< IncludedProperty > & GetIncludedProperties() const
Definition ServiceView.h:96
const Aws::String & GetServiceViewName() const
Definition ServiceView.h:61
AWS_RESOURCEEXPLORER2_API ServiceView(Aws::Utils::Json::JsonView jsonValue)
void SetStreamingAccessForService(StreamingAccessForServiceT &&value)
ServiceView & WithServiceLinkedRecorder(ServiceLinkedRecorderT &&value)
AWS_RESOURCEEXPLORER2_API ServiceView()=default
ServiceView & WithStreamingAccessForService(StreamingAccessForServiceT &&value)
const Aws::String & GetScopeType() const
ServiceView & WithFilters(FiltersT &&value)
Definition ServiceView.h:85
ServiceView & WithIncludedProperties(IncludedPropertiesT &&value)
ServiceView & WithServiceViewArn(ServiceViewArnT &&value)
Definition ServiceView.h:51
void SetServiceLinkedRecorder(ServiceLinkedRecorderT &&value)
AWS_RESOURCEEXPLORER2_API ServiceView & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceView & WithServiceViewName(ServiceViewNameT &&value)
Definition ServiceView.h:69
ServiceView & AddIncludedProperties(IncludedPropertiesT &&value)
void SetServiceViewArn(ServiceViewArnT &&value)
Definition ServiceView.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue