AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListImageRecipesRequest.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/imagebuilder/model/Ownership.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/imagebuilder/model/Filter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace imagebuilder
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IMAGEBUILDER_API ListImageRecipesRequest();
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 "ListImageRecipes"; }
34
35 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
36
37
39
45 inline const Ownership& GetOwner() const{ return m_owner; }
46 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
47 inline void SetOwner(const Ownership& value) { m_ownerHasBeenSet = true; m_owner = value; }
48 inline void SetOwner(Ownership&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
49 inline ListImageRecipesRequest& WithOwner(const Ownership& value) { SetOwner(value); return *this;}
50 inline ListImageRecipesRequest& WithOwner(Ownership&& value) { SetOwner(std::move(value)); return *this;}
52
54
59 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
60 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
62 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
63 inline ListImageRecipesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
64 inline ListImageRecipesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
65 inline ListImageRecipesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
66 inline ListImageRecipesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
68
70
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline ListImageRecipesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
87 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
88 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
89 inline ListImageRecipesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
90 inline ListImageRecipesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 inline ListImageRecipesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93 private:
94
95 Ownership m_owner;
96 bool m_ownerHasBeenSet = false;
97
98 Aws::Vector<Filter> m_filters;
99 bool m_filtersHasBeenSet = false;
100
101 int m_maxResults;
102 bool m_maxResultsHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace imagebuilder
110} // namespace Aws
ListImageRecipesRequest & WithNextToken(const char *value)
ListImageRecipesRequest & WithFilters(const Aws::Vector< Filter > &value)
ListImageRecipesRequest & WithNextToken(Aws::String &&value)
ListImageRecipesRequest & AddFilters(Filter &&value)
ListImageRecipesRequest & WithMaxResults(int value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
ListImageRecipesRequest & WithNextToken(const Aws::String &value)
ListImageRecipesRequest & WithFilters(Aws::Vector< Filter > &&value)
ListImageRecipesRequest & AddFilters(const Filter &value)
virtual const char * GetServiceRequestName() const override
ListImageRecipesRequest & WithOwner(Ownership &&value)
void SetFilters(const Aws::Vector< Filter > &value)
ListImageRecipesRequest & WithOwner(const Ownership &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector