AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateRunCacheRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/model/CacheBehavior.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Omics
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OMICS_API UpdateRunCacheRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateRunCache"; }
32
33 AWS_OMICS_API Aws::String SerializePayload() const override;
34
35
37
40 inline CacheBehavior GetCacheBehavior() const { return m_cacheBehavior; }
41 inline bool CacheBehaviorHasBeenSet() const { return m_cacheBehaviorHasBeenSet; }
42 inline void SetCacheBehavior(CacheBehavior value) { m_cacheBehaviorHasBeenSet = true; m_cacheBehavior = value; }
45
47
50 inline const Aws::String& GetDescription() const { return m_description; }
51 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
52 template<typename DescriptionT = Aws::String>
53 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
54 template<typename DescriptionT = Aws::String>
55 UpdateRunCacheRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
57
59
62 inline const Aws::String& GetId() const { return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 template<typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
66 template<typename IdT = Aws::String>
67 UpdateRunCacheRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 UpdateRunCacheRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81 private:
82
84 bool m_cacheBehaviorHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88
89 Aws::String m_id;
90 bool m_idHasBeenSet = false;
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Omics
98} // namespace Aws
AWS_OMICS_API UpdateRunCacheRequest()=default
UpdateRunCacheRequest & WithCacheBehavior(CacheBehavior value)
AWS_OMICS_API Aws::String SerializePayload() const override
UpdateRunCacheRequest & WithId(IdT &&value)
UpdateRunCacheRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateRunCacheRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String