AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
UpdateAssertionRequest.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 UpdateAssertionRequest() = 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 "UpdateAssertion"; }
28
29 AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override;
30
32
33 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
34 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
35 template <typename ServiceArnT = Aws::String>
36 void SetServiceArn(ServiceArnT&& value) {
37 m_serviceArnHasBeenSet = true;
38 m_serviceArn = std::forward<ServiceArnT>(value);
39 }
40 template <typename ServiceArnT = Aws::String>
41 UpdateAssertionRequest& WithServiceArn(ServiceArnT&& value) {
42 SetServiceArn(std::forward<ServiceArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetAssertionId() const { return m_assertionId; }
52 inline bool AssertionIdHasBeenSet() const { return m_assertionIdHasBeenSet; }
53 template <typename AssertionIdT = Aws::String>
54 void SetAssertionId(AssertionIdT&& value) {
55 m_assertionIdHasBeenSet = true;
56 m_assertionId = std::forward<AssertionIdT>(value);
57 }
58 template <typename AssertionIdT = Aws::String>
59 UpdateAssertionRequest& WithAssertionId(AssertionIdT&& value) {
60 SetAssertionId(std::forward<AssertionIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetText() const { return m_text; }
70 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
71 template <typename TextT = Aws::String>
72 void SetText(TextT&& value) {
73 m_textHasBeenSet = true;
74 m_text = std::forward<TextT>(value);
75 }
76 template <typename TextT = Aws::String>
78 SetText(std::forward<TextT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_serviceArn;
84
85 Aws::String m_assertionId;
86
87 Aws::String m_text;
88 bool m_serviceArnHasBeenSet = false;
89 bool m_assertionIdHasBeenSet = false;
90 bool m_textHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace resiliencehubv2
95} // namespace Aws
UpdateAssertionRequest & WithServiceArn(ServiceArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RESILIENCEHUBV2_API UpdateAssertionRequest()=default
UpdateAssertionRequest & WithText(TextT &&value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
UpdateAssertionRequest & WithAssertionId(AssertionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String