AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LifecyclePolicyResourceSelectionRecipe.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace imagebuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelectionRecipe() = default;
38 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 LifecyclePolicyResourceSelectionRecipe& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetSemanticVersion() const { return m_semanticVersion; }
60 inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
61 template<typename SemanticVersionT = Aws::String>
62 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
63 template<typename SemanticVersionT = Aws::String>
64 LifecyclePolicyResourceSelectionRecipe& WithSemanticVersion(SemanticVersionT&& value) { SetSemanticVersion(std::forward<SemanticVersionT>(value)); return *this;}
66 private:
67
68 Aws::String m_name;
69 bool m_nameHasBeenSet = false;
70
71 Aws::String m_semanticVersion;
72 bool m_semanticVersionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace imagebuilder
77} // namespace Aws
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
LifecyclePolicyResourceSelectionRecipe & WithSemanticVersion(SemanticVersionT &&value)
AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelectionRecipe & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelectionRecipe(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue