AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateViewRequest.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/resource-explorer-2/ResourceExplorer2Request.h>
9#include <aws/resource-explorer-2/model/SearchFilter.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 ResourceExplorer2
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_RESOURCEEXPLORER2_API UpdateViewRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateView"; }
34
35 AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override;
36
37
39
58 inline const SearchFilter& GetFilters() const { return m_filters; }
59 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
60 template<typename FiltersT = SearchFilter>
61 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
62 template<typename FiltersT = SearchFilter>
63 UpdateViewRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
65
67
72 inline const Aws::Vector<IncludedProperty>& GetIncludedProperties() const { return m_includedProperties; }
73 inline bool IncludedPropertiesHasBeenSet() const { return m_includedPropertiesHasBeenSet; }
74 template<typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
75 void SetIncludedProperties(IncludedPropertiesT&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties = std::forward<IncludedPropertiesT>(value); }
76 template<typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
77 UpdateViewRequest& WithIncludedProperties(IncludedPropertiesT&& value) { SetIncludedProperties(std::forward<IncludedPropertiesT>(value)); return *this;}
78 template<typename IncludedPropertiesT = IncludedProperty>
79 UpdateViewRequest& AddIncludedProperties(IncludedPropertiesT&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.emplace_back(std::forward<IncludedPropertiesT>(value)); return *this; }
81
83
88 inline const Aws::String& GetViewArn() const { return m_viewArn; }
89 inline bool ViewArnHasBeenSet() const { return m_viewArnHasBeenSet; }
90 template<typename ViewArnT = Aws::String>
91 void SetViewArn(ViewArnT&& value) { m_viewArnHasBeenSet = true; m_viewArn = std::forward<ViewArnT>(value); }
92 template<typename ViewArnT = Aws::String>
93 UpdateViewRequest& WithViewArn(ViewArnT&& value) { SetViewArn(std::forward<ViewArnT>(value)); return *this;}
95 private:
96
97 SearchFilter m_filters;
98 bool m_filtersHasBeenSet = false;
99
100 Aws::Vector<IncludedProperty> m_includedProperties;
101 bool m_includedPropertiesHasBeenSet = false;
102
103 Aws::String m_viewArn;
104 bool m_viewArnHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace ResourceExplorer2
109} // 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