AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ManagedView.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/resource-explorer-2/model/SearchFilter.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/resource-explorer-2/model/IncludedProperty.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ResourceExplorer2
26{
27namespace Model
28{
29
40 {
41 public:
42 AWS_RESOURCEEXPLORER2_API ManagedView() = default;
43 AWS_RESOURCEEXPLORER2_API ManagedView(Aws::Utils::Json::JsonView jsonValue);
44 AWS_RESOURCEEXPLORER2_API ManagedView& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
50 inline const SearchFilter& GetFilters() const { return m_filters; }
51 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
52 template<typename FiltersT = SearchFilter>
53 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
54 template<typename FiltersT = SearchFilter>
55 ManagedView& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
57
59
62 inline const Aws::Vector<IncludedProperty>& GetIncludedProperties() const { return m_includedProperties; }
63 inline bool IncludedPropertiesHasBeenSet() const { return m_includedPropertiesHasBeenSet; }
64 template<typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
65 void SetIncludedProperties(IncludedPropertiesT&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties = std::forward<IncludedPropertiesT>(value); }
66 template<typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
67 ManagedView& WithIncludedProperties(IncludedPropertiesT&& value) { SetIncludedProperties(std::forward<IncludedPropertiesT>(value)); return *this;}
68 template<typename IncludedPropertiesT = IncludedProperty>
69 ManagedView& AddIncludedProperties(IncludedPropertiesT&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.emplace_back(std::forward<IncludedPropertiesT>(value)); return *this; }
71
73
76 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
77 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
78 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
79 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
80 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
81 ManagedView& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
83
85
90 inline const Aws::String& GetManagedViewArn() const { return m_managedViewArn; }
91 inline bool ManagedViewArnHasBeenSet() const { return m_managedViewArnHasBeenSet; }
92 template<typename ManagedViewArnT = Aws::String>
93 void SetManagedViewArn(ManagedViewArnT&& value) { m_managedViewArnHasBeenSet = true; m_managedViewArn = std::forward<ManagedViewArnT>(value); }
94 template<typename ManagedViewArnT = Aws::String>
95 ManagedView& WithManagedViewArn(ManagedViewArnT&& value) { SetManagedViewArn(std::forward<ManagedViewArnT>(value)); return *this;}
97
99
102 inline const Aws::String& GetManagedViewName() const { return m_managedViewName; }
103 inline bool ManagedViewNameHasBeenSet() const { return m_managedViewNameHasBeenSet; }
104 template<typename ManagedViewNameT = Aws::String>
105 void SetManagedViewName(ManagedViewNameT&& value) { m_managedViewNameHasBeenSet = true; m_managedViewName = std::forward<ManagedViewNameT>(value); }
106 template<typename ManagedViewNameT = Aws::String>
107 ManagedView& WithManagedViewName(ManagedViewNameT&& value) { SetManagedViewName(std::forward<ManagedViewNameT>(value)); return *this;}
109
111
114 inline const Aws::String& GetOwner() const { return m_owner; }
115 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
116 template<typename OwnerT = Aws::String>
117 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
118 template<typename OwnerT = Aws::String>
119 ManagedView& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
121
123
129 inline const Aws::String& GetResourcePolicy() const { return m_resourcePolicy; }
130 inline bool ResourcePolicyHasBeenSet() const { return m_resourcePolicyHasBeenSet; }
131 template<typename ResourcePolicyT = Aws::String>
132 void SetResourcePolicy(ResourcePolicyT&& value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy = std::forward<ResourcePolicyT>(value); }
133 template<typename ResourcePolicyT = Aws::String>
134 ManagedView& WithResourcePolicy(ResourcePolicyT&& value) { SetResourcePolicy(std::forward<ResourcePolicyT>(value)); return *this;}
136
138
145 inline const Aws::String& GetScope() const { return m_scope; }
146 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
147 template<typename ScopeT = Aws::String>
148 void SetScope(ScopeT&& value) { m_scopeHasBeenSet = true; m_scope = std::forward<ScopeT>(value); }
149 template<typename ScopeT = Aws::String>
150 ManagedView& WithScope(ScopeT&& value) { SetScope(std::forward<ScopeT>(value)); return *this;}
152
154
158 inline const Aws::String& GetTrustedService() const { return m_trustedService; }
159 inline bool TrustedServiceHasBeenSet() const { return m_trustedServiceHasBeenSet; }
160 template<typename TrustedServiceT = Aws::String>
161 void SetTrustedService(TrustedServiceT&& value) { m_trustedServiceHasBeenSet = true; m_trustedService = std::forward<TrustedServiceT>(value); }
162 template<typename TrustedServiceT = Aws::String>
163 ManagedView& WithTrustedService(TrustedServiceT&& value) { SetTrustedService(std::forward<TrustedServiceT>(value)); return *this;}
165
167
170 inline const Aws::String& GetVersion() const { return m_version; }
171 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
172 template<typename VersionT = Aws::String>
173 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
174 template<typename VersionT = Aws::String>
175 ManagedView& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
177 private:
178
179 SearchFilter m_filters;
180 bool m_filtersHasBeenSet = false;
181
182 Aws::Vector<IncludedProperty> m_includedProperties;
183 bool m_includedPropertiesHasBeenSet = false;
184
185 Aws::Utils::DateTime m_lastUpdatedAt{};
186 bool m_lastUpdatedAtHasBeenSet = false;
187
188 Aws::String m_managedViewArn;
189 bool m_managedViewArnHasBeenSet = false;
190
191 Aws::String m_managedViewName;
192 bool m_managedViewNameHasBeenSet = false;
193
194 Aws::String m_owner;
195 bool m_ownerHasBeenSet = false;
196
197 Aws::String m_resourcePolicy;
198 bool m_resourcePolicyHasBeenSet = false;
199
200 Aws::String m_scope;
201 bool m_scopeHasBeenSet = false;
202
203 Aws::String m_trustedService;
204 bool m_trustedServiceHasBeenSet = false;
205
206 Aws::String m_version;
207 bool m_versionHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace ResourceExplorer2
212} // namespace Aws
const Aws::String & GetScope() const
const Aws::String & GetOwner() const
ManagedView & AddIncludedProperties(IncludedPropertiesT &&value)
Definition ManagedView.h:69
ManagedView & WithOwner(OwnerT &&value)
const Aws::String & GetResourcePolicy() const
ManagedView & WithIncludedProperties(IncludedPropertiesT &&value)
Definition ManagedView.h:67
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition ManagedView.h:79
ManagedView & WithResourcePolicy(ResourcePolicyT &&value)
void SetIncludedProperties(IncludedPropertiesT &&value)
Definition ManagedView.h:65
AWS_RESOURCEEXPLORER2_API ManagedView & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
void SetTrustedService(TrustedServiceT &&value)
const Aws::String & GetTrustedService() const
const SearchFilter & GetFilters() const
Definition ManagedView.h:50
void SetManagedViewName(ManagedViewNameT &&value)
AWS_RESOURCEEXPLORER2_API ManagedView()=default
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourcePolicy(ResourcePolicyT &&value)
const Aws::String & GetManagedViewArn() const
Definition ManagedView.h:90
const Aws::String & GetManagedViewName() const
ManagedView & WithManagedViewArn(ManagedViewArnT &&value)
Definition ManagedView.h:95
AWS_RESOURCEEXPLORER2_API ManagedView(Aws::Utils::Json::JsonView jsonValue)
ManagedView & WithScope(ScopeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition ManagedView.h:76
ManagedView & WithFilters(FiltersT &&value)
Definition ManagedView.h:55
ManagedView & WithTrustedService(TrustedServiceT &&value)
const Aws::Vector< IncludedProperty > & GetIncludedProperties() const
Definition ManagedView.h:62
ManagedView & WithVersion(VersionT &&value)
void SetManagedViewArn(ManagedViewArnT &&value)
Definition ManagedView.h:93
ManagedView & WithManagedViewName(ManagedViewNameT &&value)
ManagedView & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition ManagedView.h:81
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue