AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetContainerRecipeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace imagebuilder {
18namespace Model {
19
23 public:
24 AWS_IMAGEBUILDER_API GetContainerRecipeRequest() = 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 "GetContainerRecipe"; }
31
32 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
33
34 AWS_IMAGEBUILDER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetContainerRecipeArn() const { return m_containerRecipeArn; }
41 inline bool ContainerRecipeArnHasBeenSet() const { return m_containerRecipeArnHasBeenSet; }
42 template <typename ContainerRecipeArnT = Aws::String>
43 void SetContainerRecipeArn(ContainerRecipeArnT&& value) {
44 m_containerRecipeArnHasBeenSet = true;
45 m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value);
46 }
47 template <typename ContainerRecipeArnT = Aws::String>
48 GetContainerRecipeRequest& WithContainerRecipeArn(ContainerRecipeArnT&& value) {
49 SetContainerRecipeArn(std::forward<ContainerRecipeArnT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_containerRecipeArn;
55 bool m_containerRecipeArnHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace imagebuilder
60} // namespace Aws
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_IMAGEBUILDER_API GetContainerRecipeRequest()=default
AWS_IMAGEBUILDER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetContainerRecipeRequest & WithContainerRecipeArn(ContainerRecipeArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String