AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
UpdateSystemRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace resiliencehubv2 {
15namespace Model {
16
20 public:
21 AWS_RESILIENCEHUBV2_API UpdateSystemRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateSystem"; }
28
29 AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override;
30
32
33 inline const Aws::String& GetSystemArn() const { return m_systemArn; }
34 inline bool SystemArnHasBeenSet() const { return m_systemArnHasBeenSet; }
35 template <typename SystemArnT = Aws::String>
36 void SetSystemArn(SystemArnT&& value) {
37 m_systemArnHasBeenSet = true;
38 m_systemArn = std::forward<SystemArnT>(value);
39 }
40 template <typename SystemArnT = Aws::String>
41 UpdateSystemRequest& WithSystemArn(SystemArnT&& value) {
42 SetSystemArn(std::forward<SystemArnT>(value));
43 return *this;
44 }
46
48
49 inline const Aws::String& GetDescription() const { return m_description; }
50 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
51 template <typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) {
53 m_descriptionHasBeenSet = true;
54 m_description = std::forward<DescriptionT>(value);
55 }
56 template <typename DescriptionT = Aws::String>
57 UpdateSystemRequest& WithDescription(DescriptionT&& value) {
58 SetDescription(std::forward<DescriptionT>(value));
59 return *this;
60 }
62
64
67 inline bool GetSharingEnabled() const { return m_sharingEnabled; }
68 inline bool SharingEnabledHasBeenSet() const { return m_sharingEnabledHasBeenSet; }
69 inline void SetSharingEnabled(bool value) {
70 m_sharingEnabledHasBeenSet = true;
71 m_sharingEnabled = value;
72 }
74 SetSharingEnabled(value);
75 return *this;
76 }
78 private:
79 Aws::String m_systemArn;
80
81 Aws::String m_description;
82
83 bool m_sharingEnabled{false};
84 bool m_systemArnHasBeenSet = false;
85 bool m_descriptionHasBeenSet = false;
86 bool m_sharingEnabledHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace resiliencehubv2
91} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateSystemRequest & WithSharingEnabled(bool value)
UpdateSystemRequest & WithDescription(DescriptionT &&value)
AWS_RESILIENCEHUBV2_API UpdateSystemRequest()=default
UpdateSystemRequest & WithSystemArn(SystemArnT &&value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String