AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
UpdateViewRequest.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/ResourceExplorer2Request.h>
10#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
11#include <aws/resource-explorer-2/model/IncludedProperty.h>
12#include <aws/resource-explorer-2/model/SearchFilter.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ResourceExplorer2 {
18namespace Model {
19
23 public:
24 AWS_RESOURCEEXPLORER2_API UpdateViewRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateView"; }
31
32 AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override;
33
35
40 inline const Aws::String& GetViewArn() const { return m_viewArn; }
41 inline bool ViewArnHasBeenSet() const { return m_viewArnHasBeenSet; }
42 template <typename ViewArnT = Aws::String>
43 void SetViewArn(ViewArnT&& value) {
44 m_viewArnHasBeenSet = true;
45 m_viewArn = std::forward<ViewArnT>(value);
46 }
47 template <typename ViewArnT = Aws::String>
48 UpdateViewRequest& WithViewArn(ViewArnT&& value) {
49 SetViewArn(std::forward<ViewArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::Vector<IncludedProperty>& GetIncludedProperties() const { return m_includedProperties; }
61 inline bool IncludedPropertiesHasBeenSet() const { return m_includedPropertiesHasBeenSet; }
62 template <typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
63 void SetIncludedProperties(IncludedPropertiesT&& value) {
64 m_includedPropertiesHasBeenSet = true;
65 m_includedProperties = std::forward<IncludedPropertiesT>(value);
66 }
67 template <typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
68 UpdateViewRequest& WithIncludedProperties(IncludedPropertiesT&& value) {
69 SetIncludedProperties(std::forward<IncludedPropertiesT>(value));
70 return *this;
71 }
72 template <typename IncludedPropertiesT = IncludedProperty>
73 UpdateViewRequest& AddIncludedProperties(IncludedPropertiesT&& value) {
74 m_includedPropertiesHasBeenSet = true;
75 m_includedProperties.emplace_back(std::forward<IncludedPropertiesT>(value));
76 return *this;
77 }
79
81
100 inline const SearchFilter& GetFilters() const { return m_filters; }
101 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
102 template <typename FiltersT = SearchFilter>
103 void SetFilters(FiltersT&& value) {
104 m_filtersHasBeenSet = true;
105 m_filters = std::forward<FiltersT>(value);
106 }
107 template <typename FiltersT = SearchFilter>
108 UpdateViewRequest& WithFilters(FiltersT&& value) {
109 SetFilters(std::forward<FiltersT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_viewArn;
115
116 Aws::Vector<IncludedProperty> m_includedProperties;
117
118 SearchFilter m_filters;
119 bool m_viewArnHasBeenSet = false;
120 bool m_includedPropertiesHasBeenSet = false;
121 bool m_filtersHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace ResourceExplorer2
126} // namespace Aws
UpdateViewRequest & WithFilters(FiltersT &&value)
UpdateViewRequest & AddIncludedProperties(IncludedPropertiesT &&value)
AWS_RESOURCEEXPLORER2_API UpdateViewRequest()=default
void SetIncludedProperties(IncludedPropertiesT &&value)
const Aws::Vector< IncludedProperty > & GetIncludedProperties() const
AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override
UpdateViewRequest & WithIncludedProperties(IncludedPropertiesT &&value)
virtual const char * GetServiceRequestName() const override
UpdateViewRequest & WithViewArn(ViewArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector