AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFilters(const SearchFilter& value) { m_filtersHasBeenSet = true; m_filters = value; }
61 inline void SetFilters(SearchFilter&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
62 inline UpdateViewRequest& WithFilters(const SearchFilter& value) { SetFilters(value); return *this;}
63 inline UpdateViewRequest& WithFilters(SearchFilter&& value) { SetFilters(std::move(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 inline void SetIncludedProperties(const Aws::Vector<IncludedProperty>& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties = value; }
75 inline void SetIncludedProperties(Aws::Vector<IncludedProperty>&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties = std::move(value); }
78 inline UpdateViewRequest& AddIncludedProperties(const IncludedProperty& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.push_back(value); return *this; }
79 inline UpdateViewRequest& AddIncludedProperties(IncludedProperty&& value) { m_includedPropertiesHasBeenSet = true; m_includedProperties.push_back(std::move(value)); return *this; }
81
83
88 inline const Aws::String& GetViewArn() const{ return m_viewArn; }
89 inline bool ViewArnHasBeenSet() const { return m_viewArnHasBeenSet; }
90 inline void SetViewArn(const Aws::String& value) { m_viewArnHasBeenSet = true; m_viewArn = value; }
91 inline void SetViewArn(Aws::String&& value) { m_viewArnHasBeenSet = true; m_viewArn = std::move(value); }
92 inline void SetViewArn(const char* value) { m_viewArnHasBeenSet = true; m_viewArn.assign(value); }
93 inline UpdateViewRequest& WithViewArn(const Aws::String& value) { SetViewArn(value); return *this;}
94 inline UpdateViewRequest& WithViewArn(Aws::String&& value) { SetViewArn(std::move(value)); return *this;}
95 inline UpdateViewRequest& WithViewArn(const char* value) { SetViewArn(value); return *this;}
97 private:
98
99 SearchFilter m_filters;
100 bool m_filtersHasBeenSet = false;
101
102 Aws::Vector<IncludedProperty> m_includedProperties;
103 bool m_includedPropertiesHasBeenSet = false;
104
105 Aws::String m_viewArn;
106 bool m_viewArnHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace ResourceExplorer2
111} // namespace Aws
void SetIncludedProperties(const Aws::Vector< IncludedProperty > &value)
AWS_RESOURCEEXPLORER2_API UpdateViewRequest()
UpdateViewRequest & AddIncludedProperties(const IncludedProperty &value)
UpdateViewRequest & WithViewArn(const char *value)
UpdateViewRequest & WithFilters(const SearchFilter &value)
UpdateViewRequest & WithIncludedProperties(const Aws::Vector< IncludedProperty > &value)
void SetIncludedProperties(Aws::Vector< IncludedProperty > &&value)
const Aws::Vector< IncludedProperty > & GetIncludedProperties() const
AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override
UpdateViewRequest & WithViewArn(const Aws::String &value)
UpdateViewRequest & WithIncludedProperties(Aws::Vector< IncludedProperty > &&value)
UpdateViewRequest & WithFilters(SearchFilter &&value)
virtual const char * GetServiceRequestName() const override
UpdateViewRequest & AddIncludedProperties(IncludedProperty &&value)
UpdateViewRequest & WithViewArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector