AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RecipeOutputFormat& GetRecipeOutputFormat() const{ return m_recipeOutputFormat; }
47 inline bool RecipeOutputFormatHasBeenSet() const { return m_recipeOutputFormatHasBeenSet; }
48 inline void SetRecipeOutputFormat(const RecipeOutputFormat& value) { m_recipeOutputFormatHasBeenSet = true; m_recipeOutputFormat = value; }
49 inline void SetRecipeOutputFormat(RecipeOutputFormat&& value) { m_recipeOutputFormatHasBeenSet = true; m_recipeOutputFormat = std::move(value); }
51 inline GetComponentRequest& WithRecipeOutputFormat(RecipeOutputFormat&& value) { SetRecipeOutputFormat(std::move(value)); return *this;}
53
55
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline GetComponentRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline GetComponentRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline GetComponentRequest& WithArn(const char* value) { SetArn(value); return *this;}
69 private:
70
71 RecipeOutputFormat m_recipeOutputFormat;
72 bool m_recipeOutputFormatHasBeenSet = false;
73
74 Aws::String m_arn;
75 bool m_arnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace GreengrassV2
80} // namespace Aws
AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetComponentRequest & WithRecipeOutputFormat(const RecipeOutputFormat &value)
void SetRecipeOutputFormat(RecipeOutputFormat &&value)
GetComponentRequest & WithArn(const Aws::String &value)
const RecipeOutputFormat & GetRecipeOutputFormat() const
virtual const char * GetServiceRequestName() const override
GetComponentRequest & WithArn(Aws::String &&value)
GetComponentRequest & WithArn(const char *value)
GetComponentRequest & WithRecipeOutputFormat(RecipeOutputFormat &&value)
void SetRecipeOutputFormat(const RecipeOutputFormat &value)
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String