AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetComponentRequest.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/greengrassv2/model/RecipeOutputFormat.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace GreengrassV2
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_GREENGRASSV2_API GetComponentRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetComponent"; }
36
37 AWS_GREENGRASSV2_API Aws::String SerializePayload() const override;
38
39 AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline RecipeOutputFormat GetRecipeOutputFormat() const { return m_recipeOutputFormat; }
47 inline bool RecipeOutputFormatHasBeenSet() const { return m_recipeOutputFormatHasBeenSet; }
48 inline void SetRecipeOutputFormat(RecipeOutputFormat value) { m_recipeOutputFormatHasBeenSet = true; m_recipeOutputFormat = value; }
51
53
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template<typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
62 template<typename ArnT = Aws::String>
63 GetComponentRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
65 private:
66
68 bool m_recipeOutputFormatHasBeenSet = false;
69
70 Aws::String m_arn;
71 bool m_arnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GreengrassV2
76} // namespace Aws
AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetRecipeOutputFormat(RecipeOutputFormat value)
virtual const char * GetServiceRequestName() const override
GetComponentRequest & WithRecipeOutputFormat(RecipeOutputFormat value)
GetComponentRequest & WithArn(ArnT &&value)
AWS_GREENGRASSV2_API GetComponentRequest()=default
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String