AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateRunCacheRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/CacheBehavior.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Omics {
16namespace Model {
17
21 public:
22 AWS_OMICS_API UpdateRunCacheRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateRunCache"; }
29
30 AWS_OMICS_API Aws::String SerializePayload() const override;
31
33
36 inline CacheBehavior GetCacheBehavior() const { return m_cacheBehavior; }
37 inline bool CacheBehaviorHasBeenSet() const { return m_cacheBehaviorHasBeenSet; }
38 inline void SetCacheBehavior(CacheBehavior value) {
39 m_cacheBehaviorHasBeenSet = true;
40 m_cacheBehavior = value;
41 }
43 SetCacheBehavior(value);
44 return *this;
45 }
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 template <typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) {
56 m_descriptionHasBeenSet = true;
57 m_description = std::forward<DescriptionT>(value);
58 }
59 template <typename DescriptionT = Aws::String>
60 UpdateRunCacheRequest& WithDescription(DescriptionT&& value) {
61 SetDescription(std::forward<DescriptionT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetId() const { return m_id; }
71 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
72 template <typename IdT = Aws::String>
73 void SetId(IdT&& value) {
74 m_idHasBeenSet = true;
75 m_id = std::forward<IdT>(value);
76 }
77 template <typename IdT = Aws::String>
79 SetId(std::forward<IdT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 template <typename NameT = Aws::String>
91 void SetName(NameT&& value) {
92 m_nameHasBeenSet = true;
93 m_name = std::forward<NameT>(value);
94 }
95 template <typename NameT = Aws::String>
97 SetName(std::forward<NameT>(value));
98 return *this;
99 }
101 private:
102 CacheBehavior m_cacheBehavior{CacheBehavior::NOT_SET};
103
104 Aws::String m_description;
105
106 Aws::String m_id;
107
108 Aws::String m_name;
109 bool m_cacheBehaviorHasBeenSet = false;
110 bool m_descriptionHasBeenSet = false;
111 bool m_idHasBeenSet = false;
112 bool m_nameHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace Omics
117} // 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