AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
RecipeReference.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28 public:
29 AWS_GLUE_API RecipeReference() = default;
33
35
38 inline const Aws::String& GetRecipeArn() const { return m_recipeArn; }
39 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
40 template <typename RecipeArnT = Aws::String>
41 void SetRecipeArn(RecipeArnT&& value) {
42 m_recipeArnHasBeenSet = true;
43 m_recipeArn = std::forward<RecipeArnT>(value);
44 }
45 template <typename RecipeArnT = Aws::String>
46 RecipeReference& WithRecipeArn(RecipeArnT&& value) {
47 SetRecipeArn(std::forward<RecipeArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetRecipeVersion() const { return m_recipeVersion; }
57 inline bool RecipeVersionHasBeenSet() const { return m_recipeVersionHasBeenSet; }
58 template <typename RecipeVersionT = Aws::String>
59 void SetRecipeVersion(RecipeVersionT&& value) {
60 m_recipeVersionHasBeenSet = true;
61 m_recipeVersion = std::forward<RecipeVersionT>(value);
62 }
63 template <typename RecipeVersionT = Aws::String>
64 RecipeReference& WithRecipeVersion(RecipeVersionT&& value) {
65 SetRecipeVersion(std::forward<RecipeVersionT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_recipeArn;
71
72 Aws::String m_recipeVersion;
73 bool m_recipeArnHasBeenSet = false;
74 bool m_recipeVersionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
const Aws::String & GetRecipeVersion() const
const Aws::String & GetRecipeArn() const
AWS_GLUE_API RecipeReference()=default
AWS_GLUE_API RecipeReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API RecipeReference(Aws::Utils::Json::JsonView jsonValue)
RecipeReference & WithRecipeArn(RecipeArnT &&value)
void SetRecipeArn(RecipeArnT &&value)
RecipeReference & WithRecipeVersion(RecipeVersionT &&value)
void SetRecipeVersion(RecipeVersionT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue