AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
View.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
41 class View
42 {
43 public:
44 AWS_RESOURCEEXPLORER2_API View();
45 AWS_RESOURCEEXPLORER2_API View(Aws::Utils::Json::JsonView jsonValue);
46 AWS_RESOURCEEXPLORER2_API View& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const SearchFilter& GetFilters() const{ return m_filters; }
56 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
57 inline void SetFilters(const SearchFilter& value) { m_filtersHasBeenSet = true; m_filters = value; }
58 inline void SetFilters(SearchFilter&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
59 inline View& WithFilters(const SearchFilter& value) { SetFilters(value); return *this;}
60 inline View& WithFilters(SearchFilter&& value) { SetFilters(std::move(value)); return *this;}
62
64
67 inline const Aws::Vector<IncludedProperty>& GetIncludedProperties() const{ return m_includedProperties; }
68 inline bool IncludedPropertiesHasBeenSet() const { return m_includedPropertiesHasBeenSet; }
69 inline void SetIncludedProperties(const Aws::Vector<IncludedProperty>& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties = value; }
70 inline void SetIncludedProperties(Aws::Vector<IncludedProperty>&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties = std::move(value); }
72 inline View& WithIncludedProperties(Aws::Vector<IncludedProperty>&& value) { SetIncludedProperties(std::move(value)); return *this;}
73 inline View& AddIncludedProperties(const IncludedProperty& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.push_back(value); return *this; }
74 inline View& AddIncludedProperties(IncludedProperty&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.push_back(std::move(value)); return *this; }
76
78
81 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
82 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
83 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
84 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
85 inline View& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
86 inline View& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetOwner() const{ return m_owner; }
94 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
95 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
96 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
97 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
98 inline View& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
99 inline View& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
100 inline View& WithOwner(const char* value) { SetOwner(value); return *this;}
102
104
114 inline const Aws::String& GetScope() const{ return m_scope; }
115 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
116 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
117 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
118 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
119 inline View& WithScope(const Aws::String& value) { SetScope(value); return *this;}
120 inline View& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
121 inline View& WithScope(const char* value) { SetScope(value); return *this;}
123
125
130 inline const Aws::String& GetViewArn() const{ return m_viewArn; }
131 inline bool ViewArnHasBeenSet() const { return m_viewArnHasBeenSet; }
132 inline void SetViewArn(const Aws::String& value) { m_viewArnHasBeenSet = true; m_viewArn = value; }
133 inline void SetViewArn(Aws::String&& value) { m_viewArnHasBeenSet = true; m_viewArn = std::move(value); }
134 inline void SetViewArn(const char* value) { m_viewArnHasBeenSet = true; m_viewArn.assign(value); }
135 inline View& WithViewArn(const Aws::String& value) { SetViewArn(value); return *this;}
136 inline View& WithViewArn(Aws::String&& value) { SetViewArn(std::move(value)); return *this;}
137 inline View& WithViewArn(const char* value) { SetViewArn(value); return *this;}
139 private:
140
141 SearchFilter m_filters;
142 bool m_filtersHasBeenSet = false;
143
144 Aws::Vector<IncludedProperty> m_includedProperties;
145 bool m_includedPropertiesHasBeenSet = false;
146
147 Aws::Utils::DateTime m_lastUpdatedAt;
148 bool m_lastUpdatedAtHasBeenSet = false;
149
150 Aws::String m_owner;
151 bool m_ownerHasBeenSet = false;
152
153 Aws::String m_scope;
154 bool m_scopeHasBeenSet = false;
155
156 Aws::String m_viewArn;
157 bool m_viewArnHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace ResourceExplorer2
162} // namespace Aws
View & AddIncludedProperties(IncludedProperty &&value)
Definition View.h:74
AWS_RESOURCEEXPLORER2_API View(Aws::Utils::Json::JsonView jsonValue)
void SetViewArn(const char *value)
Definition View.h:134
View & WithScope(const char *value)
Definition View.h:121
View & WithViewArn(const char *value)
Definition View.h:137
void SetIncludedProperties(Aws::Vector< IncludedProperty > &&value)
Definition View.h:70
View & WithViewArn(Aws::String &&value)
Definition View.h:136
View & WithIncludedProperties(const Aws::Vector< IncludedProperty > &value)
Definition View.h:71
void SetScope(const char *value)
Definition View.h:118
AWS_RESOURCEEXPLORER2_API View & operator=(Aws::Utils::Json::JsonView jsonValue)
View & WithViewArn(const Aws::String &value)
Definition View.h:135
AWS_RESOURCEEXPLORER2_API View()
View & WithOwner(Aws::String &&value)
Definition View.h:99
void SetOwner(Aws::String &&value)
Definition View.h:96
void SetOwner(const char *value)
Definition View.h:97
View & WithFilters(const SearchFilter &value)
Definition View.h:59
void SetScope(Aws::String &&value)
Definition View.h:117
const Aws::Vector< IncludedProperty > & GetIncludedProperties() const
Definition View.h:67
View & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition View.h:86
void SetIncludedProperties(const Aws::Vector< IncludedProperty > &value)
Definition View.h:69
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition View.h:83
const Aws::String & GetViewArn() const
Definition View.h:130
bool IncludedPropertiesHasBeenSet() const
Definition View.h:68
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
View & WithFilters(SearchFilter &&value)
Definition View.h:60
const SearchFilter & GetFilters() const
Definition View.h:55
void SetFilters(const SearchFilter &value)
Definition View.h:57
bool LastUpdatedAtHasBeenSet() const
Definition View.h:82
View & AddIncludedProperties(const IncludedProperty &value)
Definition View.h:73
void SetScope(const Aws::String &value)
Definition View.h:116
View & WithIncludedProperties(Aws::Vector< IncludedProperty > &&value)
Definition View.h:72
View & WithScope(const Aws::String &value)
Definition View.h:119
View & WithScope(Aws::String &&value)
Definition View.h:120
void SetFilters(SearchFilter &&value)
Definition View.h:58
View & WithOwner(const Aws::String &value)
Definition View.h:98
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition View.h:81
View & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition View.h:85
View & WithOwner(const char *value)
Definition View.h:100
const Aws::String & GetOwner() const
Definition View.h:93
void SetViewArn(const Aws::String &value)
Definition View.h:132
void SetViewArn(Aws::String &&value)
Definition View.h:133
const Aws::String & GetScope() const
Definition View.h:114
void SetOwner(const Aws::String &value)
Definition View.h:95
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition View.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue